diff options
author | Andreas Schneider <asn@samba.org> | 2010-06-17 16:25:07 +0200 |
---|---|---|
committer | Andreas Schneider <asn@samba.org> | 2010-07-05 15:59:11 +0200 |
commit | 506dc899b26eea7b3115748b6311e8a07fb16909 (patch) | |
tree | e7c3e65fa8a1373d2fc509bcaf63eb08d15668a3 /source3/winbindd/winbindd_rpc.h | |
parent | 22c9ced11952bc61c0f074103b5ca9a312f53c70 (diff) | |
download | samba-506dc899b26eea7b3115748b6311e8a07fb16909.tar.gz samba-506dc899b26eea7b3115748b6311e8a07fb16909.tar.bz2 samba-506dc899b26eea7b3115748b6311e8a07fb16909.zip |
s3-winbind: Added a common rpc_sid_to_name function.
Diffstat (limited to 'source3/winbindd/winbindd_rpc.h')
-rw-r--r-- | source3/winbindd/winbindd_rpc.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/source3/winbindd/winbindd_rpc.h b/source3/winbindd/winbindd_rpc.h index 99006d4655..e0658a3505 100644 --- a/source3/winbindd/winbindd_rpc.h +++ b/source3/winbindd/winbindd_rpc.h @@ -57,4 +57,14 @@ NTSTATUS rpc_name_to_sid(TALLOC_CTX *mem_ctx, struct dom_sid *psid, enum lsa_SidType *ptype); +/* Convert a domain SID to a user or group name */ +NTSTATUS rpc_sid_to_name(TALLOC_CTX *mem_ctx, + struct rpc_pipe_client *lsa_pipe, + struct policy_handle *lsa_policy, + struct winbindd_domain *domain, + const struct dom_sid *sid, + char **pdomain_name, + char **pname, + enum lsa_SidType *ptype); + #endif /* _WINBINDD_RPC_H_ */ |