diff options
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; } |