2012-01-08 44 views
0

我已经成功地在ArchLinux 2011.08.19上设置Openfire 3.7.1与OpenLDAP 2.4.28通信。我希望XMPP用户能够注册并且注册应该被OpenLDAP服务器接受,并且(因为它是LDAP)注册应该是全局的。因此,如果用户进入,通过XMPP注册,他应该能够登录到网络或访问他的公共FTP。网站注册也一样。我怎样才能做到这一点?我现在的slapd配置是这样的:允许用户使用OpenLDAP注册Openfire服务器

include   /etc/openldap/schema/core.schema 
include   /etc/openldap/schema/cosine.schema 
include   /etc/openldap/schema/inetorgperson.schema 

pidfile   /run/openldap/slapd.pid 
argsfile  /run/openldap/slapd.args 

    access to dn.subtree="dc=domain,dc=tld" attrs=uid,userPassword 
     by self write 
     by anonymous auth 
     by * none 

    access to dn.children="dc=domain,dc=tld" attrs=cn,gn,sn,displayName,mail,mobile,homePhone,homePostalAddress,telephoneNumber 
     by self write 
     by * read 

    access to dn.subtree="dc=domain,dc=tld" 
     by * read 

    access to * by * read 

database  bdb 
suffix   "dc=domain,dc=tld" 
rootdn   "cn=Manager,dc=domain,dc=tld" 
rootpw   {SSHA}secret 
directory  /var/lib/openldap/openldap-data 
index objectClass  eq 
+1

为什么添加'active-directory'标签? – home 2012-01-08 10:52:42

+1

这是一个非编程问题,你应该在ServerFault中有更多的观众 – JPBlanc 2012-01-08 12:45:05

+0

很好的问题,我真的很想看看你取得了什么。但是这个问题属于serverfault。 – Flow 2012-01-08 17:53:59

回答

0

在OpenFire服务器上注册后,您需要在OpenLDAP服务器上实际创建用户信息。从OpenFire服务器到LDAP数据库的连接被认为是“只读”的。

如果您希望在注册后拥有全局可用的数据,则需要将用户插入到LDAP服务器中。将用户信息插入OpenLDAP服务器很简单,但我认为要将用户信息添加到Active-Directory服务器需要特定的工具(我从来没有使用Windows客户端工具以外的任何其他工具对Windows Server执行此活动)。

我对OpenFire系统知之甚少,无法知道如何完成此操作。

相关问题