Expanding user.php so it enters three more fields into LDAP

Alain Spineux aspineux at gmail.com
Tue Oct 14 21:04:29 CEST 2008


On Mon, Oct 13, 2008 at 9:59 AM, Christian Rößler <Roessler at fuh-e.de> wrote:
> Good morning to everyone,
>
> I am working for some time with Kolab, and I have to say I think it is a
> very nice software. Now I try to enhance the admin interface a bit while
> evaluating the possibility of a migration to Kolab
>
> Well, my problem is such: I want to get sone posixGroup functionality
> for the user type 'groups'. As I obviously cannot just connect
> posixGroup to the object (as inetOrgPerson/kolabInetOrgPerson would be
> present) I have thought of making a scheme of my own with an auxiliary
> objectClass, which brings the three attributes I need.
>
> These attributes would be 'generate/delete companion posixGroup, list of
> UIDs for group, eventually password'. Then I would use a script to
> generate a posixGroup at the appropriate place in the hierarchy.
>
> This already functions reasonably well. But I fail in modifying user.php
> as such, that it writes my objectClass (with the three attributes) to
> LDAP - regrettably my PHP knowledge is rather bad.

Maybe you could find some very precise piece of code in the patch of
this thread :

https://www.intevation.de/roundup/kolab/issue2997

Hope this help

>
> So I would be most grateful if anyone could help me.
>
> Best regards and many thanks,
> Christian Rößler (Roessler)
>
>
> PS. My scheme uses this attributes:
> generateCompanionGroup - boolean - SINGLE-VALUE
> membersCompanionGroup - IA5 - SINGLE-VALUE
> passwordCompanionGroup - IA5 - SINGLE-VALUE
>
> ...and the object is:
> companionGroup - AUXILIARY -
> MUST ( generateCompanionGroup )
> MAY ( membersCompanionGroup $ passwordCompanionGroup ) )
>
> _______________________________________________
> Kolab-users mailing list
> Kolab-users at kolab.org
> https://kolab.org/mailman/listinfo/kolab-users
>



-- 
Alain Spineux
aspineux gmail com
May the sources be with you




More information about the users mailing list