[Samba] require a getent passwd for winbind to work first time

Lunix1618 lunix1618 at gmail.com
Thu Jul 16 11:23:50 MDT 2009


On 07/16/2009 02:55 AM, Terry wrote:
> Hello,
>
> This may not be a problem but just want to check on something.  I
> think I have a working config.  I joined a domain successfully.
> However, after configuring ssh to use winbind, it does not work until
> I do a 'getent passwd'.  It fails with this:
> Jul 15 14:53:46 omadvnfs01b sshd[25072]: Invalid user DOMAIN+user from
> 192.168.101.70
> Jul 15 14:53:46 omadvnfs01b sshd[25073]: input_userauth_request:
> invalid user DOMAIN+user
>
> Is it just a timing issue?
>    
how about wbinfo result ? if it can return list of users from AD, try to 
remove idmap cache in /var/cache/samba/.



More information about the samba mailing list