[Samba] Can't join Windows 7 Pro/XP to samba PDC

Gérard Guével gguevel at interfaceconcept.com
Thu Mar 31 10:18:48 MDT 2011


Your smb.conf seems right at a first glance. Is it a choice not to set the
local master to yes ?

What are your charsets ? Something like 
dos charset = CP850, unix charset = UTF-8, display charset = LOCALE
I already have a connection problem with the dos charset set to CP850.
Try with dos charset set to ASCII.

Please increase your log level to 10 and give me the results of the
following commands.
You can launch these commands locally and/or from a Linux station if
possible :
•	testparm -v |grep charset
•	nmblookup -B yourboard __SAMBA__
•	nmblookup -M ARAMDA
•	nmblookup -d 2 '*'
•	findsmb
•	smbclient -L yourboard –Uxxx
Check if you detect some "protocol negotiation failed" in your samba.log

At the end, you can launch a full testparm -v to display  all your samba
parameters values.
It can be convenient to detect a problem.

Good luck

-----Message d'origine-----
De : atarallo at gmail.com [mailto:atarallo at gmail.com] De la part de Andres
Envoyé : mercredi 30 mars 2011 15:04
À : Gérard Guével
Cc : samba
Objet : Re: [Samba] Can't join Windows 7 Pro/XP to samba PDC


Here is my smb.conf

      workgroup = ARAMDA
      map to guest = Bad User
      passdb backend = ldapsam:ldap://localhost
      log level = 3
      log file = /var/log/samba.log
      printcap name = cups
      add user script = ldapsmb -a -u "%u"
      delete user script = ldapsmb -d -u "%u"
      add group script = ldapsmb -a -g "%g"
      delete group script = ldapsmb -d -g "%g"
      add user to group script = ldapsmb -j -u "%u" -g "%g"
      delete user from group script = ldapsmb -j -u "%u" -g "%g"
      set primary group script = ldapsmb -m -u "%u" -gid "%g"
      add machine script = /usr/sbin/smbldap-useradd -t 0 -g 1515 -w "%u"
      logon path = \\%L\profiles\.msprofile
      logon drive = Z:
      logon home = \\%L\%U\.9xprofile
      domain logons = Yes
      os level = 65
      preferred master = Yes
      domain master = Yes
      wins support = Yes
      ldap admin dn = cn=replicasamba,dc=aramda,dc=uy
      ldap group suffix = ou=Groups
      ldap idmap suffix = ou=Idmap
      ldap machine suffix = ou=Computers
      ldap passwd sync = yes
      ldap suffix = dc=aramda,dc=uy
      ldap ssl = no
      ldap user suffix = ou=People
      add share command = /var/lib/samba/scripts/modify_samba_config.pl
      delete share command = /var/lib/samba/scripts/modify_samba_config.pl
      usershare allow guests = Yes
      hosts allow =, 172.16.1.
      cups options = raw

I will test your suggestions.


More information about the samba mailing list