-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Mourik Jan,
the error description is not very detailed. :( I think there is a bug in PHP or OpenLDAP that causes this problem. The background is that LAM tries to add the description attribute while ldapadmin probably tries to replace the attribute. Both are semantically the same but sometimes one of the operations fails. It may also be an ACL issue with uid=heupink,ou=users,dc=example,dc=com. You can also try the edit operation with the root DN. Best regards Roland On 09.12.2012 16:36, mourik jan heupink wrote: > Hi Roland, list, > > >> I was not able to reproduce it locally. Can you enable debug >> output in your LDAP server and check the server's error message? >> For OpenLDAP see the bottom of this page: > This is the log, for creation of cn=testname: > > Dec 9 16:20:04 filehost slapd[11551]: conn=4275 fd=42 ACCEPT from > IP=127.0.0.1:56236 (IP=0.0.0.0:389) Dec 9 16:20:04 filehost > slapd[11551]: conn=4275 op=0 BIND > dn="uid=heupink,ou=users,dc=example,dc=com" method=128 Dec 9 > 16:20:04 filehost slapd[11551]: conn=4275 op=0 BIND > dn="uid=heupink,ou=users,dc=example,dc=com" mech=SIMPLE ssf=0 Dec > 9 16:20:04 filehost slapd[11551]: conn=4275 op=0 RESULT tag=97 > err=0 text= Dec 9 16:20:04 filehost slapd[11551]: conn=4275 op=1 > ADD dn="cn=testname,ou=mail,dc=example,dc=com" Dec 9 16:20:04 > filehost slapd[11551]: conn=4275 op=1 RESULT tag=105 err=0 text= > Dec 9 16:20:04 filehost slapd[11551]: conn=4275 op=2 UNBIND Dec 9 > 16:20:04 filehost slapd[11551]: conn=4275 fd=42 closed > > So this works, and then modification of cn=testname, logged on > under the same account: > > Dec 9 16:22:45 filehost slapd[11551]: conn=4289 fd=42 ACCEPT from > IP=127.0.0.1:56238 (IP=0.0.0.0:389) Dec 9 16:22:45 filehost > slapd[11551]: conn=4289 op=0 BIND > dn="uid=heupink,ou=users,dc=example,dc=com" method=128 Dec 9 > 16:22:45 filehost slapd[11551]: conn=4289 op=0 BIND > dn="uid=heupink,ou=users,dc=example,dc=com" mech=SIMPLE ssf=0 Dec > 9 16:22:45 filehost slapd[11551]: conn=4289 op=0 RESULT tag=97 > err=0 text= Dec 9 16:22:45 filehost slapd[11551]: conn=4289 op=1 > MOD dn="cn=testname,ou=mail,dc=example,dc=com" Dec 9 16:22:45 > filehost slapd[11551]: conn=4289 op=1 MOD attr=description Dec 9 > 16:22:45 filehost slapd[11551]: conn=4289 op=1 RESULT tag=103 > err=50 text= Dec 9 16:22:45 filehost slapd[11551]: conn=4289 op=2 > UNBIND Dec 9 16:22:45 filehost slapd[11551]: conn=4289 fd=42 > closed > > Interesting: When trying with ldapadmin (www.ldapadmin.org) I can > edit the description successfully. > >>> Perhaps this is something LAM could do..? Removing a user from >>> his/her groups, before actually deleting the uid? >> >> I will add this to 4.1 as it is done now for posixGroups. > Good, nice! :-) > > Thanks for your kind feedback! > > Mourik Jan > > ------------------------------------------------------------------------------ > > LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial > Remotely access PCs and mobile devices and provide instant support > Improve your efficiency, and focus on delivering more value-add > services Discover what IT Professionals Know. Rescue delivers > http://p.sf.net/sfu/logmein_12329d2d > _______________________________________________ Lam-public mailing > list [email protected] > https://lists.sourceforge.net/lists/listinfo/lam-public > - -- Mit freundlichen Grüßen Roland Gruber -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAlDGUQsACgkQq/ywNCsrGZ76UgCfXtu5WRIdBR5S1o9+JiwDil9C fYIAni+Gd41yRZTkd33HjmrNE1Y9glMP =5Vss -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d _______________________________________________ Lam-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/lam-public
