[Samba] Failed to find a Unix account
gandalf istari
erestor.elensar at gmail.com
Thu Nov 28 01:59:26 MST 2013
Hi all,
I'm looking now for day's for this problem but i don't find the solution.
I have tried several solutions/setup like:
https://lists.samba.org/archive/samba/2011-May/162571.html
I have a working ldap server for my mail-server and want to extend this to
a samba server also.
when a user connect (without success) I see this error in the logs:
Nov 28 09:24:44 app-04 smbd[11865]: [2013/11/28 09:24:44.700295, 0]
passdb/lookup_sid.c:1684(get_primary_group_sid)
Nov 28 09:24:44 app-04 smbd[11865]: Failed to find a Unix account for
testcheck_sam_security: make_server_info_sam() failed with
'NT_STATUS_NO_SUCH_USER'
Running getent passwd show me all the ldap users
running pdbedit -L -v
Unix username: test
NT username: test
Account Flags: [U ]
User SID: S-1-5-21-3736572231-1434995096-3231833993-3012
Primary Group SID: S-1-5-21-3736572231-1434995096-3231833993-513
....
I have populated the ldap through smbldap-populate.
smbldap-usershow test give's also the right information.
[root at xxx samba]# id test
uid=1006(test) gid=503(samba) groups=503(samba),513(Domain Users)
Help would be more than welcome.
More information about the samba
mailing list