Removed some debugs.
authorTim Potter <tpot@samba.org>
Thu, 15 Jun 2000 02:26:54 +0000 (02:26 +0000)
committerTim Potter <tpot@samba.org>
Thu, 15 Jun 2000 02:26:54 +0000 (02:26 +0000)
(This used to be commit 6faa963b232b4c4d883c1b346c73b2f2b6da6370)

source3/rpc_server/srv_lsa.c

index 047c02eb3e1a6b5cbd9b6514dfe885f3218b0cf1..f132e4b39b1aae36e65dfbf3a9bebd1e057813d8 100644 (file)
@@ -296,29 +296,17 @@ static BOOL winbind_lookup_sid(DOM_SID *sid, fstring dom_name, fstring name,
        /* Check if this is our own sid.  This should perhaps be done by
           winbind?  For the moment handle it here. */
 
-       sid_to_string(sid_str, sid);
-       DEBUG(0, ("*** looking up sid %s\n", sid_str));
-
        if (sid->num_auths == 5) {
                sid_copy(&tmp_sid, sid);
                sid_split_rid(&tmp_sid, &rid);
 
                if (sid_equal(&global_sam_sid, &tmp_sid)) {
 
-               sid_to_string(sid_str, &tmp_sid);
-               DEBUG(0, ("*** split up sid %s with rid %d\n", sid_str,
-                         rid));
-
-               sid_to_string(sid_str, &global_sam_sid);
-               DEBUG(0, ("*** my sid is %s\n", sid_str));
-                     
                return map_domain_sid_to_name(&tmp_sid, dom_name) &&
                        lookup_local_rid(rid, name, name_type);
                }
        }
 
-       DEBUG(0, ("*** calling winbindd\n"));
-
        /* Initialise request */
 
        ZERO_STRUCT(request);