Chinaunix

标题: 我把《手把手装postfix+ldap》整理了一下 [打印本页]

作者: hefish    时间: 2004-04-10 19:51
标题: 我把《手把手装postfix+ldap》整理了一下
放在了

http://kunmail.cz8.net/install/install.htm

大家有兴趣可以去那里看。
作者: llzqq    时间: 2004-04-10 20:40
标题: 我把《手把手装postfix+ldap》整理了一下
用LDAP比MYSQL有什么优势?
作者: ml2hs    时间: 2004-04-10 20:49
提示: 作者被禁止或删除 内容自动屏蔽
作者: ml2hs    时间: 2004-04-10 21:05
提示: 作者被禁止或删除 内容自动屏蔽
作者: bloomit    时间: 2004-04-10 21:47
标题: 我把《手把手装postfix+ldap》整理了一下
这么巧

正在找,这里就有

看一下
作者: hefish    时间: 2004-04-10 21:51
标题: 我把《手把手装postfix+ldap》整理了一下
ldap搜索数据很快。写入数据很慢。
作者: kinux    时间: 2004-04-11 10:54
标题: 我把《手把手装postfix+ldap》整理了一下
ldap 本来就是为了经常查找而不是经常更新的数据而作的, 好處就是快.. 使用资源少..
作者: gsea_2000    时间: 2004-04-12 16:31
标题: 我把《手把手装postfix+ldap》整理了一下
好东西阿,支持。。。
我正按照它进行安装呢
作者: gsea_2000    时间: 2004-04-12 18:28
标题: 我把《手把手装postfix+ldap》整理了一下
请问在安装openldap之前,需要装哪种数据库,文中提到的比如:berkeley-db,zlib是不是都要安装
不装数据库,是不是openldap就不能编译通过????
我用的是redhat as3.0
作者: hefish    时间: 2004-04-12 22:15
标题: 我把《手把手装postfix+ldap》整理了一下
可以使用gdbm来编译Ldap
作者: gsea_2000    时间: 2004-04-13 09:49
标题: 我把《手把手装postfix+ldap》整理了一下
如何操作,请指示,谢谢:)
我刚开始弄这些,请见谅
作者: hefish    时间: 2004-04-13 10:03
标题: 我把《手把手装postfix+ldap》整理了一下
不知道。我也是菜鸟中的采鸟。
请见谅。
作者: kinux    时间: 2004-04-13 10:36
标题: 我把《手把手装postfix+ldap》整理了一下
[quote]原帖由 "hefish"]可以使用gdbm来编译Ldap[/quote 发表:


一定的吗?? 最近用了bdb, 死了几次..  安了几台机都是这样子..
自己太菜了..
作者: proftpd    时间: 2004-04-13 13:00
标题: 我把《手把手装postfix+ldap》整理了一下
可以将 Ldap 换成 mysql 吗?
作者: hefish    时间: 2004-04-13 13:35
标题: 我把《手把手装postfix+ldap》整理了一下
bdb 4.1.25有两个补丁,打了就好了。
作者: gsea_2000    时间: 2004-04-13 15:02
标题: 我把《手把手装postfix+ldap》整理了一下
#
# kunmail-ldap v3 directory schema
#
# written by hefish@cz8.net
#
# Attribute Type Definitions


attributetype ( 1.3.6.1.4.1.7914.1.2.1.1 NAME 'userNo'
DESC 'id of the user on the mailsystem'
EQUALITY integerMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.27{32}
SINGLE-VALUE )

attributetype ( 1.3.6.1.4.1.7914.1.2.1.2 NAME 'userName'
DESC 'name of the user on the mailsystem'
EQUALITY caseIgnoreIA5Match
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{64}
SINGLE-VALUE )

attributetype ( 1.3.6.1.4.1.7914.1.2.1.3 NAME 'userUid'
DESC 'UID of the user on the mailsystem'
EQUALITY integerMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.27{32}
SINGLE-VALUE )

attributetype ( 1.3.6.1.4.1.7914.1.2.1.4 NAME 'userGid'
DESC 'GID of the user on the mailsystem'
EQUALITY integerMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.27{32}
SINGLE-VALUE )

attributetype ( 1.3.6.1.4.1.7914.1.2.1.5 NAME 'userHome'
DESC 'home of user in mail system'
EQUALITY caseExactMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{1024}
SINGLE-VALUE )

attributetype ( 1.3.6.1.4.1.7914.1.2.1.6 NAME 'userMaildir'
DESC 'maildir of user'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{1024}
SINGLE-VALUE )


attributetype ( 1.3.6.1.4.1.7914.1.2.1.7 NAME 'userQuota'
DESC 'The amount of space the user can use until all further messages get bounc
ed.'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.44{32}
SINGLE-VALUE )

attributetype ( 1.3.6.1.4.1.7914.1.2.1.8 NAME 'userClearpw'
DESC 'clear password of the user on the mailsystem'
EQUALITY caseExactIA5Match
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{32}
SINGLE-VALUE )

attributetype ( 1.3.6.1.4.1.7914.1.2.1.9 NAME 'userFullname'
DESC 'full name of user'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.40{64}
SINGLE-VALUE )


attributetype ( 1.3.6.1.4.1.7914.1.2.1.10 NAME 'userActive'
DESC 'The status of a user account'
ORDERING integerOrderingMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.27{16}
SINGLE-VALUE )
attributetype ( 1.3.6.1.4.1.7914.1.2.1.11 NAME 'userMailReplyText'
DESC 'A reply text for every incoming message'
SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.44{4096}
SINGLE-VALUE )

attributetype ( 1.3.6.1.4.1.7914.1.2.1.12 NAME 'userRegisterDate'
DESC 'timestamp of user registration'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
SINGLE-VALUE )

attributetype ( 1.3.6.1.4.1.7914.1.2.1.13 NAME 'userExpireDate'
DESC 'timestamp of user mailbox expiration'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
SINGLE-VALUE )

# Object Class Definitions

objectclass ( 1.3.6.1.4.1.7914.1.2.2.1 NAME 'kunmailUser'
DESC 'KunMail-LDAP User' SUP top STRUCTURAL
MUST ( userNo $ userName $ cn $ userUid $ userGid )
MAY ( userMaildir $ userHome $ userClearpw $ userQuota $ userFullname $ userMailReplyText $ userActive $ userRegisterDate $ userExpireDate ) )


启动openldaps时报错,请帮忙
错误如下:
/usr/local/openldap/etc/openldap/schema/kunmail.schema: line 9: Missing closing parenthesis before @
AttributeTypeDescription = "(" whsp
  numericoid whsp      ; AttributeType identifier
  [ "NAME" qdescrs ]             ; name used in AttributeType
  [ "DESC" qdstring ]            ; description
  [ "OBSOLETE" whsp ]
  [ "SUP" woid ]                 ; derived from this other
                                   ; AttributeType
  [ "EQUALITY" woid ]            ; Matching Rule name
  [ "ORDERING" woid ]            ; Matching Rule name
  [ "SUBSTR" woid ]              ; Matching Rule name
  [ "SYNTAX" whsp noidlen whsp ] ; see section 4.3
  [ "SINGLE-VALUE" whsp ]        ; default multi-valued
  [ "COLLECTIVE" whsp ]          ; default not collective
  [ "NO-USER-MODIFICATION" whsp ]; default user modifiable
  [ "USAGE" whsp AttributeUsage ]; default userApplications
                                   ; userApplications
                                   ; directoryOperation
                                   ; distributedOperation
                                   ; dSAOperation
  whsp ""
作者: py    时间: 2004-04-14 15:20
标题: 我把《手把手装postfix+ldap》整理了一下
在行首加空格,不要在行末加空格
作者: hefish    时间: 2004-04-14 16:58
标题: 我把《手把手装postfix+ldap》整理了一下
看看openldap admin guide中间关于schema的描述,
别光照我的做。
我不是模特。
作者: gsea_2000    时间: 2004-04-14 18:11
标题: 我把《手把手装postfix+ldap》整理了一下
已经解决,谢谢:)
作者: gsea_2000    时间: 2004-04-14 18:12
标题: 我把《手把手装postfix+ldap》整理了一下
make -f Makefile.init makefiles 'CCARGS=-DHAS_LDAP -I/usr/local/openldap/include -DUSE_SASL_AUTH -I/usr/local/include/sasl' 'AUXLIBS=-L/usr/local/openldap/lib -llber -lldap -L/usr/local/lib -lsasl2'


我在编译通不过,说是没有db.h文件:(
作者: hefish    时间: 2004-04-14 19:21
标题: 我把《手把手装postfix+ldap》整理了一下
本贴终止,请勿跟帖。

我总算知道,为什么写HOWTO的中国人越来越少。




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2