1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
samba-mirror/source3/winbindd
Ralph Boehme 8b32fc4006 winbindd: trigger possible passdb_dsdb initialisation
If the passdb backend is passdb_dsdb the domain SID comes from dsdb, not
from secrets.tdb. As we use the domain SID in various places, we must
ensure the domain SID is migrated from dsdb to secrets.tdb before
get_global_sam_sid() is called the first time.

The migration is done as part of the passdb_dsdb initialisation, calling
pdb_get_domain_info() triggers it.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=12729

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Sat Apr  1 21:18:59 CEST 2017 on sn-devel-144
2017-04-01 21:18:59 +02:00
..
idmap_hash idmap_hash: Add a deprecation message 2017-03-03 16:54:34 +01:00
idmap_ad_nss.c winbind: remove nss_get_info backend functions 2017-01-04 12:22:13 +01:00
idmap_ad.c idmap_ad: Use idmap_config_bool 2017-03-20 19:36:22 +01:00
idmap_autorid_tdb.c idmap_autorid: Simplify idmap_autorid_loadconfig 2016-12-16 21:30:28 +01:00
idmap_autorid.c idmap_autorid: Use idmap_config_int 2017-03-20 23:28:37 +01:00
idmap_ldap.c idmap_ldap: Use idmap_config_const_string 2017-03-20 19:36:21 +01:00
idmap_nss.c idmap: Fix whitespace 2016-01-13 07:48:30 +01:00
idmap_passdb.c
idmap_proto.h winbind: Make "idmap_find_domain" public 2017-01-02 18:04:13 +01:00
idmap_rfc2307.c idmap_rfc2307: Slightly simplify idmap_rfc2307_initialize() 2017-03-22 07:11:10 +01:00
idmap_rid.c idmap_rid: Use idmap_config_int 2017-03-20 19:36:22 +01:00
idmap_rw.c
idmap_rw.h
idmap_script.c winbind: Use idmap_config_const_string in idmap_script_db_init 2017-03-20 19:36:21 +01:00
idmap_tdb2.c winbind: Use idmap_config_const_string in idmap_tdb2_db_init 2017-03-20 19:36:21 +01:00
idmap_tdb_common.c idmap_tdb: Avoid a few casts 2017-03-22 07:11:10 +01:00
idmap_tdb_common.h
idmap_tdb.c
idmap_util.c idmap: don't generally forbid id==0 from idmap_unix_id_is_in_range() 2016-08-16 21:27:22 +02:00
idmap.c winbind: Add idmap_config_int 2017-03-20 19:36:22 +01:00
nss_info_template.c winbind: remove nss_get_info backend functions 2017-01-04 12:22:13 +01:00
nss_info.c winbind: Remove nss_get_info() 2017-01-04 12:22:13 +01:00
wb_dsgetdcname.c winbindd: check if dcinfo from genache is expired 2016-04-28 20:48:14 +02:00
wb_getgrsid.c
wb_getpwsid.c s3:winbind: Use correct struct member for size calculation 2017-03-18 05:05:24 +01:00
wb_gettoken.c Re-enable token groups fallback 2017-03-06 19:18:31 +01:00
wb_group_members.c Correct "occured" typos. 2017-02-22 08:26:21 +01:00
wb_lookupname.c winbindd: remove bogus fallback to the forest root in wb_lookupname*() 2017-03-11 21:05:09 +01:00
wb_lookupsid.c winbindd: remove bogus fallback to the forest root in wb_lookupsid*() 2017-03-11 21:05:09 +01:00
wb_lookupsids.c winbindd: avoid multiple wbint_LookupSids/lsa_LookupSids calls to the same domain 2017-03-12 00:56:14 +01:00
wb_lookupuseraliases.c
wb_lookupusergroups.c winbindd: find the domain based on the sid within wb_lookupusergroups_send() 2017-03-06 15:09:18 +01:00
wb_next_grent.c
wb_next_pwent.c winbind: Go throught wb_getpwsid for listing users 2017-01-02 18:04:14 +01:00
wb_ping.c
wb_query_group_list.c
wb_query_user_list.c winbind: Make wb_query_user_list just return names 2017-01-04 12:22:12 +01:00
wb_queryuser.c s3:winbind: Use the correct talloc context for user information 2017-03-18 19:47:40 +01:00
wb_seqnum.c
wb_seqnums.c
wb_sids2xids.c winbind: Fix a typo 2017-01-23 22:46:13 +01:00
wb_xids2sids.c winbind: Use idmap_config_const_string in wb_xids2sids_add_dom 2017-03-20 19:36:21 +01:00
winbindd_ads.c Revert "winbind: Remove "lookup_usergroups" winbind method" 2017-03-06 15:09:17 +01:00
winbindd_allocate_gid.c
winbindd_allocate_uid.c
winbindd_async.c
winbindd_cache.c winbindd: remove trailing spaces in get_cache() 2017-03-17 00:20:17 +01:00
winbindd_ccache_access.c CVE-2016-2110: winbindd: add new_spnego to the WINBINDD_CCACHE_NTLMAUTH response 2016-04-12 19:25:22 +02:00
winbindd_change_machine_acct.c
winbindd_check_machine_acct.c
winbindd_cm.c rpc: Always supply both the remote and local address to the auth subsystem 2017-03-29 02:37:27 +02:00
winbindd_cred_cache.c s3/winbindd: use == -1 instead of < 0 for error checking uid_t 2016-07-01 05:22:36 +02:00
winbindd_creds.c lib: Add samlogon_cache.h 2016-12-02 09:36:08 +01:00
winbindd_domain.c
winbindd_dsgetdcname.c
winbindd_dual_ndr.c pidl: Change *_get_pipe_fns() to return const struct api_struct * 2016-12-01 05:54:22 +01:00
winbindd_dual_srv.c winbind: Add a debug message for out-of-range IDs 2017-03-08 00:04:22 +01:00
winbindd_dual.c winbindd: Replace calls to domain->methods 2016-10-11 20:15:25 +02:00
winbindd_endgrent.c
winbindd_endpwent.c
winbindd_getdcname.c
winbindd_getgrent.c
winbindd_getgrgid.c winbind: Use xids2sids in getgrgid 2016-02-22 20:29:15 +01:00
winbindd_getgrnam.c
winbindd_getgroups.c winbind: Add "expand_local_aliases" to wb_gettoken 2017-01-04 12:22:12 +01:00
winbindd_getpwent.c
winbindd_getpwnam.c
winbindd_getpwsid.c
winbindd_getpwuid.c winbind: Use xids2sids in getpwuid 2016-02-22 20:29:15 +01:00
winbindd_getsidaliases.c
winbindd_getuserdomgroups.c winbind: Use wb_gettoken in getuserdomgroups 2017-01-04 12:22:12 +01:00
winbindd_getusersids.c winbind: Add "expand_local_aliases" to wb_gettoken 2017-01-04 12:22:12 +01:00
winbindd_group.c
winbindd_idmap.c
winbindd_irpc.c winbind: Correcly pass !authoritative from wb_irpc_SamLogon 2017-03-07 13:16:00 +01:00
winbindd_list_groups.c
winbindd_list_users.c s3:winbind: work around coverity false positive. 2017-02-23 23:54:48 +01:00
winbindd_locator.c
winbindd_lookupname.c
winbindd_lookuprids.c
winbindd_lookupsid.c
winbindd_lookupsids.c
winbindd_misc.c winbindd: Replace calls to domain->methods 2016-10-11 20:15:25 +02:00
winbindd_msrpc.c Revert "winbind: Remove "lookup_usergroups" winbind method" 2017-03-06 15:09:17 +01:00
winbindd_ndr.c winbindd: Remove now unused cache_methods 2016-10-11 23:59:17 +02:00
winbindd_pam_auth_crap.c winbindd: do not modify credentials in NTLM passthrough 2016-10-25 01:46:23 +02:00
winbindd_pam_auth.c
winbindd_pam_chauthtok.c
winbindd_pam_chng_pswd_auth_crap.c
winbindd_pam_logoff.c
winbindd_pam.c winbindd: Fix password policy for pam authentication 2017-03-29 22:54:47 +02:00
winbindd_ping_dc.c
winbindd_proto.h winbind: Add idmap_config_int 2017-03-20 19:36:22 +01:00
winbindd_reconnect_ads.c Revert "winbind: Remove "lookup_usergroups" winbind method" 2017-03-06 15:09:17 +01:00
winbindd_reconnect.c Revert "winbind: Remove "lookup_usergroups" winbind method" 2017-03-06 15:09:17 +01:00
winbindd_rpc.c Revert "winbind: Remove rpc_lookup_usergroups" 2017-03-06 15:09:17 +01:00
winbindd_rpc.h Revert "winbind: Remove rpc_lookup_usergroups" 2017-03-06 15:09:17 +01:00
winbindd_samr.c Revert "winbind: Remove "lookup_usergroups" winbind method" 2017-03-06 15:09:17 +01:00
winbindd_setgrent.c
winbindd_setpwent.c
winbindd_show_sequence.c
winbindd_sids_to_xids.c
winbindd_util.c winbindd: trigger possible passdb_dsdb initialisation 2017-04-01 21:18:59 +02:00
winbindd_wins_byip.c
winbindd_wins_byname.c
winbindd_xids_to_sids.c winbind: Expose WINBINDD_XIDS_TO_SIDS externally 2016-02-22 20:29:15 +01:00
winbindd.c libsmb: Remove some stale code 2017-03-14 15:22:12 +01:00
winbindd.h s3:winbind: Remove unused struct getpwent_user 2017-03-18 08:59:01 +01:00
wscript_build Revert "winbind: Remove wb_lookupusergroups" 2017-03-06 15:09:18 +01:00