SVN author from LDAP

86 views
Skip to first unread message

Sebastian Schmerek

unread,
Jan 11, 2018, 8:49:01 AM1/11/18
to scmmanager
I will configure SVN in scm-manager with LDAP.

In our company any user have  a numeric user name like "a0343b".

scm-manager found both information on first login and if i view the log in scm-manager, it maps the name correct but if i view the log in tortoisesvn it shows only the cryptic number (uid from ldap).

Is it possible to get the Fullname or Email from LDAP and replace the username on any commit for better svn log (in my case tortoise svn)?
Or is it possible to authenticate with the email in svn?

Any ideas? 

Sebastian Sdorra

unread,
Feb 16, 2018, 2:29:42 AM2/16/18
to scmma...@googlegroups.com
Yes you can configure the ldap plugin to use email address as username. YOu only have to set the 'ID Attribute Name' to your ldap attribute which holds the mail address of the user and you have to change the 'Search Filter' to match the attribute e.g.:

ID Attribute Name: mail
Search Filter: (&(mail={0})(objectClass=inetOrgPerson))

--
You received this message because you are subscribed to the Google Groups "scmmanager" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scmmanager+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Sebastian Schmerek

unread,
Mar 9, 2018, 7:47:49 AM3/9/18
to scmma...@googlegroups.com
Do i need to use the LDAP-Plugin or does it also works with the ActiveDirectory-Plugin?
With the AD-Plugin all works perfekt (with ID not with Mail). 
When i use the LDAP-Plugin i allways get this error:

Connection: SUCCESS
Search user: FAILURE
Authenticate user: FAILURE
Returned user is valid: FAILURE
Exception: [LDAP: error code 1 - 000004DC: LdapErr: DSID-0C0907C2, comment: In order to perform this operation a successful bind must be completed on the connection., data 0, v2580]

Settings: ActiveDirectory, Base DN: (Company DC=..., DC=...) Connection DN: empty, Host URL: ldap://<SERVER>:389

When i test it with an Connection DN (my Account) i get folowing Error:
Exception: [LDAP: error code 49 - 80090308: LdapErr: DSID-0C09042F, comment: AcceptSecurityContext error, data 52e, v2580]

Sebastian Sdorra

unread,
Mar 23, 2018, 3:13:55 AM3/23/18
to scmma...@googlegroups.com
If you want use the ldap-plugin to use your email address as username, you have to use the ldap-plugin and you have to remove ad-plugin.
The error from the ldap-plugin looks like wrong bind credentials. Have you use the ActiveDirectory Profile of the plugin?

Sebastian 

Sebastian Schmerek

unread,
Apr 4, 2018, 2:26:29 AM4/4/18
to scmma...@googlegroups.com
I have uninstall the AD-Plugin.
In the LDAP Plugin i configure ActiveDirectory. I filled out Base DN and Host URL. Everything else i left empty or disabled. 
The Base DN i get from the Command whoami /fqdn (all DC parts).

But i keep getting the error:
Connection: SUCCESS
Search user: FAILURE
Authenticate user: FAILURE
Returned user is valid: FAILURE
Exception: [LDAP: error code 1 - 000004DC: LdapErr: DSID-0C0907C2, comment: In order to perform this operation a successful bind must be completed on the connection., data 0, v2580]

Any advice?


Reply all
Reply to author
Forward
0 new messages