-->

FREERADIUS:问题打开目录,没有rlm_opendirectory *现有的。(Freera

2019-11-05 11:25发布

我试着从MacOS的服务器传递到FreeRADIUS的,我下面的苹果MacOS的服务器-服务迁移指南| 2018年3月

尝试配置FREERADIUS我必须验证有关Open Directory中某些文件的存在

$ LS的/ usr / local / lib目录/ rlm_opendirectory。

您应该看到下面的输出:

rlm_opendirectory.a

rlm_opendirectory.dylib

rlm_opendirectory.la

但是,无所不有!

后来在“设置用户”测试时的设置通过:

$ sudo /usr/local/Cellar/freeradius-server/3.0.17/bin/radiusd -XC

我得到:

FreeRADIUS Version 3.0.17
Copyright (C) 1999-2017 The FreeRADIUS server project and contributors
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE
You may redistribute copies of FreeRADIUS under the terms of the
GNU General Public License
For more information about these matters, see the file named COPYRIGHT
Starting - reading configuration files ...


/usr/local/Cellar/freeradius-server/3.0.17/etc/raddb/mods-enabled/opendirectory[20]: Failed to link to module 'rlm_opendirectory': dlopen(/usr/local/Cellar/freeradius-server/3.0.17/lib/rlm_opendirectory.dylib, 6): image not found 

在哪里可以找到这些文件? 在哪里可以找到打开目录库?

感谢的提前!

Answer 1:

我解决了它。 问题是,我试图通过BREW安装,这在它的默认设置不使用--enable-developer=yes选项。

我不得不编辑公式并重新安装以获得openDirectory驱动程序。

$ brew edit freeradius-server
add: --enable-developer=yes
save the formula
$ brew reinstall -s freeradius-server


文章来源: Freeradius: problems with Open Directory, no rlm_opendirectory.* existing