Freeradius:Open Directory的问题,没有rlm_opendirectory。*现有

问题描述 投票:0回答:1

我试图从macOS服务器传递到FreeRADIUS,我正在关注Apple的macOS服务器 - 服务迁移指南| 2018年3月

在尝试配置FreeRadius时,我必须验证是否存在与Open Directory相关的一些文件

$ ls / usr / local / lib / rlm_opendirectory。

您应该在输出中看到以下内容:

rlm_opendirectory.a

rlm_opendirectory.dylib

人里面_open directory.拉

但没有任何东西!

稍后在“设置用户”时通过以下方式测试设置:

$ 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 

我在哪里可以找到这些文件?我在哪里可以找到Open Directory库?

谢谢你提前!

macos macos-mojave freeradius osx-server
1个回答
2
投票

我解决了问题是我尝试通过brew安装,在默认设置中不使用--enable-developer=yes选项。

我必须编辑公式并重新安装才能获得openDirectory驱动程序。

$ brew edit freeradius-server
add: --enable-developer=yes
save the formula
$ brew reinstall -s freeradius-server
© www.soinside.com 2019 - 2024. All rights reserved.