Package: ldapscripts Version: 1.4-2etch1 Keeping default configuration in /etc/ldapscripts/ldapscripts.conf, when invoking 'ldapaddgroup aGroup' issues: 'Error adding group aGroup to LDAP'. Here is a transcript:
$ ldapaddgroup aGroup Warning : using command-line passwords, ldapscripts may not be safe Error adding group test to LDAP Same error when invoking 'ldapadduser', however 'ldapdeleteuser' works fine. I am using Debian GNU/Linux 2.6.18, kernel 2.6.18-6-686 and libc6 2.3.6.ds1-13et. BUG FIX: Editing /usr/share/ldapscripts/runtime, lines 191, 193', I find that in function '_ldapdelete ()' server is identified with the perfix 'ldap://': (...) -xH "ldap://$SERVER" (..) however in functions '_ldapadd', '_ldapmodify' and '_ldapadd' server is identified without that perfix: (...) -xH "$SERVER" (..) So adding that perfix to server id in these functions fix the bug. _ldapadd, lines 149 and 151 _ldapmodify, lines 161 and 161 _ldaprename, lines 177 and 179 I also find that changing line 133 from 'trap -' to: ' trap - 2', avoids issuing the warning: trap: usage: trap [-lp] [arg signal_spec ...] (however scripts seams to work fine in spite of this warning). I already have seen this fix on some bug report. Sorry but I did not have time to check this error on lenny package. Attached follow fixed '/usr/share/ldapscripts/runtime' file, and diff file 'runtime.changes'. Helder Daniel UALG - FCT DEEI http://w3.ualg.pt/~hdaniel -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

