summaryrefslogtreecommitdiff
path: root/source3/include/smb.h
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1998-11-25 23:11:25 +0000
committerLuke Leighton <lkcl@samba.org>1998-11-25 23:11:25 +0000
commit9a0cb06b240f3d772b53a6acc4804ccd9cbc4072 (patch)
tree4f1f45b3f1bb8d1165aef9312afc8fb355ae2ec9 /source3/include/smb.h
parentbfc38ff872446e0ad365c22327c779e72a81bef9 (diff)
downloadsamba-9a0cb06b240f3d772b53a6acc4804ccd9cbc4072.tar.gz
samba-9a0cb06b240f3d772b53a6acc4804ccd9cbc4072.tar.bz2
samba-9a0cb06b240f3d772b53a6acc4804ccd9cbc4072.zip
fixing group database issues
(This used to be commit 591c63e3e1e3201ddcd7582585b652fb848d80ca)
Diffstat (limited to 'source3/include/smb.h')
-rw-r--r--source3/include/smb.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/source3/include/smb.h b/source3/include/smb.h
index 8ffd55d10a..50d8c080a3 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
};