首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >在ITOPS中认证2个LDAP用户

在ITOPS中认证2个LDAP用户
EN

Stack Overflow用户
提问于 2017-09-06 17:00:13
回答 1查看 325关注 0票数 1

我在iTops中有一些LDAP用户,我想在iTops中与所有用户一起登录。但是我有一个类似于“在LDAP中找不到的用户”这样的错误。

我必须更改哪些文件夹?这样我就可以与所有LDAP用户登录。

我很感谢你们的回应,所有人。请帮帮我,谢谢。

在config-itop.php中

代码语言:javascript
复制
$MyModuleSettings = array(
'authent-ldap' => array (
    'host' => '192.168.1.2',
    'port' => 389,
    'default_user' => 'anonim',
    'default_pwd' => 'Admin123',
    'base_dn' => 'dc=vokasiub,dc=COM',
    'user_query' => '(samaccountname=%1$s)',
    'options' => array (
      17 => 3,
      8 => 0,
    ),
    'start_tls' => false,
    'debug' => true,
),
'authent-ldap2' => array (
    'host' => '192.168.2.2',
    'port' => 389,
    'default_user' => 'isoiso',
    'default_pwd' => 'Admin123',
    'base_dn' => 'ou=users ou, dc=bagusyekti,dc=COM',
    'user_query' => '(samaccountname=%1$s)',
    'options' => array (
      17 => 3,
      8 => 0,
    ),
    'start_tls' => false,
    'debug' => true,
),

'itop-attachments' => array (
    'allowed_classes' => array (
      0 => 'Ticket',
    ),
    'position' => 'relations',
    'preview_max_width' => 290,
),
'email-reply' => array (
    'enabled_default' => true,
),
'itop-backup' => array (
    'mysql_bindir' => '',
    'week_days' => 'monday, tuesday, wednesday, thursday, friday',
    'time' => '23:30',
    'retention_count' => 5,
    'enabled' => true,
    'debug' => true,
),

);

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2022-08-10 12:00:24

iTop 2.7及更高版本的

这是不可能的。

iTop 3.0和更新的

现在可以查看完整的这里文档,但是基本上您必须在iTop配置文件中设置不同的LDAP服务器:

代码语言:javascript
复制
'authent-ldap' => array (
        'host' => 'localhost',
        'port' => 389,
        'default_user' => '',
        'default_pwd' => '',
        'base_dn' => 'dc=mycompany,dc=com',
        'user_query' => '(&(uid=%1$s))',
        'options' => array (
                17 => 3,
                8 => 0,
        ),
        'debug' => false,
        'servers' => array(
                'MySecond-LDAP-Server' => array(
                        'host' => 'server1',
                        'port' => 389,
                        'default_user' => '',
                        'default_pwd' => '',
                        'base_dn' => 'dc=mycompany,dc=com',
                        'user_query' => '(&(uid=%1$s))',
                        'options' => array (
                                17 => 3,
                                8 => 0,
                        ),
                        'debug' => false,
                ),
        ),
),
票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/46080728

复制
相关文章

相似问题

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