[Samba] Samba + Openldap password change through windows

Karl.Baase at entropia.biz Karl.Baase at entropia.biz
Thu Jul 17 14:52:08 GMT 2003


Hello,

new to list, and a big problem.
i got a samba ldap pdc up an running under suse 8.2 with samba 2.2.7a-SuSE 
and openldap2-2.1.12-50 installed. 
now i try to get the password change work. from the shell everything 
worksfine with the smbldap-tools. 
when i try to change the password from windows samba changes the windows 
password but the unix password is left unchanged. 
in my smb.conf i specified the smbldap-passwd.pl script. 

[global]
        workgroup = MYWORKGROUP
        netbios name = LDAPPDC
        server string = New Samba-LDAP PDC
        interfaces = eth0
        encrypt passwords = Yes
#  --- Password change
        passwd chat = *New*password* %n\n *Retype*new*password* %n\n* 
*all*authentication*tokens*updated*successfully*
        passwd program = /usr/sbin/smbldap-passwd.pl %u
        syslog = 0
        time server = Yes
        unix extensions = Yes
        socket options = SO_KEEPALIVE IPTOS_LOWDELAY TCP_NODELAY 
SO_RCVBUF=8192 SO_SNDBUF=8192
        character set = ISO8859-1
        domain admin group = root,administrator
        add user script = /usr/sbin/smbldap-machineadd.sh %u
        delete user script = /usr/sbin/smbldap-machinedel.sh %u
        domain logons = Yes
        os level = 255
        preferred master = Yes
        domain master = Yes
        wins support = Yes
        ldap server = 127.0.0.1
        ldap port = 389
        ldap suffix = dc=sure,dc=de
        ldap filter = "(&(objectclass=sambaAccount)(uid=%u))"
        ldap admin dn = cn=Manager,dc=sure,dc=de
        ldap ssl = no
        veto files = /riched20.dll/*.{*}/
        allow trusted domains = No
# --- Debug
        log level = 3
        enhanced browsing = Yes
        create mask = 0770

[homes]
        comment = Mein privates Verzeichniss
        valid users = %S
        read only = No
        create mask = 0640
        browseable = No

[netlogon]
        comment = Network Logon Service
        path = /Shares/netlogon
        guest ok = Yes

[Profiles]
        path = /Shares/profiles
        read only = No
        guest ok = Yes

i'd like to know if its possible that both passwords are changed. the perl 
script does a fine job from the shell only through samba it does not seam 
to work correctly. 
any sugestions?

karl

--
|- Entropia Software GmbH
|- Luitpoldstrasse 59
|- D-76863 Herxheim
| 
|- tel: +49 7276 98 85 40 3
|- fax: +49 7276 98 95 40 4
|- mobil: +49 179 73 48 48 8
|- mail: kb at entropia.biz
|- web: http://www.entropia.biz


More information about the samba mailing list