You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2007-02-02 20:46:44

garnold
Member
Registered: 2007-01-31
Posts: 15

How to add LDAP Groups in Glpi with Open Ldap

Hi everyone!

I am trying to add my Open LDAP Groups in Glpi through the Groups function of GLPI.  After I add the Group the members do not show.  I have a flat Open Ldap directory, based on instructions from IDEALX.  Here is the ldap ldif of the a group I would like to add.

dn:cn=frbuilding,ou=Groups,dc=mthcs,dc=net
cn: frbuilding
gidNumber: 5000
userPassword:
objectClass: posixGroup
objectClass: sambaGroupMapping
sambaSID: S-1-5-21-2234556-2126498793-1234567890-32334
sambaGroupType: 2
displayName: frbuilding
description: 
memberUid: frstudent
memberUid: user
memberUid: user2
memberUid: user3
memberUid: user4
memberUid: user5

How I setup in the Group interface.

Name:     FRBuilding
In users:gidnumber
User attribute containing its groups: n=frbuilding,ou=Groups,dc=mthcs,dc=net   
LDAP Value:    
In groups:n=frbuilding,ou=Groups,dc=mthcs,dc=net
Group DN: cn=frbuilding,ou=Groups,dc=mthcs,dc=net   

My External Authenication settings for Groups

Belonging to groups
Search type    in users    User attribute containing its groups   
Filter to search in groups        Group attribute containing its users
   
Comments:

What I am doing wrong?

Thanks
-Glenn

Offline

#2 2007-02-02 21:53:32

tsmr
GLPI-DEV
From: Rennes
Registered: 2005-08-26
Posts: 11,632
Website

Re: How to add LDAP Groups in Glpi with Open Ldap

Version of glpi ?


Xavier Caillaud
Blog GLPI Infotel

Offline

#3 2007-02-03 12:10:51

wawa
GLPI-DEV
From: Montpellier / France
Registered: 2006-07-03
Posts: 6,019
Website

Re: How to add LDAP Groups in Glpi with Open Ldap

Hello,

several things :
1 which filter do you use for group search ?
2 try to put the group's cn in lower case (and in the ldap filter definition too).

Offline

#4 2007-02-04 22:05:06

garnold
Member
Registered: 2007-01-31
Posts: 15

Re: How to add LDAP Groups in Glpi with Open Ldap

I am running version 0. 68.3.

I have nothing in that field.  What should I have?


Thanks
-Glenn

Offline

#5 2007-02-06 10:24:57

wawa
GLPI-DEV
From: Montpellier / France
Registered: 2006-07-03
Posts: 6,019
Website

Re: How to add LDAP Groups in Glpi with Open Ldap

the group filter should be something like "objectclass=groupOfNames)...
this field tells GLPI how to look for a group.

Offline

Board footer

Powered by FluxBB