enum wb_posix_mapping ad_map_type; /* WB_POSIX_MAP_UNKNOWN */
};
-NTSTATUS init_module(void);
-
/************************************************************************
***********************************************************************/
{
ADS_STRUCT *ads;
ADS_STATUS status;
- bool local = False;
fstring dc_name;
struct sockaddr_storage dc_ip;
struct idmap_ad_context *ctx;
}
}
- if (!local) {
- /* we don't want this to affect the users ccache */
- setenv("KRB5CCNAME", WINBIND_CCACHE_NAME, 1);
- }
+ /* we don't want this to affect the users ccache */
+ setenv("KRB5CCNAME", WINBIND_CCACHE_NAME, 1);
/*
* At this point we only have the NetBIOS domain name.
Initialize the plugins
***********************************************************************/
-NTSTATUS idmap_ad_init(void)
+NTSTATUS samba_init_module(void)
{
static NTSTATUS status_idmap_ad = NT_STATUS_UNSUCCESSFUL;
static NTSTATUS status_nss_rfc2307 = NT_STATUS_UNSUCCESSFUL;