Changeset 3 for trunk/samba-3.0.25pre1/source/include/proto.h
- Timestamp:
- Mar 25, 2007, 12:29:51 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/samba-3.0.25pre1/source/include/proto.h
r1 r3 576 576 577 577 int os2_ftruncate(int fd, off_t size); 578 void os2_randget(char * buffer, int length); 578 579 void maperrno(int rc); 579 580 ssize_t unigetxattr (const char *path, int file, const char *name, void *value, size_t size); … … 714 715 void CatchChild(void); 715 716 void CatchChildLeaveStatus(void); 716 717 /* The following definitions come from lib/smbldap.c */718 719 int smb_ldap_start_tls(LDAP *ldap_struct, int version);720 int smb_ldap_setup_conn(LDAP **ldap_struct, const char *uri);721 int smb_ldap_upgrade_conn(LDAP *ldap_struct, int *new_version) ;722 int smb_ldap_setup_full_conn(LDAP **ldap_struct, const char *uri);723 int smbldap_search(struct smbldap_state *ldap_state,724 const char *base, int scope, const char *filter,725 const char *attrs[], int attrsonly,726 LDAPMessage **res);727 int smbldap_search_paged(struct smbldap_state *ldap_state,728 const char *base, int scope, const char *filter,729 const char **attrs, int attrsonly, int pagesize,730 LDAPMessage **res, void **cookie);731 int smbldap_modify(struct smbldap_state *ldap_state, const char *dn, LDAPMod *attrs[]);732 int smbldap_add(struct smbldap_state *ldap_state, const char *dn, LDAPMod *attrs[]);733 int smbldap_delete(struct smbldap_state *ldap_state, const char *dn);734 int smbldap_extended_operation(struct smbldap_state *ldap_state,735 LDAP_CONST char *reqoid, struct berval *reqdata,736 LDAPControl **serverctrls, LDAPControl **clientctrls,737 char **retoidp, struct berval **retdatap);738 int smbldap_search_suffix (struct smbldap_state *ldap_state,739 const char *filter, const char **search_attr,740 LDAPMessage ** result);741 void smbldap_free_struct(struct smbldap_state **ldap_state) ;742 NTSTATUS smbldap_init(TALLOC_CTX *mem_ctx, const char *location, struct smbldap_state **smbldap_state) ;743 char *smbldap_get_dn(LDAP *ld, LDAPMessage *entry);744 BOOL smbldap_has_control(LDAP *ld, const char *control);745 BOOL smbldap_has_extension(LDAP *ld, const char *extension);746 BOOL smbldap_has_naming_context(LDAP *ld, const char *naming_context);747 BOOL smbldap_set_creds(struct smbldap_state *ldap_state, BOOL anon, const char *dn, const char *secret);748 749 /* The following definitions come from lib/smbldap_util.c */750 751 NTSTATUS smbldap_search_domain_info(struct smbldap_state *ldap_state,752 LDAPMessage ** result, const char *domain_name,753 BOOL try_add);754 717 755 718 /* The following definitions come from lib/smbrun.c */ … … 3677 3640 NTSTATUS idmap_cache_map_sid(struct idmap_cache_ctx *cache, struct id_map *id); 3678 3641 NTSTATUS idmap_cache_map_id(struct idmap_cache_ctx *cache, struct id_map *id); 3679 3680 /* The following definitions come from nsswitch/idmap_ldap.c */3681 3682 NTSTATUS idmap_alloc_ldap_init(void);3683 NTSTATUS idmap_ldap_init(void);3684 3642 3685 3643 /* The following definitions come from nsswitch/idmap_nss.c */ … … 4428 4386 void pdb_search_destroy(struct pdb_search *search); 4429 4387 NTSTATUS make_pdb_method( struct pdb_methods **methods ) ; 4430 4431 /* The following definitions come from passdb/pdb_ldap.c */4432 4433 const char** get_userattr_list( TALLOC_CTX *mem_ctx, int schema_ver );4434 int ldapsam_search_suffix_by_name(struct ldapsam_privates *ldap_state,4435 const char *user,4436 LDAPMessage ** result,4437 const char **attr);4438 const char **talloc_attrs(TALLOC_CTX *mem_ctx, ...);4439 NTSTATUS pdb_init_ldapsam_compat(struct pdb_methods **pdb_method, const char *location);4440 NTSTATUS pdb_init_ldapsam(struct pdb_methods **pdb_method, const char *location);4441 NTSTATUS pdb_ldap_init(void);4442 4443 /* The following definitions come from passdb/pdb_nds.c */4444 4445 int pdb_nds_get_password(4446 struct smbldap_state *ldap_state,4447 char *object_dn,4448 size_t *pwd_len,4449 char *pwd );4450 int pdb_nds_set_password(4451 struct smbldap_state *ldap_state,4452 char *object_dn,4453 const char *pwd );4454 NTSTATUS pdb_nds_init(void);4455 4388 4456 4389 /* The following definitions come from passdb/pdb_smbpasswd.c */
Note:
See TracChangeset
for help on using the changeset viewer.