The following forum message was posted by specialmonkey at
http://sourceforge.net/projects/artifactory/forums/forum/603429/topic/5392489:
I'm trying to use an LDAP filter like:
(|(uid=foo)(uid=bar))
to restrict access to these two users.
(&(uid=foo)(status=current)) - works
so does (&(uid={0})(status=current))
these don't:
(|(uid={0})(status=current))
(|(uid=foo)(status=current))
The error in the artifactory log is:
2012-06-29 10:53:38,470 [http-bio-8081-exec-2] [ERROR]
(o.a.s.l.ArtifactoryBindAuthenticator:150) - User: foo found 2 times in LDAP
server
2012-06-29 10:53:38,471 [http-bio-8081-exec-2] [ERROR]
(o.a.s.l.AbstractLdapService:63) - Failed to authenticate user foo: Bad
credentials
I also tried using || as the OR operator.
I would simply like to limit access to a small group of UIDs specified in the
filter and not use an additional attribute like artifactory_user=true - since
we have limited ability to make changes to this LDAP instance.
Thanks!
sm
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users