[Samba] where samba store user's passwords ?

Ryan Novosielski novosirj at umdnj.edu
Sat Nov 3 03:08:20 GMT 2007


All of this is in the manual.

 ..... Original Message .......
On Fri, 02 Nov 2007 15:27:36 +0100 "Hubert Choma" <hubert.ch at wp.pl> wrote:
>I have got tdbsam as backend in smb.conf
>passdb backend = tdbsam
>
>When user change password from windows XP file passdb.tdb schould change 
>date because was updated, but I have still the same date IX 18 10:30.
>
>
>[root at serwer private]# ls -al
>razem 76
>drwx------ 2 root root  4096 IX 11 20:25 .
>drwxr-xr-x 7 root root  4096 XI  2 15:14 ..
>-rw------- 1 root root 36864 IX 25 07:57 passdb.tdb
>-rw------- 1 root root  8192 VII 24 07:57 schannel_store.tdb
>-rw------- 1 root root  8192 IX 18 10:30 secrets.tdb
>-rw------- 1 root root  7161 IX 19 15:28 smbpasswd
>
>user changed password 31 X 2007 08:08:16 but date of the passdb.tdb file 
>is still the same  (IX 18 2007 ).
>
>pdbedit -Lv praktykanci
>Unix username:        praktykanci
>NT username:
>Account Flags:        [U          ]
>User SID:             S-1-5-21-2794518228-724393910-221713885-2096
>Primary Group SID:    S-1-5-21-2794518228-724393910-221713885-513
>Full Name:
>Home Directory:
>HomeDir Drive:
>Logon Script:         praktykanci.CMD
>Password last set:    ¦r, 31 X 2007 08:08:16 CET
>Password can change:  So, 19 I 2008 08:08:16 CET
>Password must change: Wt, 29 I 2008 08:08:16 CET
>
>Where samba with tdbsam store passwords ??
>And how can i check whether user really changed password in tdbsam 
>backend ?? How can I dump passwords ?
>How can I convert passdb.tdb to smbpasswd style ??
>
>Please help
>
>----------------------------------------------------
>"Ragtime" rewelacyjny musical w 2 aktach 
>Premiera w Gliwickim Teatrze Muzycznym 
>ju¿ 23 listopada. Musisz to zobaczyæ!
>Kliknij: http://klik.wp.pl/?adr=http%3A%2F%2Fcorto.www.wp.pl%2Fas%2FRagtime-musical.html&sid=83
>
>
>-- 
>To unsubscribe from this list go to the following URL and read the
>instructions:  https://lists.samba.org/mailman/listinfo/samba



More information about the samba mailing list