Samba as PDC, Joining NT client to domain

Richard Fox rfox at
Wed Oct 2 18:41:04 GMT 2002

Hi all,

I have my samba 2.2.2a running as PDC on my RH 7.3 system. Here is my smb.conf

        workgroup = MYGROUP
        netbios name = THOR
        server string = Samba PDC %v %h
        hosts allow = 192.168.0., 127.
        max log size = 50
        security = user
        smb passwd file = /etc/samba/smbpasswd
        encrypt passwords = Yes
        unix password sync = yes
        passwd program = /usr/bin/passwd %u
        passwd chat = *New*password* %n\n *Please*retype*new*password* %n\n *password*successfully*updated*
        os level = 64
        local master = yes
        domain master = yes
        preferred master = yes
        domain logons = yes
        logon home = \\%L\%U
        logon drive = H:
        logon script = netlogon.bat
        add user script = /usr/sbin/useradd -d /dev/null -g machines -s /bin/false -M %u
        comment = Network Logon Services
        path = /home/samba/netlogon
        writeable = No
        share modes = No
        path = /home/samba/profiles
        browseable = No
        comment = Home Directories
        path = %H
        writeable = Yes
        valid users = %S
        create mode = 0664
        directory mode = 0775

# smbclient -L localhost

Anonymous login successful
Domain=[MYGROUP] OS=[Unix] Server=[Samba 2.2.3a]

        Sharename    Type      Comment
        ---------            ----        -------
        homes           Disk      Home Directories
        netlogon         Disk      Network Logon Services
        IPC$              IPC       IPC Service (Samba PDC 2.2.3a thor)
        ADMIN$         Disk      IPC Service (Samba PDC 2.2.3a thor)

        Server            Comment
        ---------            -------
        THOR            Samba PDC 2.2.3a thor

        Workgroup     Master
        ---------            -------
        MYGROUP    THOR

I created a machine account by hand
# /usr/sbin/useradd -g machines -d /dev/null -c "mercury" -s /den/false mercury$
# passwd -l mercury$
# /usr/bin/smbpasswd -a -m mercury

But my NT box, mercury, cannot join the domain. When I go into Identification Changes and change the domain to MYDOMAIN, I get
"The domain controller for this domain cannot be located"

Yet I can ssh in to the PDC machine, it is on the network. Can someone help?
-------------- next part --------------
HTML attachment scrubbed and removed

More information about the smb-clients mailing list