Bug#941165: gosa: Fatal error when opening user list

Stephan Lange sl077 at gmx.de
Wed Jun 3 11:03:24 BST 2020


On Fri, 3 Jan 2020 12:07:39 +0100 Mike Gabriel <mike.gabriel at das-
netzwerkteam.de> wrote:
> I just encountered the same issue. The problem is probably that your
> LDAP user "nobody" does not have the userPassword: LDAP attribute
> description set with some value. A work-around for your issue could be
> to use another LDAP editor (such as ldapvi) and add userPassword:
> blablabla to the LDAP object of user "nobody".
>
> It should definitely be fixed somewhere in GOsa, but this might require
> some more effort and thinking. Any kind of contribution is dearly welcome!
>
> Mike
>

Hi Mike,

same for me (user "nobody" with no userPassword set). Since userPassword is
not a required attribute, I agree that this should be fixed in gosa. I patched
gosa for me anyway (to change the shadowMin/shadowMax handling), so I decided
to update this as well instead of adding some password to user "nobody".
The attached patch initializes $userPassword in two target function headers
with an empty array, thus removing the hard requirement for this parameter to
be given. Both functions are small and self contained, they even set a default
and check for a set array element (as you can see in the context lines within
the patch), so I don't see any problem with this.
User listing now works for me again, hiding the lock/unlock icon of user
"nobody" as expected.

Stephan

&references=<156943927572.15045.16767998918086934590.reportbug at localhost>
 <156943927572.15045.16767998918086934590.reportbug at localhost>
 <df3cf3ac-d831-90f3-a825-ed1513b53d79 at das-netzwerkteam.de>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: userManagement.patch
Type: text/x-patch
Size: 863 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-edu-pkg-team/attachments/20200603/c58e0992/attachment.bin>


More information about the Debian-edu-pkg-team mailing list