and more in a single search tool across platforms. Read the announcement here. |
12/29/2023 03:15 AM
Hi,
We are trying to import accounts from AD which are AXXXXX where XXXXX is 5 digit number. Could you please help us to configure a object filter for this?
Thanks,
12/29/2023 04:16 AM
Certainly! If you specifically want to filter for `sAMAccountName` with a 5-digit number after 'A', you can use the following LDAP filter:
(&(objectClass=user)(sAMAccountName=A?????))
In this filter, each question mark (?) represents a single character, and there are five of them after 'A'. This ensures that you are looking for accounts where the `sAMAccountName` starts with 'A' and is followed by exactly five digits.
01/01/2024 06:37 PM
Above filter is unliked/deleted all the accounts
(&(objectClass=user)(sAMAccountName=A*)) pulling all the accounts but A????? is not working
01/01/2024 07:58 PM - edited 01/01/2024 07:59 PM
In this example:
01/10/2024 12:06 AM
The Above solution is also not working..
01/10/2024 12:08 AM
Can suggest a proper filter for which is starting with A and then 5 digits
eg: A12345
01/10/2024 07:30 PM
Please test from LDAP browser