summaryrefslogtreecommitdiff
path: root/source3/winbindd/winbindd.h
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-08-01 10:38:13 -0400
committerVolker Lendecke <vl@samba.org>2009-08-03 22:48:45 +0200
commit7180ae0b8e866d99de6827841970f16486eec7cd (patch)
tree2b1c343e67775f3c5afa85f0dcdff73749152a44 /source3/winbindd/winbindd.h
parent3d15d044a9cc998238c8f4e07094fedb3f9215fe (diff)
downloadsamba-7180ae0b8e866d99de6827841970f16486eec7cd.tar.gz
samba-7180ae0b8e866d99de6827841970f16486eec7cd.tar.bz2
samba-7180ae0b8e866d99de6827841970f16486eec7cd.zip
Add some const to winbind_userinfo
Diffstat (limited to 'source3/winbindd/winbindd.h')
-rw-r--r--source3/winbindd/winbindd.h10
1 files changed, 5 insertions, 5 deletions
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 */