135 reputation
19
bio website fortyfourdigital.com
location Norwich, United Kingdom
age 32
visits member for 2 years, 4 months
seen 23 hours ago

Web & mobile apps developer


Sep
23
answered SVN Authentication with LDAP and Active Directory
Aug
21
awarded  Autobiographer
Jul
2
comment SVN Authentication with LDAP and Active Directory
Thanks Stefan, I'm open to alternatives, and I will give Subversion Edge a go. I'd still like to find an answer to my specific problem as well, as I have seen others with similar problems. Thanks again
Jun
28
comment SVN Authentication with LDAP and Active Directory
Can anyone help further please?
Jun
22
comment SVN Authentication with LDAP and Active Directory
I'm afraid is still not letting me in. I've tried several different attempts as the BindDN (username, username@domain.local, CN=username....) but none seem to work. The error log still seems to give me Invalid Credentials / Password Mismatch. Is this just an authentication problem (I thought if the BindDN was wrong - I would get a bind error and not a user login error) - or perhaps something else?
Jun
21
comment SVN Authentication with LDAP and Active Directory
Does it matter that the bind user, and the user that needs to login are in different OUs? My structure is DC->Users then I have SBSAdmin Users SBSUsers as 2 different OUs within the Users OU. This is so frustrating as I bet it's something really simple!
Jun
21
comment SVN Authentication with LDAP and Active Directory
I enabled debug logging and this is the apache error.log: [Thu Jun 21 15:52:09 2012] [debug] mod_authnz_ldap.c(403): [client 192.168.1.142] [7066] auth_ldap authenticate: using URL ldap://192.168.1.6:389/OU=Users,OU=MyBusiness,DC=domain,DC=local?sAMAccountName?‌​sub?(objectClass=*) [Thu Jun 21 15:52:09 2012] [info] [client 192.168.1.142] [7066] auth_ldap authenticate: user alexh authentication failed; URI /test/ [LDAP: ldap_simple_bind_s() failed][Invalid credentials] [Thu Jun 21 15:52:09 2012] [error] [client 192.168.1.142] user alexh: authentication failure for "/test/": Password Mismatch
Jun
21
comment SVN Authentication with LDAP and Active Directory
Edit: Looks like that test of yours works where I specify ldapsearch -D. So, the next step would be to get that working as part of SVN in the vhosts file. I'll test again
Jun
21
comment SVN Authentication with LDAP and Active Directory
OK, I made changes to my /etc/ldap/ldap.conf file and ran ldapsearch -x and it gave a bind error (LDAPv3) - error was "In order to perform this operation a successful bind must be completed on the connection., data 0, v1db1"
Jun
21
comment SVN Authentication with LDAP and Active Directory
Thanks Diego. I created the .ldaprc file in /home/user and then ran the ldapsearch. It gave me: ldap_sasl_bind(SIMPLE): Can't contact LDAP server (-1). I also tried this command and it seemed to work: ldapsearch -x -b "dc=domain,dc=local" -D "domain\adminuser" -h 192.168.1.6 -p 389 -W - does that tell you anything?
Jun
21
comment SVN Authentication with LDAP and Active Directory
Would I be able to use this ldapsearch tool to confirm that I can connect? I've struggled to understand what parameters to pass to it.
Jun
21
comment SVN Authentication with LDAP and Active Directory
Afraid that doesn't seem to work. I get the same "authentication failure" messages in /var/log/apache2/svn/error.log - I'm certain that my password is correct, and my username is "alexh" and not "alexh@domain.local". Is there a way to get a more verbose output?
Jun
21
asked SVN Authentication with LDAP and Active Directory