Red Hat 8.1 Instalační příručka Strana 22

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 67
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 21
/usr/lib/mozldap/ldapsearch -D "cn=directory m anager" -w secret -p 389
-h server.example.com -b "o=NetscapeRoot"
"(objectclass=nsAdminConfi g)" dn
version:1
dn: cn=configuration, cn=adm in-serv-example, cn=Red Hat Adm inistration
Server, cn=Server Group, cn=server.example.com, ou=example.com,
o=NetscapeRoot
b. T he Admin Server entry can be edited using ldapmodify. T he port number is set in the
nsServerPort attribute. For example:
/usr/lib/mozldap/ldapm odify -D "cn=directory manager" -w secret -p 389
-h server.example.com
dn: cn=configuration, cn=adm in-serv-example, cn=Red Hat Adm inistration
Server, cn=Server Group, cn=server.example.com, ou=example.com,
o=NetscapeRoot
changetype:modify
replace:nsServerPort
nsServerPort:10030
Hit Enter twice to submit the operation, and then Control+C to close ldapm odify.
2. Open the Admin Server configuration directory.
cd /etc/dirsrv/admin-serv
3. Edit the Listen parameter in the console.conf file.
Listen 0.0.0.0:10030
4. Restart the Admin Server.
service dirsrv-admin restart
2.6. Setting Host Restrictions
Connection restrictions specify which hosts are allowed to connect to the Admin Server. You can list
these hosts by DNS name, IP address, or both. Only host machines listed within the connection
restriction parameters are allowed to connect to the Admin Server. T his setting allows wildcards within a
domain or an IP address range to make setting connection restrictions simpler.
2.6.1. Setting Host Restrictions in the Console
1. Open the Admin Server management window.
2. Click the Configuration tab.
3. Click the Network tab.
4. T he Connection Restrictions area displays a list of hosts allowed to connect to the Admin
Server. T he drop-down list specifies whether the list entries are added by DNS name or by IP
address. The list is evaluated first by host names, and then by IP addresses.
Chapter 2. Admin Server Configuration
19
Zobrazit stránku 21
1 2 ... 17 18 19 20 21 22 23 24 25 26 27 ... 66 67

Komentáře k této Příručce

Žádné komentáře