summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1998-05-18 14:06:49 +0000
committerLuke Leighton <lkcl@samba.org>1998-05-18 14:06:49 +0000
commit648ceb2f2ed5c9c029cf85f22f0dfccdd915ab12 (patch)
tree4e634151bb7d2a55f523a8c70ab8691b4b550ce6 /source3/include
parent39f3c0c25a289b0b255e104a0a0aaade557c84f4 (diff)
downloadsamba-648ceb2f2ed5c9c029cf85f22f0dfccdd915ab12.tar.gz
samba-648ceb2f2ed5c9c029cf85f22f0dfccdd915ab12.tar.bz2
samba-648ceb2f2ed5c9c029cf85f22f0dfccdd915ab12.zip
received update from jean francois for ldap.c: he is doing add / mod
functions (This used to be commit 381df1e52bfc97b80422de2703db8cb521dc47e1)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/proto.h14
1 files changed, 10 insertions, 4 deletions
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 );