summaryrefslogtreecommitdiff
path: root/source3/winbindd/idmap_util.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/winbindd/idmap_util.c')
-rw-r--r--source3/winbindd/idmap_util.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/source3/winbindd/idmap_util.c b/source3/winbindd/idmap_util.c
index 08857ab839a..fd7e6ed6a6f 100644
--- a/source3/winbindd/idmap_util.c
+++ b/source3/winbindd/idmap_util.c
@@ -34,14 +34,13 @@
If mapping is not possible returns an error.
*****************************************************************/
-NTSTATUS idmap_uid_to_sid(const char *domname, struct dom_sid *sid, uid_t uid)
+NTSTATUS idmap_uid_to_sid(struct dom_sid *sid, uid_t uid)
{
NTSTATUS ret;
struct id_map map;
bool expired;
- DEBUG(10,("idmap_uid_to_sid: uid = [%lu], domain = '%s'\n",
- (unsigned long)uid, domname?domname:"NULL"));
+ DEBUG(10, ("idmap_uid_to_sid: uid = [%lu]\n", (unsigned long)uid));
if (winbindd_use_idmap_cache()
&& idmap_cache_find_uid2sid(uid, sid, &expired)) {