and more in a single search tool across platforms. Read the announcement here. |
01/04/2024 03:16 AM - edited 01/04/2024 03:29 AM
Hi Team,
We are trying to filter the specific account based on the condition below
we want to filter the acocunt based on account start with T followed by only five digit in Active directory in Object filter
Can you please suggest how to filter
Example : T00800
So it will only filter account started with T and followed by 5 digit. Others it will simply ignore
01/04/2024 06:44 PM
Any suggestion
01/04/2024 07:04 PM - edited 01/04/2024 07:05 PM
Hi - Can you use this below filter, you can update the filter for object class/objectCategory accordingly if thats different.
(&(objectCategory=user)(objectClass=user)(sAMAccountName=T[0-9][0-9][0-9][0-9][0-9]))
Regards,Arvind
01/04/2024 07:18 PM
(&(objectCategory=user)(objectClass=user)(sAMAccountName=P\d{4}))
01/04/2024 11:11 PM
Hi Rushikesh
After putting the above filter getting the below error
invalid escape sequence: [B@73e68f59 |
01/04/2024 11:14 PM
(&(objectCategory=user)(objectClass=user)(sAMAccountName=P\\d{4}))
01/04/2024 11:36 PM
Hi Rushikesh
We have tried this (&(objectCategory=user)(objectClass=user)(sAMAccountName=T\\d{4}))
and run the accounts import job but none of the account are getting pulled in saviynt.
example of Account like "T67483"
01/05/2024 12:10 AM
Hi Rushikesh,
Can you please help us atleast it will search the account starting with T and followed by digit any number.
01/05/2024 10:29 AM
Hi Rushikesh
can you please help us to filter only account start with T and followed by only numbers
like ex T12345 , T123456
Thanks
Arnab Pal
01/04/2024 11:23 PM
We have tried this (&(objectCategory=user)(objectClass=user)(sAMAccountName=T\\d{4}))
and run the accounts import job but none of the account are getting pulled in saviynt.
example of Account like "T67483"
01/05/2024 10:37 AM
If you have ldap browser validate first as its working from java code
Your LDAP filter (&(objectClass=user)(sAMAccountName=a?????)) is searching for user objects whose sAMAccountName attribute starts with 'a' and is followed by exactly five characters.
This LDAP filter is written in the standard LDAP filter syntax, where:
01/05/2024 10:41 AM
But we have criteria like it should start with let’s T and then followed by all digit and it can be any number of digit
like T12345 or T353535 or T5377337
01/05/2024 04:14 PM
Above logic should work
01/10/2024 12:16 AM
Hi rushikesh,
we have tried with the above code it's now working
01/10/2024 04:16 AM
Any suggestion please