svn commit: samba r21001 - in branches/SAMBA_3_0/source: include nsswitch

Andrew Bartlett abartlet at samba.org
Wed Jan 24 20:41:56 GMT 2007


On Wed, 2007-01-24 at 14:39 +0000, jerry at samba.org wrote:
> Author: jerry
> Date: 2007-01-24 14:39:46 +0000 (Wed, 24 Jan 2007)
> New Revision: 21001
> 
> WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=21001
> 
> Log:
> * Use a simple '#define LDAPMessage void' to fix the build
>   problems in the nss_info interface when HAVE_LDAP is undefined.

> Changeset:
> Modified: branches/SAMBA_3_0/source/include/includes.h
> ===================================================================
> --- branches/SAMBA_3_0/source/include/includes.h	2007-01-24 12:46:26 UTC (rev 21000)
> +++ branches/SAMBA_3_0/source/include/includes.h	2007-01-24 14:39:46 UTC (rev 21001)
> @@ -777,9 +777,6 @@
>  
>  #ifdef HAVE_LDAP
>  #include "ads_protos.h"
> -#else
> -struct _LDAPMessage;
> -typedef struct _LDAPMessage *LDAPMessage;
>  #endif
>  
>  /* We need this after proto.h to reference GetTimeOfDay(). */
> 

Oh?  What hosts were broken after we fixed it this way?

Andrew Bartlett

-- 
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org
Samba Developer, Red Hat Inc.                  http://redhat.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba-technical/attachments/20070125/05ce406a/attachment.bin


More information about the samba-technical mailing list