[Samba] 3.0.2 mixing up host name and domain name

Andrew Bartlett abartlet at samba.org
Fri Feb 20 22:57:50 GMT 2004


On Sat, 2004-02-21 at 08:10, Stefan Froehlich wrote:
> Hi,
> 
> 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
> of MEITNER.
> 
> Where does Samba store the domain name - and is it wrong here?!?

The issue is that you do not have 'domain logons = yes' set in your
smb.conf.  This means that Samba is actually just the head of a
workgroup, and the name of the SAM database is the same as if it was a
standalone machine.

Andrew Bartlett

-- 
Andrew Bartlett                                 abartlet at pcug.org.au
Manager, Authentication Subsystems, Samba Team  abartlet at samba.org
Student Network Administrator, Hawker College   abartlet at hawkerc.net
http://samba.org     http://build.samba.org     http://hawkerc.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba/attachments/20040221/9c541b2d/attachment.bin


More information about the samba mailing list