From 648ceb2f2ed5c9c029cf85f22f0dfccdd915ab12 Mon Sep 17 00:00:00 2001 From: Luke Leighton Date: Mon, 18 May 1998 14:06:49 +0000 Subject: received update from jean francois for ldap.c: he is doing add / mod functions (This used to be commit 381df1e52bfc97b80422de2703db8cb521dc47e1) --- source3/include/proto.h | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'source3/include') diff --git a/source3/include/proto.h b/source3/include/proto.h index 5457d99570..29135ec02b 100644 --- a/source3/include/proto.h +++ b/source3/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 ); -- cgit