Title |
Test
Find
Pattern Title
|
Expression |
^((CN=['\w\d\s\-\&]+,)+(OU=['\w\d\s\-\&]+,)*(DC=['\w\d\s\-\&]+[,]*){2,})$ |
Description |
Matches the LDAP path of Microsoft Active Directory entry. Checks to ensure the ADsPath attribute is accurate. |
Matches |
CN=Joey O'Brenn,OU=Test & 1,OU=Test & 2,DC=support,DC=com |
Non-Matches |
CN=Laurie Brenn,CN=Users,DC=support |
Author |
Rating:
Not yet rated.
Joey Brenn
|
Source |
|
Your Rating |
|
Title: DC RDN's should not allow sequential commas
Name: Richard
Date: 7/15/2009 6:30:25 AM
Comment:
It may help to end with [,]?{2,})$
instead of [,]*{2,})$
as this will catch an invalid dc rdn like
...dc=accounts,dc=co,,,dc-uk
Title: DC RDN's should not allow sequential commas
Name: Richard
Date: 7/15/2009 5:35:25 AM
Comment:
It may help to end with [,]?{2,})$
instead of [,]*{2,})$
as this will catch an invalid dc rdn like
...dc=accounts,dc=co,,,dc-uk
Title: Not bad but could be better
Name: Lobezno
Date: 11/5/2004 7:17:39 AM
Comment:
Not allows enter server and only allows paths for CN objects