diff options
author | Gerald Carter <jerry@samba.org> | 2007-01-24 14:39:46 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:17:25 -0500 |
commit | a31f10c99edd7cb80d62d377c8efead5a4846b40 (patch) | |
tree | 54b89f816e1b3b30338a74ca20fdf29749bd9e21 /source3/nsswitch/nss_info_template.c | |
parent | 25f1710991b1d39ce057f9210c36cbaf3d1b0517 (diff) | |
download | samba-a31f10c99edd7cb80d62d377c8efead5a4846b40.tar.gz samba-a31f10c99edd7cb80d62d377c8efead5a4846b40.tar.bz2 samba-a31f10c99edd7cb80d62d377c8efead5a4846b40.zip |
r21001: * Use a simple '#define LDAPMessage void' to fix the build
problems in the nss_info interface when HAVE_LDAP is undefined.
* Revert previous ifdef HAVE_ADS brakets
* Remove an unused init function wrapper.
(This used to be commit 2ba353848b6d8d36520e7fd82576653a39c602cd)
Diffstat (limited to 'source3/nsswitch/nss_info_template.c')
-rw-r--r-- | source3/nsswitch/nss_info_template.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/source3/nsswitch/nss_info_template.c b/source3/nsswitch/nss_info_template.c index 1b644d7b35..2a14428802 100644 --- a/source3/nsswitch/nss_info_template.c +++ b/source3/nsswitch/nss_info_template.c @@ -20,8 +20,6 @@ Boston, MA 02111-1307, USA. */ -#ifdef WITH_ADS - #include "includes.h" #include "nss_info.h" @@ -73,9 +71,9 @@ static NTSTATUS nss_template_close( void ) ***********************************************************************/ static struct nss_info_methods nss_template_methods = { - nss_template_init, - nss_template_get_info, - nss_template_close + .init = nss_template_init, + .get_nss_info = nss_template_get_info, + .close_fn = nss_template_close }; NTSTATUS nss_info_template_init( void ) @@ -85,4 +83,3 @@ NTSTATUS nss_info_template_init( void ) &nss_template_methods); } -#endif /* WITH_ADS */ |