[Samba] Unable to change password from winXP

Laurent CARON lcaron at apartia.fr
Thu Apr 15 11:24:45 GMT 2004


msamba at mail-ph.ph.koop.cz wrote:

>Try to set
>
>pam password change = yes
>
>in you smb.conf
>
>We had the same problem with Samba 2.2.7 - 3.0.1 + OpenLDAP.
>
>Best regards
>
>Michal
>  
>
It didn't work

Here is the smb.conf


-------------- next part --------------
[global]
load printers = yes
#Ldap Defs
ldap suffix = dc=pipo, dc=net
ldap user suffix = ou=people
ldap group suffix = ou=groups
ldap machine suffix = ou=computers
ldap admin dn = "cn=admin, dc=pipo, dc=net"

#guest account = nobody

passwd program = /usr/local/sbin/smbldap-passwd.pl %u

#domain admin users = Administrator

#rmv lc test
ldap password sync = yes
unix password sync = yes
pam password change = no
#passwd program = /usr/local/sbin/smbldap-passwd.pl %u
#passwd chat = Changing*password*for* \\n *New*password* %n\\n *Retype*new*password %n\n
#passwd chat = *new*password* %n\n *new*password %n\n *successfully*

passdb backend = ldapsam

#ldap ssl = off

workgroup = Samba_ldap
netbios name = smbldap
comment = Linux Apartia
security = user
#null passwords = Yes
encrypt passwords = true

# uncoment for HEAD code
#use spnego=no

logon drive = U:
logon path = \\%N\profiles\%U

domain master = yes
domain logons = yes
preferred master = yes
os level = 65


log file = /tmp/samba.log
passwd chat debug = yes
debuglevel = 1

; necessary share for domain controller
#[netlogon]
#path = /var/lib/samba/netlogon
#locking = no
#read only = yes
#write list = ntadmin

; share for storing user profiles
[profiles]
path = /var/lib/samba/profiles
read only = no
writeable = yes
profile acls = yes
create mask = 0600
directory mask = 0700

[pipo]
browseable = yes
writable = no
path = /tmp
public = yes


[homes]
comment = Home Directories
browseable = yes
readonly = no
create mask = 0700
directory mask = 0700
logon home = \\%N\%U

[printers]
browseable=yes
path=/tmp
printable=yes
public=yes
writable=no
guest ok=yes
create mode = 0700



More information about the samba mailing list