首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Freeradius:开放目录的问题,不存在rlm_opendirectory.*

Freeradius:开放目录的问题,不存在rlm_opendirectory.*
EN

Stack Overflow用户
提问于 2019-02-10 13:53:50
回答 1查看 349关注 0票数 0

我试图从macOS服务器传递到FreeRADIUS,我正在遵循苹果的macOS服务器-服务迁移指南-2018年3月

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

$ ls /usr/local/lib/rlm_opendirectory。 您应该在输出中看到以下内容: rlm_opendirectory.a rlm_opendirectory.dylib rlm_opendirectory.la

但那里什么都没有!

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

代码语言:javascript
复制
$ sudo /usr/local/Cellar/freeradius-server/3.0.17/bin/radiusd -XC

我得到:

代码语言:javascript
复制
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 

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

谢谢提前了!

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2019-04-03 08:36:30

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

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

代码语言:javascript
复制
$ brew edit freeradius-server
add: --enable-developer=yes
save the formula
$ brew reinstall -s freeradius-server
票数 3
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/54617087

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档