Topic Resolution: Answered
Ansicht von 2 Antwort-Themen
-
AutorBeiträge
-
-
22. September 2023 um 12:32 Uhr - Views: 362 #15651
Im trying to create filter to limit users in Otobo to active users from my AD with email addres , but I coudn’t find correct condition
$Self->{'Customer::AuthModule::LDAP::AlwaysFilter1'} = '(&(objectclass=user)(mail=*@mydomain.com)( ??USER IS ENABLE ???))';
-
22. September 2023 um 14:30 Uhr #15652
Hello tomi,
in our ldap test(not used actually) we use the following filter:
AlwaysFilter => ‘(&(objectCategory=person)(objectClass=user)(!(userAccountControl:1.2.840.113556.1.4.803:=2))(mail=*)(sn=*)(givenname=*)(!(givenname=\00)))’
“(!(userAccountControl:1.2.840.113556.1.4.803:=2))” = not disabled
(!(givenname=\00)) = i think, it was givenname is not null
http://www.selfadsi.org/ads-attributes/user-userAccountControl.htm
KR, Marcel
-
27. September 2023 um 14:19 Uhr #15663
Thank you very much it is a perfect answer
$Self->{'Customer::AuthModule::LDAP::AlwaysFilter1'} = '(&(objectclass=user)(mail=*@mydomain.com)(!(userAccountControl:1.2.840.113556.1.4.803:=2)))';
-
-
AutorBeiträge
Ansicht von 2 Antwort-Themen
- Du musst angemeldet sein, um auf dieses Thema antworten zu können.