[Samba] samba+ldap windows problem
asender at tinistuffhosting.com
Mon Dec 25 08:05:20 GMT 2006
You need to add some sort of script to change passwords, smbldap-tools work
Install/configure smbldap-tools, and add the following to smb.conf
add user script = /opt/IDEALX/sbin/smbldap-useradd -m '%u'
delete user script = /opt/IDEALX/sbin/smbldap-userdel '%u'
add group script = /opt/IDEALX/sbin/smbldap-groupadd -p '%g'
delete group script = /opt/IDEALX/sbin/smbldap-groupdel '%g'
add user to group script = /opt/IDEALX/sbin/smbldap-groupmod -m '%g' '%u'
delete user from group script = /opt/IDEALX/sbin/smbldap-groupmod -x '%g'
set primary group script = /opt/IDEALX/sbin/smbldap-usermod -g '%g' '%u'
add machine script = /opt/IDEALX/sbin/smbldap-useradd -w '%u'
From: sermodi [mailto:sermodi at gmail.com]
Sent: Saturday, 23 December 2006 6:58 AM
To: samba at lists.samba.org
Subject: Re: [Samba] samba+ldap windows problem
Thanks for the reply Luis, maybe it is a windows issue but I thought
maybe somebody in the mail list had some similar setup and if they had
been able to change the password in windows. I got it to work in a
previous setup once I changed the password encryption to yes. But in the
new setup(only domain name change and new LDAP entries) it stopped working.
Luis, sorry for sending you an empty replay pushed the wrong button :-)
Luis Daniel Lucio Quiroz skrev:
> That sounds more a win issue than a samba/ldap
> Dont you have a policy on changing password from your old win domain?
> Le jeudi 21 décembre 2006 10:08, sermodi a écrit :
>> Hi everybody!
>> I don't know if this is a samba or ldap problem, so here is the problem
>> you decide.
>> I've installed Samba+LDAP to replace the windows solution. The
>> in the network are w2k so the need to logon to the samba+ldap for all the
>> setting to be fetched. The logon is working the only trouble is that I
>> can't get the option for changing the password, when I press the
>> ctrl-alt-del, the change password button is "unclickable". If I change
>> mustchangepasswd to 0 the the users are forced to change the password, it
>> works. I just can't get the changepassword button available. I have
>> searched the web for days and can't find a solution, Thanks
>> I have attached the smb.conf and slapd.conf
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
More information about the samba