= Ejabberd #apt-get install ejabberd #vim /etc/ejabberd/ejabberd.cfg override_global. override_local. override_acls. % make admin user for accessing adimn page. {acl, admin, {user,"admin","test.com"}}. % hostname {hosts, ["test.com"]}. % comment out {mod_shared_roster, []}, #ejabberdctl register admin test.com PASSWORD #ejabberdctl register test test.com PASSWORD #ejabberdctl register test2 test.com PASSWORD #/etc/init.d/ejabberd restart access http://test.com:5280/admin/ veritaul hosts-> test.com -> Shared Roster -> add new Name:all Description: all member Members:@all@ Displayed Groups:all For LDAP auth cat /etc/ejabberd/ejabberd.cfg %{auth_method, internal}. % For LDAP authentication use these lines instead of above one: {auth_method, ldap}. {ldap_servers, ["216.69.69.233"]}. % List of LDAP servers {ldap_uidattr, "uid"}. % LDAP attribute that holds user ID {ldap_base, "dc=test,dc=com"}. % Search base of LDAP directory {ldap_rootdn, "cn=admin,dc=test,dc=com"}. % LDAP manager {ldap_password, "77390LPP"}. % Password to LDAP manager #/etc/init.d/ejabberd restart