summaryrefslogtreecommitdiff
path: root/source3/sam/idmap_tdb.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2003-06-27 20:55:48 +0000
committerJeremy Allison <jra@samba.org>2003-06-27 20:55:48 +0000
commit0e983b32fd309de24b923a5c4928635c6c03e89f (patch)
tree6630f255098fd23e0b0b39f6410f86bb7c682077 /source3/sam/idmap_tdb.c
parent8d31403fe831684daaa45d2784c36ab14e3a822a (diff)
downloadsamba-0e983b32fd309de24b923a5c4928635c6c03e89f.tar.gz
samba-0e983b32fd309de24b923a5c4928635c6c03e89f.tar.bz2
samba-0e983b32fd309de24b923a5c4928635c6c03e89f.zip
Some const correctness. Stop tdb being used as a remote backend. If an
idmap backend is specified cause smbd to ask winbindd (use winbindd if you want a consistant remote backend solution). Should work well enough for next beta now... Jeremy. (This used to be commit 8f830c509af5976d988a30f0b0aee4ec61dd97a3)
Diffstat (limited to 'source3/sam/idmap_tdb.c')
-rw-r--r--source3/sam/idmap_tdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/sam/idmap_tdb.c b/source3/sam/idmap_tdb.c
index c30443f6da..18a082cb84 100644
--- a/source3/sam/idmap_tdb.c
+++ b/source3/sam/idmap_tdb.c
@@ -393,7 +393,7 @@ static NTSTATUS db_set_mapping(const DOM_SID *sid, unid_t id, int id_type)
/* Lock the record for this SID. */
if (tdb_chainlock(idmap_tdb, ksid) != 0) {
- DEBUG(10,("db_get_id_from_sid: failed to lock record %s. Error %s\n",
+ DEBUG(10,("db_set_mapping: failed to lock record %s. Error %s\n",
ksidstr, tdb_errorstr(idmap_tdb) ));
return NT_STATUS_UNSUCCESSFUL;
}