Bug#385950: libpam-ldap: Broken regexp in postinst script

2006-11-16 Thread Holger Levsen
Hi,

On Thursday 16 November 2006 00:02, you wrote:
 severity 385950 important

I believe this is wrong.

 In this debconf prompt, the user is asked for a server and is specifying a
 URI instead. 

There was no debconf prompt, maybe because I installed it with live-package 
which (I think, not confirmed) sets DEBCONF_FRONTEND to non-interactive.

But I was definitly not prompted for anything ;)

 I don't think this is RC -- the failure mode is ungraceful in 
 the extreme, but it happens as a result of user error

No user input, no user error.


regards,
Holger


pgpPubJ9MmQX0.pgp
Description: PGP signature


Bug#385950: libpam-ldap: Broken regexp in postinst script

2006-11-16 Thread Andreas Barth
severity 385990 serious
thanks

* Holger Levsen ([EMAIL PROTECTED]) [061116 00:47]:
 On Thursday 16 November 2006 00:02, you wrote:
  In this debconf prompt, the user is asked for a server and is specifying a
  URI instead. 
 
 There was no debconf prompt, maybe because I installed it with live-package 
 which (I think, not confirmed) sets DEBCONF_FRONTEND to non-interactive.
 
 But I was definitly not prompted for anything ;)

This is a shared debconf string, shared/ldapns/ldap-server, so you might
have been asked at another place for it - the default is 127.0.0.1 in
this package. If you however install libnss-ldap first, then this
defaults to ldap://127.0.0.1/. In summary, the installation could fail
without any user input, which is RC.


Cheers,
Andi
-- 
  http://home.arcor.de/andreas-barth/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#385950: libpam-ldap: Broken regexp in postinst script

2006-11-16 Thread Steve Langasek
On Thu, Nov 16, 2006 at 09:46:57AM +0100, Holger Levsen wrote:

 On Thursday 16 November 2006 00:02, you wrote:
  severity 385950 important

 I believe this is wrong.

  In this debconf prompt, the user is asked for a server and is specifying a
  URI instead. 

 There was no debconf prompt, maybe because I installed it with live-package 
 which (I think, not confirmed) sets DEBCONF_FRONTEND to non-interactive.

 But I was definitly not prompted for anything ;)

  I don't think this is RC -- the failure mode is ungraceful in 
  the extreme, but it happens as a result of user error

 No user input, no user error.

Then where did this value of https://127.0.0.1/ come from?  It's not a
default in the package.

-- 
Steve Langasek   Give me a lever long enough and a Free OS
Debian Developer   to set it on, and I can move the world.
[EMAIL PROTECTED]   http://www.debian.org/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#385950: libpam-ldap: Broken regexp in postinst script

2006-11-15 Thread Steve Langasek
severity 385950 important
thanks

In this debconf prompt, the user is asked for a server and is specifying a
URI instead.  I don't think this is RC -- the failure mode is ungraceful in
the extreme, but it happens as a result of user error, so we shouldn't treat
this as release-critical because putting HOST ldaps://127.0.0.1/ in your
config isn't really what you want anyway AFAICS. :)

-- 
Steve Langasek   Give me a lever long enough and a Free OS
Debian Developer   to set it on, and I can move the world.
[EMAIL PROTECTED]   http://www.debian.org/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#385950: libpam-ldap: Broken regexp in postinst script

2006-09-04 Thread Saku Ytti
Package: libpam-ldap
Version: 180-1.1
Severity: important

perl -i -p -e s/$replacestring/$parameter $value/i

doesn't go well with 'ldaps://127.0.0.1/', some 
other separator must be used, or /'s need to be escaped.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-rc4-xen
Locale: LANG=fi_FI, LC_CTYPE=fi_FI (charmap=ISO-8859-15) (ignored: LC_ALL set 
to [EMAIL PROTECTED])

Versions of packages libpam-ldap depends on:
ii  debconf [debconf-2.0]   1.5.3Debian configuration management sy
ii  libc6   2.3.6.ds1-4  GNU C Library: Shared libraries
ii  libldap22.1.30-13+b1 OpenLDAP libraries
ii  libpam0g0.79-3.2 Pluggable Authentication Modules l

libpam-ldap recommends no packages.

-- debconf information:
* shared/ldapns/base-dn: dc=ytti,dc=fi
  libpam-ldap/override: true
* shared/ldapns/ldap_version: 3
* libpam-ldap/dblogin: false
* shared/ldapns/ldap-server: ldaps://127.0.0.1/
* libpam-ldap/pam_password: md5
  libpam-ldap/binddn: cn=proxyuser,dc=example,dc=net
* libpam-ldap/rootbinddn: cn=admin,dc=ytti,dc=fi
* libpam-ldap/dbrootlogin: true


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]