Hi Florian

On 2013-07-30, at 4:53 AM, Florian Mirkes <[email protected]> wrote:

>> -----Ursprüngliche Nachricht-----
>> Von: Ludovic Marcotte [mailto:[email protected]] 
>> Gesendet: Samstag, 27. Juli 2013 19:38
>> An: [email protected]
>> Betreff: Re: [PacketFence-users] Retrieve User Attributes 
>> from Active Directory
> 
>> You can already do that. Simply create a rule for sponsors, 
>> with the right conditions and at least, the "Mark as sponsor" action.
> 
> I already tried that with the following rule:
> 
> -------
> [Active Directory rule Sponsors]
> description=PacketFence_Sponsors
> match=any
> action0=set_role=guest
> action1=set_access_duration=12h
> action2=set_access_level=0
> action3=mark_as_sponsor=1
> condition0=memberOf,equals,CN=PacketFence_Sponsors,ou=OU,dc=my,dc=domain,dc=local
> ------
> 
> When i try to register the guest on the sign up page, i get the following 
> error:
> "E-Mail not allowed to sponsor guest access"

Any hints in the log file? Do you have an entry starting with "Searching for 
(mail=…"?

Is your username attribute properly specified in your AD source? Is the mail 
address located in the 'mail' attribute?

> If i login directly on the portal with the sponsor, the node gets registred.
> 
> On the webinterface the AD-user doesn't appear on the users page (and in the 
> "person"-table of the pf database) until you register a node with it.
> When it's in the the database the user has an empty email address. After i 
> set it manually the sponsoring works.

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


------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to