diff options
author | Andrew Bartlett <abartlet@samba.org> | 2011-07-26 13:43:33 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2011-08-03 18:48:04 +1000 |
commit | 1aced1e989a9fb052ee67e302e59df1113e6bd79 (patch) | |
tree | f8975bf00faa23f9735fdded6c658fcfd9bd6a51 /source3/lib/util_str.c | |
parent | 9a45bf39527d9c2dcd8d2debf214196100a3efce (diff) | |
download | samba-1aced1e989a9fb052ee67e302e59df1113e6bd79.tar.gz |
s3-auth remove sanitized_username from auth_serversupplied_info
This structure element was only written to, not read.
It is filled into the companion structure, auth_session_info()
by create_local_token().
Andrew Bartlett
Signed-off-by: Andrew Tridgell <tridge@samba.org>
Diffstat (limited to 'source3/lib/util_str.c')
-rw-r--r-- | source3/lib/util_str.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/source3/lib/util_str.c b/source3/lib/util_str.c index baa5a1f0464..8f4098651dc 100644 --- a/source3/lib/util_str.c +++ b/source3/lib/util_str.c @@ -1277,11 +1277,3 @@ char **str_list_make_v3(TALLOC_CTX *mem_ctx, const char *string, TALLOC_FREE(s); return list; } - -char *sanitize_username(TALLOC_CTX *mem_ctx, const char *username) -{ - fstring tmp; - - alpha_strcpy(tmp, username, ". _-$", sizeof(tmp)); - return talloc_strdup(mem_ctx, tmp); -} |