Posted On March 28, 2019

OpenLDAP Migration

kimconnect 0 comments
blog.KimConnect.com >> Linux , Windows >> OpenLDAP Migration

LDAP PKGSRC Cutover

# Compress ldap directory on WEB01.PROD
tar -C /home/webadmin/pkg/var/openldap -czvf /tmp/kimconnect-com.gz kimconnect-com
chmod 777 /tmp/kimconnect-com.gz
 
# Make a backup of ldap files
cd /home/webadmin/pkg/var/openldap
dateString=$(date +”%m_%d_%Y”)
mv kimconnect-com kimconnect-com_$dateString
 
# Pull files from WEB01.PROD while logon to WEB02.PROD as webadmin
scp -P{port-number} webadmin@WEB01:/tmp/kimconnect-com.gz /home/webadmin/pkg/var/openldap
 
# Untar
cd /home/webadmin/pkg/var/openldap && tar xvzf kimconnect-com.gz

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post

Linux: Remediate SSL Weak Cipher Suites

Description The remote host supports the use of SSL ciphers that offer weak encryption. Note:…

Install Files within the NewPCSetupFiles Template Directory

net use y: \\FILESERVER01.kimconnect.com\users\template\newPCSetup y: regedit.exe /s disable_uac_win7.reg cd NewPCSetupFiles dotnetfx-winfsc.exe /Q dotNetFx40_Full_x86_x64.exe /quiet /norestartdotnetfx45_full_x86_x64.exe…

How to Disable Disk Checking on Windows Bootup

Run CMD or PowerShell as Administrator Issue this command to exclude checking of Systems volume…