FW: changes to wbclient.h (Re: [SCM] Samba Shared Repository - branch master updated)

Karthikeyan R karthikeyan_r at spanservices.com
Sun Oct 11 23:04:52 MDT 2009


-----Original Message-----
From: samba-technical-bounces at lists.samba.org [mailto:samba-technical-bounces at lists.samba.org] On Behalf Of Matthias Dieter Wallnöfer
Sent: Friday, October 09, 2009 11:47 PM
To: samba-technical at lists.samba.org; Stefan (metze) Metzmacher
Cc: samba-cvs at samba.org
Subject: AW: changes to wbclient.h (Re: [SCM] Samba Shared Repository - branch master updated)

Hi Stefan,

yeah I know that my change is problematic. But I got a request from Günther to adapt the values as they're specified in "samr.idl" to allow further error case additions in winbind.

In particular consider the value 0: previous it was an "other" error but a lookup in the MS-SAMR documentation pointed out that it should mean no error at all.

So I'd strongly prefer to keep the patch in this form to have it right - from now on . I know it is cumbersome to break the API and external code has to be adapted - but personally I don't see a better solution.


--- Stefan (metze) Metzmacher <metze at samba.org> schrieb am Fr, 9.10.2009:

Von: Stefan (metze) Metzmacher <metze at samba.org>
Betreff: changes to wbclient.h (Re: [SCM] Samba Shared Repository - branch master updated)
An: samba-technical at lists.samba.org
CC: samba-cvs at samba.org
Datum: Freitag, 9. Oktober 2009, 17:35

Hi Matthias,
> diff --git a/nsswitch/libwbclient/wbclient.h 
> b/nsswitch/libwbclient/wbclient.h index 4dc6d23..ced82d8 100644
> --- a/nsswitch/libwbclient/wbclient.h
> +++ b/nsswitch/libwbclient/wbclient.h
> @@ -427,10 +427,15 @@ struct wbcUserPasswordPolicyInfo {
>   **/
>  enum wbcPasswordChangeRejectReason {
>  };

wbclient.h is a public interface, where we can't change existing code!

At least we need to add the old enum values as defines to the new ones.



This email message and all attachments are  confidential and may contain information that
is privileged,  confidential or exempt from  disclosure under applicable law.  If you are
not  the intended  recipient,  you  are notified  that any dissemination, distribution or 
copying  of this email  is strictly prohibited. If you have received this email in error, 
please notify us immediately by return email or to mailadmin at spanservices.com and destroy 
the original message.

Opinions, conclusions, and other  information in  this message that  do not relate to the 
official business of SPAN, shall be understood to be neither given nor endorsed by SPAN.

More information about the samba-technical mailing list