[Mike Gabriel 2012-11-14]
> GOsa² fails to set passwords starting with dash ("-") or double dash ("--").
> 
> The problem occurs in the SambaHashHook command (in gosa.conf):
> 
> """
> sambaHashHook="perl -MCrypt::SmbHash -e "print join(q[:], ntlmgen  
> \$ARGV[0]), $/;""
> """

How can the problem be reproduced?  Do you know if this happen with the
Wheezy version too?

I am unable to understand from looking at the perl one-liner why a
password startingwith dash should fail.  Any ideas?  Perhaps adding "--"
at the end of the perl command help, to tell perl to not parse the
password as an option?  Ie something like this:

   sambaHashHook="perl -MCrypt::SmbHash -e "print join(q[:], ntlmgen 
\$ARGV[0]), $/;" --"

-- 
Happy hacking
Petter Reinholdtsen


--
To UNSUBSCRIBE, email to debian-edu-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/2flli6kmfrm....@diskless.uio.no

Reply via email to