Gerard:

Here is my smb.conf

[global]
      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 = 127.0.0.1, 172.16.1.
      cups options = raw

I will test your suggestions.

Andrés

2011/3/30 Gérard Guével <ggue...@interfaceconcept.com>:
> For a windows 7, I modify the following key in the windows registry :
>
> [HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\LanManWorkstation\Para
> meters]
> "DNSNameResolutionRequired"=dword:00000000
> "DomainCompatibilityMode"=dword:00000001
>
> Some calls to check the SAMBA PDC :
> •       testparm -v
> •       nmblookup -B myboard __SAMBA__
> •       nmblookup -M mygroup
> •       nmblookup -d 2 '*'
> •       findsmb
> •       smbclient -L myboard –Uxxx
> •       smbclient //myboard/public -Uxxx
>
> Can send me your smb.conf to check.
> Gérard
>
> -----Message d'origine-----
> De : samba-boun...@lists.samba.org [mailto:samba-boun...@lists.samba.org] De
> la part de Andres Tarallo
> Envoyé : mercredi 30 mars 2011 12:25
> À : samba
> Objet : Re: [Samba] Can't join Windows 7 Pro/XP to samba PDC
>
> 2011/3/24 Chris Weiss <cwe...@gmail.com>:
>> On Thu, Mar 24, 2011 at 8:40 AM, John Drescher <dresche...@gmail.com>
> wrote:
>>> On Thu, Mar 24, 2011 at 9:36 AM, Andres Tarallo <atara...@acm.org> wrote:
>>>> 2011/3/23 Gaiseric Vandal <gaiseric.van...@gmail.com>:
>>>>> Did you try manually creating a unix "user" account for the samba
> machine?
>>>>>  Does "getent passwd" show that machine?
>>>>>
>>>>
>>>> Yes, I've created a user account with smbldap-passwd. We can login
>>>> through ssh and from console.
>>>>
>>>
>>> Did you create the a account for the machine you are trying to add?
>>>
>>> John
>>
>> "add machine script" is in the conf, so manual creation should not be
> needed.
>>
>> better question is: does the machine account actually get created in
>> the right place?
>
> Yes, tne machines account are created under the "Computers" OU, where samba
> should lookup them.
>
> As said before: we runned out of ideas. So your ideas are highly
> appreciated.
>
> Andrés
>
> PS: Did you see something wrong in our smb.conf.?
>
> Andrés
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba
>
> __________ Information provenant d'ESET NOD32 Antivirus, version de la base
> des signatures de virus 5999 (20110330) __________
>
> Le message a été vérifié par ESET NOD32 Antivirus.
>
> http://www.eset.com
>
>
>
>
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

Reply via email to