diff options
author | Volker Lendecke <vl@samba.org> | 2009-08-01 10:38:13 -0400 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2009-08-03 22:48:45 +0200 |
commit | 7180ae0b8e866d99de6827841970f16486eec7cd (patch) | |
tree | 2b1c343e67775f3c5afa85f0dcdff73749152a44 /source3/include | |
parent | 3d15d044a9cc998238c8f4e07094fedb3f9215fe (diff) | |
download | samba-7180ae0b8e866d99de6827841970f16486eec7cd.tar.gz samba-7180ae0b8e866d99de6827841970f16486eec7cd.tar.bz2 samba-7180ae0b8e866d99de6827841970f16486eec7cd.zip |
Add some const to winbind_userinfo
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/nss_info.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/source3/include/nss_info.h b/source3/include/nss_info.h index 0224be099f..90d992a3b9 100644 --- a/source3/include/nss_info.h +++ b/source3/include/nss_info.h @@ -65,7 +65,8 @@ struct nss_info_methods { const DOM_SID *sid, TALLOC_CTX *ctx, ADS_STRUCT *ads, LDAPMessage *msg, - char **homedir, char **shell, char **gecos, gid_t *p_gid); + const char **homedir, const char **shell, + const char **gecos, gid_t *p_gid); NTSTATUS (*map_to_alias)(TALLOC_CTX *mem_ctx, struct nss_domain_entry *e, const char *name, char **alias); @@ -85,10 +86,10 @@ NTSTATUS smb_register_idmap_nss(int version, NTSTATUS nss_init( const char **nss_list ); NTSTATUS nss_get_info( const char *domain, const DOM_SID *user_sid, - TALLOC_CTX *ctx, + TALLOC_CTX *ctx, ADS_STRUCT *ads, LDAPMessage *msg, - char **homedir, char **shell, char **gecos, - gid_t *p_gid); + const char **homedir, const char **shell, + const char **gecos, gid_t *p_gid); NTSTATUS nss_map_to_alias( TALLOC_CTX *mem_ctx, const char *domain, const char *name, char **alias ); |