[Samba] getpwnam() fails! (with working nss_ldap setup)
janus at area319.de
Fri Mar 5 12:06:45 GMT 2004
I've seen this error now many times (at my own setup and in the
sam_account_ok: Checking SMB password for user Simon Dassow
[2004/03/05 12:54:19, 1] auth/auth_util.c:make_server_info_sam(821)
User Simon Dassow in passdb, but getpwnam() fails!
# id 'Simon Dassow'
uid=1000(Simon Dassow) gid=513(Domain Users) groups=513(Domain Users),
nss_ldap _is_ working... to verify this from another place (i'm using
FreeBSD so there is no getent):
# perl -e 'print join(" - ",getpwnam("Simon Dassow"))."\n"'
Simon Dassow - x - 1000 - 513 - 0 - - Simon Dassow - /home/dasi -
/usr/local/bin/zsh - 0
If i logon with an `normal' unix account that has been added via
`smbpasswd -a user' everything is working. Maybe someone has a hint for
And before i forgot, that's my setup:
FreeBSD 5.2.1 with nss_ldap (and yes, i have ldap in /etc/nsswitch.conf)
Any help is appreciated.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba/attachments/20040305/bd837c26/attachment.bin
More information about the samba