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

Peter Petrov lists at ppetrov.com
Wed Oct 15 01:49:47 GMT 2008

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?

More information about the samba mailing list