Hello,

I'm trying to add rules based on ldap groups

I configured a rule  in my ldap source :

[se3 rule profs]
description=profs du lycee
match=any
action0=set_role=mobiles_profs
action1=set_unreg_date=2016-03-02
condition0=uid,is member of,cn=Profs,ou=Groups,dc=diderot,dc=org

my ldap group is  something like :

# ldapsearch -xLLL cn=Profs
dn: cn=Profs,ou=Groups,dc=diderot,dc=org
cn: Profs
objectClass: top
objectClass: posixGroup
objectClass: sambaGroupMapping
gidNumber: 16
sambaGroupType: 2
displayName: Profs
description: Profs du  lycee Diderot
sambaSID: S-1-5-21-xxxxxxxxx
memberUid: denis.bonnenfant


But packetfence.log shows that the rule is never matched. I tried the 
other types of conditions, and they both worked. So the problem is with 
"is member of" condition.








------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to