Prepare Bongo 0.7 modernization

This commit is contained in:
Mario Fetka
2026-07-17 11:34:08 +02:00
parent 1dd883ee9c
commit a66823a5a4
690 changed files with 143271 additions and 64515 deletions
+22
View File
@@ -46,6 +46,13 @@ EXPORT BOOL MsgAuthVerifyPassword(const char *user, const char *password);
EXPORT int MsgAuthVerifyServicePassword(const char *user, const char *password,
unsigned int service,
const char *source_address);
EXPORT int MsgAuthResolveUserAlias(const char *alias, char *username,
size_t username_size, int login_required);
EXPORT int MsgAuthAnnotateUserAlias(const char *alias, unsigned int service,
const char *source_address,
const char *client_name);
EXPORT int MsgAuthRenameUser(const char *old_username, const char *new_username,
time_t now);
EXPORT int MsgAuthChangePassword(const char *user, const char *oldpassword, const char *newpassword);
EXPORT int MsgAuthSetPassword(const char *user, const char *password);
EXPORT int MsgAuthGetUserStore(const char *user, struct sockaddr_in *store);
@@ -189,6 +196,21 @@ EXPORT BOOL MsgSetServerCredential(void);
#define MSGSRV_CONFIG_PROP_MANAGED_SLAPD_PATH "ManagedSlapdPath"
#define MSGSRV_CONFIG_PROP_MANAGED_SLAPD_PORT "ManagedSlapdPort"
#define MSGSRV_CONFIG_PROP_MANAGED_SLAPD "ManagedSlapd"
#define MSGSRV_CONFIG_PROP_AUTH_LDAP_ENABLED "AuthLdapEnabled"
#define MSGSRV_CONFIG_PROP_AUTH_LDAP_URI "AuthLdapUri"
#define MSGSRV_CONFIG_PROP_AUTH_LDAP_BASE_DN "AuthLdapBaseDn"
#define MSGSRV_CONFIG_PROP_AUTH_LDAP_USER_ATTRIBUTE "AuthLdapUserAttribute"
#define MSGSRV_CONFIG_PROP_AUTH_LDAP_BIND_DN "AuthLdapBindDn"
#define MSGSRV_CONFIG_PROP_AUTH_LDAP_BIND_PASSWORD_FILE "AuthLdapBindPasswordFile"
#define MSGSRV_CONFIG_PROP_AUTH_LDAP_START_TLS "AuthLdapStartTls"
#define MSGSRV_CONFIG_PROP_AUTH_LDAP_CA_FILE "AuthLdapCaFile"
#define MSGSRV_CONFIG_PROP_AUTH_LDAP_TIMEOUT "AuthLdapTimeoutSeconds"
#define MSGSRV_CONFIG_PROP_AUTH_LDAP_CACHE_HOURS "AuthLdapOfflineCacheHours"
#define MSGSRV_CONFIG_PROP_AUTH_LDAP_AUTO_PROVISION "AuthLdapAutoProvision"
#define MSGSRV_CONFIG_PROP_AUTH_LDAP_REQUIRED_GROUP_DN "AuthLdapRequiredGroupDn"
#define MSGSRV_CONFIG_PROP_AUTH_LDAP_GROUP_MEMBER_ATTRIBUTE "AuthLdapGroupMemberAttribute"
#define MSGSRV_CONFIG_PROP_AUTH_LDAP_GROUP_MEMBER_VALUE "AuthLdapGroupMemberValue"
#define MSGSRV_CONFIG_PROP_AUTH_LDAP_NESTED_GROUPS "AuthLdapNestedGroups"
#define MSGFindUser(u, dn, t, n, v) MsgFindObject((u), (dn), (t), (n), (v))