diff options
author | Jeremy Allison <jra@samba.org> | 2003-07-07 17:04:48 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2003-07-07 17:04:48 +0000 |
commit | 436555aaa7fc1ba7459d25c2514c847cd127b13b (patch) | |
tree | 761c3aadfebdd3b5c9d08a7518860d67eb45ecbf /source3/passdb | |
parent | 5365869b683e696863eb27545dc4608edff3408a (diff) | |
download | samba-436555aaa7fc1ba7459d25c2514c847cd127b13b.tar.gz samba-436555aaa7fc1ba7459d25c2514c847cd127b13b.tar.bz2 samba-436555aaa7fc1ba7459d25c2514c847cd127b13b.zip |
Fixed a couple of const issues with the new code.
Jeremy.
(This used to be commit e9fb6e45086a6170b6f6d5d3295398708ab1af58)
Diffstat (limited to 'source3/passdb')
-rw-r--r-- | source3/passdb/passdb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/passdb/passdb.c b/source3/passdb/passdb.c index 4c50b05107..2a903deff0 100644 --- a/source3/passdb/passdb.c +++ b/source3/passdb/passdb.c @@ -1080,7 +1080,7 @@ DOM_SID *local_uid_to_sid(DOM_SID *psid, uid_t uid) Convert a SID to uid - locally. ****************************************************************************/ -BOOL local_sid_to_uid(uid_t *puid, DOM_SID *psid, enum SID_NAME_USE *name_type) +BOOL local_sid_to_uid(uid_t *puid, const DOM_SID *psid, enum SID_NAME_USE *name_type) { DOM_SID dom_sid; uint32 rid; @@ -1177,7 +1177,7 @@ DOM_SID *local_gid_to_sid(DOM_SID *psid, gid_t gid) Convert a SID to gid - locally. ****************************************************************************/ -BOOL local_sid_to_gid(gid_t *pgid, DOM_SID *psid, enum SID_NAME_USE *name_type) +BOOL local_sid_to_gid(gid_t *pgid, const DOM_SID *psid, enum SID_NAME_USE *name_type) { DOM_SID dom_sid; uint32 rid; |