[SCM] Samba Shared Repository - branch master updated
Volker Lendecke
vlendec at samba.org
Sun Nov 19 14:15:03 UTC 2017
The branch, master has been updated
via 88bdeca winbindd: tdb_exists returns 1 if a record is found
from 050ca45 winbind: Remove winbind_messaging_context
https://git.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit 88bdecae0a152d8c07859d437d02116d1f18087f
Author: Ralph Boehme <slow at samba.org>
Date: Sat Nov 18 15:14:15 2017 +0100
winbindd: tdb_exists returns 1 if a record is found
Signed-off-by: Ralph Boehme <slow at samba.org>
Reviewed-by: Volker Lendecke <vl at samba.org>
Autobuild-User(master): Volker Lendecke <vl at samba.org>
Autobuild-Date(master): Sun Nov 19 15:14:13 CET 2017 on sn-devel-144
-----------------------------------------------------------------------
Summary of changes:
source3/winbindd/winbindd_cache.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Changeset truncated at 500 lines:
diff --git a/source3/winbindd/winbindd_cache.c b/source3/winbindd/winbindd_cache.c
index 5022325..fbf4451 100644
--- a/source3/winbindd/winbindd_cache.c
+++ b/source3/winbindd/winbindd_cache.c
@@ -1270,7 +1270,7 @@ NTSTATUS wcache_cached_creds_exist(struct winbindd_domain *domain, const struct
fstr_sprintf(key_str, "CRED/%s", sid_to_fstring(tmp, sid));
ret = tdb_exists(cache->tdb, string_tdb_data(key_str));
- if (ret != 0) {
+ if (ret != 1) {
return NT_STATUS_OBJECT_NAME_NOT_FOUND;
}
--
Samba Shared Repository
More information about the samba-cvs
mailing list