standardhoogl.blogg.se

Ejabberd ldap
Ejabberd ldap








ejabberd ldap

ejabberd ldap

Ldapadd -x -D "cn=Manager2,dc=im2,dc=yourcompany,dc=com" -W -f root2.ldif Ldapadd -x -D "cn=Manager,dc=im,dc=yourcompany, dc=com" -W -f admin.ldif Ldapadd -x -D "cn=Manager,dc=im,dc=yourcompany,dc=com" -W -f root.ldif So the nf file is set up, start openldapĪnd then we create 4 new files, root.ldif, root2.ldif, users.ldif and users2.ldifĭn: uid=admin,dc=im,dc=yourcompany,dc= comĭn: uid=im2admin,dc=im2,dc=yourcompany,dc=com These two folders are created by yourself. Set different folders for the two databases, otherwise errors will occur. The folder where the openldap data is stored. According to the domain, set to "dc=im,dc=yourcompany,dc=com" and "dc=im2,dc=yourcompany,dc=com" "ĭirectory of the database management user rootpw rootdn. Rootdn "cn=Manager2,dc=im2,dc=yourcompany,dc=com"ĭatabase bdb is a type of database, and it can also be set to other types Rootdn "cn=Manager,dc=im,dc=yourcompany,dc=com" # Use of strong authentication encouraged. # Cleartext passwords, especially for the rootdn, should Let me talk about the settings of openldap first, find the nf file, open this file, and find this section of I won't talk about the specific installation process of ejabberd, sql server, and openldap. The writing is rather messy, some things are the first time you come into contact, there may be some mistakes, everyone can make do with it. Let's analyze the specific problemsĪnd it is only for the settings of multiple domains, not the complete ejabberd system settings. According to my method, there may be problems in other versions. I installed and configured it under fedora 6. The specific user management is carried out with openldap, which sets up two databases, corresponding to two domains. is the user who uses im, and is a user who uses im2. I want to manage the users who use im and im2 separately, so I can use For example, I have two products im and im2. The purpose of setting up two domains is to manage different user groups separately, and users of different user groups can still communicate with each other. I have not tried whether sql server, openldap server and gateway can be put on the same machine.

Ejabberd ldap software#

Multiple different gateway software can be installed on the gateway machine, so that we can use multiple services at the same time, such as icq, aim, msn, yahoo and so on. 3.machines are used as sql server, openldap server and gateway respectively. I use 5 machines in total, and two machines form an ejabberd cluster. My ejabberd system is: ejabberd server+sql server+openldap+gateway. Let me talk about my configuration process. Multiple domains can be supported in ejabberd.










Ejabberd ldap