diff options
author | Volker Lendecke <vl@samba.org> | 2007-12-15 21:10:58 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2007-12-15 22:09:35 +0100 |
commit | 105635e23c5c77c5efed727bbc686650406ab82e (patch) | |
tree | 694d5f9b7599dd208b74331652f59497d8716ff0 /source3/auth | |
parent | 2cb7f5f632fc3c30c0afa57d1c99f506885f113a (diff) | |
download | samba-105635e23c5c77c5efed727bbc686650406ab82e.tar.gz samba-105635e23c5c77c5efed727bbc686650406ab82e.tar.bz2 samba-105635e23c5c77c5efed727bbc686650406ab82e.zip |
Use sid_string_talloc where we have a tmp talloc ctx
(This used to be commit f00ab810d2540679bec109498ac89e1eafe18f03)
Diffstat (limited to 'source3/auth')
-rw-r--r-- | source3/auth/auth_util.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/auth/auth_util.c b/source3/auth/auth_util.c index c0a9e9bc84..0d4caecb2d 100644 --- a/source3/auth/auth_util.c +++ b/source3/auth/auth_util.c @@ -586,12 +586,12 @@ static NTSTATUS log_nt_token(TALLOC_CTX *tmp_ctx, NT_USER_TOKEN *token) for (i=1; i<token->num_sids; i++) { group_sidstr = talloc_asprintf( tmp_ctx, "%s %s", group_sidstr, - sid_string_static(&token->user_sids[i])); + sid_string_talloc(tmp_ctx, &token->user_sids[i])); } command = talloc_string_sub( tmp_ctx, lp_log_nt_token_command(), - "%s", sid_string_static(&token->user_sids[0])); + "%s", sid_string_talloc(tmp_ctx, &token->user_sids[0])); command = talloc_string_sub(tmp_ctx, command, "%t", group_sidstr); if (command == NULL) { |