[Samba] second samba pdc

Sven Buchstaller ask at quickline.de
Mon Jun 9 13:09:56 GMT 2008


Hello List,

I have 2 samba domain on 2 physical Servers but the User Administration is 
over 1 LDAP Server. At the moment i become some errors on my first PDC box:

smbd[16074]:   sid S-1-5-21-3194266148-564761370-2586249389-101652 does not 
belong to our domain    (Thats all hosts from the second PDC)

* first samba Server SID = S-1-5-21-3991578539-3149662252-1894531253
* second samba Server SID =  S-1-5-21-3194266148-564761370-2586249389

when i do:
pdbedit -Lv pc011$
Unix username:        pc011$
NT username:          pc011$
Account Flags:        [W          ]
User SID:             S-1-5-21-3194266148-564761370-2586249389-101708
Primary Group SID:    S-1-5-21-3991578539-3149662252-1894531253-513  <----
Full Name:            pcpo011
Home Directory:       \\192.18.0.11\pc011_\.9xprofile
HomeDir Drive:        H:
Logon Script:         logon.bat
Profile Path:         \\192.168.0.11\profiles\.msprofile
Domain:               DomB
Account desc:         pc011
Workstations:
Munged dial:
Logon time:           0
Logoff time:          never
Kickoff time:         never
Password last set:    Mo, 09 Jun 2008 11:41:49 CEST
Password can change:  Mo, 09 Jun 2008 11:41:49 CEST
Password must change: So, 07 Sep 2008 11:41:49 CEST
Last bad password   : 0
Bad password count  : 0
Logon hours         : FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF

I become under Primary Group SID S-1-5-21-3991578539-3149662252-1894531253-513 
the SID from my first PDC 

but when i do on the second PDC the same command looks OK

pdbedit -Lv pc011$
Unix username:        pc011$
NT username:          pc011$
Account Flags:        [W          ]
User SID:             S-1-5-21-3194266148-564761370-2586249389-101708
Primary Group SID:    S-1-5-21-3194266148-564761370-2586249389-515
Full Name:            pc011
Home Directory:       \\samba-node2\pc011_\.9xprofile
HomeDir Drive:        H:
Logon Script:         logon.bat
Profile Path:         \\samba-node2\profiles\.msprofile
Domain:               DomB
Account desc:         pc011
Workstations:
Munged dial:
Logon time:           0
Logoff time:          never
Kickoff time:         never
Password last set:    Mon, 09 Jun 2008 11:41:49 CEST
Password can change:  Mon, 09 Jun 2008 11:41:49 CEST
Password must change: Wed, 09 Jul 2008 11:41:49 CEST
Last bad password   : 0
Bad password count  : 0
Logon hours         : FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF

now my ask, need i the same samba localsid on both servers? or is it useless ?


I hope someone can help 

MFG

Sven


More information about the samba mailing list