[Pkg-openldap-devel] Bug#649176: /usr/sbin/slappasswd: move slappasswd out of /usr/sbin and out of slapd package

Yves-Alexis Perez corsac at debian.org
Fri Nov 18 14:30:14 UTC 2011


Package: slapd
Version: 2.4.23-7.2
Severity: wishlist
File: /usr/sbin/slappasswd

Hi,

I have a working setup where I create ldap accounts on an admin box,
using ldapvi. I'd like to generate ldap password on that box, not on the
server, and do everything using ldap protocol.

Currently, the slappassword is in the slapd package, which I dont really
need / want to install on my admin box. Could it be moved somewhere
else? It seems that it doesn't fit in ldap-utils because it's
openldap specific, but I'm not sure putting it alone in a slapd-utils
package makes sense.

Another thing is why is it installed in /usr/sbin? As far as I can tell,
it only *generates* the salted, hashed password and print it to stdout.
Nothing really needs root permissions, so I'm not sure why it couldn't
live in /usr/bin.

Thanks for your time anyway, and regards,
-- 
Yves-Alexis

-- System Information:
Debian Release: 6.0.3
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-grsec-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages slapd depends on:
ii  adduser                3.112+nmu2        add and remove users and groups
ii  coreutils              8.5-1             GNU core utilities
ii  debconf [debconf-2.0]  1.5.36.1          Debian configuration management sy
ii  libc6                  2.11.2-10         Embedded GNU C Library: Shared lib
ii  libdb4.8               4.8.30-2          Berkeley v4.8 Database Libraries [
ii  libgnutls26            2.8.6-1           the GNU TLS library - runtime libr
ii  libldap-2.4-2          2.4.23-7.2        OpenLDAP libraries
ii  libltdl7               2.2.6b-2          A system independent dlopen wrappe
ii  libperl5.10            5.10.1-17squeeze2 shared Perl library
ii  libsasl2-2             2.1.23.dfsg1-7    Cyrus SASL - authentication abstra
ii  libslp1                1.2.1-7.8         OpenSLP libraries
ii  libwrap0               7.6.q-19          Wietse Venema's TCP wrappers libra
ii  lsb-base               3.2-23.2squeeze1  Linux Standard Base 3.2 init scrip
ii  perl [libmime-base64-p 5.10.1-17squeeze2 Larry Wall's Practical Extraction 
ii  psmisc                 22.11-1           utilities that use the proc file s
ii  unixodbc               2.2.14p2-1        ODBC tools libraries

Versions of packages slapd recommends:
ii  libsasl2-modules          2.1.23.dfsg1-7 Cyrus SASL - pluggable authenticat

Versions of packages slapd suggests:
ii  ldap-utils                    2.4.23-7.2 OpenLDAP utilities

-- Configuration Files:
/etc/default/slapd changed [not included]

-- debconf information excluded





More information about the Pkg-openldap-devel mailing list