[Date Prev][Date Next] [Chronological] [Thread] [Top]

Local socket permissions


I'm using OpenLDAP 2.2.13 (RHEL4). According to slapd(8), I can use a
LDAP URL extension "x-mod=xxx" to specify the permission of the IPC
socket. However when I try this it does not work:

[root@xxxx ~]# slapd -h "ldaps://
[root@xxxx ~]# ls -l /var/run/ldapi
srwxr-xr-x  1 root root 0 Mar  5 17:49 /var/run/ldapi

When I browse through the code, i see that support for setting socket
permissions is commented out. The relevant commit is here:

The comment in the source is "don't muck with socket perms".

Is this feature supposed to work? If not, is there another way to
specifiy the default socket permissions. The default permissions at the
moment only allow root to connect.


Attachment: signature.asc
Description: OpenPGP digital signature