flagflag  
Page Top
Install anchor.png
  • defaultでは /usr/share/phpldapadmin/ に作る
# git clone https://github.com/breisig/phpLDAPadmin.git phpldapadmin
# cd phpldapadmin/conf
# cp config.php{.example,}
# vi config.php
# ../..
# chown -R apache.apache phpldapadmin
DocumentRoot 以下から,適当にシンボリックリンクを張る
Page Top
/usr/share/phpldapadmin/config/config.ph​p anchor.png
$servers->setValue('server', 'name', 'NSL LDAP Server');
$servers->setValue('server', 'host', '202.26.###.###');
$servers->setValue('server', 'base', array('cn=config', 'dc=nsl,dc=tuis,dc=ac,dc=jp'));

$servers->setValue('login', 'bind_id', 'cn=******');
$servers->setValue('login', 'bind_pass', '******');
 
Page Top
サーバの動的設定 anchor.png
  • 匿名アクセスの許可:cn=config, nsslapd-allow-anonymous-access
     
Page Top

構築例 anchor.png

  1. ou=group と ou=user を作る.ou は Generic: Organisational Unit を選択
  2. ou=group の下に Generic: Posix Group でエントリを作る
  3. ou=user の下に Generic: User Account でエントリを作る
    1. ユーザID は一回作った後で,変更する.
       
Page Top
User Account のテンプレートに mail アドレスを追加 anchor.png
  • /usr/share/phpldapadmin/templates/creati​on/posixAccount.xml に以下を追加
    <attribute id="mail">
        <display>Email</display>
        <icon>mail.png</icon>
        <order>10</order>
        <page>1</page>
    </attribute>
    </attributes>

Front page   Freeze Diff Backup Copy Rename Reload   New List of Pages Search Recent changes   Help   RSS of recent changes (RSS 1.0) RSS of recent changes (RSS 2.0) RSS of recent changes (RSS Atom)
Counter: 588, today: 3, yesterday: 0
Last-modified: 2021-06-29 (Tue) 12:30:25 (JST) (1041d) by iseki

Site Search

Login

Username:

Password:


Lost Password?
Register now!!

Sub Menu

mini Calendar

Last MonthMay 2024Next Month
Su Mo Tu We Th Fr Sa
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
Today

Who's Online

79 user(s) are online (22 user(s) are browsing xpwiki)

Members: 0
Guests: 79

more...

Access Counter

Today : 8843884388438843
Yesterday : 1615016150161501615016150
Total : 2348813623488136234881362348813623488136234881362348813623488136
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com