From 92f28e7fe99ce5f8f6106b163562c1e89c08234f Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Mon, 18 Jul 2011 18:04:12 +1000 Subject: 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 --- librpc/idl/auth.idl | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'librpc') 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 -- cgit