Bug#526229: [Pkg-samba-maint] Bug#526229: Bug#526229: samba: Bug prevents Win2kSP4 clients to join domain

2009-05-01 Thread Christian Perrier
Quoting Christian Perrier (bubu...@debian.org):

  Ah, I wasn't aware that the problem also happens in stable.
 
 Reading upstream bug report makes me think this bug should be
 corrected in lenny, yes. Preventing W2KSP4 clients from joining a
 Debian run by Samba controllers is definitely something we don't want
 for stable users.
 
 So, sorry for the rant: you were right reporting.
 
 I subscribed to upstream bug so that we notice when a patch is
 identified.


Volker Lendecke proposed the attached patch.

I may try building packages with it appliedas soon as I fid time..:-)

From 20681eed213f984953f26aa7d6039deb0c39579b Mon Sep 17 00:00:00 2001
From: =?utf-8?q?G=C3=BCnther=20Deschner?= g...@samba.org
Date: Wed, 29 Apr 2009 01:55:09 +0200
Subject: [PATCH] 3.2 samr bug 6301: fix samr_ConnectVersion enum which is 32bit 
not 16bit.

Port of 67ca76c288eb095ae to 3.2
---
 source/librpc/gen_ndr/ndr_samr.c |6 +++---
 source/librpc/idl/samr.idl   |2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/source/librpc/gen_ndr/ndr_samr.c b/source/librpc/gen_ndr/ndr_samr.c
index bd87a50..62676d2 100644
--- a/source/librpc/gen_ndr/ndr_samr.c
+++ b/source/librpc/gen_ndr/ndr_samr.c
@@ -4430,14 +4430,14 @@ _PUBLIC_ void ndr_print_samr_PwInfo(struct ndr_print 
*ndr, const char *name, con
 
 static enum ndr_err_code ndr_push_samr_ConnectVersion(struct ndr_push *ndr, 
int ndr_flags, enum samr_ConnectVersion r)
 {
-   NDR_CHECK(ndr_push_uint16(ndr, NDR_SCALARS, r));
+   NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r));
return NDR_ERR_SUCCESS;
 }
 
 static enum ndr_err_code ndr_pull_samr_ConnectVersion(struct ndr_pull *ndr, 
int ndr_flags, enum samr_ConnectVersion *r)
 {
-   uint16_t v;
-   NDR_CHECK(ndr_pull_uint16(ndr, NDR_SCALARS, v));
+   uint32_t v;
+   NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, v));
*r = v;
return NDR_ERR_SUCCESS;
 }
diff --git a/source/librpc/idl/samr.idl b/source/librpc/idl/samr.idl
index b8337fd..f9b3a69 100644
--- a/source/librpc/idl/samr.idl
+++ b/source/librpc/idl/samr.idl
@@ -1246,7 +1246,7 @@ import misc.idl, lsa.idl, security.idl;
//
/* Function0x3e */
 
-   typedef enum {
+   typedef [v1_enum] enum {
SAMR_CONNECT_PRE_W2K= 1,
SAMR_CONNECT_W2K= 2,
SAMR_CONNECT_AFTER_W2K  = 3
-- 
1.6.2.1



signature.asc
Description: Digital signature


Bug#526229: [Pkg-samba-maint] Bug#526229: samba: Bug prevents Win2kSP4 clients to join domain

2009-04-30 Thread Christian Perrier
forwarded 526229 https://bugzilla.samba.org/show_bug.cgi?id=6301
thanks

Quoting Mario Lipinski (l...@gymszbad.de):
 Package: samba
 Version: 2:3.3.3-1.1
 Severity: normal
 
 See https://bugzilla.samba.org/show_bug.cgi?id=6301
 Applying the patch solved the problem here.
 I experienced the problem with the current samba version in stable and 
 testing.

Well, OK.

So, what is really the value added by reporting in Debian BTS a bug
that has already been reported, analyzed and *fixed* upstream?

In don't want to sound rude, but what you're just asking us is to make
double work by  hooking up on upstream BTS,
check in what version this is fixedand wait for an upcoming
version to fix the bug anyway.

I'm not in favor of applying the patch. Diverging from upstream is
pointless at this point of development. As they have a very regular
upload schedule that guarantees us that the bug will be fixed in an
upcoming 3.3.* version, there would be no point in applying this patch,
imho.

Really, please, this is a plea to all users of Samba in Debian: until
we are getting close to the release of squeeze, please *don't* make
double bug reports when issues are already dealt with and known by the
Samba Teamunless you think that the bug makes the samba package
completely unsuitable for release (ie is release critical).

Many thanks for your care reporting, still. Again, I don't want to be
rude but more try to save our scarce resources!





signature.asc
Description: Digital signature


Bug#526229: [Pkg-samba-maint] Bug#526229: samba: Bug prevents Win2kSP4 clients to join domain

2009-04-30 Thread Mario Lipinski

Christian,

Am 30.04.2009 7:00 Uhr, schrieb Christian Perrier:

I'm not in favor of applying the patch. Diverging from upstream is
pointless at this point of development. As they have a very regular
upload schedule that guarantees us that the bug will be fixed in an
upcoming 3.3.* version, there would be no point in applying this patch,
imho.


I can understand that for the version in testing.
However, I also experienced it with the stable version. For that I think 
it is good to document here and maybe have it fixed (don't know how the 
rules are about this).



Mario



smime.p7s
Description: S/MIME Cryptographic Signature


Bug#526229: [Pkg-samba-maint] Bug#526229: samba: Bug prevents Win2kSP4 clients to join domain

2009-04-30 Thread Christian Perrier
tags 526229 lenny
thanks

Quoting Mario Lipinski (l...@gymszbad.de):
 Christian,

 Am 30.04.2009 7:00 Uhr, schrieb Christian Perrier:
 I'm not in favor of applying the patch. Diverging from upstream is
 pointless at this point of development. As they have a very regular
 upload schedule that guarantees us that the bug will be fixed in an
 upcoming 3.3.* version, there would be no point in applying this patch,
 imho.

 I can understand that for the version in testing.
 However, I also experienced it with the stable version. For that I think  
 it is good to document here and maybe have it fixed (don't know how the  
 rules are about this).

 Ah, I wasn't aware that the problem also happens in stable.

Reading upstream bug report makes me think this bug should be
corrected in lenny, yes. Preventing W2KSP4 clients from joining a
Debian run by Samba controllers is definitely something we don't want
for stable users.

So, sorry for the rant: you were right reporting.

I subscribed to upstream bug so that we notice when a patch is
identified.




signature.asc
Description: Digital signature


Bug#526229: samba: Bug prevents Win2kSP4 clients to join domain

2009-04-29 Thread Mario Lipinski
Package: samba
Version: 2:3.3.3-1.1
Severity: normal

See https://bugzilla.samba.org/show_bug.cgi?id=6301
Applying the patch solved the problem here.
I experienced the problem with the current samba version in stable and testing.

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (900, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.27.7-gsb (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages samba depends on:
ii  adduser  3.110   add and remove users and groups
ii  debconf [debconf-2.0 1.5.26  Debian configuration management sy
ii  libacl1  2.2.47-2Access control list shared library
ii  libattr1 1:2.4.43-2  Extended attribute shared library
ii  libc62.9-4   GNU C Library: Shared libraries
ii  libcap2  1:2.16-5support for getting/setting POSIX.
ii  libcomerr2   1.41.3-1common error description library
ii  libcups2 1.3.8-1lenny4.1 Common UNIX Printing System(tm) - 
ii  libgnutls26  2.6.4-2 the GNU TLS library - runtime libr
ii  libgssapi-krb5-2 1.6.dfsg.4~beta1-13 MIT Kerberos runtime libraries - k
ii  libk5crypto3 1.6.dfsg.4~beta1-13 MIT Kerberos runtime libraries - C
ii  libkrb5-31.6.dfsg.4~beta1-13 MIT Kerberos runtime libraries
ii  libldap-2.4-22.4.11-1OpenLDAP libraries
ii  libpam-modules   1.0.1-9 Pluggable Authentication Modules f
ii  libpam-runtime   1.0.1-9 Runtime support for the PAM librar
ii  libpam0g 1.0.1-9 Pluggable Authentication Modules l
ii  libpopt0 1.14-4  lib for parsing cmdline parameters
ii  libtalloc1   1.2.1-1 hierarchical pool based memory all
ii  libwbclient0 2:3.3.3-1   Samba winbind client library
ii  logrotate3.7.7-3 Log rotation utility
ii  lsb-base 3.2-22  Linux Standard Base 3.2 init scrip
ii  procps   1:3.2.7-11  /proc file system utilities
ii  samba-common 2:3.3.3-1.1 common files used by both the Samb
ii  update-inetd 4.31inetd configuration file updater
ii  zlib1g   1:1.2.3.3.dfsg-13   compression library - runtime

samba recommends no packages.

Versions of packages samba suggests:
ii  ctdb  1.0.78-1   clustered database to store tempor
ii  inetutils-inetd [inet-superse 2:1.6-1internet super server
pn  ldb-tools none (no description available)
ii  smbldap-tools 0.9.4-1Scripts to manage Unix and Samba a

-- debconf information:
  samba/nmbd_from_inetd:
  samba/log_files_moved:
  samba/tdbsam: false
* samba/generate_smbpasswd:
* samba/run_mode: daemons



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org