Changeset 165 for branches/samba-3.0/source/nsswitch/winbindd_rpc.c
- Timestamp:
- Mar 11, 2009, 9:14:55 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/samba-3.0/source/nsswitch/winbindd_rpc.c
r71 r165 236 236 237 237 /* convert a single name to a sid in a domain */ 238 NTSTATUS msrpc_name_to_sid(struct winbindd_domain *domain,239 240 241 242 243 238 static NTSTATUS msrpc_name_to_sid(struct winbindd_domain *domain, 239 TALLOC_CTX *mem_ctx, 240 const char *domain_name, 241 const char *name, 242 DOM_SID *sid, 243 enum lsa_SidType *type) 244 244 { 245 245 NTSTATUS result; … … 287 287 convert a domain SID to a user or group name 288 288 */ 289 NTSTATUS msrpc_sid_to_name(struct winbindd_domain *domain,290 291 292 293 294 289 static NTSTATUS msrpc_sid_to_name(struct winbindd_domain *domain, 290 TALLOC_CTX *mem_ctx, 291 const DOM_SID *sid, 292 char **domain_name, 293 char **name, 294 enum lsa_SidType *type) 295 295 { 296 296 char **domains; … … 323 323 } 324 324 325 NTSTATUS msrpc_rids_to_names(struct winbindd_domain *domain,326 327 328 329 330 331 332 325 static NTSTATUS msrpc_rids_to_names(struct winbindd_domain *domain, 326 TALLOC_CTX *mem_ctx, 327 const DOM_SID *sid, 328 uint32 *rids, 329 size_t num_rids, 330 char **domain_name, 331 char ***names, 332 enum lsa_SidType **types) 333 333 { 334 334 char **domains; … … 531 531 } 532 532 533 NTSTATUS msrpc_lookup_useraliases(struct winbindd_domain *domain, 534 TALLOC_CTX *mem_ctx, 535 uint32 num_sids, const DOM_SID *sids, 536 uint32 *num_aliases, uint32 **alias_rids) 533 static NTSTATUS msrpc_lookup_useraliases(struct winbindd_domain *domain, 534 TALLOC_CTX *mem_ctx, 535 uint32 num_sids, const DOM_SID *sids, 536 uint32 *num_aliases, 537 uint32 **alias_rids) 537 538 { 538 539 NTSTATUS result = NT_STATUS_UNSUCCESSFUL; … … 956 957 957 958 /* find the lockout policy for a domain */ 958 NTSTATUS msrpc_lockout_policy(struct winbindd_domain *domain,959 960 959 static NTSTATUS msrpc_lockout_policy(struct winbindd_domain *domain, 960 TALLOC_CTX *mem_ctx, 961 SAM_UNK_INFO_12 *lockout_policy) 961 962 { 962 963 NTSTATUS result; … … 988 989 989 990 /* find the password policy for a domain */ 990 NTSTATUS msrpc_password_policy(struct winbindd_domain *domain,991 992 991 static NTSTATUS msrpc_password_policy(struct winbindd_domain *domain, 992 TALLOC_CTX *mem_ctx, 993 SAM_UNK_INFO_1 *password_policy) 993 994 { 994 995 NTSTATUS result;
Note:
See TracChangeset
for help on using the changeset viewer.