[Samba] Multiple Samba accounts with the rights of a single Unix
venzkep at srt.com
Wed Oct 15 02:15:16 GMT 2008
On Tue October 14 2008 20:49, Peter Petrov wrote:
> On Mon, Oct 13, 2008 at 4:35 AM, Norberto Bensa <nbensa at gmail.com> wrote:
> > Quoting Peter Petrov <lists at ppetrov.com>:
> > Is it possible to have a standalone Samba server map different
> >> username/password pairs to a single Unix account?
> > force user/group?
> "force user/group" almost works. But smbd still tries to find a matching
> Unix account for each username, failing with errors like this:
> [2008/10/15 04:29:42, 0] passdb/pdb_get_set.c:pdb_get_group_sid(210)
> pdb_get_group_sid: Failed to find Unix account for admin
> [2008/10/15 04:29:42, 1] auth/auth_util.c:make_server_info_sam(562)
> User admin in passdb, but getpwnam() fails!
> Any ideas?
Will a username map file work for what you want? Look in manual for the
parameter "username map=" in smb.conf.
More information about the samba