/etc/dirsrv/admin-serv/admserv.conf is in 389-admin 1.1.46-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 | # BEGIN COPYRIGHT BLOCK
# Copyright (C) 2005 Red Hat, Inc.
# All rights reserved.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; version 2
# of the License.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#
# END COPYRIGHT BLOCK
#
# To get the Admin Express working properly, add the following to
# apache, either directly or thru an Include /path/to/this.conf
ADMCacheLifeTime 600
ADMServerVersionString "389-Administrator/1.1.46"
ADMConfigDir "/etc/dirsrv/admin-serv"
ScriptAlias /dist/ "/usr/lib/x86_64-linux-gnu/dirsrv/cgi-bin/"
ScriptAlias /manual/help/ "/usr/lib/x86_64-linux-gnu/dirsrv/cgi-bin/"
SetEnv LD_LIBRARY_PATH /usr/lib/x86_64-linux-gnu
# this is primarily needed for HP-UX and the other platforms
# where we bundle all of the components together
# so that adminutil can find its property files
# In FHS or explicit prefix installs, this is not needed
# nor used
SetEnv ADMINUTIL_CONF_DIR /usr/share/dirsrv/adminutil
# all access is explicitly denied by default in httpd.conf
# the following Directory directives turn on access for specific
# directories
<Directory "/usr/share/dirsrv/html/">
AllowOverride None
Options FollowSymLinks
Order allow,deny
Allow from all
</Directory>
<Directory "/usr/share/dirsrv/manual/">
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>
<Directory "/usr/share/dirsrv/icons/">
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>
# remap / requests to the download CGI
RewriteEngine on
RewriteRule ^/$ /dist/download [R,L,QSA]
# remap admin server icons
Alias /admin-serv/tasks/icons/ /usr/share/dirsrv/icons/
Alias /icons/ /usr/share/dirsrv/icons/
# Handle the initial login
<Location /admin-serv/authenticate>
SetHandler user-auth
AuthUserFile /etc/dirsrv/admin-serv/admpw
AuthType basic
AuthName "Admin Server"
Require valid-user
Order allow,deny
Allow from all
</Location>
# Handle Other Console tasks
<LocationMatch /*/[tT]asks/[Oo]peration/*>
AuthUserFile /etc/dirsrv/admin-serv/admpw
AuthType basic
AuthName "Admin Server"
Require valid-user
AdminSDK on
ADMCgiBinDir /usr/lib/x86_64-linux-gnu/dirsrv/cgi-bin
Options +ExecCGI
Order allow,deny
Allow from all
</LocationMatch>
# Handle Admin Express
<LocationMatch /*/[tT]asks/[Cc]onfiguration/*>
AuthUserFile /etc/dirsrv/admin-serv/admpw
AuthType basic
AuthName "Admin Server"
Require valid-user
AdminSDK on
ADMCgiBinDir /usr/lib/x86_64-linux-gnu/dirsrv/cgi-bin
NESCompatEnv on
Options +ExecCGI
Order allow,deny
Allow from all
</LocationMatch>
# Handle internal commands
<LocationMatch /admin-serv/commands/*>
AuthUserFile /etc/dirsrv/admin-serv/admpw
AuthType basic
AuthName "Admin Server"
Require valid-user
Order allow,deny
Allow from all
</LocationMatch>
# Handle Stop, Start, Restart, Instance Creation - invoke mod_restartd
# need to add instance creation because you may want to create an instance
# of DS on a low port, and instance creation starts the instance as well
<LocationMatch /*/[tT]asks/[Oo]peration/(?i:stop|start|restart|startconfigds|create|remove)$>
AuthUserFile /etc/dirsrv/admin-serv/admpw
AuthType basic
AuthName "Admin Server"
Require valid-user
## turn off the password pipe when using mod_restartd
AdminSDK off
ADMCgiBinDir /usr/lib/x86_64-linux-gnu/dirsrv/cgi-bin
Options +ExecCGI
RetainPerms on
Order allow,deny
Allow from all
</LocationMatch>
|