diff options
author | Jan Zeleny <jzeleny@redhat.com> | 2012-05-23 05:52:22 -0400 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2012-05-31 15:46:27 -0400 |
commit | 0d492cf0d3bf44cac68e8606ac977da21f0628f6 (patch) | |
tree | c858f205eb57ce8c698c3aec3e00ade4928c864c /src | |
parent | 4696648c0fe4923b639d7b4876c464c04d87afbf (diff) | |
download | sssd-0d492cf0d3bf44cac68e8606ac977da21f0628f6.tar.gz sssd-0d492cf0d3bf44cac68e8606ac977da21f0628f6.tar.bz2 sssd-0d492cf0d3bf44cac68e8606ac977da21f0628f6.zip |
Ghost members - various small changes
Diffstat (limited to 'src')
-rw-r--r-- | src/providers/ldap/ldap_id_cleanup.c | 2 | ||||
-rw-r--r-- | src/responder/nss/nsssrv_cmd.c | 2 | ||||
-rw-r--r-- | src/tests/sysdb-tests.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/providers/ldap/ldap_id_cleanup.c b/src/providers/ldap/ldap_id_cleanup.c index 27a86b9f..3460b8cc 100644 --- a/src/providers/ldap/ldap_id_cleanup.c +++ b/src/providers/ldap/ldap_id_cleanup.c @@ -356,7 +356,7 @@ static int cleanup_users_logged_in(hash_table_t *table, uid = ldb_msg_find_attr_as_uint64(msg, SYSDB_UIDNUM, 0); if (!uid) { - DEBUG(2, ("Entry %s has no UID Attribute, fake user perhaps?\n", + DEBUG(SSSDBG_OP_FAILURE, ("Entry %s has no UID Attribute!\n", ldb_dn_get_linearized(msg->dn))); return ENOENT; } diff --git a/src/responder/nss/nsssrv_cmd.c b/src/responder/nss/nsssrv_cmd.c index fa6d81a6..9f286444 100644 --- a/src/responder/nss/nsssrv_cmd.c +++ b/src/responder/nss/nsssrv_cmd.c @@ -258,7 +258,7 @@ static int fill_pwent(struct sss_packet *packet, gid = get_gid_override(msg, dom); if (!orig_name || !uid || !gid) { - DEBUG(2, ("Incomplete or fake user object for %s[%llu]! Skipping\n", + DEBUG(SSSDBG_OP_FAILURE, ("Incomplete user object for %s[%llu]! Skipping\n", orig_name?orig_name:"<NULL>", (unsigned long long int)uid)); continue; } diff --git a/src/tests/sysdb-tests.c b/src/tests/sysdb-tests.c index 765a7b93..16b7234a 100644 --- a/src/tests/sysdb-tests.c +++ b/src/tests/sysdb-tests.c @@ -2865,7 +2865,7 @@ START_TEST(test_odd_characters) odd_username, 10000, 10000, "","",""); - fail_unless(ret == EOK, "sysdb_add_fake_user error [%d][%s]", + fail_unless(ret == EOK, "sysdb_add_basic_user error [%d][%s]", ret, strerror(ret)); /* Retrieve */ |