Skip to Content
author's profile photo Former Member
Former Member

Negative user filter with "!"

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!

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Apr 15, 2009 at 12:25 AM

    Maybe you can identify the admin users by some other attribute, for example by setting a phonenumber of xxxxx.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Michael,

      I had not opened a message until now thinking that this is more a "how to" question. But considering that the LDAP query string for filtering samaccountname should work, I have now done so.

      I will also investigate the "hiding" option, as that is something that could be done without changing the contents or structure of the directory itself -- something that would be very involved here.

      Thanks for your ideas. I will post any progress here.

      Clark

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.