diff options
author | Luke Leighton <lkcl@samba.org> | 1998-05-18 15:50:56 +0000 |
---|---|---|
committer | Luke Leighton <lkcl@samba.org> | 1998-05-18 15:50:56 +0000 |
commit | cffaf886da8b0970acb670b58b64d5145122aab1 (patch) | |
tree | cfe382f83b3b8e0889572ee611a1832ef1d83429 /source3/include | |
parent | 4d63fdc430ff9ff6cd141280c024e83f41bd6744 (diff) | |
download | samba-cffaf886da8b0970acb670b58b64d5145122aab1.tar.gz samba-cffaf886da8b0970acb670b58b64d5145122aab1.tar.bz2 samba-cffaf886da8b0970acb670b58b64d5145122aab1.zip |
removed references to some of the smb_passwd routines from ldap and nis+
code, use pdb_sam_to_smb(...sam21...) calls instead. this is a lot simpler.
(This used to be commit d92f4e71c12ce5010f05fa7dd3918a48e7386d1e)
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/proto.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index 4ef785357c..6f1f9e038c 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -1216,15 +1216,12 @@ BOOL resolve_name(char *name, struct in_addr *return_ip); void *startnisppwent(BOOL update); void endnisppwent(void *vp); struct sam_passwd *getnisp21pwent(void *vp); -struct smb_passwd *getnisppwent(void *vp); unsigned long getnisppwpos(void *vp); BOOL setnisppwpos(void *vp, unsigned long tok); BOOL add_nisp21pwd_entry(struct sam_passwd *newpwd); -BOOL add_nisppwd_entry(struct smb_passwd *newpwd); BOOL mod_nisp21pwd_entry(struct sam_passwd* pwd, BOOL override); -BOOL mod_nisppwd_entry(struct smb_passwd* pwd, BOOL override); -struct smb_passwd *getnisppwnam(char *name); -struct smb_passwd *getnisppwuid(int smb_userid); +struct sam_passwd *getnisp21pwnam(char *name); +struct sam_passwd *getnisp21pwuid(int smb_userid); /*The following definitions come from nmbd.c */ @@ -1586,12 +1583,14 @@ BOOL add_sampwd_entry(struct smb_passwd *newpwd); BOOL add_sam21pwd_entry(struct sam_passwd *newpwd); BOOL mod_sampwd_entry(struct smb_passwd* pwd, BOOL override); BOOL mod_sam21pwd_entry(struct sam_passwd* pwd, BOOL override); -struct smb_passwd *getsampwnam(char *name); struct sam_passwd *getsam21pwnam(char *name); +struct smb_passwd *getsampwnam(char *name); struct smb_passwd *getsampwuid(uid_t smb_userid); struct sam_passwd *getsam21pwrid(uint32 rid); +void pdb_init_dispinfo(struct sam_disp_info *user); void pdb_init_smb(struct smb_passwd *user); void pdb_init_sam(struct sam_passwd *user); +struct sam_disp_info *pdb_sam_to_dispinfo(struct sam_passwd *user); struct smb_passwd *pdb_sam_to_smb(struct sam_passwd *user); struct sam_passwd *pdb_smb_to_sam(struct smb_passwd *user); time_t pdb_get_last_set_time(char *p); |