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

Bug#693236: GOsa² fails to set passwords starting with dash ("-") or double dash ("--").

[Petter Reinholdtsen]
> It assume the password is passed as the first argument to perl.  But
> how exactly do I test gosa to see if this is what happen?

Can you test if this patch solve the problem?

  * Adjust code used to get SMB hash in gosa.conf, to handle a
    password starting with dash (Closes: #693236).

Index: etc/gosa/gosa.conf
--- etc/gosa/gosa.conf  (revisjon 80375)
+++ etc/gosa/gosa.conf  (arbeidskopi)
@@ -388,7 +388,7 @@
-    sambaHashHook="perl -MCrypt::SmbHash -e "print join(q[:], ntlmgen \$ARGV[0]), $/;"">
+    sambaHashHook="perl -MCrypt::SmbHash -e "print join(q[:], ntlmgen \$ARGV[0]), $/;" --">
     <!-- Location definition -->
     <location name="Debian Edu" 

Happy hacking
Petter Reinholdtsen

Reply to: