> -----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" 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. ------------------------------------------------------------------------------ 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
