diff options
author | Volker Lendecke <vl@samba.org> | 2018-12-08 15:18:38 +0100 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2018-12-11 00:40:30 +0100 |
commit | 49f7dc01f239cd5900e1e2dcee9e9a7f5373990a (patch) | |
tree | fb58b929e0ea3360b523ce733f4dc33ec0e386c5 /lib/afs | |
parent | 302840173714420efeef219ebdf8bd13b850aaa4 (diff) | |
download | samba-49f7dc01f239cd5900e1e2dcee9e9a7f5373990a.tar.gz |
lib: Use dom_sid_str_buf
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'lib/afs')
-rw-r--r-- | lib/afs/afs_funcs.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/afs/afs_funcs.c b/lib/afs/afs_funcs.c index 8a3c90a47e5..66451665462 100644 --- a/lib/afs/afs_funcs.c +++ b/lib/afs/afs_funcs.c @@ -228,6 +228,7 @@ bool afs_login(connection_struct *conn) char *ticket_str = NULL; const struct dom_sid *user_sid; TALLOC_CTX *ctx = talloc_tos(); + struct dom_sid_buf buf; struct ClearToken ct; @@ -253,7 +254,7 @@ bool afs_login(connection_struct *conn) afs_username = talloc_string_sub(talloc_tos(), afs_username, "%s", - sid_string_tos(user_sid)); + dom_sid_str_buf(user_sid, &buf)); if (!afs_username) { return false; } |