[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

ldap help

From: Mike Zupan <hijinks_at_gmail.com>
Date: 2004-12-28 18:29:14 CET

I have a working ldap setup.. I want to limit it to only certain users
though. I have a ldap setup for users so they have a
desciption=subversion in their ldif file. Here is my ldapsearch
command that works to find all those users

ldapsearch -x -s sub -b 'dc=domain,dc=com'
'(&(objectClass=*)(description=subversion))'

here is the stuff in apache right now

<Location /repos>
  DAV svn
  SVNPath /usr/local/svn/repos
  AuthType Basic
  AuthName "Subversion"
  AuthLDAPEnabled on
  AuthLDAPURL ldap://domain.com/ou=People,dc=domain,dc=com?uid?sub?(objectClass=*)
  AuthLDAPAuthoritative on
  require valid-user
</Location>

That will work for all users that i have in ldap.. but i only want
users with desciption=subversion to be able to login. I have tried
this with no luck

 AuthLDAPURL ldap://domain.com/ou=People,dc=domain,dc=com?uid?sub?(&(objectClass=*)(description=subversion))

Any help?

Thanks
Mike

-- 
http://www.zcentric.com/wiki
My Linux Howto/Tips Wiki
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Dec 28 18:31:30 2004

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.