COLLABNET 在中文语言下无法编辑用户信息.
http://hi.baidu.com/benclarkkevin/blog/item/c4ab10f520eddd7eddc4749d.html
COLLABNET 在中文语言下无法编辑用户信息.
有问题的版本为:
Software version | 1.3.0-1621.59 |
Subversion version | 1.6.13-1621.59 |
首次登陆Subversion Edge时使用下面的信息.
Address: http://localhost:3343/csvn
Username: admin
Password: admin
但要修改默认密码或修改用户任何信息,一点更新就会出错.
HTTP ERROR 404
Problem accessing /csvn/user/index. Reason:
Not Found
Powered by Jetty://
在GOOGLE中搜索发现2010年10月份时有人在COLLABNET的官网上提交过这个BUG的报告.但没有得到解决.倒是可以登陆到英文全面来绕开这个问题.
语言是根据浏览器自动识别的,所以COLLABNET的控制台没有语言可选,下面就是在GOOGLE中把网页的默认改为英文.
刷新界面变成英文.再次点击更新时好用了.
也看到有人用如下的命令来修改,但非常的麻烦而且因为密码做了散列处理每次生成的MD5值也不同.
以下来自摘抄。
D:\csvn\bin>htpasswd
Usage:
htpasswd [-cmdpsD] passwordfile username
htpasswd -b[cmdpsD] passwordfile username password
htpasswd -n[mdps] username
htpasswd -nb[mdps] username password
-c Create a new file.
-n Don't update file; display results on stdout.
-m Force MD5 encryption of the password (default).
-d Force CRYPT encryption of the password.
-p Do not encrypt the password (plaintext).
-s Force SHA encryption of the password.
-b Use the password from the command line rather than prompting for it.
-D Delete the specified user.
On Windows, NetWare and TPF systems the '-m' flag is used by default.
On all other systems, the '-p' flag will probably not work.
D:\csvn\bin>htpasswd -nb test test
Automatically using MD5 format.
test:$apr1$8zaa10Xj$H5vxdhlLDGCo94D5Xkfeu.
D:\csvn\bin>htpasswd -nb test test
Automatically using MD5 format.
test:$apr1$SlijYX9/$ahxS8zf3PPZHszCNump17/
D:\csvn\bin>htpasswd -nb test test
Automatically using MD5 format.
test:$apr1$kTeZJZWN$lg0VepXgOfutEgCd1kaM8.
//增加用户
D:\csvn\bin>htpasswd -b D:\csvn\data\conf\svn_auth_file test test
Automatically using MD5 format.
Adding password for user test
//删除用户
D:\csvn\bin>htpasswd -D D:\csvn\data\conf\svn_auth_file test
Automatically using MD5 format.
Deleting password for user test
D:\csvn\bin>