[Samba] Windows XP can't join to Domain by Samba

Haas Martin haas at atento.cz
Fri Nov 5 07:17:32 MDT 2010


Hi everbody,

 

Two monts ago, i had got problem with my Domain build by Samba 3.0.24 by
Debian Etch.

I had configured DNS, WINS and SAMBA domain and when i set up IP addres
gateway and dns on Windows XP i could connect to DOMAIN

But now when i setup this and push  join computer to domain i got info that
domain is unavailable.

 

I Check log in Windows XP Systemdir\windows\debug\NetSetup.log

And I found error message:

 

"NetpDsGetDcName: failed to find a DC in the specified domain"

 

So i tri reconfigure DNS - its sounds like good issues - but nothing

 

Stations what i hade join to domain work normaly - they logons to domiain
the use share disk provide by samba, but when i want change password i had
got erro that domain is unavailable.

 

One options is setup on each computer WINS server in network setting, or fix
this problem.

 

[global]

        display charset = UTF-8

        name resolve order = wins hosts bcast lmhosts

        domain  master = Yes

        passwd chat = *Enter\snew\s*\spassword:* %n\n
*Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .

        admin users = root administrator @it

        posix locking = no

        time server = Yes

        passwd program = /usr/bin/smbpasswd %u

        dns proxy = no

        netbios name = server string

       locking = no

        printing = bsd

        logon script = logon.vbs

        dos charset = CP852

        local master = Yes

        workgroup = DOMAIN

        server signing = Auto

        printcap name = /dev/null

        security = user

        add machine script = /usr/sbin/useradd -s /bin/false -d /dev/null
'%u'

        delete user script = /usr/sbin/userdel -r '%u'

        max log size = 1000

        server schannel = Auto

        log level = 2

        log file = /var/log/samba/%m

        load printers = No

        add group script = /usr/sbin/groupadd '%g'

        socket options = TCP_NODELAY

        delete group script = /usr/sbin/groupdel '%g'

        add user to group script = /usr/sbin/usermod -G '%g' '%u'

        logon drive = H:

        deadtime = 15

        hide dot files = yes

        interfaces = eth0 eth2 lo

        encrypt passwords = Yes

        logon home = \\%L\profiles\%u

        keepalive = 300

        wins proxy = no

        wins support = Yes

        server string = ATENTO

        unix password sync = No

        logon path = \\%L\profiles\%u

        acl compatibility = Auto

        add user script = /usr/sbin/useradd -d /dev/null -g 100 -s
/bin/false -m %u

        preferred master = Yes

        unix charset = LOCALE

        bind interfaces only = Yes

        domain logons = Yes

        pam password change = Yes



More information about the samba mailing list