[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Bug 1243] After changing my passwort to a simple passwd in lwat I lose my rights of admins group. :-)



http://bugs.skolelinux.no/show_bug.cgi?id=1243





------- Additional Comments From faj@bzz.no  2007-08-02 10:44 -------
Could you also try using the command-line tools and maybe trey to change
password there on your admin user, then using that adminuser, change another
users password. 

The reason is that there is actually no authentication handling in lwat, all is
left up to ldap.

so to test things, lets assume your admin member user is "myadmin", and you have
another user called "auser"
then you could do the following:
ldappasswd -xZWSD uid=myadmin,ou=People,dc=skole,dc=skolelinux,dc=no

then change the password of the user: 
ldappasswd -xZWSD uid=myadmin,ou=People,dc=skole,dc=skolelinux,dc=no \
                  uid=auser,ou=People,dc=skole,dc=skolelinux,dc=no

this is basically what lwat does, except that it creates (kind of) an ldif, and
uses (kind of) ldapmodify instead. 

"kind of" means "it uses the php-functions to create an array, and then uses the
php-function ldapmod"

// faj 




------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



Reply to: