#include "includes.h"
#include "../lib/crypto/arcfour.h"
+#include "../libcli/security/security.h"
#undef DBGC_CLASS
#define DBGC_CLASS DBGC_AUTH
ok = sid_peek_check_rid(&domain_sid, group_sid,
&info3->base.primary_gid);
if (!ok) {
- DEBUG(1, ("The primary group sid domain does not"
- "match user sid domain for user: %s\n",
+ DEBUG(1, ("The primary group sid %s does not have the same domain portion as "
+ "user sid %s of user: %s\n",
+ dom_sid_string(info3, group_sid),
+ dom_sid_string(info3, user_sid),
pdb_get_username(samu)));
TALLOC_FREE(info3);
return NT_STATUS_UNSUCCESSFUL;