diff options
author | Matthew Chapman <matty@samba.org> | 2000-05-29 01:23:48 +0000 |
---|---|---|
committer | Matthew Chapman <matty@samba.org> | 2000-05-29 01:23:48 +0000 |
commit | badb7fc0d21267110e39287c897c0f956f43bb16 (patch) | |
tree | afcd48a971495347de458b5e5a4f8b7de67c5d6b /source3/include/proto.h | |
parent | 5b5f41d8e0e707bb4e1626f4406b2e46305a5183 (diff) | |
download | samba-badb7fc0d21267110e39287c897c0f956f43bb16.tar.gz samba-badb7fc0d21267110e39287c897c0f956f43bb16.tar.bz2 samba-badb7fc0d21267110e39287c897c0f956f43bb16.zip |
Fixed LsaQueryInformationPolicy level 3 to return primary domain info.
Domain SID is saved in secrets.tdb upon joining domain.
Added "Authenticated Users" and "SYSTEM" well-known SIDs (under
NT Authority).
(This used to be commit 7710b4f48d3e8532df5e37f99a779758f750efdb)
Diffstat (limited to 'source3/include/proto.h')
-rw-r--r-- | source3/include/proto.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index 7a95dd838e..83efdaf0df 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -1576,6 +1576,8 @@ BOOL secrets_init(void); void *secrets_fetch(char *key, size_t *size); BOOL secrets_store(char *key, void *data, size_t size); BOOL secrets_delete(char *key); +BOOL secrets_store_domain_sid(char *domain, DOM_SID *sid); +BOOL secrets_fetch_domain_sid(char *domain, DOM_SID *sid); /*The following definitions come from passdb/smbpass.c */ @@ -1711,6 +1713,7 @@ BOOL do_lsa_query_info_pol(struct cli_state *cli, POLICY_HND *hnd, uint16 info_class, fstring domain_name, DOM_SID *domain_sid); BOOL do_lsa_close(struct cli_state *cli, POLICY_HND *hnd); +BOOL cli_lsa_get_domain_sid(struct cli_state *cli, char *server); /*The following definitions come from rpc_client/cli_netlogon.c */ |