Автор: DmAd
Дата сообщения: 22.11.2007 08:01
victorae
Нет, на контроллере все нормально.
Посмотри, пожалуйста, конфиг - может поймешь, где я ошибся:
[more=конфиг..]<?xml version="1.0" encoding="UTF-8" ?>
- <!--
This file stores bootstrap properties needed by Openfire.
Property names must be in the format: "prop.name.is.blah=value"
That will be stored as:
<prop>
<name>
<is>
<blah>value</blah>
</is>
</name>
</prop>
Most properties are stored in the Openfire database. A
property viewer and editor is included in the admin console.
-->
- <!-- root element, all properties must be under this element
-->
- <jive>
- <sasl>
<mechs>ANONYMOUS,PLAIN,DIGEST-MD5,CRAM-MD5,NTLM</mechs>
- <!-- pick one of the following
-->
<realm>RGES</realm>
</sasl>
- <adminConsole>
- <!-- Disable either port by setting the value to -1
-->
<port>9090</port>
<securePort>9091</securePort>
</adminConsole>
- <admin>
- <!--
Use this section to define users that will have admin privileges. Below,
you will find two ways to specify which users are admins. Admins will
have access to the admin console (only local users) and may have also access
to other functionalities like ad-hoc commands.
-->
- <!--
By default, only the user with the username "admin" can login
to the admin console. Alternatively, you can specify a comma-delimitted
list usernames that should be authorized to login to the admin console
by setting the <authorizedUsernames> field below.
-->
- <!-- <authorizedUsernames></authorizedUsernames>
-->
- <!--
Comma-delimitted list of bare JIDs. The JIDs may belong to local
or remote users.
-->
- <!-- <authorizedJIDs></authorizedJIDs>
-->
<authorizedUsernames>rakhmaninda</authorizedUsernames>
</admin>
<locale>en</locale>
- <!--
Network settings. By default, Openfire will bind to all network interfaces.
Alternatively, you can specify a specific network interfaces that the server
will listen on. For example, 127.0.0.1. This setting is generally only useful
on multi-homed servers.
-->
- <!--
<network>
<interface></interface>
</network>
-->
- <connectionProvider>
<className>org.jivesoftware.database.EmbeddedConnectionProvider</className>
</connectionProvider>
- <ldap>
<host>server02</host>
<port>389</port>
<baseDN>ou=All,dc=rges,dc=local</baseDN>
<adminDN>cn=open_user,cn=Users,dc=rges,dc=local</adminDN>
<adminPassword>open_user</adminPassword>
<connectionPoolEnabled>true</connectionPoolEnabled>
<sslEnabled>false</sslEnabled>
<ldapDebugEnabled>false</ldapDebugEnabled>
<autoFollowReferrals>false</autoFollowReferrals>
<usernameField>sAMAccountName</usernameField>
<searchFilter>(objectClass=OrganizationalPerson)</searchFilter>
- <vcard-mapping>
- <![CDATA[
<vCard xmlns="vcard-temp">
<N>
<GIVEN>{cn}</GIVEN>
</N>
<EMAIL>
<INTERNET/>
<USERID>{mail}</USERID>
</EMAIL>
<FN>{displayName}</FN>
<ADR>
<HOME/>
<STREET>{homePostalAddress}</STREET>
<PCODE>{homeZip}</PCODE>
<CTRY>{co}</CTRY>
</ADR>
<ADR>
<WORK/>
<STREET>{streetAddress}</STREET>
<LOCALITY>{l}</LOCALITY>
<REGION>{st}</REGION>
<PCODE>{postalCode}</PCODE>
<CTRY>{co}</CTRY>
</ADR>
<TEL>
<HOME/>
<VOICE/>
<NUMBER>{homePhone}</NUMBER>
</TEL>
<TEL>
<HOME/>
<CELL/>
<NUMBER>{mobile}</NUMBER>
</TEL>
<TEL>
<WORK/>
<VOICE/>
<NUMBER>{telephoneNumber}</NUMBER>
</TEL>
<TEL>
<WORK/>
<CELL/>
<NUMBER>{mobile}</NUMBER>
</TEL>
<TEL>
<WORK/>
<FAX/>
<NUMBER>{facsimileTelephoneNumber}</NUMBER>
</TEL>
<TEL>
<WORK/>
<PAGER/>
<NUMBER>{pager}</NUMBER>
</TEL>
<TITLE>{title}</TITLE>
<ORG>
<ORGUNIT>{department}</ORGUNIT>
</ORG>
</vCard>
]]>
</vcard-mapping>
<nameField>cn</nameField>
<emailField>mail</emailField>
<groupNameField>cn</groupNameField>
<groupMemberField>member</groupMemberField>
<groupDescriptionField>description</groupDescriptionField>
<posixMode>false</posixMode>
<groupSearchFilter>(objectClass=group)</groupSearchFilter>
</ldap>
- <provider>
- <vcard>
<className>org.jivesoftware.openfire.ldap.LdapVCardProvider</className>
</vcard>
- <user>
<className>org.jivesoftware.openfire.ldap.LdapUserProvider</className>
</user>
- <auth>
<className>org.jivesoftware.openfire.ldap.LdapAuthProvider</className>
</auth>
- <authorization>
<classList>org.jivesoftware.openfire.sasl.StrictAuthorizationPolicy org.jivesoftware.openfire.sasl.DefaultAuthorizationPolicy</classList>
- <!-- other options: null, LdapAuthorizationProvider, UnixK5LoginProvider, Strict and Lazy
-->
</authorization>
- <group>
<className>org.jivesoftware.openfire.ldap.LdapGroupProvider</className>
</group>
</provider>
<setup>true</setup>
- <log>
- <debug>
<enabled>true</enabled>
</debug>
</log>
</jive> [/more]