Skip to Content
0
Former Member
Apr 14, 2009 at 07:11 PM

Negative user filter with "!"

39 Views

I am using an AD data source for a Portal UME, which also contains computer entries and bang ⚠️ administrative accounts. I've used the documentation at:

http://help.sap.com/saphelp_nw2004s/helpdata/en/9a/f43541b9cc4c0de10000000a1550b0/frameset.htm

to filter out the computers, but have been unable to filter out the admin accounts. These accounts all have the normal userid followed by a "!" sign. Here is the filter I first tried, but it had no effect on these accounts:

<ume.ldap.negative_user_filter>

samaccountname=[*!];objectclass=[computer]

</ume.ldap.negative_user_filter>

I also tried escaping the "!" with samaccountname=[*\!], but this results in all users being filtered out. It's as if the "\" makes the following character invisible to the query rather than preventing it being interpreted as having special meaning, i.e. "not". The brackets seem to be a special convention used for this negative filtering by SAP, but I'm not sure.

I am not an LDAP expert, so was wondering if someone can help me with this problem. Thanks!