2010-10-26 2 views
1

Я получаю сообщение об ошибке, когда хочу проверить свой SVN-сервер. Я использую Turtoire на своей Windows, а сервер SVN основан на Linux.Авторизация не удалась при оформлении заказа

svnserve.conf

[general] 
anon-access = none 
auth-access = write 
password-db = passwd 
authz-db = authz 
realm = Project_ASI 

PASSWD

[users] 
red = v1z2r 
dips = dipsi 

AuthZ

[groups] 
red_and_dips = red,dips 

[Project_ASI:/] 
@red_and_dips = rw 

Это то, что я получаю, когда я хочу, чтобы проверить:

[email protected]:/media/hda1/svn/test# svn checkout svn://192.168.1.100/test test --us 
ername red 
Authentication realm: <svn://192.168.1.100:3690> Project_ASI 
Password for 'red': 

----------------------------------------------------------------------- 
ATTENTION! Your password for authentication realm: 

    <svn://192.168.1.100:3690> Project_ASI 

can only be stored to disk unencrypted! You are advised to configure 
your system so that Subversion can store passwords encrypted, if 
possible. See the documentation for details. 

You can avoid future appearances of this warning by setting the value 
of the 'store-plaintext-passwords' option to either 'yes' or 'no' in 
'/home/root/.subversion/servers'. 
----------------------------------------------------------------------- 
Store password unencrypted (yes/no)? yes 
svn: Authorization failed 
[email protected]:/media/hda1/svn/test# 

You can avoid future appearances of this warning by setting the value 
of the 'store-plaintext-passwords' option to either 'yes' or 'no' in 
'/home/root/.subversion/servers'. 
----------------------------------------------------------------------- 
Store password unencrypted (yes/no)? yes 
svn: Authorization failed 

Что случилось с моими конфигурационными файлами?

+0

Вы пишете, что используете Tortoise, но вышеприведенный материал выглядит как командная строка. Это немного странно ... – eckes

ответ

1

Первый

AuthZ

[groups] 
red_and_dips = red,dips 

[Project_ASI:/] 
@red_and_dips = rw 

добавить * = выглядеть

[groups] 
red_and_dips = red,dips 

[Project_ASI:/] 
@red_and_dips = rw 
* = 

Второй

Пожалуйста, покажите ваш путь/из/Хранилища/

Прочтите подробнее, спасибо.

-1

Я получил ту же ошибку с сервера, в конце исправил ее, написав полный путь в файле svnserve.conf.

[general] 
anon-access = none 
auth-access = write 
## password-db = passwd 
password-db = /path/to/repos/conf/passwd 
## authz-db = authz 
authz-db = /path/to/repos/conf/authz 
Смежные вопросы