diff options
author | Nadezhda Ivanova <nadezhda.ivanova@postpath.com> | 2009-09-03 14:39:40 +0300 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2009-09-09 18:57:50 +1000 |
commit | 269fe99a62371fb9540d886f7cc619450c5b5c8d (patch) | |
tree | cca34fdf18826ed84e13088f1448fde1ec3f1307 /source4/auth/session.h | |
parent | 8640293fabb0fd0fe92b814411577dcdb449100d (diff) | |
download | samba-269fe99a62371fb9540d886f7cc619450c5b5c8d.tar.gz samba-269fe99a62371fb9540d886f7cc619450c5b5c8d.tar.bz2 samba-269fe99a62371fb9540d886f7cc619450c5b5c8d.zip |
Added "admin_session" method.
The purpose of admin_session is to be able to execute parts of provisioning
as the user Administrator in order to have the correct group and owner in the
security descriptors. To be used for provisioning and tests only.
Diffstat (limited to 'source4/auth/session.h')
-rw-r--r-- | source4/auth/session.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/auth/session.h b/source4/auth/session.h index 15570c4414..ca47af33f4 100644 --- a/source4/auth/session.h +++ b/source4/auth/session.h @@ -62,5 +62,9 @@ struct auth_session_info *anonymous_session(TALLOC_CTX *mem_ctx, struct tevent_context *event_ctx, struct loadparm_context *lp_ctx); +struct auth_session_info *admin_session(TALLOC_CTX *mem_ctx, + struct loadparm_context *lp_ctx, + struct dom_sid *domain_sid); + #endif /* _SAMBA_AUTH_SESSION_H */ |