summaryrefslogtreecommitdiff
path: root/source3/utils/net_idmap.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2007-12-15 21:53:26 +0100
committerVolker Lendecke <vl@samba.org>2007-12-15 22:09:36 +0100
commit7b01537679d4d4f1408634fe63c64c144f9d9519 (patch)
tree0a2191050b3ca77f10c837ec318b8db31f131850 /source3/utils/net_idmap.c
parent54ae9dfcbce727ae3107f21eee68762502acda60 (diff)
downloadsamba-7b01537679d4d4f1408634fe63c64c144f9d9519.tar.gz
samba-7b01537679d4d4f1408634fe63c64c144f9d9519.tar.bz2
samba-7b01537679d4d4f1408634fe63c64c144f9d9519.zip
Replace sid_string_static with sid_string_tos
In utils/ I was a bit lazy... (This used to be commit 60e830b0f4571bd5d9039f2edd199534f2a4c341)
Diffstat (limited to 'source3/utils/net_idmap.c')
-rw-r--r--source3/utils/net_idmap.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/utils/net_idmap.c b/source3/utils/net_idmap.c
index 052566fa73..2a060d2f49 100644
--- a/source3/utils/net_idmap.c
+++ b/source3/utils/net_idmap.c
@@ -145,7 +145,8 @@ static int net_idmap_restore(int argc, const char **argv)
if (!winbind_set_mapping(&map)) {
d_fprintf(stderr, "Could not set mapping of %s %lu to sid %s\n",
(map.xid.type == ID_TYPE_GID) ? "GID" : "UID",
- (unsigned long)map.xid.id, sid_string_static(map.sid));
+ (unsigned long)map.xid.id,
+ sid_string_tos(map.sid));
continue;
}