gpt4 book ai didi

linux - 连接 kerio 和 openldap

转载 作者:太空宇宙 更新时间:2023-11-04 03:58:36 27 4
gpt4 key购买 nike

我正在调查 kerio-connect 电子邮件服务器。我正在努力让 kerio 和 openldap 一起工作。 LDAP 用户和组未出现在 kerio 中。

我已经使用 Kerio 对象类和属性扩展了 OpenLDAP 数据库(请参阅此 link )。当我浏览 LDAP 目录时,这些对象类和属性是可见且可用的。

kerio 和 ldap 服务器位于不同的计算机上。 kerio服务器可以连接到LDAP服务器(kerio管理网站上有一个测试按钮)。从运行 kerio 服务器的机器上,我可以运行 ldap 搜索查询。

问题给定测试 LDAP 用户和组,kerio openldap.map 是否有效?(我也在kerio论坛上问过:question kerio forum)

LDAP 服务器详细信息:

  • 操作系统:Linux 3.11.0-15-generic#23-Ubuntu SMP 12 月 9 日星期一 18:16:27 UTC 2013 i686 i686 i686 GNU/Linux
  • OpenLDAP:2.4.31 slapd (Ubuntu)(2013 年 10 月 8 日 20:51:43)buildd@akateko:/build/buildd/openldap-2.4.31/debian/build/servers/slapd

电子邮件服务器详细信息:

  • 操作系统:Debian GNU/Linux 7.4、x86_64
  • Kerio Connect 8.2.4 (2550)

openldap.map:

<mapfile>
<map table="User">
<filter>objectclass=kerio-Mail-User</filter>
<active-attribute>kerio-Mail-Active</active-attribute>
<variable>
<name>Name</name>
<value><attribute>uid</attribute></value>
</variable>
<variable>
<name>Account_enabled</name>
<value><attribute>kerio-Mail-AccountEnabled</attribute></value >
</variable>
<variable>
<name>Auth_type</name>
<value>5</value>
</variable>
<variable>
<name>PIN</name>
<value><attribute>kerio-User-AuthPIN</attribute></value>
</variable>
<variable>
<name>Rights</name>
<value><attribute>kerio-Mail-AdminRights</attribute></value >
</variable>
<variable>
<name>Authorization</name>
<value><attribute>kerio-Mail-Authorization</attribute></value >
</variable>
<variable>
<name>Groups</name>
<value><attribute>groupMemberShip</attribute></value>
</variable>
<variable>
<name>MailAddress</name>
<value><attribute>kerio-Mail-Address</attribute></value>
</variable>
<variable>
<name>ForwardMode</name>
<value><attribute>kerio-Mail-ForwardMode</attribute></value >
</variable>
<variable>
<name>ForwardAddress</name>
<value><attribute>kerio-Mail-ForwardAddress</attribute></value >
</variable>
<variable>
<name>HomeServer</name>
<value><attribute>kerio-Mail-HomeServer</attribute></value >
</variable>
<variable>
<name>Qstorage</name>
<value><attribute>kerio-Mail-QuotaStorage</attribute></value >
</variable>
<variable>
<name>Qmessage</name>
<value><attribute>kerio-Mail-QuotaMessage</attribute></value >
</variable>
<variable>
<name>MaxOutgoingMessageSize</name>
<value><attribute>kerio-Mail-MaxOutgoingMessageSize</attribute ></value>
</variable>
<variable>
<name>ReplyToAddress</name>
<value><attribute>kerio-Mail-WebReplyToAddress</attribute ></value>
</variable>
<variable>
<name>Fullname</name>
<value><attribute>cn</attribute></value>
</variable>
<variable>
<name>Description</name>
<value><attribute>description</attribute></value>
</variable>
<variable>
<name>Guid</name>
<value><attribute type="string">apple-generateduid</attribute></value>
</variable>
<variable>
<name>LdapDN</name>
<value><dn /></value>
</variable>
</map>
<map table="Group">
<filter>objectclass=kerio-Mail-Group</filter>
<active-attribute>kerio-Mail-Active</active-attribute>
<variable>
<name>Name</name>
<value><attribute>cn</attribute></value>
</variable>
<variable>
<name>MailAddress</name>
<value><attribute>kerio-Mail-Address</attribute></value>
</variable>
<variable>
<name>Rights</name>
<value><attribute>kerio-Mail-AdminRights</attribute></value >
</variable>
<variable>
<name>Authorization</name>
<value><attribute>kerio-Mail-Authorization</attribute></value >
</variable>
<variable>
<name>Description</name>
<value><attribute>description</attribute></value>
</variable>
<variable>
<name>Guid</name>
<value><attribute type="string">apple-generateduid</attribute></value>
</variable>
</map>
</mapfile>

测试 LDAP 用户和组是

dn: cn=keriotestuser,dc=flavia,dc=local
objectClass: kerio-Mail-User
objectClass: top
objectClass: posixAccount
objectClass: organizationalPerson
objectClass: person
cn: keriotestuser
gidNumber: 1000
homeDirectory: /home/keriotestuser
sn: User
uid: keriotestuser
uidNumber: 1001
apple-generateduid: 7c17e30b-9a5d-4f2e-a11b-c8995a2aa99b
groupMemberShip: Group1
kerio-Mail-Active: 1
loginShell: /bin/bash
userPassword:: e1NTSEF9RTRGZTNmaDNzQkIxNXRWMFEzV041RGRLdngyZjU4RDc=

这是 LDAP 组

version: 1 
dn: cn=Group1,dc=flavia,dc=local
objectClass: kerio-Mail-Group
objectClass: groupOfNames
objectClass: top
cn: Group1
member: cn=keriotestuser,dc=flavia,dc=local
apple-generateduid: a6b5c5d5-7121-4092-9f77-87fefdfebaf4
kerio-Mail-Active: 1

其他可能有用的文件

gal_openldap.map

<mapfile>
<map table="User">
<filter> &amp;(objectclass=kerio-Mail-User)(kerio-Mail-Active=*)( !(kerio-
Mail-Authorization=kms.global.address.list.disabled) ) </filter>
<variable>
<name>Name</name>
<value><attribute>uid</attribute></value>
</variable>
<variable>
<name>Account_enabled</name>
<value><attribute>kerio-Mail-AccountEnabled</attribute></value >
</variable>
<variable>
<name>Fullname</name>
<value><attribute>cn</attribute></value>
</variable>
<variable>
<name>Title</name>
<value><attribute>title</attribute></value>
</variable>
<variable>
<name>TitleBefore</name>
<value><attribute>personalTitle</attribute></value>
</variable>
<variable>
<name>TitleAfter</name>
<value><attribute>generationQualifier</attribute></value >
</variable>
<variable>
<name>GivenName</name>
<value><attribute>givenName</attribute></value>
</variable>
<variable>
<name>MiddleName</name>
<value><attribute></attribute></value>
</variable>
<variable>
<name>Surname</name>
<value><attribute>sn</attribute></value>
</variable>
<variable>
<name>Company</name>
<value><attribute>o</attribute></value>
</variable>
<variable>
<name>Department</name>
<value><attribute>ou</attribute></value>
</variable>
<variable>
<name>HomeAddress</name>
<value><attribute>homePostalAddress</attribute></value>
</variable>
<variable>
<name>BA_pobox</name>
<value><attribute>postOfficeBox</attribute></value>
</variable>
<variable>
<name>BA_room</name>
<value><attribute>roomNumber</attribute></value>
</variable>
<variable>
<name>BA_street</name>
<value><attribute>street</attribute></value>
</variable>
<variable>
<name>BA_city</name>
<value><attribute>l</attribute></value>
</variable>
<variable>
<name>BA_zip</name>
<value><attribute>postalCode</attribute></value>
</variable>
<variable>
<name>BA_state</name>
<value><attribute>st</attribute></value>
</variable>
<variable>
<name>BA_country</name>
<value><attribute>c</attribute></value>
</variable>
<variable>
<name>PN_business</name>
<value><attribute>telephoneNumber</attribute></value>
</variable>
<variable>
<name>PN_home</name>
<value><attribute>homePhone</attribute></value>
</variable>
<variable>
<name>PN_mobile</name>
<value><attribute>mobile</attribute></value>
</variable>
<variable>
<name>PN_isdn</name>
<value><attribute>internationalISDNNumber</attribute></value >
</variable>
<variable>
<name>PN_fax</name>
<value><attribute>facsimileTelephoneNumber</attribute></value >
</variable>
<variable>
<name>PN_pager</name>
<value><attribute>pager</attribute></value>
</variable>
<variable>
<name>PN_telex</name>
<value><attribute>telexNumber</attribute></value>
</variable>
<variable>
<name>PN_ip</name>
<value><attribute>ipPhone</attribute></value>
</variable>
<variable>
<name>PN_other</name>
<value><attribute>otherTelephone</attribute></value>
</variable>
<variable>
<name>PN_otherfax</name>
<value><attribute>otherFacsimileTelephoneNumber</attribute ></value>
</variable>
<variable>
<name>Email</name>
<value><attribute>kerio-Mail-Address</attribute><attribute >mail</attribute></value>
</variable>
<variable>
<name>Image</name>
<value><attribute>jpegPhoto</attribute></value>
</variable>
<variable>
<name>UrlWork</name>
<value><attribute>labeledURI</attribute></value>
</variable>
<variable>
<name>UrlOther</name>
<value><attribute>apple-webloguri</attribute></value>
</variable>
<variable>
<name>IM_msn</name>
<value><attribute>apple-imhandle ~ MSN:([^\s]+)</attribute></value>
</variable>
<variable>
<name>IM_icq</name>
<value><attribute>apple-imhandle ~ ICQ:([^\s]+)</attribute></value>
</variable>
<variable>
<name>IM_aim</name>
<value><attribute>apple-imhandle ~ AIM:([^\s]+)</attribute></value>
</variable>
<variable>
<name>IM_yahoo</name>
<value><attribute>apple-imhandle ~ Yahoo:([^\s]+)</attribute></value>
</variable>
<variable>
<name>IM_jabber</name>
<value><attribute>apple-imhandle ~ JABBER:([^\s]+)</attribute></value>
</variable>
<variable>
<name>Description</name>
<value><attribute>description</attribute></value>
</variable>
</map>
<map table="Group">
<filter> &amp;(objectclass=kerio-Mail-Group)(kerio-Mail-Address=* )(!(kerio-
Mail-Authorization=kms.global.address.list.disable d)) </filter>
<active-attribute>kerio-Mail-Active</active-attribute>
<variable>
<name>GroupName</name>
<value><attribute>cn</attribute></value>
</variable>
<variable>
<name>Account_enabled</name>
<value><attribute>1</attribute></value>
</variable>
<variable>
<name>Email</name>
<value><attribute>kerio-Mail-Address</attribute></value>
</variable>
<variable>
<name>Description</name>
<value><attribute>description</attribute></value>
</variable>
</map>
</mapfile>

kerio-mailserver.ldif

# AUTO-GENERATED FILE - DO NOT EDIT!! Use ldapmodify.
# CRC32 e8c9384b
dn: cn=kerio,cn=schema,cn=config
objectClass: olcSchemaConfig
cn: kerio
olcAttributeTypes: {0}( 1.3.6.1.4.1.10311.1.2.2.1 NAME 'kerio-Mail-Active' EQU
ALITY caseIgnoreMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE )
olcAttributeTypes: {1}( 1.3.6.1.4.1.10311.1.2.2.2 NAME 'kerio-Mail-AccountEnab
led' EQUALITY integerMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE
)
olcAttributeTypes: {2}( 1.3.6.1.4.1.10311.1.0.2.1 NAME 'kerio-User-AuthPIN' EQ
UALITY caseExactMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE )
olcAttributeTypes: {3}( 1.3.6.1.4.1.10311.1.2.2.5 NAME 'kerio-Mail-AdminRights
' EQUALITY caseIgnoreMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE
)
olcAttributeTypes: {4}( 1.3.6.1.4.1.10311.1.2.2.6 NAME 'kerio-Mail-Address' EQ
UALITY caseIgnoreMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )
olcAttributeTypes: {5}( 1.3.6.1.4.1.10311.1.2.2.7 NAME 'kerio-Mail-ForwardMode
' EQUALITY integerMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )
olcAttributeTypes: {6}( 1.3.6.1.4.1.10311.1.2.2.8 NAME 'kerio-Mail-ForwardAddr
ess' EQUALITY caseIgnoreMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )
olcAttributeTypes: {7}( 1.3.6.1.4.1.10311.1.2.2.9 NAME 'kerio-Mail-QuotaStorag
e' EQUALITY caseIgnoreMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE
)
olcAttributeTypes: {8}( 1.3.6.1.4.1.10311.1.2.2.10 NAME 'kerio-Mail-QuotaMessa
ge' EQUALITY caseIgnoreMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALU
E )
olcAttributeTypes: {9}( 1.3.6.1.4.1.10311.1.2.2.24 NAME 'kerio-Mail-Authorizat
ion' EQUALITY caseIgnoreMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )
olcAttributeTypes: {10}( 1.3.6.1.4.1.10311.1.2.2.25 NAME 'kerio-Mail-HomeServe
r' EQUALITY caseIgnoreMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE
)
olcAttributeTypes: {11}( 1.3.6.1.4.1.10311.1.2.2.26 NAME 'kerio-Mail-MaxOutgoi
ngMessageSize' EQUALITY caseIgnoreMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
SINGLE-VALUE )
olcAttributeTypes: {12}( 1.3.6.1.4.1.10311.1.2.2.22 NAME 'kerio-Mail-WebReplyT
oAddress' EQUALITY caseIgnoreMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGL
E-VALUE )
olcAttributeTypes: {13}( 1.3.6.1.4.1.10311.1.2.2.27 NAME 'kerio-Mail-Preferred
-Address' EQUALITY caseIgnoreMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGL
E-VALUE )
olcAttributeTypes: {14}( 1.3.6.1.4.1.10311.1.2.2.28 NAME 'groupMemberShip' EQU
ALITY caseExactIA5Match SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
olcAttributeTypes: {15}( 1.3.6.1.4.1.10311.1.2.2.29 NAME 'apple-generateduid'
DESC 'generated unique ID' EQUALITY caseExactMatch SUBSTR caseExactSubstrings
Match SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE )
olcObjectClasses: {0}( 1.3.6.1.4.1.10311.2.2.2.1 NAME 'kerio-Mail-User' SUP to
p AUXILIARY MAY ( kerio-Mail-Active $ kerio-Mail-AccountEnabled $ kerio-User-
AuthPIN $ kerio-Mail-AdminRights $ kerio-Mail-Authorization $ kerio-Mail-Addr
ess $ kerio-Mail-ForwardMode $ kerio-Mail-ForwardAddress $ kerio-Mail-QuotaSt
orage $ kerio-Mail-QuotaMessage $ kerio-Mail-HomeServer $ kerio-Mail-MaxOutgo
ingMessageSize $ kerio-Mail-WebReplyToAddress $ groupMemberShip $ apple-generateduid $
kerio-Mail-Preferred-Address ) )
olcObjectClasses: {1}( 1.3.6.1.4.1.10311.2.2.2.2 NAME 'kerio-Mail-Group' SUP t
op AUXILIARY MAY ( kerio-Mail-Active $ kerio-Mail-AdminRights $ kerio-Mail-Au
thorization $ apple-generateduid $ kerio-Mail-Address ) )

kerio-mailserver.schema

#
# kerio-User attributes and class
#
attributetype ( 1.3.6.1.4.1.10311.1.2.2.1
NAME 'kerio-Mail-Active'
EQUALITY caseIgnoreMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
SINGLE-VALUE )
attributetype ( 1.3.6.1.4.1.10311.1.2.2.2
NAME 'kerio-Mail-AccountEnabled'
EQUALITY integerMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
SINGLE-VALUE )
attributetype ( 1.3.6.1.4.1.10311.1.0.2.1
NAME 'kerio-User-AuthPIN'
EQUALITY caseExactMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
SINGLE-VALUE )
attributetype ( 1.3.6.1.4.1.10311.1.2.2.5
NAME 'kerio-Mail-AdminRights'
EQUALITY caseIgnoreMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
SINGLE-VALUE )
attributetype ( 1.3.6.1.4.1.10311.1.2.2.6
NAME 'kerio-Mail-Address'
EQUALITY caseIgnoreMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )
attributetype ( 1.3.6.1.4.1.10311.1.2.2.7
NAME 'kerio-Mail-ForwardMode'
EQUALITY integerMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
SINGLE-VALUE )
attributetype ( 1.3.6.1.4.1.10311.1.2.2.8
NAME 'kerio-Mail-ForwardAddress'
EQUALITY caseIgnoreMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )
attributetype ( 1.3.6.1.4.1.10311.1.2.2.9
NAME 'kerio-Mail-QuotaStorage'
EQUALITY caseIgnoreMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
SINGLE-VALUE )
attributetype ( 1.3.6.1.4.1.10311.1.2.2.10
NAME 'kerio-Mail-QuotaMessage'
EQUALITY caseIgnoreMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
SINGLE-VALUE )
attributetype ( 1.3.6.1.4.1.10311.1.2.2.24
NAME 'kerio-Mail-Authorization'
EQUALITY caseIgnoreMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )
attributetype ( 1.3.6.1.4.1.10311.1.2.2.25
NAME 'kerio-Mail-HomeServer'
EQUALITY caseIgnoreMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
SINGLE-VALUE )
attributetype ( 1.3.6.1.4.1.10311.1.2.2.26
NAME 'kerio-Mail-MaxOutgoingMessageSize'
EQUALITY caseIgnoreMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
SINGLE-VALUE )
attributetype ( 1.3.6.1.4.1.10311.1.2.2.22
NAME 'kerio-Mail-WebReplyToAddress'
EQUALITY caseIgnoreMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
SINGLE-VALUE )
attributetype ( 1.3.6.1.4.1.10311.1.2.2.27
NAME 'kerio-Mail-Preferred-Address'
EQUALITY caseIgnoreMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
SINGLE-VALUE )
attributetype ( 1.3.6.1.4.1.10311.1.2.2.28 NAME 'groupMemberShip'
EQUALITY caseExactIA5Match
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
attributetype ( 1.3.6.1.4.1.10311.1.2.2.29
NAME ( 'apple-generateduid' )
DESC 'generated unique ID'
EQUALITY caseExactMatch
SUBSTR caseExactSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE )
objectclass ( 1.3.6.1.4.1.10311.2.2.2.1
NAME 'kerio-Mail-User'
AUXILIARY
SUP top
MAY (
kerio-Mail-Active $
kerio-Mail-AccountEnabled $
kerio-User-AuthPIN $
kerio-Mail-AdminRights $
kerio-Mail-Authorization $
kerio-Mail-Address $
kerio-Mail-ForwardMode $
kerio-Mail-ForwardAddress $
kerio-Mail-QuotaStorage $
kerio-Mail-QuotaMessage $
kerio-Mail-HomeServer $
kerio-Mail-MaxOutgoingMessageSize $
kerio-Mail-WebReplyToAddress $
groupMemberShip $
apple-generateduid $
kerio-Mail-Preferred-Address ) )
objectclass ( 1.3.6.1.4.1.10311.2.2.2.2
NAME 'kerio-Mail-Group'
AUXILIARY
SUP top
MAY (
kerio-Mail-Active $
kerio-Mail-AdminRights $
kerio-Mail-Authorization $
apple-generateduid $
kerio-Mail-Address ) )

cn={4}kerio.ldif

# AUTO-GENERATED FILE - DO NOT EDIT!! Use ldapmodify.
# CRC32 84e834c7
dn: cn={4}kerio
objectClass: olcSchemaConfig
cn: {4}kerio
olcAttributeTypes: {0}( 1.3.6.1.4.1.10311.1.2.2.1 NAME 'kerio-Mail-Active' EQU
ALITY caseIgnoreMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE )
olcAttributeTypes: {1}( 1.3.6.1.4.1.10311.1.2.2.2 NAME 'kerio-Mail-AccountEnab
led' EQUALITY integerMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE
)
olcAttributeTypes: {2}( 1.3.6.1.4.1.10311.1.0.2.1 NAME 'kerio-User-AuthPIN' EQ
UALITY caseExactMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE )
olcAttributeTypes: {3}( 1.3.6.1.4.1.10311.1.2.2.5 NAME 'kerio-Mail-AdminRights
' EQUALITY caseIgnoreMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE
)
olcAttributeTypes: {4}( 1.3.6.1.4.1.10311.1.2.2.6 NAME 'kerio-Mail-Address' EQ
UALITY caseIgnoreMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )
olcAttributeTypes: {5}( 1.3.6.1.4.1.10311.1.2.2.7 NAME 'kerio-Mail-ForwardMode
' EQUALITY integerMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )
olcAttributeTypes: {6}( 1.3.6.1.4.1.10311.1.2.2.8 NAME 'kerio-Mail-ForwardAddr
ess' EQUALITY caseIgnoreMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )
olcAttributeTypes: {7}( 1.3.6.1.4.1.10311.1.2.2.9 NAME 'kerio-Mail-QuotaStorag
e' EQUALITY caseIgnoreMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE
)
olcAttributeTypes: {8}( 1.3.6.1.4.1.10311.1.2.2.10 NAME 'kerio-Mail-QuotaMessa
ge' EQUALITY caseIgnoreMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALU
E )
olcAttributeTypes: {9}( 1.3.6.1.4.1.10311.1.2.2.24 NAME 'kerio-Mail-Authorizat
ion' EQUALITY caseIgnoreMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )
olcAttributeTypes: {10}( 1.3.6.1.4.1.10311.1.2.2.25 NAME 'kerio-Mail-HomeServe
r' EQUALITY caseIgnoreMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE
)
olcAttributeTypes: {11}( 1.3.6.1.4.1.10311.1.2.2.26 NAME 'kerio-Mail-MaxOutgoi
ngMessageSize' EQUALITY caseIgnoreMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
SINGLE-VALUE )
olcAttributeTypes: {12}( 1.3.6.1.4.1.10311.1.2.2.22 NAME 'kerio-Mail-WebReplyT
oAddress' EQUALITY caseIgnoreMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGL
E-VALUE )
olcAttributeTypes: {13}( 1.3.6.1.4.1.10311.1.2.2.27 NAME 'kerio-Mail-Preferred
-Address' EQUALITY caseIgnoreMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGL
E-VALUE )
olcAttributeTypes: {14}( 1.3.6.1.4.1.10311.1.2.2.28 NAME 'groupMemberShip' EQU
ALITY caseExactIA5Match SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
olcAttributeTypes: {15}( 1.3.6.1.4.1.10311.1.2.2.29 NAME 'apple-generateduid'
DESC 'generated unique ID' EQUALITY caseExactMatch SUBSTR caseExactSubstrings
Match SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE )
olcObjectClasses: {0}( 1.3.6.1.4.1.10311.2.2.2.1 NAME 'kerio-Mail-User' SUP to
p AUXILIARY MAY ( kerio-Mail-Active $ kerio-Mail-AccountEnabled $ kerio-User-
AuthPIN $ kerio-Mail-AdminRights $ kerio-Mail-Authorization $ kerio-Mail-Addr
ess $ kerio-Mail-ForwardMode $ kerio-Mail-ForwardAddress $ kerio-Mail-QuotaSt
orage $ kerio-Mail-QuotaMessage $ kerio-Mail-HomeServer $ kerio-Mail-MaxOutgo
ingMessageSize $ kerio-Mail-WebReplyToAddress $ groupMemberShip $ apple-gener
ateduid $ kerio-Mail-Preferred-Address ) )
olcObjectClasses: {1}( 1.3.6.1.4.1.10311.2.2.2.2 NAME 'kerio-Mail-Group' SUP t
op AUXILIARY MAY ( kerio-Mail-Active $ kerio-Mail-AdminRights $ kerio-Mail-Au
thorization $ apple-generateduid $ kerio-Mail-Address ) )
structuralObjectClass: olcSchemaConfig
entryUUID: 4d5c04ba-7616-1033-95f3-55880fae5256
creatorsName: gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth
createTimestamp: 20140522160304Z
entryCSN: 20140522160304.647760Z#000000#000#000000
modifiersName: gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth
modifyTimestamp: 20140522160304Z

最佳答案

openldap 的 kerio 步骤终于成功了。我只需要像律师一样用梳子阅读文件:Mapping users/groups from OpenLDAP or Generic LDAP server

问题中的文件应该是正确的。 Kerio 论坛也有帮助:OpenLdap Integration with Kerio Mail Server

关于linux - 连接 kerio 和 openldap,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23825101/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com