nsswitch/winbindd_reconnect.c

ソースコードを見る。

関数

static NTSTATUS query_user_list (struct winbindd_domain *domain, TALLOC_CTX *mem_ctx, uint32 *num_entries, WINBIND_USERINFO **info)
static NTSTATUS enum_dom_groups (struct winbindd_domain *domain, TALLOC_CTX *mem_ctx, uint32 *num_entries, struct acct_info **info)
static NTSTATUS enum_local_groups (struct winbindd_domain *domain, TALLOC_CTX *mem_ctx, uint32 *num_entries, struct acct_info **info)
static NTSTATUS name_to_sid (struct winbindd_domain *domain, TALLOC_CTX *mem_ctx, const char *domain_name, const char *name, DOM_SID *sid, enum lsa_SidType *type)
static NTSTATUS sid_to_name (struct winbindd_domain *domain, TALLOC_CTX *mem_ctx, const DOM_SID *sid, char **domain_name, char **name, enum lsa_SidType *type)
static NTSTATUS rids_to_names (struct winbindd_domain *domain, TALLOC_CTX *mem_ctx, const DOM_SID *sid, uint32 *rids, size_t num_rids, char **domain_name, char ***names, enum lsa_SidType **types)
static NTSTATUS query_user (struct winbindd_domain *domain, TALLOC_CTX *mem_ctx, const DOM_SID *user_sid, WINBIND_USERINFO *user_info)
static NTSTATUS lookup_usergroups (struct winbindd_domain *domain, TALLOC_CTX *mem_ctx, const DOM_SID *user_sid, uint32 *num_groups, DOM_SID **user_gids)
static NTSTATUS lookup_useraliases (struct winbindd_domain *domain, TALLOC_CTX *mem_ctx, uint32 num_sids, const DOM_SID *sids, uint32 *num_aliases, uint32 **alias_rids)
static NTSTATUS lookup_groupmem (struct winbindd_domain *domain, TALLOC_CTX *mem_ctx, const DOM_SID *group_sid, uint32 *num_names, DOM_SID **sid_mem, char ***names, uint32 **name_types)
static NTSTATUS sequence_number (struct winbindd_domain *domain, uint32 *seq)
static NTSTATUS lockout_policy (struct winbindd_domain *domain, TALLOC_CTX *mem_ctx, SAM_UNK_INFO_12 *policy)
static NTSTATUS password_policy (struct winbindd_domain *domain, TALLOC_CTX *mem_ctx, SAM_UNK_INFO_1 *policy)
static NTSTATUS trusted_domains (struct winbindd_domain *domain, TALLOC_CTX *mem_ctx, uint32 *num_domains, char ***names, char ***alt_names, DOM_SID **dom_sids)

変数

winbindd_methods msrpc_methods
winbindd_methods reconnect_methods


関数

static NTSTATUS query_user_list ( struct winbindd_domain domain,
TALLOC_CTX mem_ctx,
uint32 *  num_entries,
WINBIND_USERINFO **  info 
) [static]

winbindd_reconnect.c32 行で定義されています。

参照先 msrpc_methodswinbindd_methods::query_user_listresult.

00036 {
00037         NTSTATUS result;
00038 
00039         result = msrpc_methods.query_user_list(domain, mem_ctx,
00040                                                num_entries, info);
00041 
00042         if (NT_STATUS_EQUAL(result, NT_STATUS_UNSUCCESSFUL))
00043                 result = msrpc_methods.query_user_list(domain, mem_ctx,
00044                                                        num_entries, info);
00045         return result;
00046 }

static NTSTATUS enum_dom_groups ( struct winbindd_domain domain,
TALLOC_CTX mem_ctx,
uint32 *  num_entries,
struct acct_info **  info 
) [static]

winbindd_reconnect.c49 行で定義されています。

参照先 winbindd_methods::enum_dom_groupsmsrpc_methodsresult.

00053 {
00054         NTSTATUS result;
00055 
00056         result = msrpc_methods.enum_dom_groups(domain, mem_ctx,
00057                                                num_entries, info);
00058 
00059         if (NT_STATUS_EQUAL(result, NT_STATUS_UNSUCCESSFUL))
00060                 result = msrpc_methods.enum_dom_groups(domain, mem_ctx,
00061                                                        num_entries, info);
00062         return result;
00063 }

static NTSTATUS enum_local_groups ( struct winbindd_domain domain,
TALLOC_CTX mem_ctx,
uint32 *  num_entries,
struct acct_info **  info 
) [static]

winbindd_reconnect.c67 行で定義されています。

参照先 winbindd_methods::enum_local_groupsmsrpc_methodsresult.

00071 {
00072         NTSTATUS result;
00073 
00074         result = msrpc_methods.enum_local_groups(domain, mem_ctx,
00075                                                  num_entries, info);
00076 
00077         if (NT_STATUS_EQUAL(result, NT_STATUS_UNSUCCESSFUL))
00078                 result = msrpc_methods.enum_local_groups(domain, mem_ctx,
00079                                                          num_entries, info);
00080 
00081         return result;
00082 }

static NTSTATUS name_to_sid ( struct winbindd_domain domain,
TALLOC_CTX mem_ctx,
const char *  domain_name,
const char *  name,
DOM_SID sid,
enum lsa_SidType type 
) [static]

winbindd_reconnect.c85 行で定義されています。

参照先 msrpc_methodswinbindd_methods::name_to_sidresult.

00091 {
00092         NTSTATUS result;
00093 
00094         result = msrpc_methods.name_to_sid(domain, mem_ctx,
00095                                            domain_name, name,
00096                                            sid, type);
00097 
00098         if (NT_STATUS_EQUAL(result, NT_STATUS_UNSUCCESSFUL))
00099                 result = msrpc_methods.name_to_sid(domain, mem_ctx,
00100                                                    domain_name, name,
00101                                                    sid, type);
00102 
00103         return result;
00104 }

static NTSTATUS sid_to_name ( struct winbindd_domain domain,
TALLOC_CTX mem_ctx,
const DOM_SID sid,
char **  domain_name,
char **  name,
enum lsa_SidType type 
) [static]

winbindd_reconnect.c109 行で定義されています。

参照先 msrpc_methodsresultwinbindd_methods::sid_to_name.

00115 {
00116         NTSTATUS result;
00117 
00118         result = msrpc_methods.sid_to_name(domain, mem_ctx, sid,
00119                                            domain_name, name, type);
00120 
00121         if (NT_STATUS_EQUAL(result, NT_STATUS_UNSUCCESSFUL))
00122                 result = msrpc_methods.sid_to_name(domain, mem_ctx, sid,
00123                                                    domain_name, name, type);
00124 
00125         return result;
00126 }

static NTSTATUS rids_to_names ( struct winbindd_domain domain,
TALLOC_CTX mem_ctx,
const DOM_SID sid,
uint32 *  rids,
size_t  num_rids,
char **  domain_name,
char ***  names,
enum lsa_SidType **  types 
) [static]

winbindd_reconnect.c128 行で定義されています。

参照先 msrpc_methodsresultwinbindd_methods::rids_to_names.

00136 {
00137         NTSTATUS result;
00138 
00139         result = msrpc_methods.rids_to_names(domain, mem_ctx, sid,
00140                                              rids, num_rids,
00141                                              domain_name, names, types);
00142         if (NT_STATUS_EQUAL(result, NT_STATUS_UNSUCCESSFUL)) {
00143                 result = msrpc_methods.rids_to_names(domain, mem_ctx, sid,
00144                                                      rids, num_rids,
00145                                                      domain_name, names,
00146                                                      types);
00147         }
00148 
00149         return result;
00150 }

static NTSTATUS query_user ( struct winbindd_domain domain,
TALLOC_CTX mem_ctx,
const DOM_SID user_sid,
WINBIND_USERINFO user_info 
) [static]

winbindd_reconnect.c153 行で定義されています。

参照先 msrpc_methodswinbindd_methods::query_userresult.

00157 {
00158         NTSTATUS result;
00159 
00160         result = msrpc_methods.query_user(domain, mem_ctx, user_sid,
00161                                           user_info);
00162 
00163         if (NT_STATUS_EQUAL(result, NT_STATUS_UNSUCCESSFUL))
00164                 result = msrpc_methods.query_user(domain, mem_ctx, user_sid,
00165                                                   user_info);
00166 
00167         return result;
00168 }

static NTSTATUS lookup_usergroups ( struct winbindd_domain domain,
TALLOC_CTX mem_ctx,
const DOM_SID user_sid,
uint32 *  num_groups,
DOM_SID **  user_gids 
) [static]

winbindd_reconnect.c171 行で定義されています。

参照先 winbindd_methods::lookup_usergroupsmsrpc_methodsresult.

00175 {
00176         NTSTATUS result;
00177 
00178         result = msrpc_methods.lookup_usergroups(domain, mem_ctx,
00179                                                  user_sid, num_groups,
00180                                                  user_gids);
00181 
00182         if (NT_STATUS_EQUAL(result, NT_STATUS_UNSUCCESSFUL))
00183                 result = msrpc_methods.lookup_usergroups(domain, mem_ctx,
00184                                                          user_sid, num_groups,
00185                                                          user_gids);
00186 
00187         return result;
00188 }

static NTSTATUS lookup_useraliases ( struct winbindd_domain domain,
TALLOC_CTX mem_ctx,
uint32  num_sids,
const DOM_SID sids,
uint32 *  num_aliases,
uint32 **  alias_rids 
) [static]

winbindd_reconnect.c190 行で定義されています。

参照先 winbindd_methods::lookup_useraliasesmsrpc_methodsresult.

00194 {
00195         NTSTATUS result;
00196 
00197         result = msrpc_methods.lookup_useraliases(domain, mem_ctx,
00198                                                   num_sids, sids,
00199                                                   num_aliases,
00200                                                   alias_rids);
00201 
00202         if (NT_STATUS_EQUAL(result, NT_STATUS_UNSUCCESSFUL))
00203                 result = msrpc_methods.lookup_useraliases(domain, mem_ctx,
00204                                                           num_sids, sids,
00205                                                           num_aliases,
00206                                                           alias_rids);
00207 
00208         return result;
00209 }

static NTSTATUS lookup_groupmem ( struct winbindd_domain domain,
TALLOC_CTX mem_ctx,
const DOM_SID group_sid,
uint32 *  num_names,
DOM_SID **  sid_mem,
char ***  names,
uint32 **  name_types 
) [static]

winbindd_reconnect.c212 行で定義されています。

参照先 winbindd_methods::lookup_groupmemmsrpc_methodsresult.

00217 {
00218         NTSTATUS result;
00219 
00220         result = msrpc_methods.lookup_groupmem(domain, mem_ctx,
00221                                                group_sid, num_names,
00222                                                sid_mem, names,
00223                                                name_types);
00224 
00225         if (NT_STATUS_EQUAL(result, NT_STATUS_UNSUCCESSFUL))
00226                 result = msrpc_methods.lookup_groupmem(domain, mem_ctx,
00227                                                        group_sid, num_names,
00228                                                        sid_mem, names,
00229                                                        name_types);
00230 
00231         return result;
00232 }

static NTSTATUS sequence_number ( struct winbindd_domain domain,
uint32 *  seq 
) [static]

winbindd_reconnect.c235 行で定義されています。

参照先 msrpc_methodsresultwinbindd_methods::sequence_number.

00236 {
00237         NTSTATUS result;
00238 
00239         result = msrpc_methods.sequence_number(domain, seq);
00240 
00241         if (NT_STATUS_EQUAL(result, NT_STATUS_UNSUCCESSFUL))
00242                 result = msrpc_methods.sequence_number(domain, seq);
00243 
00244         return result;
00245 }

static NTSTATUS lockout_policy ( struct winbindd_domain domain,
TALLOC_CTX mem_ctx,
SAM_UNK_INFO_12 policy 
) [static]

winbindd_reconnect.c248 行で定義されています。

参照先 winbindd_methods::lockout_policymsrpc_methodsresult.

00251 {
00252         NTSTATUS result;
00253 
00254         result = msrpc_methods.lockout_policy(domain, mem_ctx, policy);
00255 
00256         if (NT_STATUS_EQUAL(result, NT_STATUS_UNSUCCESSFUL))
00257                 result = msrpc_methods.lockout_policy(domain, mem_ctx, policy);
00258 
00259         return result;
00260 }

static NTSTATUS password_policy ( struct winbindd_domain domain,
TALLOC_CTX mem_ctx,
SAM_UNK_INFO_1 policy 
) [static]

winbindd_reconnect.c263 行で定義されています。

参照先 msrpc_methodswinbindd_methods::password_policyresult.

00266 {
00267         NTSTATUS result;
00268  
00269         result = msrpc_methods.password_policy(domain, mem_ctx, policy);
00270 
00271         if (NT_STATUS_EQUAL(result, NT_STATUS_UNSUCCESSFUL))
00272                 result = msrpc_methods.password_policy(domain, mem_ctx, policy);
00273         
00274         return result;
00275 }

static NTSTATUS trusted_domains ( struct winbindd_domain domain,
TALLOC_CTX mem_ctx,
uint32 *  num_domains,
char ***  names,
char ***  alt_names,
DOM_SID **  dom_sids 
) [static]

winbindd_reconnect.c278 行で定義されています。

参照先 msrpc_methodsresultwinbindd_methods::trusted_domains.

00284 {
00285         NTSTATUS result;
00286 
00287         result = msrpc_methods.trusted_domains(domain, mem_ctx,
00288                                                num_domains, names,
00289                                                alt_names, dom_sids);
00290 
00291         if (NT_STATUS_EQUAL(result, NT_STATUS_UNSUCCESSFUL))
00292                 result = msrpc_methods.trusted_domains(domain, mem_ctx,
00293                                                        num_domains, names,
00294                                                        alt_names, dom_sids);
00295 
00296         return result;
00297 }


変数

struct winbindd_methods msrpc_methods

winbindd_rpc.c1023 行で定義されています。

参照元 enum_dom_groups()enum_local_groups()lockout_policy()lookup_groupmem()lookup_useraliases()lookup_usergroups()name_to_sid()password_policy()query_user()query_user_list()rids_to_names()sequence_number()sid_to_name()trusted_domains().

struct winbindd_methods reconnect_methods

初期値:

winbindd_reconnect.c300 行で定義されています。


Sambaに対してSat Aug 29 21:23:58 2009に生成されました。  doxygen 1.4.7