diff options
author | Simo Sorce <idra@samba.org> | 2003-10-06 01:24:48 +0000 |
---|---|---|
committer | Simo Sorce <idra@samba.org> | 2003-10-06 01:24:48 +0000 |
commit | 762e7e1dff89cc14b0130fc9a22038b0845630a2 (patch) | |
tree | ed8c7bd3664a7df46685260a3c94933c85c350b6 /source3/passdb/pdb_get_set.c | |
parent | 9cfd26141cf9530f27e673bfae119d9879894dd4 (diff) | |
download | samba-762e7e1dff89cc14b0130fc9a22038b0845630a2.tar.gz samba-762e7e1dff89cc14b0130fc9a22038b0845630a2.tar.bz2 samba-762e7e1dff89cc14b0130fc9a22038b0845630a2.zip |
split some security related functions in their own files.
(no need to include all of smbd files to use some basic sec functions)
also minor compile fixes
(This used to be commit 66074d3b097d8cf2a231bf08c7f4db62da68189d)
Diffstat (limited to 'source3/passdb/pdb_get_set.c')
-rw-r--r-- | source3/passdb/pdb_get_set.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/passdb/pdb_get_set.c b/source3/passdb/pdb_get_set.c index 9c2b7e4c70..46c49be8b1 100644 --- a/source3/passdb/pdb_get_set.c +++ b/source3/passdb/pdb_get_set.c @@ -509,7 +509,7 @@ BOOL pdb_set_init_flags (SAM_ACCOUNT *sampass, enum pdb_elements element, enum p return True; } -BOOL pdb_set_user_sid (SAM_ACCOUNT *sampass, DOM_SID *u_sid, enum pdb_value_state flag) +BOOL pdb_set_user_sid (SAM_ACCOUNT *sampass, const DOM_SID *u_sid, enum pdb_value_state flag) { if (!sampass || !u_sid) return False; @@ -545,7 +545,7 @@ BOOL pdb_set_user_sid_from_string (SAM_ACCOUNT *sampass, fstring u_sid, enum pdb return True; } -BOOL pdb_set_group_sid (SAM_ACCOUNT *sampass, DOM_SID *g_sid, enum pdb_value_state flag) +BOOL pdb_set_group_sid (SAM_ACCOUNT *sampass, const DOM_SID *g_sid, enum pdb_value_state flag) { if (!sampass || !g_sid) return False; |