Hi,
I "resolved" my LDAP mapping issue with a manual mapping :
mapping_values => {
enabled => 1,
values => {
'y' => '[email protected]'
}
It will do the trick until I find a way to make LDAP mapping work, but I don't
know how since the manual LDAP command in the mail above gives my effective SCM
username ...
But I have one last BIG problem :
My demo installation was made on my laptop on Windows XP SP3, and it works.
The production server is on Windows Server 2003, and it doesn't :-(
My scmbug files are on C:\wamp\www\scmbug and my test repository is on
D:\repotest on both computers.
I modified the sources to update the scmbug path.
The environnement variables are the same, Apache/MySQL/Perl versions are the
same, on the same paths.
Here is the error message :
"Propagation (commit) bloqué par la procédure automatique (hook) pre-commit
(code de sortie 1) avec la sortie : Le chemin d'accŠs sp‚cifi‚ est introuvable."
Here is the standard hook :
set REPOS=%1
set TXN=%2
"C:/Perl/bin/perl" -I %REPOS%/hooks/lib/scmbug
%REPOS%/hooks/bin/scmbug_activity.pl %REPOS%/hooks/etc/scmbug/glue.conf
activity_verify %REPOS% %TXN% >&2
if NOT %ERRORLEVEL% == 0 goto scmbug_script_failed 2>nul
It's like the error message I had on my XP computer when the Perl path on the
pre-commit hook was wrong, but Perl is really on C:/Perl/bin/perl.
I run Windows Server 2003 R2 SP2, SCMBUG 0.23.3, Apache 2.2.4, MySQL 5.0.27,
SVN 1.4.6 and Bugzilla 3.0.4.
It's not an insufficient NTFS or sharing rights problem since I gave to the
"everybody" group all permissions and SVN Checkout and Update worked.
Thank you in advance.
> On Thu, 2009-02-19 at 11:07 +0100, François Gaillardin wrote:
> > Hi again,
> >
> > Finally I'm having more trouble than I thought with username mapping.
> > I'm using LDAP mapping with an Active Directory Domain Controller
> > under Windows Server 2003. Here is my daemon.conf mapping section :
> >
> > mapping_ldap => {
> > enabled => 1,
> > ldap_server => 'my_pdc.com',
> > ldap_port => '3268', # because it's the primary domain
> > controller, so i use the global catalog port
> > ldap_binddn => 'scmbug', # a valid user, and the bind works
> > # The password of the binddn that has access to read all
> > attributes
> > ldap_binddn_password => 'valid_pwd',
> > ldap_basedn =>
> > 'ou=Utilisateurs,dc=net,dc=elsys-design,dc=com',
> > ldap_scm_username_attribute => 'samid',
> > ldap_bugtracking_username_attribute => 'email',
> > # I don't understand this, maybe this is my problem
> > ldap_filter => ''
> > },
> >
> > Windows accounts are family name, and bugzilla ones are email address,
> > so I filled the user email in active directory.
> > All my accounts are in the basedn, the bugtracking maps well
> > windiws_username->email but the scm mapping don't work...
> > I tried some configurations with attribut "ln" (the family name,
> > normally the login windows as well), "email" (the bugzilla account, it
> > works), "samid" (ie. the login windows ) for the last one without
> > success.
> > Here is the log :
> >
> > Thu Feb 19 10:55:40 2009 127.0.0.1:4065 Looking up the SCM username in
> > LDAP using the ldap_scm_username_attribute 'samid' failed. Success
> > Thu Feb 19 10:49:42 2009 127.0.0.1:4019 Looking up the SCM username in
> > LDAP using the ldap_scm_username_attribute 'email' failed. Bad filter
> > Thu Feb 19 10:39:22 2009 127.0.0.1:3966 Looking up the SCM username in
> > LDAP using the ldap_scm_username_attribute '' failed. Bad filter
> > # this is when I disabled mapping, so scm worked since my scm account
> > is the same than the windows one but then bugzilla failed
> > Thu Feb 19 10:28:54 2009 127.0.0.1:3883 Processing an
> > 'activity_commit' for bug id '1' from SCM user 'xxx'
> > Thu Feb 19 10:28:54 2009 127.0.0.1:3883 Login 'xxx' could not be
> > converted to an id in Bugzilla. Is username mapping setup correctly in
> > daemon.conf ?
> >
> > I also tried to map only bugzilla username by commenting the
> > scm_username_attribute line but daemon don't launch.
> > The strange thing is that I created an SCM account with my email as a
> > login, and it still don't map, whereas bugzilla does !
> >
> > Thanks for your help.
> >
> > @+
> > François
_________________________________________________________________
Vous voulez savoir ce que vous pouvez faire avec le nouveau Windows Live ?
Lancez-vous !
http://www.microsoft.com/windows/windowslive/default.aspx_______________________________________________
scmbug-users mailing list
[email protected]
http://lists.mkgnu.net/cgi-bin/mailman/listinfo/scmbug-users