diff options
Diffstat (limited to 'source3/include/smb.h')
-rw-r--r-- | source3/include/smb.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/source3/include/smb.h b/source3/include/smb.h index 8ffd55d10ab..50d8c080a3e 100644 --- a/source3/include/smb.h +++ b/source3/include/smb.h @@ -756,7 +756,7 @@ struct passdb_ops { /* * smb password database query functions. */ - struct smb_passwd *(*getsmbpwnam)(char *); + struct smb_passwd *(*getsmbpwnam)(const char *); struct smb_passwd *(*getsmbpwuid)(uid_t); struct smb_passwd *(*getsmbpwrid)(uint32); struct smb_passwd *(*getsmbpwent)(void *); @@ -775,7 +775,7 @@ struct passdb_ops { /* * sam password database query functions. */ - struct sam_passwd *(*getsam21pwnam)(char *); + struct sam_passwd *(*getsam21pwnam)(const char *); struct sam_passwd *(*getsam21pwuid)(uid_t); struct sam_passwd *(*getsam21pwrid)(uint32); @@ -788,7 +788,7 @@ struct passdb_ops { /* * sam query display info functions. */ - struct sam_disp_info *(*getsamdispnam)(char *); + struct sam_disp_info *(*getsamdispnam)(const char *); struct sam_disp_info *(*getsamdisprid)(uint32); struct sam_disp_info *(*getsamdispent)(void *); @@ -796,9 +796,9 @@ struct passdb_ops { /* * password checking functions */ - struct smb_passwd *(*smb_password_chal )(char *username, char lm_pass[24], char nt_pass[24], char chal[8]); - struct smb_passwd *(*smb_password_check )(char *username, char lm_hash[16], char nt_hash[16]); - struct passwd *(*unix_password_check)(char *username, char *pass, int pass_len); + struct smb_passwd *(*smb_password_chal )(const char *username, const char lm_pass[24], const char nt_pass[24], char chal[8]); + struct smb_passwd *(*smb_password_check )(const char *username, const char lm_hash[16], const char nt_hash[16]); + struct passwd *(*unix_password_check)(const char *username, const char *pass, int pass_len); #endif }; |