the problem seems to be the "Cache match" function - Will cache results of matching a rule. and not the cn ...
if off "Cache match" in Authentication Source configuration i solve the problem thank to Ludovic Zammit for support Bye GC */*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/ */ Giacinto Caretto */ */ DTE-ICT-RETE */ */ [email protected] */ */ ENEATEL 91 206 */ */ Uff. 0831201 206-234 */ */ FAX. 0831201 207 */ */ Mob. +393283904483 */ */ ENEA - CR Brindisi */ */*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/ ________________________________ Da: Giacinto Caretto via PacketFence-users <[email protected]> Inviato: martedì 7 luglio 2020 14:09 A: [email protected] <[email protected]> Cc: Giacinto Caretto <[email protected]> Oggetto: [PacketFence-users] R: R: Authentication Rules mismatch in the test i use "giacinto.caretto" as user ; the correct rule is the second a not the first Authentication Source “DIPENDENTI-Test” [DIPENDENTI-Test] cache_match=0 read_timeout=10 realms=default,eneait,null basedn=OU=UO-Dipendenti,DC=XXX,DC=YY monitor=0 password=xxxxxxxxxxxx shuffle=0 searchattributes= set_access_durations_action= scope=sub email_attribute=mail usernameattribute=cn connection_timeout=1 binddn=XXXXXXXXXXX encryption=ssl description=Dipendenti - utenti ASIE dominio ENEAIT port=XXXXX host=XXXXXXXXXXX,YYYYYYYYYYYYYYYY write_timeout=5 type=AD first rule is : [DIPENDENTI-Test rule asie_caretto.giacinto] action0=set_role=default condition0=cn,is,caretto.giacinto status=enabled match=any class=authentication action1=set_access_duration=1h description=utente caretto,giacinto second rule is : [DIPENDENTI-Test rule asie_giacinto.caretto] action0=set_role=default condition0=cn,is,giacinto.caretto status=enabled match=any class=authentication action1=set_access_duration=3h description=utente giacinto.caretto last rule : [DIPENDENTI-Test rule CATCH-ALL] action0=set_role=default status=enabled match=all class=authentication action1=set_access_duration=12h description=utenti del dominio asie */*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/ */ Giacinto Caretto */ */ DTE-ICT-RETE */ */ [email protected] */ */ ENEATEL 91 206 */ */ Uff. 0831201 206-234 */ */ FAX. 0831201 207 */ */ Mob. +393283904483 */ */ ENEA - CR Brindisi */ */*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/ ________________________________ Da: Nicolas Quiniou-Briand via PacketFence-users <[email protected]> Inviato: martedì 7 luglio 2020 13:43 A: [email protected] <[email protected]> Cc: Nicolas Quiniou-Briand <[email protected]> Oggetto: Re: [PacketFence-users] R: Authentication Rules mismatch Hello, It's simply because your first rule match and PacketFence stop at first match. -- Nicolas Quiniou-Briand [email protected] :: +1.514.447.4918 *140 :: https://inverse.ca Inverse inc. :: Leaders behind SOGo (https://sogo.nu), PacketFence (https://packetfence.org) and Fingerbank (http://fingerbank.org) _______________________________________________ PacketFence-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/packetfence-users ________________________________ Questo messaggio e i suoi allegati sono indirizzati esclusivamente alle persone indicate e la casella di posta elettron ica da cui è stata inviata è da qualificarsi quale strumento aziendale. La diffusione, copia o qualsiasi altra azione derivante dalla conoscenza di queste informazioni sono rigorosamente viet ate (art. 616 c.p, D.Lgs. n. 196/2003 s.m.i. e GDPR Regolamento - UE 2016/679). Qualora abbiate ricevuto questo documento per errore siete cortesemente pregati di darne immediata comunicazione al mit tente e di provvedere alla sua distruzione. Grazie. This e-mail and any attachments is confidential and may contain privileged information intended for the addressee(s) on ly. Dissemination, copying, printing or use by anybody else is unauthorised (art. 616 c.p, D.Lgs. n. 196/2003 and subsequen t amendments and GDPR UE 2016/679). If you are not the intended recipient, please delete this message and any attachments and advise the sender by return e -mail. Thanks. ________________________________ ________________________________ Questo messaggio e i suoi allegati sono indirizzati esclusivamente alle persone indicate e la casella di posta elettron ica da cui è stata inviata è da qualificarsi quale strumento aziendale. La diffusione, copia o qualsiasi altra azione derivante dalla conoscenza di queste informazioni sono rigorosamente viet ate (art. 616 c.p, D.Lgs. n. 196/2003 s.m.i. e GDPR Regolamento - UE 2016/679). Qualora abbiate ricevuto questo documento per errore siete cortesemente pregati di darne immediata comunicazione al mit tente e di provvedere alla sua distruzione. Grazie. This e-mail and any attachments is confidential and may contain privileged information intended for the addressee(s) on ly. Dissemination, copying, printing or use by anybody else is unauthorised (art. 616 c.p, D.Lgs. n. 196/2003 and subsequen t amendments and GDPR UE 2016/679). If you are not the intended recipient, please delete this message and any attachments and advise the sender by return e -mail. Thanks. ________________________________
_______________________________________________ PacketFence-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/packetfence-users
