* Fran Fabrizio <fran cis.uab.edu> [2006-03-31
01:43]:
> When I manually add the user to the group using the
same command
> that the script is using, it works, so I probably just
need to
> figure out what's wrong with the script.
could you post the exact command that works on in your shell
but
fails in the script (minus passwords/sensitive data)?
maybe some escaping is happening by the shell?
you also forgot to post the relevant log entries from your
slapd which
is essential for checking what went wrong.
if the two commans really are identical then the only
difference can
be in the environment: PATH, LD_LIBRARY_PATH, etc.
note that if you're using SASL (no -x switch for for ldap
command
line tools) the authenticationId is constructed from $USER
(unless
given on the command line with -U).
cheers,
-p.schober
--
peter.schober univie.ac.at - vienna university computer
center
Universitaetsstrasse 7, A-1010 Wien, Austria/Europe
Tel. +43-1-4277-14155, Fax. +43-1-4277-9140
_______________________________________________
General mailing list
General open-xchange.org
http://www.open-xchange.org/cgi-bin/mailman/listinfo
/general
|