diff options
author | Luke Leighton <lkcl@samba.org> | 1998-05-18 14:06:49 +0000 |
---|---|---|
committer | Luke Leighton <lkcl@samba.org> | 1998-05-18 14:06:49 +0000 |
commit | 381df1e52bfc97b80422de2703db8cb521dc47e1 (patch) | |
tree | 88d89be769e20b5c47f67b9cdbb79b9b9ff1b70a /source/include | |
parent | 3e48b4eb113cc5e1c6794d7ac699fd9ac47c654a (diff) | |
download | samba-381df1e52bfc97b80422de2703db8cb521dc47e1.tar.gz samba-381df1e52bfc97b80422de2703db8cb521dc47e1.tar.xz samba-381df1e52bfc97b80422de2703db8cb521dc47e1.zip |
received update from jean francois for ldap.c: he is doing add / mod
functions
Diffstat (limited to 'source/include')
-rw-r--r-- | source/include/proto.h | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/source/include/proto.h b/source/include/proto.h index 5457d99570b..29135ec02b9 100644 --- a/source/include/proto.h +++ b/source/include/proto.h @@ -225,10 +225,11 @@ void initialize_multibyte_vectors( int client_codepage); /*The following definitions come from ldap.c */ -BOOL add_ldap21pwd_entry(struct smb_passwd *newpwd); +BOOL ldap_open_connection(LDAP **ldap_struct); BOOL add_ldappwd_entry(struct smb_passwd *newpwd); -BOOL mod_ldappwd_entry(struct smb_passwd* pwd, BOOL override); -BOOL mod_ldap21pwd_entry(struct smb_passwd* pwd, BOOL override); +BOOL mod_ldappwd_entry(struct smb_passwd *pwd, BOOL override); +BOOL add_ldap21pwd_entry(struct sam_passwd *newpwd); +BOOL mod_ldap21pwd_entry(struct sam_passwd *pwd, BOOL override); void *startldappwent(BOOL update); struct smb_passwd *getldappwent(void *vp); struct sam_passwd *getldap21pwent(void *vp); @@ -1827,7 +1828,6 @@ char *smb_errstr(char *inbuf); /*The following definitions come from smbpass.c */ -BOOL do_file_lock(int fd, int waitsecs, int type); void *startsmbpwent(BOOL update); void endsmbpwent(void *vp); struct sam_passwd *getsmb21pwent(void *vp); @@ -1838,6 +1838,12 @@ BOOL add_smb21pwd_entry(struct sam_passwd *newpwd); BOOL add_smbpwd_entry(struct smb_passwd *newpwd); BOOL mod_smb21pwd_entry(struct sam_passwd* pwd, BOOL override); BOOL mod_smbpwd_entry(struct smb_passwd* pwd, BOOL override); + +/*The following definitions come from smbpassfile.c */ + +BOOL do_file_lock(int fd, int waitsecs, int type); +BOOL pw_file_lock(int fd, int type, int secs, int *plock_depth); +BOOL pw_file_unlock(int fd, int *plock_depth); BOOL trust_password_lock( char *domain, char *name, BOOL update); BOOL trust_password_unlock(void); BOOL trust_password_delete( char *domain, char *name ); |