mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
r25154: move winbindd code into winbindd/
metze
This commit is contained in:
parent
2a794db3c5
commit
3ac7566ae1
@ -852,33 +852,31 @@ PAM_SMBPASS_OBJ = $(PAM_SMBPASS_OBJ_0) $(PARAM_OBJ) $(LIB_NONSMBD_OBJ) $(PASSDB_
|
||||
$(SECRETS_OBJ) $(SMBLDAP_OBJ) $(LIBSAMBA_OBJ) \
|
||||
$(RPC_PARSE_OBJ1) $(DOSERR_OBJ) $(LDB_OBJ) $(ERRORMAP_OBJ)
|
||||
|
||||
IDMAP_OBJ = nsswitch/idmap.o nsswitch/idmap_cache.o nsswitch/idmap_util.o @IDMAP_STATIC@
|
||||
IDMAP_OBJ = winbindd/idmap.o winbindd/idmap_cache.o winbindd/idmap_util.o @IDMAP_STATIC@
|
||||
|
||||
NSS_INFO_OBJ = nsswitch/nss_info.o @NSS_INFO_STATIC@
|
||||
|
||||
IDMAP_NSS_OBJ = sam/idmap_nss.o @IDMAP_NSS_STATIC@
|
||||
NSS_INFO_OBJ = winbindd/nss_info.o @NSS_INFO_STATIC@
|
||||
|
||||
WINBINDD_OBJ1 = \
|
||||
nsswitch/winbindd.o \
|
||||
nsswitch/winbindd_sockinit.o \
|
||||
nsswitch/winbindd_user.o \
|
||||
nsswitch/winbindd_group.o \
|
||||
nsswitch/winbindd_util.o \
|
||||
nsswitch/winbindd_cache.o \
|
||||
nsswitch/winbindd_pam.o \
|
||||
nsswitch/winbindd_sid.o \
|
||||
nsswitch/winbindd_misc.o \
|
||||
nsswitch/winbindd_cm.o \
|
||||
nsswitch/winbindd_wins.o \
|
||||
nsswitch/winbindd_rpc.o \
|
||||
nsswitch/winbindd_reconnect.o \
|
||||
nsswitch/winbindd_ads.o \
|
||||
nsswitch/winbindd_passdb.o \
|
||||
nsswitch/winbindd_dual.o \
|
||||
nsswitch/winbindd_async.o \
|
||||
nsswitch/winbindd_creds.o \
|
||||
nsswitch/winbindd_cred_cache.o \
|
||||
nsswitch/winbindd_ccache_access.o \
|
||||
winbindd/winbindd.o \
|
||||
winbindd/winbindd_sockinit.o \
|
||||
winbindd/winbindd_user.o \
|
||||
winbindd/winbindd_group.o \
|
||||
winbindd/winbindd_util.o \
|
||||
winbindd/winbindd_cache.o \
|
||||
winbindd/winbindd_pam.o \
|
||||
winbindd/winbindd_sid.o \
|
||||
winbindd/winbindd_misc.o \
|
||||
winbindd/winbindd_cm.o \
|
||||
winbindd/winbindd_wins.o \
|
||||
winbindd/winbindd_rpc.o \
|
||||
winbindd/winbindd_reconnect.o \
|
||||
winbindd/winbindd_ads.o \
|
||||
winbindd/winbindd_passdb.o \
|
||||
winbindd/winbindd_dual.o \
|
||||
winbindd/winbindd_async.o \
|
||||
winbindd/winbindd_creds.o \
|
||||
winbindd/winbindd_cred_cache.o \
|
||||
winbindd/winbindd_ccache_access.o \
|
||||
auth/token_util.o
|
||||
|
||||
WINBINDD_OBJ = \
|
||||
@ -1549,17 +1547,17 @@ bin/smbpasswd.@SHLIBEXT@: $(BINARY_PREREQS) passdb/pdb_smbpasswd.o
|
||||
@echo "Building plugin $@"
|
||||
@$(SHLD_MODULE) passdb/pdb_smbpasswd.o
|
||||
|
||||
bin/rid.@SHLIBEXT@: $(BINARY_PREREQS) nsswitch/idmap_rid.o
|
||||
bin/rid.@SHLIBEXT@: $(BINARY_PREREQS) winbindd/idmap_rid.o
|
||||
@echo "Building plugin $@"
|
||||
@$(SHLD_MODULE) nsswitch/idmap_rid.o
|
||||
@$(SHLD_MODULE) winbindd/idmap_rid.o
|
||||
|
||||
bin/ad.@SHLIBEXT@: $(BINARY_PREREQS) nsswitch/idmap_ad.o
|
||||
bin/ad.@SHLIBEXT@: $(BINARY_PREREQS) winbindd/idmap_ad.o
|
||||
@echo "Building plugin $@"
|
||||
@$(SHLD_MODULE) nsswitch/idmap_ad.o
|
||||
@$(SHLD_MODULE) winbindd/idmap_ad.o
|
||||
|
||||
bin/ldap.@SHLIBEXT@: $(BINARY_PREREQS) nsswitch/idmap_ldap.o
|
||||
bin/ldap.@SHLIBEXT@: $(BINARY_PREREQS) winbindd/idmap_ldap.o
|
||||
@echo "Building plugin $@"
|
||||
@$(SHLD_MODULE) nsswitch/idmap_ldap.o
|
||||
@$(SHLD_MODULE) winbindd/idmap_ldap.o
|
||||
|
||||
bin/weird.@SHLIBEXT@: $(BINARY_PREREQS) $(DEVEL_HELP_WEIRD_OBJ)
|
||||
@echo "Building plugin $@"
|
||||
@ -1962,14 +1960,14 @@ clean: delheaders python_clean
|
||||
# removed by "make clean" this will always be run when you do anything
|
||||
# afterwards.
|
||||
proto_exists: include/proto.h include/build_env.h \
|
||||
nsswitch/winbindd_proto.h web/swat_proto.h \
|
||||
winbindd/winbindd_proto.h web/swat_proto.h \
|
||||
client/client_proto.h utils/net_proto.h utils/ntlm_auth_proto.h smbd/build_options.c
|
||||
@touch proto_exists
|
||||
|
||||
delheaders:
|
||||
@echo Removing prototype headers
|
||||
@rm -f include/proto.h include/build_env.h \
|
||||
nsswitch/winbindd_proto.h web/swat_proto.h \
|
||||
winbindd/winbindd_proto.h web/swat_proto.h \
|
||||
client/client_proto.h utils/net_proto.h \
|
||||
smbd/build_options.c utils/ntlm_auth_proto.h \
|
||||
utils/passwd_proto.h
|
||||
@ -1987,9 +1985,9 @@ include/build_env.h: script/build_env.sh
|
||||
@$(SHELL) $(srcdir)/script/build_env.sh $(srcdir) $(builddir) $(CC) \
|
||||
> $(builddir)/include/build_env.h
|
||||
|
||||
nsswitch/winbindd_proto.h:
|
||||
winbindd/winbindd_proto.h:
|
||||
@cd $(srcdir) && $(SHELL) $(MKPROTO_SH) $(AWK) \
|
||||
-h _WINBINDD_PROTO_H_ $(builddir)/nsswitch/winbindd_proto.h \
|
||||
-h _WINBINDD_PROTO_H_ $(builddir)/winbindd/winbindd_proto.h \
|
||||
$(WINBINDD_OBJ1)
|
||||
|
||||
web/swat_proto.h:
|
||||
@ -2025,7 +2023,7 @@ headers:
|
||||
$(MAKE) smbd/build_options.c; \
|
||||
$(MAKE) include/proto.h; \
|
||||
$(MAKE) include/build_env.h; \
|
||||
$(MAKE) nsswitch/winbindd_proto.h; \
|
||||
$(MAKE) winbindd/winbindd_proto.h; \
|
||||
$(MAKE) web/swat_proto.h; \
|
||||
$(MAKE) client/client_proto.h; \
|
||||
$(MAKE) utils/ntlm_auth_proto.h; \
|
||||
|
@ -6333,16 +6333,16 @@ SMB_MODULE(rpc_unixinfo, \$(RPC_UNIXINFO_OBJ), "bin/librpc_unixinfo.$SHLIBEXT",
|
||||
SMB_MODULE(rpc_epmapper, \$(RPC_EPMAPPER_OBJ), "bin/librpc_epmapper.$SHLIBEXT", RPC)
|
||||
SMB_SUBSYSTEM(RPC,smbd/server.o)
|
||||
|
||||
SMB_MODULE(idmap_ldap, nsswitch/idmap_ldap.o, "bin/ldap.$SHLIBEXT", IDMAP)
|
||||
SMB_MODULE(idmap_tdb, nsswitch/idmap_tdb.o, "bin/tdb.$SHLIBEXT", IDMAP)
|
||||
SMB_MODULE(idmap_passdb, nsswitch/idmap_passdb.o, "bin/passdb.$SHLIBEXT", IDMAP)
|
||||
SMB_MODULE(idmap_nss, nsswitch/idmap_nss.o, "bin/nss.$SHLIBEXT", IDMAP)
|
||||
SMB_MODULE(idmap_rid, nsswitch/idmap_rid.o, "bin/rid.$SHLIBEXT", IDMAP)
|
||||
SMB_MODULE(idmap_ad, nsswitch/idmap_ad.o, "bin/ad.$SHLIBEXT", IDMAP)
|
||||
SMB_SUBSYSTEM(IDMAP, nsswitch/idmap.o)
|
||||
SMB_MODULE(idmap_ldap, winbindd/idmap_ldap.o, "bin/ldap.$SHLIBEXT", IDMAP)
|
||||
SMB_MODULE(idmap_tdb, winbindd/idmap_tdb.o, "bin/tdb.$SHLIBEXT", IDMAP)
|
||||
SMB_MODULE(idmap_passdb, winbindd/idmap_passdb.o, "bin/passdb.$SHLIBEXT", IDMAP)
|
||||
SMB_MODULE(idmap_nss, winbindd/idmap_nss.o, "bin/nss.$SHLIBEXT", IDMAP)
|
||||
SMB_MODULE(idmap_rid, winbindd/idmap_rid.o, "bin/rid.$SHLIBEXT", IDMAP)
|
||||
SMB_MODULE(idmap_ad, winbindd/idmap_ad.o, "bin/ad.$SHLIBEXT", IDMAP)
|
||||
SMB_SUBSYSTEM(IDMAP, winbindd/idmap.o)
|
||||
|
||||
SMB_MODULE(nss_info_template, nsswitch/nss_info_template.o, "bin/template.$SHLIBEXT", NSS_INFO)
|
||||
SMB_SUBSYSTEM(NSS_INFO, nsswitch/nss_info.o)
|
||||
SMB_MODULE(nss_info_template, winbindd/nss_info_template.o, "bin/template.$SHLIBEXT", NSS_INFO)
|
||||
SMB_SUBSYSTEM(NSS_INFO, winbindd/nss_info.o)
|
||||
|
||||
SMB_MODULE(charset_weird, modules/weird.o, "bin/weird.$SHLIBEXT", CHARSET)
|
||||
SMB_MODULE(charset_CP850, modules/CP850.o, "bin/CP850.$SHLIBEXT", CHARSET)
|
||||
|
@ -352,7 +352,7 @@ struct winbindd_tdc_domain {
|
||||
};
|
||||
|
||||
|
||||
#include "nsswitch/winbindd_proto.h"
|
||||
#include "winbindd/winbindd_proto.h"
|
||||
|
||||
#define WINBINDD_ESTABLISH_LOOP 30
|
||||
#define WINBINDD_RESCAN_FREQ lp_winbind_cache_time()
|
Loading…
Reference in New Issue
Block a user