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

Bug#815040: Creating templates creates home dir "%uid"



Package: debian-edu-config
Severity: important
Version: 1.818
Tags: patch

Hi,

when creating new user templates in Debian Edu's GOsa, the hook script gosa-create creates a home directory for this new user template. This is, of course, nonsense. Only real users need a home directory.

Also, a Kerberos account is created for that user template.

This can be fixed by modifying the search filter in gosa-create's ldapsearch in this way:

IS:
(&(uid=$USERID)(objectClass=posixAccount))

SHOULD BE:
(&(uid=$USERID)(objectClass=posixAccount)(!(objectClass=gosaUserTemplate)))

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/mailxchange/kronolith/fb.php?u=m.gabriel%40das-netzwerkteam.de

Attachment: pgpU5Ir21Ixcw.pgp
Description: Digitale PGP-Signatur


Reply to: