hi
i have the following problem. I have an bugzilla & scmbug and a apache2
mod_svn server
i access my svn repos over the apache
i can successfully checkout my repo
but i can only commit with 1 username (the first 1 enterd)
when i try with an other i got the following
svn: 'pre-commit' hook failed with error output:
Scmbug notice: ---------------------------------------------------------
Scmbug notice: Reading configuration
Scmbug notice: Checking configuration
Scmbug notice: Preparing for verification
Scmbug notice: Processing activity
Scmbug notice: Submitting request
Scmbug notice: Request submission was denied
*******************************************
**
**
** Scmbug error 7: Username 'xxx' could not be translated
**
where xxx is the other username
[EMAIL PROTECTED]:/var/svnrepos/china/conf# cat /etc/scmbug/daemon.conf
#
# This is a template configuration file for the
# scmbug-server daemon
#
$daemon_configuration = {
# Logging configuration
logs => { error => '/var/log/scmbug/error.log' ,
activity => '/var/log/scmbug/activity.log' },
# Port the daemon will start on
daemon_port => 3872,
daemon_mode => "auto",
# Configuration information of the bug tracking
# system
bugtracker => {
type => 'Bugzilla',
version => '3.0.1',
database_location => '127.0.0.1',
database_port => '3306',
database_vendor => 'mysql',
# For RequestTracker these values are ignored
database_name => 'bugs',
database_username => 'bugzilla',
database_password => 'xxx',
installed_locally => 1,
installation_directory => '/var/www/bugzilla',
# Prefix used to display a bug
bug_url_prefix => 'http://server/bugzilla/show_bug.cgi?id=' },
userlist => {
# Apply a case sensitive username verification
case_sensitive_username_verification => 1,
mappings => {
# Enable SCM username translation. This flag must be
# turned on for any of the mappings that follow to apply.
enabled => 1,
mapping_ldap => {
enabled => 0,
ldap_server => '127.0.0.1',
ldap_port => '389',
# A binddn (e.g. cn=default) that has access to read
# all attributes
ldap_binddn => 'replace_with_binddn',
# The password of the binddn that has access to read
# all attributes
ldap_binddn_password => 'replace_with_binddn_password',
# The BaseDN in which to search for the
# ldap_scm_username_attribute
# (e.g. "ou=People,o=Company")
ldap_basedn => 'replace_with_basedn',
# The name of the attribute containing the user's SCM
# username
ldap_scm_username_attribute => 'uid',
# The name of the attribute containing the user's
# bug-tracking username
ldap_bugtracking_username_attribute => 'mail',
# LDAP filter to AND with the
# ldap_scm_username_attribute for filtering the list
# of valid SCM users.
ldap_filter => ''
},
mapping_regexes => {
enabled => 0,
values => {
'^(\w+)$' => '[EMAIL PROTECTED]'
}
},
case_sensitive_username_verification => 0,
mapping_values => {
enabled => 1,
values => {
'user2' => '[EMAIL PROTECTED]',
'berni' => '[EMAIL PROTECTED]',
'user3' => '[EMAIL PROTECTED]'
}
}
}
}
};
[EMAIL PROTECTED]:/var/svnrepos/china/conf#
what is the problem ?? why i cant check commit with the other users
(of course i restarted scm-bug and removed the /var/run/scmbug file too)
Yours
Berni
_______________________________________________
scmbug-users mailing list
[email protected]
http://lists.mkgnu.net/cgi-bin/mailman/listinfo/scmbug-users