<div dir="ltr"> want to start slapd with socket activation via 'systemd-socket-proxyd' , <br><br>I
 can see that slapd is listening to port 400 & sytemd create socket 
at 401. But ldapsearch doesn't work with port 401. Any help !!<br>

<br>-------------------<br>1. <br>$ cat proxy-to-directory-400.socket <br>[Socket]<br>ListenStream=401<br><br>[Install]<br>WantedBy=sockets.target<br>------------------------------<br>2. <br>$ cat proxy-to-directory-400.service <br>


[Unit]<br>Requires=vgp.master-ldap-400.<div>service<br>After=vgp.master-ldap-400.service<br><br>[Service]<br>ExecStart=/usr/lib/systemd/systemd-socket-proxyd ${HOSTNAME}:400<br>PrivateTmp=yes<br>PrivateNetwork=yes<br><br>
<br>
-----------------------------------<br>
3. <br>[Unit]<br>Description=Local OpenLDAP server<br>After=vgp.master-ldapdb-400-get.service<br>Requires=vgp.master-ldapdb-400-get.service<br><br>[Service]<br>Type=simple<br>LimitNOFILE=4096<br>LimitCORE=infinity<br>WorkingDirectory=/etc/ldapfiles/<br>


ExecStart=/usr/local/libexec/slapd -d 0 -f /tmp/fsldap_400.conf -h "ldap://${HOSTNAME}:400" -l "LOCAL1"<span><font color="#888888"><br></font></span></div><br clear="all"><br>-- <br>Suvendu Mitra<br>GSM - +358504821066
</div>