summaryrefslogtreecommitdiffstats
path: root/source/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
commit591c63e3e1e3201ddcd7582585b652fb848d80ca (patch)
tree83714fb5e10f5c1490cf3ab707f1cb9a9cf15392 /source/include/smb.h
parent6acb4b68f68d516e2ac3c47e500f5600d653435e (diff)
downloadsamba-591c63e3e1e3201ddcd7582585b652fb848d80ca.tar.gz
samba-591c63e3e1e3201ddcd7582585b652fb848d80ca.tar.xz
samba-591c63e3e1e3201ddcd7582585b652fb848d80ca.zip
fixing group database issues
Diffstat (limited to 'source/include/smb.h')
-rw-r--r--source/include/smb.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/source/include/smb.h b/source/include/smb.h
index 8ffd55d10ab..50d8c080a3e 100644
--- a/source/include/smb.h
+++ b/source/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
};