Cionsystems Archives - ADSploit https://adsploit.com/tag/cionsystems-2/ Powered by CionSystems inc Thu, 20 Sep 2018 10:57:39 +0000 en-US hourly 1 https://wordpress.org/?v=6.5.3 https://adsploit.com/wp-content/uploads/2022/08/icon-36x36.png Cionsystems Archives - ADSploit https://adsploit.com/tag/cionsystems-2/ 32 32 Basic openldap queries and config files https://adsploit.com/basic-openldap-queries-and-config-files/ https://adsploit.com/basic-openldap-queries-and-config-files/#respond Thu, 20 Sep 2018 10:57:39 +0000 http://blog.cionsystems.com/?p=822 To list no of establish connections netstat -an | grep “:389.*EST” | wc -l netstat -an | grep -c “:389” To list all the connections with ip detaials lsof -i tcp:389 To view the config.ldif file from the openldap command line prompt vi /etc/openldap/slapd.d/cn=config.ldif To edit the file from the particular path in openldap using […]

The post Basic openldap queries and config files appeared first on ADSploit.

]]>
To list no of establish connections
netstat -an | grep “:389.*EST” | wc -l
netstat -an | grep -c “:389”
To list all the connections with ip detaials
lsof -i tcp:389
To view the config.ldif file from the openldap command line prompt
vi /etc/openldap/slapd.d/cn=config.ldif
To edit the file from the particular path in openldap using command line to edit the olcIdletimeout setting
gedit /etc/openldap/slapd.d/cn=config.ldif
To Come out of the editor use : then type quit (:quit)
To edit no of concurrent connections in openldap
gedit etc/security/limits.d/90-nproc.conf
To see the version of openldap
slapd -VV
To list the directories
ls
Commands to start ,stop and restart
service slapd stop
service slapd start
service slapd restart
service slapd status

For changing concurrent connections go to the following file

Places –> Computer –> Filesystem ->etc ->Security -> limits.d -> 90-nproc.conf

For changing idletimeout

Filesystem ->etc ->openldap -> slapd.d -> config.ldif change olcIdleTimeOut value by default it is 0 which means dont clear the connections ,if you change this to 60 , the connections will get cleared in 1min

This file is use to set the size limit.

Filesystem -> etc -> openldap -> ldap.conf

The post Basic openldap queries and config files appeared first on ADSploit.

]]>
https://adsploit.com/basic-openldap-queries-and-config-files/feed/ 0