summaryrefslogtreecommitdiff
path: root/source3/groupdb
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2018-12-11 13:56:03 +0100
committerAndrew Bartlett <abartlet@samba.org>2018-12-20 23:40:24 +0100
commit09efea3cb6395c99a8818ff75837e556e6fc8fa4 (patch)
treeb9152a21ed90182c3653e8c9caa868f3acd37940 /source3/groupdb
parent534620d160f1a481ac2146b479e2d327f7676a09 (diff)
downloadsamba-09efea3cb6395c99a8818ff75837e556e6fc8fa4.tar.gz
groupdb: Use dom_sid_str_buf
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
Diffstat (limited to 'source3/groupdb')
-rw-r--r--source3/groupdb/mapping.c3
-rw-r--r--source3/groupdb/mapping_tdb.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/source3/groupdb/mapping.c b/source3/groupdb/mapping.c
index dd04bef9487..43722e777d4 100644
--- a/source3/groupdb/mapping.c
+++ b/source3/groupdb/mapping.c
@@ -606,8 +606,9 @@ NTSTATUS pdb_default_get_aliasinfo(struct pdb_methods *methods,
if ((map->sid_name_use != SID_NAME_ALIAS) &&
(map->sid_name_use != SID_NAME_WKN_GRP)) {
+ struct dom_sid_buf buf;
DEBUG(2, ("%s is a %s, expected an alias\n",
- sid_string_dbg(sid),
+ dom_sid_str_buf(sid, &buf),
sid_type_lookup(map->sid_name_use)));
status = NT_STATUS_NO_SUCH_ALIAS;
goto done;
diff --git a/source3/groupdb/mapping_tdb.c b/source3/groupdb/mapping_tdb.c
index 41b56be5ca3..d6a06ef199b 100644
--- a/source3/groupdb/mapping_tdb.c
+++ b/source3/groupdb/mapping_tdb.c
@@ -398,8 +398,9 @@ static int collect_map(struct db_record *rec, void *private_data)
if ((state->domsid != NULL) &&
(dom_sid_compare_domain(state->domsid, &map->sid) != 0)) {
+ struct dom_sid_buf buf;
DEBUG(11,("enum_group_mapping: group %s is not in domain\n",
- sid_string_dbg(&map->sid)));
+ dom_sid_str_buf(&map->sid, &buf)));
TALLOC_FREE(map);
return 0;
}