[Samba] smbldap-tools problem

Chechu chechuironman at hotmail.com
Thu Mar 8 10:10:48 GMT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

hey ,

I installed smbldap tools for have sync linux and win passwd, and it
worked.
But today i did some modifies to the script smbldap-passwd and it doesn't
work. I check that win when try to change the password don't use it now...i
try to reinstall again but still no working...this is my smb.conf someone
can help me..?
thanks

[global]

  workgroup = IRONMAN
  netbios name = SHOGUN
  server string = SAMBA-LDAP PDC server
;  wins support = no
;  wins server = w.x.y.z
  interfaces = eth1
;   pam password change = Yes
  dns proxy = no
  log file = /var/log/samba/log.%m
  max log size = 1000
;   syslog only = yes
  syslog = 0
  panic action = /usr/share/samba/panic-action %d
  name resolve order = lmhosts host wins bcast

####AUTENTIFICACION######

  security = user
  encrypt passwords = true
  passdb backend = ldapsam:ldaps://shogun.ironman.es:636
;   ldap passwd sync = only
;  guest account = guest
  invalid users = root
  unix password sync = no
;  ldap password sync = yes
 passwd program = /usr/local/sbin/smbldap-passwd -o %u
  passwd chat = *Enter\snew\sUNIX\spassword:* %n\n
*Retype\snew\sUNIX\spassword:* %n\n .
;  obey pam restrictions = yes
;  pam password change = no

#####KERBEROS####

use kerberos keytab = yes
realm = IRONMAN.ES
;security = ads
;ads server = 192.168.2.3
#####LDAP#####


  ldap admin dn = cn=admin,dc=ironman,dc=es
  ldap ssl = on
  ldap delete dn = no
  ldap suffix = dc=ironman,dc=es
  ldap user suffix = ou=people
  ldap group suffix = ou=groups
  ldap machine suffix = ou=machines
########## Printing ##########

# If you want to automatically load your printer list rather
# than setting them up individually then you'll need this
  load printers = yes

# lpr(ng) printing. You may wish to override the location of the
# printcap file
;   printing = bsd
;   printcap name = /etc/printcap

# CUPS printing.  See also the cupsaddsmb(8) manpage in the# When using
[print$], root is implicitly a 'printer admin', but you can
# also give this right to other users to add drivers and set printer
# properties
  printer admin = @domainprintoperators

#######PDC###########3

  os level = 80
  preferred master = yes
  domain master = yes
  local master = yes
  domain logons = yes
  logon path = //SHOGUN/profiles/%u
  logon drive = V:
  logon home = //SHOGUN/%u
  logon script =%u.bat
;   domain admin group = @domainadmins
     add user script = /usr/local/sbin/smbldap-useradd -w %u############
Misc ############

  socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
  idmap uid = 10000-20000
  idmap gid = 10000-20000
  template shell = /bin/bash
  add user script = /usr/local/sbin/smbldap-useradd -w %u


######## File sharing ########
# Name mangling options
;   preserve case = yes
;   short preserve case = yes


# cupsys-client package.
  printing = cups
  printcap name = cups




-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFF7+Eou1kTJztljjMRAoz/AJ49j5RkqzWNIr6ltQfeDOW9MMUwiQCbBdPg
pO1sowR4osRFd17ZQoeu54Q=
=05IU
-----END PGP SIGNATURE-----



More information about the samba mailing list