Problemas con PDC Samba+LDAP

German Vidal M. gvidal en plci-ge.com
Mie Nov 7 13:22:15 CLST 2007


> Que pasa si intentas agregando la maquina primero al ldap?
> smbldap-useradd -w  maquina$

Hice la prueba y agrega la maquina en la rama de host del ldap.


> Podrias ademas postear la parte del smb.conf donde defines los script
> que utilizas.

# Global parameters
[global]
         workgroup = PLCI-GE
         netbios name = FILESERVER
         server string = FILESERVER
         passdb backend = ldapsam:ldap://192.168.10.2
         passwd program = /usr/sbin/smbldap-passwd %u
         passwd chat = *New\spassword\s:* %n\n *Retype\snew\spassword 
\s:* %n\n
         passwd chat debug = Yes
         unix password sync = Yes
         log level = 3
         syslog = 0
         log file = /var/log/samba/log.%m
         max log size = 1000
         name resolve order = host wins bcast
         socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
         add machine script = /usr/sbin/smbldap-useradd -m -w -d /dev/ 
null -s /bin/false %u
         logon script = netlogon.bat
         logon path = \\fileserver\usuarios\%U
         logon drive = H:
         logon home = \\fileserver\%U\.profiles
         domain logons = Yes
         os level = 33
         preferred master = Yes
         domain master = Yes
         dns proxy = No
         wins support = Yes
         ldap admin dn = cn=admin,dc=plci-ge,dc=com
         ldap group suffix = ou=Groups
         ldap machine suffix = ou=Computers
         ldap passwd sync = Yes
         ldap suffix = dc=plci-ge,dc=com
         ldap ssl = no
         ldap user suffix = ou=Users
         remote announce = 192.168.10.255/PLCI-GE
         remote browse sync = 192.168.10.255
         panic action = /usr/share/samba/panic-action %d

[Profiles]
         comment = Directorio Profiles
         path = /home/samba/profiles
         guest ok = Yes

[homes]
         comment = %U
         path = /home/usuarios/%U
         read only = No
         create mask = 0660
         directory mask = 0775

[netlogon]
         comment = Network Logon Service
         path = /home/samba/netlogon
         guest ok = Yes
         share modes = No




Esa es la configuracion del smb.conf



Saludos,


German


Más información sobre la lista de distribución Linux