Re: [Samba] Multiple Samba accounts with the rights of a single Unix account?

2008-10-14 Thread Peter Petrov
On Mon, Oct 13, 2008 at 4:35 AM, Norberto Bensa [EMAIL PROTECTED] wrote:

 Quoting Peter Petrov [EMAIL PROTECTED]:

  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?
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Multiple Samba accounts with the rights of a single Unix account?

2008-10-12 Thread Peter Petrov
Is it possible to have a standalone Samba server map different
username/password pairs to a single Unix account? More specifically, I'll be
using an external passdb (pdb-mysql or LDAP), and each username will only
see a home directory with the same name. But I don't want to have to create
a separate Unix account / UID for each username/password, the restriction by
directory is enough. Instead, a single Unix account will be given rights to
access all home directories, and I want Samba to use it for all
username/password pairs.

Is such a setup possible? The 'username map' option is not suitable, because
the username is translated prior to authentication, so all usernames would
share the same password.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba