s3-auth Use security_token_debug() from common code
[ira/wip.git] / source3 / rpc_server / srv_wkssvc_nt.c
index ee2b419696c2c37a3ca267182111830c943a2bc5..000b605913d7099e61dfd221eb652150b7660b11 100644 (file)
@@ -359,7 +359,7 @@ WERROR _wkssvc_NetWkstaGetInfo(struct pipes_struct *p,
                                    "Users %s:\n",
                                    sid_string_dbg(
                                            &global_sid_Authenticated_Users)));
-                       debug_nt_user_token(DBGC_CLASS, 3,
+                       security_token_debug(DBGC_CLASS, 3,
                                            p->server_info->ptok);
                        return WERR_ACCESS_DENIED;
                }
@@ -377,7 +377,7 @@ WERROR _wkssvc_NetWkstaGetInfo(struct pipes_struct *p,
                        DEBUGADD(3,(" - does not have sid for Administrators "
                                    "group %s, sids are:\n",
                                    sid_string_dbg(&global_sid_Builtin_Administrators)));
-                       debug_nt_user_token(DBGC_CLASS, 3,
+                       security_token_debug(DBGC_CLASS, 3,
                                            p->server_info->ptok);
                        return WERR_ACCESS_DENIED;
                }
@@ -562,7 +562,7 @@ WERROR _wkssvc_NetWkstaEnumUsers(struct pipes_struct *p,
                DEBUGADD(3,(" - does not have sid for Administrators group "
                            "%s\n", sid_string_dbg(
                                    &global_sid_Builtin_Administrators)));
-               debug_nt_user_token(DBGC_CLASS, 3, p->server_info->ptok);
+               security_token_debug(DBGC_CLASS, 3, p->server_info->ptok);
                return WERR_ACCESS_DENIED;
        }