svn commit: samba r20987 - in
branches/SAMBA_3_0/source/include: .
Andrew Bartlett
abartlet at samba.org
Wed Jan 24 02:51:42 GMT 2007
On Wed, 2007-01-24 at 02:36 +0000, jerry at samba.org wrote:
> Author: jerry
> Date: 2007-01-24 02:36:40 +0000 (Wed, 24 Jan 2007)
> New Revision: 20987
>
> WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=20987
>
> Log:
> fix build farm breakage when ADS support is not present (caused by nss_info_methods API)
> Modified:
> branches/SAMBA_3_0/source/include/nss_info.h
Would it not be cleaner to typedef these to void * in a global header
instead?
> Changeset:
> Modified: branches/SAMBA_3_0/source/include/nss_info.h
> ===================================================================
> --- branches/SAMBA_3_0/source/include/nss_info.h 2007-01-24 01:48:08 UTC (rev 20986)
> +++ branches/SAMBA_3_0/source/include/nss_info.h 2007-01-24 02:36:40 UTC (rev 20987)
> @@ -60,7 +60,11 @@
> NTSTATUS (*get_nss_info)( struct nss_domain_entry *e,
> const DOM_SID *sid,
> TALLOC_CTX *ctx,
> +#ifdef WITH_ADS
> ADS_STRUCT *ads, LDAPMessage *msg,
> +#else
> + void *ads, void *msg,
> +#endif
> char **homedir, char **shell, char **gecos, gid_t *p_gid);
> NTSTATUS (*close_fn)( void );
> };
>
--
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/20070124/c5dc104a/attachment.bin
More information about the samba-technical
mailing list