[Fedora-directory-users] dirsrv on IPv6 and dirsrv-admin on IPv4

Peter Green peter.green at bexleyitsolutions.co.uk
Thu Apr 23 11:07:04 UTC 2009


Hi,

Have you tried changing the "Listen" directive in the
file /etc/dirsrv/admin-serv/console.conf?

>From the file itself:

[quote]
#
# Listen: Allows you to bind Apache to specific IP addresses and/or
# ports, in addition to the default. See also the <VirtualHost>
# directive.
#
# Change this to Listen on specific IP addresses as shown below to
# prevent Apache from glomming onto all bound IP addresses (0.0.0.0)
# e.g. "Listen 12.34.56.78:80"
#
# To allow connections to IPv6 addresses add "Listen [::]:80"
#
Listen 0.0.0.0:9830
[/quote]

You will need to restart the admin server component afterwards. A quick
"service dirsrv-admin restart" will suffice on Red Hat-based systems.

HTH,

Pete

On Wed, 2009-04-22 at 18:47 -0700, Fortunato wrote:
> Hello,
> 
> According to netstat, it looks like the ns-slapd is listening on the IPv6 address but the dirsrv process is on IPv4. Is there a quick way to put dirsrv on IPv6 as well?  
> 
> # netstat -tlpn
> Active Internet connections (only servers)
> Proto Recv-Q Send-Q Local Address               Foreign Address             State       PID/Program name             
> tcp        0      0 0.0.0.0:9830                0.0.0.0:*                   LISTEN      2591/httpd.worker   
> tcp        0      0 0.0.0.0:111                 0.0.0.0:*                   LISTEN      2158/rpcbind        
> tcp        0      0 0.0.0.0:34129               0.0.0.0:*                   LISTEN      2171/rpc.statd      
> tcp        0      0 0.0.0.0:22                  0.0.0.0:*                   LISTEN      2902/sshd   
> tcp        0      0 127.0.0.1:25                0.0.0.0:*                   LISTEN      2919/sendmail: acce 
> tcp        0      0 :::389                      :::*                        LISTEN      2491/ns-slapd       
> tcp        0      0 :::111                      :::*                        LISTEN      2158/rpcbind        
> tcp        0      0 :::22                       :::*                        LISTEN      2902/sshd           
> 
> Thanks in advance,
> 
> --
> Fedora-directory-users mailing list
> Fedora-directory-users at redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-directory-users
-- 
Peter Green B.Sc. (Hons) M.B.C.S.
Director / Technical Lead
Bexley I.T. Solutions Ltd.

M: +44 (0) 7908 135 070




More information about the 389-users mailing list