diff options
author | Kai Blin <kai@samba.org> | 2009-04-22 18:10:12 +0200 |
---|---|---|
committer | Kai Blin <kai@samba.org> | 2010-02-11 23:56:35 +0100 |
commit | 86d70ae94425c34fcb7cc7791a6e54b1a47f21cc (patch) | |
tree | 95453018636abff6a4231b259f134b747241c049 /source4 | |
parent | 5d848053a7f62519beed6b5ac7fb0076ae8fa9e3 (diff) | |
download | samba-86d70ae94425c34fcb7cc7791a6e54b1a47f21cc.tar.gz samba-86d70ae94425c34fcb7cc7791a6e54b1a47f21cc.tar.bz2 samba-86d70ae94425c34fcb7cc7791a6e54b1a47f21cc.zip |
s4 idmap: Make the sid_to_xid and xid_to_sid calls static.
Looking at the winbind interface, we should only be using the bulk conversion calls.
Diffstat (limited to 'source4')
-rw-r--r-- | source4/winbind/idmap.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/source4/winbind/idmap.c b/source4/winbind/idmap.c index 153b5c363e..b37de8810b 100644 --- a/source4/winbind/idmap.c +++ b/source4/winbind/idmap.c @@ -199,8 +199,10 @@ struct idmap_context *idmap_init(TALLOC_CTX *mem_ctx, * possible or some other NTSTATUS that is more descriptive on failure. */ -NTSTATUS idmap_xid_to_sid(struct idmap_context *idmap_ctx, TALLOC_CTX *mem_ctx, - const struct unixid *unixid, struct dom_sid **sid) +static NTSTATUS idmap_xid_to_sid(struct idmap_context *idmap_ctx, + TALLOC_CTX *mem_ctx, + const struct unixid *unixid, + struct dom_sid **sid) { int ret; NTSTATUS status = NT_STATUS_NONE_MAPPED; @@ -289,8 +291,10 @@ failed: * a trusted domain and idmap trusted only = true, NT_STATUS_NONE_MAPPED if the * mapping failed. */ -NTSTATUS idmap_sid_to_xid(struct idmap_context *idmap_ctx, TALLOC_CTX *mem_ctx, - const struct dom_sid *sid, struct unixid **unixid) +static NTSTATUS idmap_sid_to_xid(struct idmap_context *idmap_ctx, + TALLOC_CTX *mem_ctx, + const struct dom_sid *sid, + struct unixid **unixid) { int ret; NTSTATUS status = NT_STATUS_NONE_MAPPED; |