diff options
author | Simo Sorce <idra@samba.org> | 2003-04-17 14:25:52 +0000 |
---|---|---|
committer | Simo Sorce <idra@samba.org> | 2003-04-17 14:25:52 +0000 |
commit | 491aa2bfde1010709e61807a62d5a77b54a6179f (patch) | |
tree | bdc53bb5a3c8fd41a714d1748063ef144958e716 /source3/sam/idmap_tdb.c | |
parent | 800f68d2fbba2cc1727329c5c026e5a8165b9fd0 (diff) | |
download | samba-491aa2bfde1010709e61807a62d5a77b54a6179f.tar.gz samba-491aa2bfde1010709e61807a62d5a77b54a6179f.tar.bz2 samba-491aa2bfde1010709e61807a62d5a77b54a6179f.zip |
seem that someone changed the semanthic of unix_strlower without fixing all
places where it was used, this caused me segfaults in the last week :(
add more debugging in idmap to chase down a problem
(This used to be commit 6393105bda12fb3f6211e4f0128aabf588431b49)
Diffstat (limited to 'source3/sam/idmap_tdb.c')
-rw-r--r-- | source3/sam/idmap_tdb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/sam/idmap_tdb.c b/source3/sam/idmap_tdb.c index 7080ac56e6..c494cf595f 100644 --- a/source3/sam/idmap_tdb.c +++ b/source3/sam/idmap_tdb.c @@ -236,11 +236,11 @@ static NTSTATUS db_set_mapping(DOM_SID *sid, unid_t id, int id_type) kid.dsize = strlen(kidstr) + 1; if (tdb_store(idmap_tdb, ksid, kid, TDB_INSERT) == -1) { - DEBUG(0, ("idb_set_mapping: tdb_store 1 error: %s", tdb_errorstr(idmap_tdb))); + DEBUG(0, ("idb_set_mapping: tdb_store 1 error: %s\n", tdb_errorstr(idmap_tdb))); return NT_STATUS_UNSUCCESSFUL; } if (tdb_store(idmap_tdb, kid, ksid, TDB_INSERT) == -1) { - DEBUG(0, ("idb_set_mapping: tdb_store 2 error: %s", tdb_errorstr(idmap_tdb))); + DEBUG(0, ("idb_set_mapping: tdb_store 2 error: %s\n", tdb_errorstr(idmap_tdb))); return NT_STATUS_UNSUCCESSFUL; } return NT_STATUS_OK; |