summaryrefslogtreecommitdiff
path: root/source3/passdb
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2004-03-31 15:21:48 +0000
committerVolker Lendecke <vlendec@samba.org>2004-03-31 15:21:48 +0000
commit95bd9b5ab0be48e5b1f94cc9f7285cf98121e64b (patch)
tree2d12c1a60e5e36e8f7c8e7100db20c6858b79fb3 /source3/passdb
parent9d1a4e80132b1bf3874a8ef0fd0ed2be81c7ab91 (diff)
downloadsamba-95bd9b5ab0be48e5b1f94cc9f7285cf98121e64b.tar.gz
samba-95bd9b5ab0be48e5b1f94cc9f7285cf98121e64b.tar.bz2
samba-95bd9b5ab0be48e5b1f94cc9f7285cf98121e64b.zip
Apply some const
(This used to be commit aa220cffa7b3507452ffed51c048333c7cde0ca2)
Diffstat (limited to 'source3/passdb')
-rw-r--r--source3/passdb/lookup_sid.c2
-rw-r--r--source3/passdb/passdb.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/passdb/lookup_sid.c b/source3/passdb/lookup_sid.c
index 83d2cd28ac..842db8de5d 100644
--- a/source3/passdb/lookup_sid.c
+++ b/source3/passdb/lookup_sid.c
@@ -66,7 +66,7 @@ BOOL lookup_name(const char *domain, const char *name, DOM_SID *psid, enum SID_N
Tries local lookup first - for local sids, then tries winbind.
*****************************************************************/
-BOOL lookup_sid(DOM_SID *sid, fstring dom_name, fstring name, enum SID_NAME_USE *name_type)
+BOOL lookup_sid(const DOM_SID *sid, fstring dom_name, fstring name, enum SID_NAME_USE *name_type)
{
if (!name_type)
return False;
diff --git a/source3/passdb/passdb.c b/source3/passdb/passdb.c
index 7c9376e045..04e41b7970 100644
--- a/source3/passdb/passdb.c
+++ b/source3/passdb/passdb.c
@@ -704,7 +704,7 @@ BOOL fallback_pdb_rid_is_user(uint32 rid)
Convert a rid into a name. Used in the lookup SID rpc.
********************************************************************/
-BOOL local_lookup_sid(DOM_SID *sid, char *name, enum SID_NAME_USE *psid_name_use)
+BOOL local_lookup_sid(const DOM_SID *sid, char *name, enum SID_NAME_USE *psid_name_use)
{
uint32 rid;
SAM_ACCOUNT *sam_account = NULL;