]> git.sur5r.net Git - openldap/commit
uses URL extensions to set socket permissions other than default
authorPierangelo Masarati <ando@openldap.org>
Mon, 28 Jan 2002 20:26:55 +0000 (20:26 +0000)
committerPierangelo Masarati <ando@openldap.org>
Mon, 28 Jan 2002 20:26:55 +0000 (20:26 +0000)
commit4f2ff1c10861e634b211694add54075a7cd68583
tree4bd2b75dc2b8b0447272d72942dc298a5cd01426
parent14662be6923878e17b2092e754a0bbc06c634a20
uses URL extensions to set socket permissions other than default

URL Syntax:

ldapi://[<path>[/????[!]x-mod=<mod>]]

where <path> is the URL-encoded path of the socket (i.e. use %2F instead
of '/' for UNIX filenames!) and <mod> is 3*[w|-] (all we need is write
permission to the socket, read/execute permissions are ignored; however,
they're set when opening the listener).  The critical flag (the optional
'!' if not used ignores the result of the chmod() operation.
servers/slapd/daemon.c