[Samba] Winbind / Samba auth problem after username change

Rowland Penny rpenny at samba.org
Wed Sep 7 14:05:04 UTC 2016


On Wed, 7 Sep 2016 13:51:57 +0000
Julian Zielke via samba <samba at lists.samba.org> wrote:

> BTW I just tried the getent command again and it gets even weirder:
> 
> 
> 
> # getent passwd ren_test4
> 
> ren_test4:*:12521:10513:ren_test4:/home/NLI.LOCAL/ren_test4:/bin/bash
> 
> 
> 
> then did another getent after a couple of seconds:
> 
> 
> 
> # getent passwd ren_test4
> 
> ren_test3:*:12521:10513:ren_test3:/home/NLI.LOCAL/ren_test3:/bin/bash
> 
> 
> 
> This is...well..I have no damn clue XD
> 


This is very strange, try this search:

ldbsearch -H /usr/local/samba/private/sam.ldb -b
'dc=samdom,dc=example,dc=com' -s sub '(samAccountType=805306368)' dn
samaccountname

It should print out the DN and logon name for every user in your AD.

Rowland




More information about the samba mailing list