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?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Sudeep SharmaTechnical 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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
psychic_zeroAuthor Commented:
Nscd and winbind service need to be installed and run
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Databases

From novice to tech pro — start learning today.