Bug 3012

Summary: ldapvi includes in the edited files an incorrect modeline
Product: Mageia Reporter: Nicolas Vigier <boklm>
Component: RPM PackagesAssignee: QA Team <qa-bugs>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal CC: davidwhodgins, dmorganec, sysadmin-bugs
Version: 1Keywords: validated_update
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: ldapvi CVE:
Status comment:

Description Nicolas Vigier 2011-10-10 18:14:11 CEST
ldapvi includes in the edited files an incorrect modeline.
More details about this issue is available on redhat bugzilla :
https://bugzilla.redhat.com/show_bug.cgi?id=691958

An updated package should be available soon in updates_testing repository.

Commands that can be used to test the package (replace "yourlogin" with your mageia login, and use your mageia account password) :
$ export EDITOR=vim
$ myuid="uid=yourlogin,ou=People,dc=mageia,dc=org"
$ ldapvi --host  ldap.mageia.org -Z --tls allow  -D $myuid -b $myuid
Error detected while processing modelines:
line    1:
E520: Not allowed in a modeline: encoding=utf-8

After the error, vim should display your ldap account. The updated package should remove this error.
Comment 1 Dave Hodgins 2011-10-10 23:57:23 CEST
Testing complete on i586.  Thanks for including the testing procedure.

CC: (none) => davidwhodgins

Comment 2 claire robinson 2011-10-11 16:58:11 CEST
x86_64

Installed ldapvi from core/release

When I try I get a different error..

$ ldapvi --host ldap.mageia.org -Z --tls allow -D $myuid -b $myuid

ldap_start_tls_s: Connect error (-11)


It's the same when I try it i586.
Comment 3 Nicolas Vigier 2011-10-11 17:00:42 CEST
(In reply to comment #2)
> 
> $ ldapvi --host ldap.mageia.org -Z --tls allow -D $myuid -b $myuid
> 
> ldap_start_tls_s: Connect error (-11)

I think you need to edit /etc/openldap/ldap.conf and comment the line TLS_CACERT.
Comment 4 claire robinson 2011-10-11 18:34:21 CEST
Quite correct, problem solved, thankyou.

x86_64:

Before
------

"/tmp/ldapvi-3QtR8M/data" 12L, 325C
Error detected while processing modelines:
line    1:
E520: Not allowed in a modeline: encoding=utf-8
Press ENTER or type command to continue

After
-----

Error is gone.

Validating the update.


Advisory:
-----------------
ldapvi includes in the edited files an incorrect modeline.
More details about this issue is available on redhat bugzilla :
https://bugzilla.redhat.com/show_bug.cgi?id=691958
-----------------

Source RPM: ldapvi-1.7-12.1.mga1.src.rpm


Could sysadmin please push from core/updates_testing to core/updates.

Thankyou!

Keywords: (none) => validated_update
CC: (none) => sysadmin-bugs

Comment 5 D Morgan 2011-10-15 01:57:05 CEST
update pushed.

Status: NEW => RESOLVED
CC: (none) => dmorganec
Resolution: (none) => FIXED