[Samba] Changed name of domain - accounts have old name

Paul Smith paul at gami.com
Thu Apr 7 18:22:37 GMT 2005

I'm using samba 3.0.11 on Suse 9.2.  smb.conf is at the end of this

I created a samba pdc with domain name, "gamidom".  This I subsequently
changed to "phoenix" (the same as the server's netbios name).  Tried to
add a win2k machine to the domain and got an error regarding the
domain/server name being the same so I changed the name of the domain in
smb.conf to "adadom", restarted smbd/nmbd joined the win2k machine to a
workgroup, rebooted and joined it to the "adadom" domain.

All went fine, apart from when I look at the Windows 2000 system
properties under the User Profiles tab it shows the old domain account


Instead of ADADOM\username

I've restarted smbd/nmbd and rebooted the server but it still creates
the user accounts in that way.  The Windows machine has a fresh copy of
Windows 2000 Pro installed this morning.

I thought it might be something to do with the defaultuser account but I
don't know where to start looking.  Any help would be very much

Thank you


        idmap gid = 15000-20000
        add group script = /usr/sbin/groupadd %g
        preserve case = no
        delete group script = /usr/sbin/groupdel %g
        add user to group script = /usr/sbin/usermod -G %g %u
        logon drive = H:
        domain master = yes
        logon home = \\%L\%U
        passdb backend = tdbsam
        wins support = yes
        netbios name = phoenix
        printing = cups
        idmap uid = 15000-20000
        local master = yes
        workgroup = adadom
        logon path =
        os level = 35
        add user script = /usr/sbin/useradd -m %u
        printcap name = cups
        security = user
        preferred master = Yes
        add machine script = /usr/sbin/useradd -s /bin/false -d /tmp %u
        delete user script = /usr/sbin/userdel -r %u
        domain logons = Yes
        log level = 1

Apr  7 12:09:18 phoenix nmbd[19539]: [2005/04/07 12:09:18, 0]
Apr  7 12:09:18 phoenix nmbd[19539]:   *****
Apr  7 12:09:18 phoenix nmbd[19539]:
Apr  7 12:09:18 phoenix nmbd[19539]:   Samba server PHOENIX is now a
domain master browser for workgroup ADADOM on subnet
Apr  7 12:09:18 phoenix nmbd[19539]:
Apr  7 12:09:18 phoenix nmbd[19539]:   *****

More information about the samba mailing list