博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
opennebula auth module ldap
阅读量:7072 次
发布时间:2019-06-28

本文共 1166 字,大约阅读时间需要 3 分钟。

1,安装net-ldap  addon ruby library for openldap

ldap for ruby implements client access LDAP protocol

use ldap as openNebula default auth module

OpenNebula issues:

missing step to use LDAP as default driver
cp -r /var/lib/one/remotes/auth/ldap /var/lib/one/remotes/auth/default

To make it working, we must add default in AUTH_MAD like in the following:

oned.conf

AUTH_MAD = [     executable = "one_auth_mad",   authn = "ssh,x509,ldap,server_cipher,server_x509" authn = "default,ssh,x509,ldap,server_cipher,server_x509" ] SESSION_EXPIRATION_TIME = 900 great regards

The problem is that oneuser create myuser --driver ldap requires a password or an authentication method:

oneadmin@one:~$ oneuser create myldapuser --driver ldapYou have to specify an Auth method or define a password

This could be made optional, or even disabled per driver.

In LDAP you can create a special group for OpenNebula and in "auth.conf" set the group field (filter) accordingly. We got something like this:

  1. group the users need to belong to. If not set any user will do
    :group: 'cn=opennebula,ou=roles,dc=domain,dc=tld'

Only users that are a member of group "opennebula" are able to authenticate

 

 

转载地址:http://lmzml.baihongyu.com/

你可能感兴趣的文章
Spark 用户自定义函数 Java 示例
查看>>
RabbitMQ 发布订阅
查看>>
Python&R&量化 金融之路
查看>>
有关java中static关键的重写问题
查看>>
Tortoise SVN 创建分支与合并
查看>>
Delphi 发送按键
查看>>
Python - 默认参数的一次性求值
查看>>
Asp.net DateTime格式化
查看>>
Internet TV 影音娱乐新生活
查看>>
Linux 引导过程内幕
查看>>
android service 学习(上)
查看>>
Azure Redis Cache (4) 配置和管理Redis Cache
查看>>
WPF VS Apollo
查看>>
开始忙碌
查看>>
常用CSS样式
查看>>
[编]使用AutoCompleteExtender实现文本框自动匹配
查看>>
vim替换^m字符
查看>>
数据结构 Joseph
查看>>
android GC内存泄露问题
查看>>
协助ScriptCase7.1做些汉化矫正工作
查看>>