Your message dated Tue, 1 Jul 2008 15:39:53 +0200
with message-id <[EMAIL PROTECTED]>
and subject line Re: Bug#375007: migrationtools: Document behaviour when 
/etc/shadow is not readable by user executing migration scripts.
has caused the Debian Bug report #375007,
regarding migrationtools: Document behaviour when /etc/shadow is not readable 
by user executing migration scripts.
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)


-- 
375007: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=375007
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: migrationtools
Severity: wishlist
Tags: patch


Hi,

It is perfectly possible to insert data in to a slapd database as a non-root 
user. But using migrate_all_online.sh as a non root user when shadow passwords
are used leads to the UserPassword field being {CRYPT}x for all users (as this
is the contents of /etc/passwd.

Pleas consider adding this patch so that this behaviour is at least documented,
or better detect this case and try to handle it, or give an error to the user.

James
--- README.Debian.old   2006-06-22 18:30:52.000000000 +0100
+++ README.Debian       2006-06-22 18:29:50.000000000 +0100
@@ -24,4 +24,11 @@
 fails to overwrite. If you want to ignore the error, run the script like this:
     LDAPADD="/usr/bin/ldapadd -c" ./migrate_all_online.sh
 
+If you use shadow passwords then ensure that the user executing the script 
+is able to read from /etc/shadow or the passwords entered in to the ldap server
+will not reflect those from the original system. Note that with recent versions
+of sudo by default most environment variables will not be passed to the 
+command run as root, so if you would like to use the env var features of these
+scripts find another method (eg using an actual root shell).
+
  -- Jonas Smedegaard <[EMAIL PROTECTED]>, Tue, 13 Jun 2000 01:13:26 +0200

--- End Message ---
--- Begin Message ---
Version: 47-5

On Thu, Jun 22, 2006 at 06:36:08PM +0100, James Westby wrote:
It is perfectly possible to insert data in to a slapd database as a non-root user. But using migrate_all_online.sh as a non root user when shadow passwords are used leads to the UserPassword field being {CRYPT}x for all users (as this is the contents of /etc/passwd.

Pleas consider adding this patch so that this behaviour is at least documented, or better detect this case and try to handle it, or give an error to the user.

Thank you for your bugreport, and for the patch. And sorry for my insane lack of response :-(

The patch has been included in the latest release of the package.


Kind regards,

 - Jonas

--
* Jonas Smedegaard - idealist og Internet-arkitekt
* Tlf.: +45 40843136  Website: http://dr.jones.dk/

 - Enden er nær: http://www.shibumi.org/eoti.htm

Attachment: signature.asc
Description: Digital signature


--- End Message ---

Reply via email to