Bug 3012 - ldapvi includes in the edited files an incorrect modeline
Summary: ldapvi includes in the edited files an incorrect modeline
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 1
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard:
Keywords: validated_update
Depends on:
Blocks:
 
Reported: 2011-10-10 18:14 CEST by Nicolas Vigier
Modified: 2011-10-15 01:57 CEST (History)
3 users (show)

See Also:
Source RPM: ldapvi
CVE:
Status comment:


Attachments

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


Note You need to log in before you can comment on or make changes to this bug.