Hi Johannes

This LDAP query doesn't return any result under OU=VFK,DC=login,DC=top,DC=no:

(&([email protected])(memberOf=OU=AUTO 
ANSATTE,OU=BRUKERE,OU=VFK,DC=login,DC=top,DC=no))

Look at the LDAP entry of [email protected] and verify its memberOf values.

On 2013-09-06, at 4:32 AM, Johannes Lavre <[email protected]> wrote:

> Here is the debug log from my setup
> 
> -----Opprinnelig melding-----
> Fra: Francis Lachapelle [mailto:[email protected]] 
> Sendt: 5. september 2013 15:22
> Til: [email protected]
> Emne: Re: [PacketFence-users] ad source guest sponsor
> 
> Hi Johannes
> 
> On 2013-09-05, at 4:34 AM, Johannes Lavre <[email protected]> wrote:
> 
>> I created an AD source that works fine and added a mark as sponsor 
>> rule that some mails on the list suggests but get Email is not allowed to 
>> sponsor guest access. Im running latest version 4.0.5-2 Here is the 
>> packetfence.log output:
>> 
>> guest-selfregistration.cgi(0) INFO: Looking up username for email: 
>> [email protected](pf::authentication::username_from_email)
>> Sep 05 10:24:48 guest-selfregistration.cgi(0) INFO: Searching for 
>> ([email protected]), from OU=VFK,DC=login,DC=top,DC=no, with scope sub 
>> (pf::Authentication::Source::LDAPSource::username_from_email)
>> Sep 05 10:24:48 guest-selfregistration.cgi(0) INFO: LDAP:found a match 
>> in username_from_email ([email protected]) 
>> (pf::Authentication::Source::LDAPSource::username_from_email)
>> 
>> Looks like the rule works on the lookup side but not on the sponsoring side.
>> 
>> This is the condition and rule I created:
>> 
>> memberOf equals OU=AUTO 
>> ANSATTE,OU=BRUKERE,OU=VFK,DC=login,DC=top,DC=no
>> 
>> mark as sponsor
>> set role guest
>> set access duration 5days
> 
> Set your logging level to DEBUG (modify log4perl.rootLogger in conf/log.conf) 
> and send us the log entries.
> 
> 
> Francis
> 
> --
> [email protected] :: +1.514.755.3640 :: http://www.inverse.ca Inverse :: 
> Leaders behind SOGo (http://sogo.nu) and PacketFence (http://packetfence.org)
> 
> 
> ------------------------------------------------------------------------------
> Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
> Discover the easy way to master current and previous Microsoft technologies 
> and advance your career. Get an incredible 1,500+ hours of step-by-step 
> tutorial videos with LearnDevNow. Subscribe today and save!
> http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk
> _______________________________________________
> PacketFence-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/packetfence-users
> <pfdebug.log>------------------------------------------------------------------------------
> Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
> Discover the easy way to master current and previous Microsoft technologies
> and advance your career. Get an incredible 1,500+ hours of step-by-step
> tutorial videos with LearnDevNow. Subscribe today and save!
> http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk_______________________________________________
> PacketFence-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/packetfence-users

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


------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to