Ignore:
Timestamp:
Apr 28, 2011, 7:45:54 PM (13 years ago)
Author:
mitchb
Message:
Move 389-ds's slapd-scripts.socket to /var/run

It turns out that mode 777 directories containing files
that daemons use is... not the most brilliant thing we've
done.  389-ds has finally decided to insist on clobbering
the permissions of /var/run/dirsrv to be less foolish,
but several of our daemons and client programs need to
be able to access the LDAP daemon's socket.  Come visit
it in its new home, conveniently located just two directories
below the root.
Location:
trunk/server/fedora/config/etc
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/server/fedora/config/etc/httpd/vhosts.d/reify-vhost.py

    r1768 r1818  
    2525import sys
    2626
    27 ll = ldap.initialize("ldapi://%2fvar%2frun%2fdirsrv%2fslapd-scripts.socket/")
     27ll = ldap.initialize("ldapi://%2fvar%2frun%2fslapd-scripts.socket/")
    2828ll.simple_bind_s("", "")
    2929
  • trunk/server/fedora/config/etc/ldap.conf

    r512 r1818  
    2727#uri ldapi://%2fvar%2frun%2fldapi_sock/
    2828# Note: %2f encodes the '/' used as directory separator
    29 uri ldapi://%2fvar%2frun%2fdirsrv%2fslapd-scripts.socket/
     29uri ldapi://%2fvar%2frun%2fslapd-scripts.socket/
    3030
    3131# The LDAP version to use (defaults to 3
  • trunk/server/fedora/config/etc/nslcd.conf

    r1817 r1818  
    131131#map    group  gidNumber        gid
    132132# This comment prevents repeated auto-migration of settings.
    133 uri ldapi://%2fvar%2frun%2fdirsrv%2fslapd-scripts.socket/
     133uri ldapi://%2fvar%2frun%2fslapd-scripts.socket/
    134134base dc=scripts,dc=mit,dc=edu
    135135base   group  ou=Groups,dc=scripts,dc=mit,dc=edu
  • trunk/server/fedora/config/etc/postfix/virtual-alias-domains-ldap.cf

    r1443 r1818  
    1212# version 3 is necessary to use ldapi.
    1313
    14 server_host = ldapi://%2fvar%2frun%2fdirsrv%2fslapd-scripts.socket/
     14server_host = ldapi://%2fvar%2frun%2fslapd-scripts.socket/
    1515search_base = ou=VirtualHosts,dc=scripts,dc=mit,dc=edu
    1616query_filter = (&(objectClass=scriptsVhost)(|(scriptsVhostName=%s)(scriptsVhostAlias=%s))(!(scriptsVhostName=scripts.mit.edu)))
  • trunk/server/fedora/config/etc/postfix/virtual-alias-maps-ldap.cf

    r1443 r1818  
    1313# necessary to use ldapi.
    1414
    15 server_host = ldapi://%2fvar%2frun%2fdirsrv%2fslapd-scripts.socket/
     15server_host = ldapi://%2fvar%2frun%2fslapd-scripts.socket/
    1616search_base = ou=VirtualHosts,dc=scripts,dc=mit,dc=edu
    1717query_filter = (&(objectClass=scriptsVhost)(|(scriptsVhostName=%d)(scriptsVhostAlias=%d))(!(scriptsVhostName=scripts.mit.edu)))
Note: See TracChangeset for help on using the changeset viewer.