Samba Domain Controller join problem with error "Device attached to the system is not functioning"

I have a Samba Domain Controller + OpenLDAP in a server. Then I've setup new server and install Samba and OpenLDAP. Using LDAP Browser tools, I have export and import all the LDAP tree from old to new server and do the initial configuration and after that copy exact all the smb, openldap and smbldap-tools configuration from old server to the new server.

Then using other isolated network, I want to try this new migrated Domain Controller server, but when I want to join to this domain using WindowsXP, the error "Device attached to the system is not functioning". But if I open the server for sharing using command \\PDCSVR, I can access to the shared folder in this new server. Can anyone help me? Attached is the copy of smb.conf for my server.
#====================== Global Settings =====================================
[global]

workgroup = PDCSVR
server string = PRIMARY DOMAIN CONTROLER
interfaces = lo eth0

domain master = yes
domain logons = yes
preferred master = yes
os level = 255
wins support = yes
dns proxy = yes

remote announce = 10.23.10.255 10.23.11.255 
remote browse sync = 10.23.10.255 10.23.11.255 

log level = 0
log file = /var/log/samba/samba.log
max log size = 50
syslog = 0

passdb backend = ldapsam:ldap://127.0.0.1
ldap suffix = ou=OxObjects,dc=abc,dc=com,dc=my
ldap admin dn = cn=sambaadmin,ou=OxObjects,dc=abc,dc=com,dc=my
ldap user suffix = ou=users
ldap group suffix = ou=groups
ldap machine suffix = ou=computers
ldap passwd sync = yes

add machine script = smbldap-useradd -w "%u"
#add user script = smbldap-useradd "%u"
add group script = smbldap-groupadd "%g"

delete user script = smbldap-userdel "%u"
delete group script = smbldap-groupdel "%g"

add user to group script = smbldap-groupmod -m "%u" "%g"
delete user from group script = smbldap-groupmod -x "%u" "%g"

set primary group script = smbldap-usermod -g "%g" "%u"

admin users  = root administrator @"Domain Admins"
guest ok = no

socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

logon script = default.bat
logon drive =
logon path =
logon home =

#name resolve order = wins lmhosts bcast
#lm announce = yes
#browse list = yes

# printing 
printing = bsd
printcap name = /dev/null

#============================ Share Definitions ==============================
[homes]
     comment = Home Directories
     browseable = no
     writable = yes
     valid users = %S

[netlogon]
     comment = Network Logon Service
     path = /home/samba/netlogon
     guest ok = yes
     read only = no
     create mask = 0664
     directory mask = 0775
     write list = @"domain admins"
     force group = "domain admins"

[profiles] 
     path = /home/samba/profiles
     read only = no
     create mask = 0600
     directory mask = 0700
     nt acl support = yes
     browseable = No
     guest ok = Yes
     profile acls = yes
     csc policy = disable
     force user = %U
     valid users = %U "Domain Admins"

[regset]
     path = /home/samba/regset
     writeable = yes
     force user = root
     create mask = 0644
     hide dot files = no
     sync always = yes

[Public]
    path = /home/samba/smbshares/public
    comment = Public Shared Folder
    create mask = 0770
    directory mask = 2770
    force group = "Domain Admins"
    write list = @"Domain Admins"

[Applications]
    path = /home/samba/smbshares/applications
    comment = Application Sources
    create mask = 0770
    directory mask = 2770
    force group = "Domain Admins"
    write list = @"Domain Admins"

Open in new window

LVL 6
psychic_zeroAsked:
Who is Participating?
 
Sudeep SharmaConnect With a Mentor Technical DesignerCommented:
Hello psychic_zero,

Could you please check the permission on the files that you have copied from the old server. Also do you see anything in the logs related to Samba?

0
 
psychic_zeroAuthor Commented:
Nscd and winbind service need to be installed and run
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.