diff options
author | Luke Leighton <lkcl@samba.org> | 1998-05-19 19:17:35 +0000 |
---|---|---|
committer | Luke Leighton <lkcl@samba.org> | 1998-05-19 19:17:35 +0000 |
commit | 48c7034c92452982167adc2c34049dea353c272c (patch) | |
tree | 20d58e8ecb8f39118c0405ed70087daa0ba0cdd9 /source3/include | |
parent | 0a36b8d8a959c18c670a7e41e3f5a728f3ea88c3 (diff) | |
download | samba-48c7034c92452982167adc2c34049dea353c272c.tar.gz samba-48c7034c92452982167adc2c34049dea353c272c.tar.xz samba-48c7034c92452982167adc2c34049dea353c272c.zip |
removed "default" system for password database api: all functions must
be supported. there are some stub routines in passdb.c which can be
copied into a password database api which do conversion. the module
writer can choose which of these to provide full support for instead
of using the conversion routines.
(This used to be commit d906ac5941fa22f93a38d65906b89a80f971b83c)
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/proto.h | 3 | ||||
-rw-r--r-- | source3/include/smb.h | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index 177a45c9c04..9256520efe2 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -1555,9 +1555,9 @@ BOOL pm_process( char *FileName, /*The following definitions come from passdb.c */ +BOOL initialize_password_db(void); struct smb_passwd *iterate_getsmbpwuid(uid_t smb_userid); struct smb_passwd *iterate_getsmbpwnam(char *name); -BOOL initialize_password_db(void); void *startsmbpwent(BOOL update); void endsmbpwent(void *vp); struct smb_passwd *getsmbpwent(void *vp); @@ -1570,6 +1570,7 @@ struct smb_passwd *getsmbpwuid(uid_t smb_userid); struct sam_passwd *iterate_getsam21pwnam(char *name); struct sam_passwd *iterate_getsam21pwrid(uint32 rid); struct sam_passwd *iterate_getsam21pwuid(uid_t uid); +struct sam_disp_info *getsamdispnam(char *name); struct sam_disp_info *getsamdisprid(uint32 rid); struct sam_disp_info *getsamdispent(void *vp); struct sam_passwd *getsam21pwent(void *vp); diff --git a/source3/include/smb.h b/source3/include/smb.h index 8687f618e42..cc0ce07495c 100644 --- a/source3/include/smb.h +++ b/source3/include/smb.h @@ -693,6 +693,7 @@ struct passdb_ops { /* * sam query display info functions. */ + struct sam_disp_info *(*getsamdispnam)(char *); struct sam_disp_info *(*getsamdisprid)(uint32); struct sam_disp_info *(*getsamdispent)(void *); }; |