[Samba] samba+ldap windows problem

Adrian Sender 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
for this.

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'
'%u'
set primary group script = /opt/IDEALX/sbin/smbldap-usermod -g '%g' '%u'
add machine script = /opt/IDEALX/sbin/smbldap-useradd -w '%u'


Cheers,
Adrian Sender.


-----Original Message-----
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

Hi!
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 :-)
Regards
Sermed


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?
>
> Regards,
>
> LD
>
> 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
and
>> you decide.
>> I've installed Samba+LDAP to replace the windows solution. The
workstation
>> 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
the
>> 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
>> /Sermed
>>     




-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the samba mailing list