mfreiholz / iF.SVNAdmin

Web-based GUI to manage Subversion repositories and User/Group permissions (+LDAP support)
http://svnadmin.insanefactory.com/
GNU General Public License v2.0
350 stars 153 forks source link

Why does the configuration add LDAP settings into my config.ini? Can't log in. #156

Closed KerimG closed 2 years ago

KerimG commented 5 years ago

I'm trying to configure svnadmin with these settings: https://i.imgur.com/3h1cPn9.png

Which in turn creates the following config.ini:

[Common]
FirstStart=0
BackupFolder=./data/backup/

[Translation]
Directory=./translations/

[Engine:Providers]
AuthenticationStatus=basic
UserViewProviderType=passwd
UserEditProviderType=passwd
GroupViewProviderType=svnauthfile
GroupEditProviderType=svnauthfile
AccessPathViewProviderType=svnauthfile
AccessPathEditProviderType=svnauthfile
RepositoryViewProviderType=svnclient
RepositoryEditProviderType=svnclient

[ACLManager]
UserRoleAssignmentFile=./data/userroleassignments.ini

[Subversion]
SVNAuthFile=/opt/svn/conf/passwd

[Repositories:svnclient]
SVNParentPath=/opt/svn
SvnExecutable=/usr/bin/svn
SvnAdminExecutable=/usr/bin/svnadmin

[Users:passwd]
SVNUserFile=/opt/svn/conf/passwd

[Users:digest]
SVNUserDigestFile=
SVNDigestRealm=SVN Privat

[Ldap]
HostAddress=ldap://192.168.136.130:389/
ProtocolVersion=3
BindDN=CN=Manuel Freiholz,CN=Users,DC=insanefactory,DC=com
BindPassword=root
CacheEnabled=false
CacheFile=./data/ldap.cache.json

[Users:ldap]
BaseDN=DC=insanefactory,DC=com
SearchFilter=(&(objectClass=person)(objectClass=user))
Attributes=sAMAccountName
DisplayNameFormat=

[Groups:ldap]
BaseDN=DC=insanefactory,DC=com
SearchFilter=(objectClass=group)
Attributes=sAMAccountName
GroupsToUserAttribute=member
GroupsToUserAttributeValue=distinguishedName

[Update:ldap]
AutoRemoveUsers=true
AutoRemoveGroups=true

[GUI]
RepositoryDeleteEnabled=false
RepositoryDumpEnabled=false
AllowUpdateByGui=true

Why does the configuration add some weird LDAP settings? Is it not possible to use svnadmin without LDAP?

After the configuration process, which seemed to have worked fine, I tried to log on but got an


Exception list

    Wrong user/password combination.

error.

chengzi-xs commented 2 years ago

Hi
Did this issue solve?

KerimG commented 2 years ago

@chengzi-xs

I gave up on trying to fix this. I am sorry.