diff options
author | Luke Leighton <lkcl@samba.org> | 1998-11-25 23:11:25 +0000 |
---|---|---|
committer | Luke Leighton <lkcl@samba.org> | 1998-11-25 23:11:25 +0000 |
commit | 9a0cb06b240f3d772b53a6acc4804ccd9cbc4072 (patch) | |
tree | 4f1f45b3f1bb8d1165aef9312afc8fb355ae2ec9 /source3/include/proto.h | |
parent | bfc38ff872446e0ad365c22327c779e72a81bef9 (diff) | |
download | samba-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/proto.h')
-rw-r--r-- | source3/include/proto.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index 100fdb7c94..a70c51f167 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -1277,21 +1277,21 @@ BOOL pass_check(char *user,char *password, int pwlen, struct passwd *pwd, BOOL initialise_password_db(void); struct smb_passwd *iterate_getsmbpwrid(uint32 user_rid); struct smb_passwd *iterate_getsmbpwuid(uid_t smb_userid); -struct smb_passwd *iterate_getsmbpwnam(char *name); +struct smb_passwd *iterate_getsmbpwnam(const char *name); void *startsmbpwent(BOOL update); void endsmbpwent(void *vp); struct smb_passwd *getsmbpwent(void *vp); BOOL add_smbpwd_entry(struct smb_passwd *newpwd); BOOL mod_smbpwd_entry(struct smb_passwd* pwd, BOOL override); -struct smb_passwd *getsmbpwnam(char *name); +struct smb_passwd *getsmbpwnam(const char *name); struct smb_passwd *getsmbpwrid(uint32 user_rid); struct smb_passwd *getsmbpwuid(uid_t smb_userid); -struct sam_passwd *iterate_getsam21pwnam(char *name); +struct sam_passwd *iterate_getsam21pwnam(const char *name); struct sam_passwd *iterate_getsam21pwrid(uint32 rid); struct sam_passwd *iterate_getsam21pwuid(uid_t uid); struct sam_disp_info *getsamdisprid(uint32 rid); struct sam_passwd *getsam21pwent(void *vp); -struct sam_passwd *getsam21pwnam(char *name); +struct sam_passwd *getsam21pwnam(const char *name); struct sam_passwd *getsam21pwrid(uint32 rid); void pwdb_init_smb(struct smb_passwd *user); void pwdb_init_sam(struct sam_passwd *user); @@ -1307,8 +1307,8 @@ void pwdb_set_kickoff_time(char *p, int max_len, time_t t); void pwdb_set_can_change_time(char *p, int max_len, time_t t); void pwdb_set_must_change_time(char *p, int max_len, time_t t); void pwdb_set_last_set_time(char *p, int max_len, time_t t); -void pwdb_sethexpwd(char *p, char *pwd, uint16 acct_ctrl); -BOOL pwdb_gethexpwd(char *p, char *pwd); +void pwdb_sethexpwd(char *p, const char *pwd, uint16 acct_ctrl); +BOOL pwdb_gethexpwd(const char *p, char *pwd); uid_t pwdb_user_rid_to_uid(uint32 user_rid); uint32 pwdb_uid_to_user_rid(uid_t uid); uint32 pwdb_gid_to_group_rid(gid_t gid); |