fixunix
Tags Register FAQ Members List Social Groups Calendar Search Today's Posts Mark Forums Read

[Samba] where samba store user's passwords ? - Samba

This is a discussion on [Samba] where samba store user's passwords ? - Samba ; 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 @ serwer ...


Fix Unix > Linux > Help > Samba > [Samba] where samba store user's passwords ?

Reply
 
LinkBack Tools
  #1  
Old 11-02-2007, 02:30 PM
Junior Member
 
Join Date: Sep 2009
Posts: 0
Default [Samba] where samba store user's passwords ?

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@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%2F...al.html&sid=83


--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba
Reply With Quote
  #2  
Old 11-02-2007, 10:10 PM
Junior Member
 
Join Date: Sep 2009
Posts: 0
Default Re: [Samba] where samba store user's passwords ?

On Friday 02 November 2007 09:27, Hubert Choma 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@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


The above (passdb.tdb) is the file in which they are stored.

> -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 ??

passdb.tdb

> And how can i check whether user really changed password in tdbsam
> backend ?? How can I dump passwords ?

pdbedit -Lw

> How can I convert passdb.tdb to smbpasswd style ??

ppdbedit -e smbpasswd -i tdbsam

> Please help

Is that what you needed?

- John T.

>
> ----------------------------------------------------
> "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%2F...agtime-musical.
>html&sid=83


--
John H Terpstra
Samba-Team Member
Phone: +1 (650) 580-8668

Author:
The Official Samba-3 HOWTO & Reference Guide, 2 Ed., ISBN: 0131882228
Samba-3 by Example, 2 Ed., ISBN: 0131882221X
Hardening Linux, ISBN: 0072254971
Other books in production.
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba
Reply With Quote
  #3  
Old 11-03-2007, 07:30 AM
Junior Member
 
Join Date: Sep 2009
Posts: 0
Default Re: [Samba] where samba store user's passwords ?

All of this is in the manual.

..... Original Message .......
On Fri, 02 Nov 2007 15:27:36 +0100 "Hubert Choma" 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@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%2F...al.html&sid=83
>
>
>--
>To unsubscribe from this list go to the following URL and read the
>instructions: https://lists.samba.org/mailman/listinfo/samba


--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba
Reply With Quote
Reply

Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Samba] where samba stored passwords in tdbsam backend? unix Samba 0 05-26-2008 01:20 PM
[Samba] where samba stored passwords in tdbsam backend? unix Samba 0 05-26-2008 01:14 PM
[Samba] Problem with samba+openldap with regard changing passwords from windows unix Samba 6 02-20-2008 05:50 PM
[Samba] Samba user Modify passwords on Windows 2003 Enterprise unix Samba 0 10-07-2007 12:44 PM
Samba Passwords out of sync for XP Client/Mac OSX Samba Server unix SMB 7 10-02-2007 04:26 PM


All times are GMT. The time now is 10:15 AM.