diff options
author | Andrew Bartlett <abartlet@samba.org> | 2011-07-18 18:04:12 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2011-07-20 09:17:13 +1000 |
commit | 92f28e7fe99ce5f8f6106b163562c1e89c08234f (patch) | |
tree | 477f630344869726de785c69855a6fcd1082b878 /librpc/idl | |
parent | 9d96b78f31f5b9f470ca5be270f4976863d0b936 (diff) | |
download | samba-92f28e7fe99ce5f8f6106b163562c1e89c08234f.tar.gz samba-92f28e7fe99ce5f8f6106b163562c1e89c08234f.tar.bz2 samba-92f28e7fe99ce5f8f6106b163562c1e89c08234f.zip |
auth: use char * pointers in auth.idl
We need to use this, and not utf8string because we need to
transport NULL pointers correctly.
Andrew Bartlett
Signed-off-by: Andrew Tridgell <tridge@samba.org>
Diffstat (limited to 'librpc/idl')
-rw-r--r-- | librpc/idl/auth.idl | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/librpc/idl/auth.idl b/librpc/idl/auth.idl index 00a6a6673a..962383d175 100644 --- a/librpc/idl/auth.idl +++ b/librpc/idl/auth.idl @@ -27,15 +27,15 @@ interface auth /* This is the parts of the session_info that don't change * during local privilage and group manipulations */ typedef [public] struct { - utf8string account_name; - utf8string domain_name; + [unique,charset(UTF8),string] char *account_name; + [unique,charset(UTF8),string] char *domain_name; - utf8string full_name; - utf8string logon_script; - utf8string profile_path; - utf8string home_directory; - utf8string home_drive; - utf8string logon_server; + [unique,charset(UTF8),string] char *full_name; + [unique,charset(UTF8),string] char *logon_script; + [unique,charset(UTF8),string] char *profile_path; + [unique,charset(UTF8),string] char *home_directory; + [unique,charset(UTF8),string] char *home_drive; + [unique,charset(UTF8),string] char *logon_server; NTTIME last_logon; NTTIME last_logoff; @@ -68,7 +68,7 @@ interface auth boolean8 guest; boolean8 system; - utf8string unix_name; + [unique,charset(UTF8),string] char *unix_name; /* * For performance reasons we keep an alpha_strcpy-sanitized version @@ -77,7 +77,7 @@ interface auth * alpha_strcpy whenever we do a become_user(), potentially on every * smb request. See set_current_user_info in source3. */ - utf8string sanitized_username; + [unique,charset(UTF8),string] char *sanitized_username; } auth_user_info_unix; /* This is the interim product of the auth subsystem, before |