[Samba] 3.0.2 mixing up host name and domain name

Stefan Froehlich samba at Froehlich.Priv.at
Fri Feb 20 21:10:48 GMT 2004


I have a 3.0.3 PDC with the configuration

| netbios name = BERTHA
| workgroup = MEITNER

which is also represented by browse.dat:

| bertha:~# cat /var/cache/samba/browse.dat 
| "MEITNER"                 c0001000 "BERTHA"                   "MEITNER"
| "BERTHA"                  400d9b2b "Lise-Meitner Fileservice" "MEITNER"

However, if I run pdbedit, I get as a result:

| bertha:~# pdbedit -Lvu sfroehli
| Unix username:        sfroehli
| NT username:          sfroehli
| Account Flags:        [U          ]
| User SID:             S-1-5-21-1494128589-2214280660-1490714134-3000
| Primary Group SID:    S-1-5-21-1494128589-2214280660-1490714134-1201
| Domain:               BERTHA

which is clearly wrong. Even worse, I also get a corresponding
sambaDomainName entry in my LDAP-Database - and if I delete it, it
reappears as soon as pdbedit is run again. The sambaSID is identical
to the one of the correct object, only the domain name is BERTHA instead

Where does Samba store the domain name - and is it wrong here?!?



More information about the samba mailing list