diff options
author | Matthew Chapman <matty@samba.org> | 1999-01-15 05:00:26 +0000 |
---|---|---|
committer | Matthew Chapman <matty@samba.org> | 1999-01-15 05:00:26 +0000 |
commit | c35bf4578561af4f2971492f6ef826f10ac13860 (patch) | |
tree | f3f7487aea242103660e6263949b6e60395a0a5a /source3/include/proto.h | |
parent | b86b8a3ea887e12f0614e14da01419e5c224d038 (diff) | |
download | samba-c35bf4578561af4f2971492f6ef826f10ac13860.tar.gz samba-c35bf4578561af4f2971492f6ef826f10ac13860.tar.bz2 samba-c35bf4578561af4f2971492f6ef826f10ac13860.zip |
Finally committing my LDAP changes.
* Added new APIs for modifying groups.
* RIDs are allocated similarly to NT, starting from 1000 and incrementing by 1
for each new user/group.
* RIDs are now consistently in hex
* Fixed bugs reported by Allan Bjorklund <allan@umich.edu>:
- ldap_close_connection is exported by OpenLDAP - changed to ldap_disconnect
- Missing ldap_connect() in getusergroups functions
- ldap_next_entry was being called too early while retrieving a sam_struct
- LDAP globals should be extern in sampassldap.c
* Fixed bugs reported by Martin Hofbauer <mh@bacher.at>
- Newly added workstation trust accounts had attributes DU rather than W.
- User dn's were forced to start with "uid=XX" rather than using the existing
dn.
(This used to be commit 91c77f5432169553572bb4d85ad5f09d17524f20)
Diffstat (limited to 'source3/include/proto.h')
-rw-r--r-- | source3/include/proto.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index fc1e2926a8..ee92f62c23 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -1375,13 +1375,14 @@ BOOL pm_process( char *FileName, /*The following definitions come from passdb/ldap.c */ -BOOL ldap_open_connection(BOOL modify); -void ldap_close_connection(void); +BOOL ldap_connect(void); +void ldap_disconnect(void); BOOL ldap_search_for(char *filter); BOOL ldap_search_by_name(const char *user); BOOL ldap_search_by_uid(int uid); BOOL ldap_get_attribute(char *attribute, char *value); struct smb_passwd *ldap_getpw(void); +BOOL ldap_allocaterid(uint32 *rid); struct smb_passdb_ops *ldap_initialise_password_db(void); /*The following definitions come from passdb/nispass.c */ |