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

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



Your message dated Sun, 09 Jun 2013 00:39:31 +0200
with message-id <20130609003931.79707fqklwortd43@mail.das-netzwerkteam.de>
and subject line Re: Bug#693236: GOsa² fails to set passwords starting with dash ("-") or double dash ("--").
has caused the Debian Bug report #693236,
regarding GOsa² fails to set passwords starting with dash ("-") or double dash ("--").
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
693236: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=693236
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: debian-edu-config
Severity: normal
Version: squeeze-r0
Debbugs-CC: gosa-pkg@oss.gonicus.de

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 &quot;print join(q[:], ntlmgen \$ARGV[0]), $/;&quot;"
"""

Greets,
Mike

--

DAS-NETZWERKTEAM
mike gabriel, rothenstein 5, 24214 neudorf-bornstein
fon: +49 (1520) 1976 148

GnuPG Key ID 0x25771B31
mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de

freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb

Attachment: pgp4AdCud289I.pgp
Description: Digitale PGP-Unterschrift


--- End Message ---
--- Begin Message ---
Hi Petter,

On Sa 08 Jun 2013 23:52:45 CEST Petter Reinholdtsen wrote:


[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 &quot;print join(q[:], ntlmgen
\$ARGV[0]), $/;&quot;"
"""

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 &quot;print join(q[:], ntlmgen \$ARGV[0]), $/;&quot; --"

I just tested the above expression on the command line:

 $ perl -MCrypt::SmbHash -e "print join(q[:], ntlmgen '--test'), $/;"

using "--test" as password. No problem comes up.

The bug report stems from an OTRS ticket we received from a customer. I now have looked at the ticket again and I guess we can close this bug.

Greets,
Mike

--

DAS-NETZWERKTEAM
mike gabriel, herweg 7, 24357 fleckeby
fon: +49 (1520) 1976 148

GnuPG Key ID 0x25771B31
mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de

freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb

Attachment: pgpsnkQsSLU_n.pgp
Description: Digitale PGP-Unterschrift


--- End Message ---

Reply to: