s3:passdb: improve a debug message in pdb_default_sid_to_id()
authorMichael Adam <obnox@samba.org>
Wed, 30 Apr 2014 10:14:46 +0000 (12:14 +0200)
committerAndrew Bartlett <abartlet@samba.org>
Sat, 3 May 2014 05:57:13 +0000 (07:57 +0200)
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source3/passdb/pdb_interface.c

index 20f38efe21b6a43b7699a92803d162cb1d767df6..e2057e3b3617b8b3b2521942c5e6d4adb190060b 100644 (file)
@@ -1519,7 +1519,10 @@ static bool pdb_default_sid_to_id(struct pdb_methods *methods,
                                id->id = uid;
                                break;
                        default:
-                               DEBUG(5, ("SID %s is our domain, but is not mapped to a user or group (got %d)\n",
+                               DEBUG(5, ("SID %s belongs to our domain, and "
+                                         "an object exists in the database, "
+                                          "but it is neither a user nor a "
+                                          "group (got type %d).\n",
                                          sid_string_dbg(sid), type));
                                ret = false;
                        }