[Samba] Winbind / Samba auth problem after username change

Rowland Penny rpenny at samba.org
Wed Sep 7 13:09:59 UTC 2016


On Wed, 7 Sep 2016 12:46:39 +0000
Julian Zielke <jzielke at next-level-integration.com> wrote:

> Btw, before it looked like this:
> 
> # ll
> total 7148
> drwxr-xr-x 2 root root    4096 Sep  7 14:36 ./
> drwxr-xr-x 7 root root    4096 Sep  7 14:38 ../
> -rw-r--r-- 1 root root 1286144 Sep  7 14:34 DC=NLI,DC=LOCAL.ldb
> -rw------- 1 root root   24576 Sep  7 13:11 netlogon_creds_cli.tdb
> -rw------- 1 root root  421888 Sep  7 13:09 passdb.tdb
> -rw------- 1 root root     696 Jan 19  2016 randseed.tdb
> -rw-r--r-- 1 root root 1286144 Sep  7 13:08 sam.ldb
> -rw-r--r-- 1 root root 1286144 Sep  7 14:29 sam.ldbobjectClass=*
> -rw------- 1 root root 1286144 Sep  7 10:50 secrets.ldb
> -rw------- 1 root root  430080 Sep  4 10:06 secrets.tdb
> -rw-r--r-- 1 root root 1286144 Sep  7 13:09 *-tdb
> 
> 
> 
> Von: Julian Zielke
> Gesendet: Mittwoch, 7. September 2016 14:41
> An: 'Rowland Penny' <rpenny at samba.org>
> Cc: samba at lists.samba.org
> Betreff: AW: [Samba] Winbind / Samba auth problem after username
> change
> 
> 
> Well, I always get 0 results, whether using cn, full username,
> wildcards, another existing and working user etc.
> 
> 
> 
> # cat /etc/passwd | grep 'ren_test'
> 
> returns nothing
> 
> 
> 
> # wbinfo -u | grep 'ren_test'
> 
> returns: ren_test4
> 
> 
> 
> I also created a backup of all those ldb files and restarted the
> samba service. Now there's no new sam.ldb but a file looking similar
> to it.
> 

How are you backing up the ldb files ?
Once you have you backed up sam.ldb, are you deleting it ?

Rowland



More information about the samba mailing list