Freeradius:Open Directory问题,不存在rlm_opendirectory.* [英] Freeradius: problems with Open Directory, no rlm_opendirectory.* existing

查看:115
本文介绍了Freeradius:Open Directory问题,不存在rlm_opendirectory.*的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试从macOS服务器传递到FreeRADIUS,并且正在遵循Apple的 macOS服务器—服务迁移指南| 2018年3月

Im trying to pass from macOS Server to FreeRADIUS and I am following Apple's macOS Server— Service Migration Guide | March 2018

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

When trying to configure FreeRadius I have to verify the existence of some files related to Open Directory

$ ls/usr/local/lib/rlm_open目录.

$ ls /usr/local/lib/rlm_opendirectory.

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

You should see the following in the output:

rlm_opendirectory.a

rlm_opendirectory.a

rlm_opendirectory.dylib

rlm_opendirectory.dylib

rlm_opendirectory.la

rlm_opendirectory.la

但是什么都没有!

设置用户"中的最新信息 通过以下方式测试设置:

Later in "Set up users" When Testing the setting through:

$ 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库?

Where do I find these files? Where do I find the Open Directory library?

先谢谢了!

推荐答案

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

I solved it. The problem was that I tried to install through brew, which in its default setting does not use --enable-developer=yes option.

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

I had to edit the formula and reinstall in order to get the openDirectory driver.

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

这篇关于Freeradius:Open Directory问题,不存在rlm_opendirectory.*的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆