[Samba] Cannot authenticate new ldap users (unless they are in /etc/passwd too)
monyo at monyo.com
Mon May 23 17:22:21 MDT 2011
From: Sean Boran <sean at boran.com>
Date: Mon, 23 May 2011 23:47:41 +0200
> Now I've added some new users and none of them can authenticate.
> e.g. for the user "inktec".
> The user can login via SSH, but not mount a share:
> smbclient \\\\server3\\someshare -U=inktec mypassword
> May 23 19:40:47 server3 smbd: User inktec in passdb, but getpwnam()
> May 23 19:40:47 server3 smbd: [2011/05/23 19:40:47, 0]
> May 23 19:40:47 server3 smbd: check_sam_security:
> make_server_info_sam() failed with 'NT_STATUS_NO_SUCH_USER'
According to these logs, you probably failed at Get_Pwnam_alloc() in
lib/username.c referenced by make_server_info_sam() in
Adding "-d10" to smbclient, you may see useful messages to analyze
* Get_Pwnam: empty username!
* Finding user
* Trying _Get_Pwnam(), username given as
TAKAHASHI Motonobu <monyo at samba.gr.jp>
More information about the samba