diff options
author | Jeremy Allison <jra@samba.org> | 1998-05-14 21:10:49 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 1998-05-14 21:10:49 +0000 |
commit | f8a4273407f2983bb05a76e914d4f532bbd5004e (patch) | |
tree | 5a6eb4e2394e08ba36873bed8f7e1790e395f316 /source3/include | |
parent | 109654575b3c68db3c5cea4e7701ada622f3f8cb (diff) | |
download | samba-f8a4273407f2983bb05a76e914d4f532bbd5004e.tar.gz samba-f8a4273407f2983bb05a76e914d4f532bbd5004e.tar.bz2 samba-f8a4273407f2983bb05a76e914d4f532bbd5004e.zip |
passdb.c
server.c: Moved generate_machine_sid() into passdb.c for Jean-Francois
(who might want an LDAP version). Changed locking to free exclusive
lock as soon as possible to prevent contention.
lib/rpc/parse/parse_samr.c
lib/rpc/server/srv_samr.c: Changed last SID-as-string manipulation
function to use DOM_SID structure.
Jeremy.
(This used to be commit 3b8f5aef57b4f37265c0403385053085f0df6f18)
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/proto.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index 70e10f1479..f448f4b9b3 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -570,7 +570,7 @@ void samr_io_q_unknown_8(char *desc, SAMR_Q_UNKNOWN_8 *q_u, prs_struct *ps, int void make_samr_q_unknown_3(SAMR_Q_UNKNOWN_3 *q_u, POLICY_HND *user_pol, uint16 switch_value); void samr_io_q_unknown_3(char *desc, SAMR_Q_UNKNOWN_3 *q_u, prs_struct *ps, int depth); -void make_dom_sid3(DOM_SID3 *sid3, uint16 unk_0, uint16 unk_1, char *sidstr); +void make_dom_sid3(DOM_SID3 *sid3, uint16 unk_0, uint16 unk_1, DOM_SID *sid); void sam_io_dom_sid3(char *desc, DOM_SID3 *sid3, prs_struct *ps, int depth); void make_sam_sid_stuff(SAM_SID_STUFF *stf, uint16 unknown_2, uint16 unknown_3, @@ -1585,6 +1585,7 @@ char *encode_acct_ctrl(uint16 acct_ctrl); uint16 decode_acct_ctrl(char *p); int gethexpwd(char *p, char *pwd); BOOL name_to_rid(char *user_name, uint32 *u_rid, uint32 *g_rid); +BOOL generate_machine_sid(void); uid_t user_rid_to_uid(uint32 u_rid); uid_t group_rid_to_uid(uint32 u_gid); uint32 uid_to_user_rid(uint32 uid); |