.Mark
unread,Jul 25, 2011, 10:33:42 AM7/25/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to scmmanager
I am having a bit of trouble getting the scm-auth-ldap-plugin working
against Active Directory. I am not sure if there is something
preventing this from working in Active Directory or if I am not
setting up the plugin correctly.
I am using scm-webapp-1.5 with scm-auth-ldap-plugin 1.3 on Ubuntu
server 11 in Jetty. I am using Softerra LDAP Browser to explore our
Active Directory.
Here is what I am trying to use int he LDAP authentication
configuration. I do not fully understand what to put in the "Groups
Unit" and "Groups Poeple".
The following configuration settings gives me the following error in
the log.
Fullname Attribute Name: cn
ID Attribute Name: SAMAccountName
Mail Attribute Name: mail
Group Attribute Name: memberOf
Base DN: <left blank>
Connection DN: CN=First Last,OU=Employee Full-
Time,OU=Corporate,DC=Company,DC=com
Connection Password: ********
Host URL: ldap://xxx.xxx.xx.x:389
Search Filter: (&(SAMAccountName={0})(objectClass=user))
Search Scope: one
Groups Unit:OU=Groups,OU=Corporate,DC=Company,DC=com
Groups People:OU=Employee Full-Time,OU=Corporate,DC=Company,DC=com
When I try to log into the system I use the following account in a
different web browser.
User: First.Last
password: ********
The error message:
16:24:57.736 [1656788308@qtp-959772314-6] ERROR
sonia.scm.auth.ldap.LDAPAuthenticationHandler - OU=Employee Full-
Time,OU=Corporate,DC=Company,DC=com,: [LDAP: error code 34 - 0000208F:
NameErr: DSID$
'OU=Employee Full-Time,OU=Corporate,DC=Company,DC=com,'
^@]
javax.naming.InvalidNameException: OU=Employee Full-
Time,OU=Corporate,DC=Company,DC=com,: [LDAP: error code 34 - 0000208F:
NameErr: DSID-031001F7, problem 2006 (BAD_NAME), data 8350, best match
of:
'OU=Employee Full-Time,OU=Corporate,DC=Company,DC=com,'
^@]
The following configuration settings gives me the following error in
the log.
Fullname Attribute Name: cn
ID Attribute Name: SAMAccountName
Mail Attribute Name: mail
Group Attribute Name: memberOf
Base DN: DC=Company,DC=com
Connection DN: CN=First Last,OU=Employee Full-Time,OU=Corporate
Connection Password: ********
Host URL: ldap://xxx.xxx.xx.x:389
Search Filter: (&(SAMAccountName={0})(objectClass=user))
Search Scope: one
Groups Unit:OU=Groups,OU=Corporate
Groups People:OU=Employee Full-Time,OU=Corporate
When I try to log into the system I use the following account in a
different web browser.
User: First.Last
password: ********
The error message:
17:03:27.440 [672845127@qtp-1143608781-2] ERROR
sonia.scm.auth.ldap.LDAPAuthenticationHandler - [LDAP: error code 49 -
80090308: LdapErr: DSID-0C0903A9, comment: AcceptSecurityContext
error, data 52e, v1db1$
javax.naming.AuthenticationException: [LDAP: error code 49 - 80090308:
LdapErr: DSID-0C0903A9, comment: AcceptSecurityContext error, data
52e, v1db1^@]
Any ideas how I would be able to get this working?