Hello,

ok so let´s try to debug.
First take a wireshark trace of the ldap traffic between packetfence and
your ldap server.
Check if the request are ok (ldapsearch uid=sumit.basu) and if the ldap
server return search ok and return values.

Regards
Fabrice

Hello Fabrice,
>
> No luck tried both with value "equals" as well as "matches regexp".
> The same error comes  "Email *****.****@****.**.** not allowed to
> sponsor guest access". Strangely when this happens i can see no logs
> corresponding to the failure.
>
> Sumit
>
>
> [SINP_LDAP rule SINP_LDAP_USERS]
> description=
> match=all
> action0=mark_as_sponsor=1
> condition0=uid,equals,sumit.basu
> #condition0=uid,matches regexp,sumit.basu
>
>
>
>
> On 1/16/2015 9:35 PM, Fabrice DURAND wrote:
>> Hi,
>>
>> change in the rule SINP_LDAP_USERS mail to username and change the value
>> to match.
>> And make a try.
>>
>> Regards
>> Fabrice
>>
>>  
>> Le 2015-01-16 01:05, Sumit Basu a écrit :
>>> Hi,
>>>
>>> I have been trying to configure sponsored guest access on Packetfence
>>> 4.5.1 without success. I have added an internal user source using my
>>> LDAP server and added a condition whereby if mail equals my address of
>>> our local-domain then the action would be to mark as sponsor. When
>>> trying to "Register through a sponsor" i get the "Email
>>> *****.****@****.**.** not allowed to sponsor guest access". Strangely
>>> when this happens i can see no logs corresponding to the failure which
>>> is unlike the "Register by Email/SMS" options.
>>> I am not able to figure out the issue. The configuration is as below:
>>>
>>> [SINP_LDAP]
>>> description=LDAP Server
>>> scope=sub
>>> basedn=ou=People,dc=sinp
>>> usernameattribute=uid
>>> connection_timeout=5
>>> encryption=none
>>> port=389
>>> type=LDAP
>>> host=172.16.0.3
>>>
>>> [SINP_LDAP rule SINP_LDAP_USERS]
>>> description=
>>> match=all
>>> action0=mark_as_sponsor=1
>>> condition0=mail,equals,****.****@****.**.**
>>>
>>> Regards
>>> Sumit Basu
>>> CS, SINP
>>> Kolkata India
>>>
>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
>>> GigeNET is offering a free month of service with a new server in Ashburn.
>>> Choose from 2 high performing configs, both with 100TB of bandwidth.
>>> Higher redundancy.Lower latency.Increased capacity.Completely compliant.
>>> http://p.sf.net/sfu/gigenet
>>> _______________________________________________
>>> PacketFence-users mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/packetfence-users
>>
>>
>> ------------------------------------------------------------------------------
>> New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
>> GigeNET is offering a free month of service with a new server in Ashburn.
>> Choose from 2 high performing configs, both with 100TB of bandwidth.
>> Higher redundancy.Lower latency.Increased capacity.Completely compliant.
>> http://p.sf.net/sfu/gigenet
>>
>>
>> _______________________________________________
>> PacketFence-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/packetfence-users
>
>
>
> ------------------------------------------------------------------------------
> New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
> GigeNET is offering a free month of service with a new server in Ashburn.
> Choose from 2 high performing configs, both with 100TB of bandwidth.
> Higher redundancy.Lower latency.Increased capacity.Completely compliant.
> http://p.sf.net/sfu/gigenet
>
>
> _______________________________________________
> PacketFence-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/packetfence-users


-- 
Fabrice Durand
[email protected] ::  +1.514.447.4918 (x135) ::  www.inverse.ca
Inverse inc. :: Leaders behind SOGo (http://www.sogo.nu) and PacketFence 
(http://packetfence.org) 

Attachment: 0xF78F957E.asc
Description: application/pgp-keys

------------------------------------------------------------------------------
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to