FreeRadius无法从LDAP加载客户端的问题求助
FreeRadius无法从LDAP加载客户端的问题求助
大家好,我最近在尝试把Radius客户端存储到LDAP中并调用使用,目前客户端已经在LDAP里配置完成了,用ldapsearch查询能正常查到相关条目:
$ ldapsearch -x -H ldap://ldap.example.com -D "cn=admin,dc=example,dc=com" -w admin -b "dc=example,dc=com" '(&(objectClass=freeradiusClient)(freeradiusClientShortname=client1))' # extended LDIF # # LDAPv3 # base <dc=example,dc=com> with scope subtree # filter: (&(objectClass=freeradiusClient)(freeradiusClientShortname=client1)) # requesting: ALL # # 192.168.10.2, clients, radius, services, example.com dn: freeradiusClientIdentifier=192.168.10.2,ou=clients,ou=radius,ou=services,d c=example,dc=com objectClass: freeradiusClient objectClass: radiusClient freeradiusClientIdentifier: 192.168.10.2 freeradiusClientShortname: client1 freeradiusClientType: other radiusClientSecret: password # search result search: 2 result: 0 Success # numResponses: 2 # numEntries: 1
FreeRadius的LDAP模块已经启用了,而且当我把客户端配置写在/etc/raddb/clients.conf里的时候,模块工作完全正常,但就是没办法从LDAP加载这些客户端。有没有朋友能帮忙分析下可能的问题点,或者给点排查方向呀?
备注:内容来源于stack exchange,提问作者Bnr
相关产品推荐
相关产品推荐

