Your message dated Fri, 16 Nov 2007 16:47:16 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#451272: fixed in ser2net 2.5-1
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: samba 
Version: 3.0.26a-1
Tags: patch
User: [EMAIL PROTECTED]
Usertags: origin-ubuntu ubuntu-patch hardy


To apply password change requests from Samba clients to system passwords and
not just to Samba passwords, Samba invokes PAM either directly or by way of
/usr/bin/passwd and is configured to know how to communicate with PAM modules
using expect-style rules (smb.conf setting "passwd chat"). Version 0.99.7.1 of
pam includes l10n support, which means that the prompts generated by PAM
modules are now different for each locale. To account for this, Samba should
explicitly use the C locale when attempting a password sync and restore the
user's locale setting afterwards.

First reported in Ubuntu:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/139265

=== added file 'trunk/samba/debian/patches/chgpasswd.patch'
--- trunk/samba/debian/patches/chgpasswd.patch  1970-01-01 00:00:00 +0000
+++ trunk/samba/debian/patches/chgpasswd.patch  2007-11-13 17:43:17 +0000
@@ -0,0 +1,41 @@
+Index: samba-3.0.26a/source/smbd/chgpasswd.c
+===================================================================
+--- samba-3.0.26a.orig/source/smbd/chgpasswd.c
++++ samba-3.0.26a/source/smbd/chgpasswd.c
+@@ -126,6 +126,7 @@
+       struct termios stermios;
+       gid_t gid;
+       uid_t uid;
++      char *eptrs[1] = { NULL };
+ 
+       if (pass == NULL)
+       {
+@@ -222,7 +223,7 @@
+              passwordprogram));
+ 
+       /* execl() password-change application */
+-      if (execl("/bin/sh", "sh", "-c", passwordprogram, NULL) < 0)
++      if (execle("/bin/sh", "sh", "-c", passwordprogram, NULL, eptrs) < 0)
+       {
+               DEBUG(3, ("Bad status returned from %s\n", passwordprogram));
+               return (False);
+@@ -498,6 +499,9 @@
+ #ifdef WITH_PAM
+       if (lp_pam_password_change()) {
+               BOOL ret;
++#ifdef HAVE_SETLOCALE
++              char *prevlocale = setlocale(LC_MESSAGES, "C");
++#endif
+ 
+               if (as_root)
+                       become_root();
+@@ -511,6 +515,9 @@
+               if (as_root)
+                       unbecome_root();
+ 
++#ifdef HAVE_SETLOCALE
++              setlocale(LC_MESSAGES, prevlocale);
++#endif
+               return ret;
+       }
+ #endif

=== modified file 'trunk/samba/debian/patches/series'
--- trunk/samba/debian/patches/series   2007-11-12 21:58:04 +0000
+++ trunk/samba/debian/patches/series   2007-11-13 17:44:03 +0000
@@ -24,3 +24,4 @@
 smbpasswd-syslog.patch
 get_global_sam_sid-non-root.patch
 usershare.patch
+chgpasswd.patch


--- End Message ---
--- Begin Message ---
Source: ser2net
Source-Version: 2.5-1

We believe that the bug you reported is fixed in the latest version of
ser2net, which is due to be installed in the Debian FTP archive:

ser2net_2.5-1.diff.gz
  to pool/main/s/ser2net/ser2net_2.5-1.diff.gz
ser2net_2.5-1.dsc
  to pool/main/s/ser2net/ser2net_2.5-1.dsc
ser2net_2.5-1_i386.deb
  to pool/main/s/ser2net/ser2net_2.5-1_i386.deb
ser2net_2.5.orig.tar.gz
  to pool/main/s/ser2net/ser2net_2.5.orig.tar.gz



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Marc Haber <[EMAIL PROTECTED]> (supplier of updated ser2net package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Fri, 16 Nov 2007 17:09:19 +0100
Source: ser2net
Binary: ser2net
Architecture: source i386
Version: 2.5-1
Distribution: unstable
Urgency: low
Maintainer: Marc Haber <[EMAIL PROTECTED]>
Changed-By: Marc Haber <[EMAIL PROTECTED]>
Description: 
 ser2net    - Serial port to network proxy
Closes: 377030 451272
Changes: 
 ser2net (2.5-1) unstable; urgency=low
 .
   * new upstream version.
     * now writes its own pidfile. Thanks to Robert Edmonds. Closes: #451272
   * LSB-ize init script. Closes: #377030
   * Use "Serial port to network proxy" (Upstream name) in the package
     description and the init script.
   * Standards-Version: 3.7.2.2 (no changes necessary)
   * add Homepage field to debian/control
Files: 
 f72a3137e378ddeeae710a4cb648e7d4 650 utils optional ser2net_2.5-1.dsc
 c11f36ff2e4c523be7b282f2f6d03638 343105 utils optional ser2net_2.5.orig.tar.gz
 52866e98e177534719b61f94dce4a640 6258 utils optional ser2net_2.5-1.diff.gz
 c753f95c5643bb3eaff33991bbddcd89 38298 utils optional ser2net_2.5-1_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHPchQgZalRGu6PIQRAkqyAJ47Rjej2uiMp+VTdfIKUr/NVXVj0QCguJ7k
rzo9aeWssJLqH1msYY1K3to=
=Nkwu
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to