Skip to main content

Posts

Featured

OpenLDAP - Modifying cn=config attribute

You could modify the cn=config attribute with the following steps 1) Log in as root 2) Create a ldif file (e.g ldap_log_level.ldif ) with the following entry. For example, I am adding olcLogLevel to any dn: cn=config changetype: modify add: olcLoglevel olcLogLevel: any 2) Then run ldapmodify -H ldapi:/// -Y EXTERNAL -f ~/ldap_log_level.ldif -H Specify URI(s) referring to the ldap server(s) -Y Specify the SASL mechanism to be used for authentication -f file LDAPI is an Abbreviation of Using LDAP over IPC Mechanisms.  UNIX-domain socket. EXTERNAL is  use EXTERNAL mechanism for SASL. If log in as root, this will authenticate the root user to read and make changes to ldap configuration. This is most commonly use to modify cn=config root entry Example output $ ldapmodify -H ldapi:/// -Y EXTERNAL -f ~/ldap_log_level.ldif SASL/EXTERNAL authentication started SASL username: gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth SASL SSF: 0 modifying entry "cn=config" 3) You...

Latest Posts

OpenLDAP - Debug logging

Windows Defenders - Windows cannot remove Microsoft.Windows.SecHealthUI_10.0.19041.1023_neutral__cw5n1h2txyewy because the current user does not have that package installed

Linux - passwd "The password is too similar to the old one"

Windows 11 - Restore old Right-click Context menu

Oracle Virtual Box - "Failed to get device handle and/or partition ID" error

Window 11 - "This is no longer located in" error when deleting a directory

WebEx - Code Block with Syntax Highlighting in message

Python - Wait for TCP ack before sending next data

Linux - "cannot execute: required file not found" error

PowerShell - Increase screen buffer