diff options
author | Simo Sorce <idra@samba.org> | 2009-01-08 10:43:26 -0500 |
---|---|---|
committer | Simo Sorce <idra@samba.org> | 2009-01-08 10:43:26 -0500 |
commit | 7122f66c144b1837e22adef519103cfd9808db62 (patch) | |
tree | da639d1000b84e3fc0bfe700a1d9126df38e1126 /server/providers/dp_backend_store.c | |
parent | 4aa8e6e7085f1498c80881db7f9a5cd2b70228f9 (diff) | |
download | sssd-7122f66c144b1837e22adef519103cfd9808db62.tar.gz sssd-7122f66c144b1837e22adef519103cfd9808db62.tar.bz2 sssd-7122f66c144b1837e22adef519103cfd9808db62.zip |
The code now successfully sends a getpwnam request to a remote LDAP server,
and caches the result in LDAP.
Still chasing a bug that does not let NSS known that the BE was successful.
This makes NSS timeout the client and not return any results yet.
Diffstat (limited to 'server/providers/dp_backend_store.c')
-rw-r--r-- | server/providers/dp_backend_store.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/providers/dp_backend_store.c b/server/providers/dp_backend_store.c index e518f438..9bccb218 100644 --- a/server/providers/dp_backend_store.c +++ b/server/providers/dp_backend_store.c @@ -71,7 +71,7 @@ int dp_be_store_account_posix(struct be_ctx *ctx, account_dn, LDB_SCOPE_BASE, "(objectClass=User)", attrs, NULL, res, ldb_search_default_callback, NULL); - if (!lret) { + if (lret != LDB_SUCCESS) { DEBUG(1, ("Failed to build search request (%d) !?\n", lret)); ret = EIO; goto done; |