Hi everyone,

I have configured an LDAP server in Artifactory so users are authenticated
against it. Also, have group mapping configured.

This works fine, in the sense that it does what it should.

However, I noticed there is a delay from about 10-15 seconds every time the
configured LDAP server is contacted by Artifactory. This is when users
authenticate, when I do a test in "LDAP Settings", etc.

Debugging, I found this in the logs:

2012-12-28 06:19:06,602 [http-8081-2] [DEBUG]
(o.s.s.l.SpringSecurityLdapTemplate:203) - Searching for entry under DN
'dc=XX,dc=XX', base = '', filter = '(mail={0})'
2012-12-28 06:19:06,603 [http-8081-2] [DEBUG]
(o.s.s.l.SpringSecurityLdapTemplate:219) - Found DN:
cn=XXXXXX,ou=Users,ou=XXXXXXX
2012-12-28 06:19:21,614 [http-8081-2] [INFO ]
(o.s.s.l.SpringSecurityLdapTemplate:225) - Ignoring PartialResultException
2012-12-28 06:19:21,615 [http-8081-2] [DEBUG]
(o.s.s.l.DefaultSpringSecurityContextSource:73) - Removing pooling flag for
user cn=XXXXXX,ou=Users,ou=XXXXXXX,dc=XX,dc=XX

There is a delay of about 15 seconds after "Found DN:
cn=XXXXXX,ou=Users,ou=XXXXXXX", which comes back with a message of
"IgnoringPartialResultException".

A little research on the Internet, suggests that error is because a referral
cannot be followed when performing an LDAP search.

If I try to do the same query in an LDAP client (such as Softwerra LDAP
Browser), I can see the same errors. That's ok, as I don't need to handle
referrals (and can disable them in LDAP Browser).

Is there a way to configure Artifactory so it ignores referrals when
searching over LDAP?

Thank you



--
View this message in context: 
http://forums.jfrog.org/Disable-referrals-in-LDAP-settings-tp7578459.html
Sent from the Artifactory - Users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
much more. Get web development skills now with LearnDevNow -
350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122812
_______________________________________________
Artifactory-users mailing list
Artifactory-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/artifactory-users

Reply via email to