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

UNIX socket (PF_LOCAL) (ITS#1660)



Full_Name: Peter A. Savitch
Version: 2.0.23
OS: Redhat Linux
URL: 
Submission from: (NULL) (213.147.48.74)


######ISSUE 1
As of openldap-2.0.23, file servers/slapd/connection.c, line 546, has a
following typo in connection_destroy(), note the lowercase "ell":

#ifdef LDAP_PF_lOCAL

wich prevents slapd from removing it's UNIX socket file.

it should be replaced with uppercased string

#ifdef LDAP_PF_LOCAL

######ISSUE 2
Is there any way to create UNIX socket with a user-defined or pre-defined
permission (i.e. 0777)? As I can see, slapd creates it's ldapi:// socket with
0700 regardless of the umask setting. My OS-dependent manpage says that file
permission on UNIX socket DOES matter.

Thank You.