summaryrefslogtreecommitdiffstats
path: root/server/db
diff options
context:
space:
mode:
Diffstat (limited to 'server/db')
-rw-r--r--server/db/sysdb.h2
-rw-r--r--server/db/sysdb_req.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/server/db/sysdb.h b/server/db/sysdb.h
index c87b0b4ee..f59b56c1d 100644
--- a/server/db/sysdb.h
+++ b/server/db/sysdb.h
@@ -81,7 +81,7 @@
#define SYSDB_INITGR_LEGACY_FILTER "(&(objectclass="SYSDB_GROUP_CLASS")("SYSDB_LEGACY_MEMBER"=%s))"
-#define SYSDB_GETCACHED_FILTER "(&(objectclass="SYSDB_USER_CLASS")("SYSDB_USER_ATTR_LAST_LOGIN">=%llu))"
+#define SYSDB_GETCACHED_FILTER "(&(objectclass="SYSDB_USER_CLASS")("SYSDB_USER_ATTR_LAST_LOGIN">=%lu))"
#define SYSDB_PW_ATTRS {SYSDB_NAME, SYSDB_UIDNUM, \
SYSDB_GIDNUM, SYSDB_FULLNAME, \
diff --git a/server/db/sysdb_req.c b/server/db/sysdb_req.c
index 161431cc9..15d8aa851 100644
--- a/server/db/sysdb_req.c
+++ b/server/db/sysdb_req.c
@@ -174,7 +174,7 @@ static void sysdb_transaction_end(struct sysdb_req *req)
DEBUG(1, ("Failed to commit ldb transaction! (%d)\n", ret));
}
} else {
- DEBUG(4, ("Canceling transaction (%d[%s)\n",
+ DEBUG(4, ("Canceling transaction (%d[%s])\n",
req->status, strerror(req->status)));
ret = ldb_transaction_cancel(req->ctx->ldb);
if (ret != LDB_SUCCESS) {