mantis: 1.2.10
apache: 2.2.3
mysql: 5.0.95
php: 5.1.6
Hello,
We enabled LDAP auth by adding the following to config_inc.php:
$g_login_method = LDAP;
$g_ldap_server = ‘ldap://dc1.mydomain.local’;
$g_ldap_port = 389;
$g_ldap_root_dn = “OU=Users,DC=MYDOMAIN,DC=LOCAL”;
$g_ldap_bind_dn = ‘CN=ldapsearch,CN=Users,DC=MYDOMAIN,DC=LOCAL’; $g_ldap_bind_passwd = ‘Password123’;
$g_ldap_organization = ‘‘;
$g_ldap_protocol_version = 3;
$g_ldap_uid_field= ‘sAMAccountName’;
I then re-named user accounts to match the ones in Active directory. After this the user accounts all seemed to work fine but the svn hooks no longer worked and svn was not updating mantis. I think it is because the svn user in mantis has no password associated with it and I am unable to create a user in AD without a password.
Is their anyway to make mantis use the local DB for svn while going to LDAP for the rest?
Has anyone successfully got LDAP authentication working while still being able to use SVN hooks?
svn hooks not working after enabling ldap auth
Moderators: Developer, Contributor
Re: svn hooks not working after enabling ldap auth
Any idea on this? Is this a functionality that is not supported?
Re: svn hooks not working after enabling ldap auth
So I noticed that there is an option $g_source_control_account = 'svn'; in config_inc.php
Does anyone know of another configuration variable option to specify a password for this account like $g_source_control_account_password etc?
Does anyone know of another configuration variable option to specify a password for this account like $g_source_control_account_password etc?
Re: svn hooks not working after enabling ldap auth
I can't give you really good support because I don't use SVN and I don't use LDAP, but maybe using the new source integration plugin instead of using the old build in system (will be removed in version 1.3) helps
https://github.com/mantisbt-plugins/source-integration/
You can try also writing to the help mailing list http://www.mantisbt.org/mailinglists.php
https://github.com/mantisbt-plugins/source-integration/
You can try also writing to the help mailing list http://www.mantisbt.org/mailinglists.php
Re: svn hooks not working after enabling ldap auth
Hi Guys,
I found a fix for this. I temporarily assigned my email address to the svn account in mantis. I send myself a password reset email and set a password for the account. I then set the exact same password in active directory. The issue is now fixed.
I found a fix for this. I temporarily assigned my email address to the svn account in mantis. I send myself a password reset email and set a password for the account. I then set the exact same password in active directory. The issue is now fixed.