From 7180ae0b8e866d99de6827841970f16486eec7cd Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sat, 1 Aug 2009 10:38:13 -0400 Subject: Add some const to winbind_userinfo --- source3/winbindd/winbindd.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'source3/winbindd/winbindd.h') diff --git a/source3/winbindd/winbindd.h b/source3/winbindd/winbindd.h index 64fb8851df..8f0db44617 100644 --- a/source3/winbindd/winbindd.h +++ b/source3/winbindd/winbindd.h @@ -91,11 +91,11 @@ struct getpwent_user { /* Server state structure */ -typedef struct { - char *acct_name; - char *full_name; - char *homedir; - char *shell; +typedef struct winbind_userinfo { + const char *acct_name; + const char *full_name; + const char *homedir; + const char *shell; gid_t primary_gid; /* allow the nss_info backend to set the primary group */ DOM_SID user_sid; /* NT user and primary group SIDs */ -- cgit