summaryrefslogtreecommitdiff
path: root/source3/nsswitch/nss_info.c
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2007-01-24 14:39:46 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:17:25 -0500
commita31f10c99edd7cb80d62d377c8efead5a4846b40 (patch)
tree54b89f816e1b3b30338a74ca20fdf29749bd9e21 /source3/nsswitch/nss_info.c
parent25f1710991b1d39ce057f9210c36cbaf3d1b0517 (diff)
downloadsamba-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.c')
-rw-r--r--source3/nsswitch/nss_info.c26
1 files changed, 0 insertions, 26 deletions
diff --git a/source3/nsswitch/nss_info.c b/source3/nsswitch/nss_info.c
index 747de4a2ba..0b0caeee02 100644
--- a/source3/nsswitch/nss_info.c
+++ b/source3/nsswitch/nss_info.c
@@ -20,8 +20,6 @@
Boston, MA 02111-1307, USA.
*/
-#ifdef WITH_ADS
-
#include "includes.h"
#include "nss_info.h"
@@ -266,27 +264,3 @@ static BOOL parse_nss_parm( const char *config, char **backend, char **domain )
return NT_STATUS_OK;
}
-/********************************************************************
- Invoke the init function for a given domain's backend
- *******************************************************************/
-
- NTSTATUS idmap_nss_init_domain( const char *domain )
-{
- struct nss_domain_entry *p;
-
- DEBUG(10,("idmap_nss_init_domain: Searching for %s's init() function\n",
- domain));
-
- for ( p=nss_domain_list; p; p=p->next ) {
- if ( strequal( p->domain, domain ) ) {
- DEBUG(10,("idmap_nss_init_domain: Calling init function for %s\n",
- domain));
- return p->backend->methods->init( p );
- }
- }
-
- return NT_STATUS_NO_SUCH_DOMAIN;
-}
-
-#endif /* WITH_ADS */
-