This simple script gives you the list of FC HBA detected in system. It query the sysfs filesystem to get the available fibre channel HBA. Script works for most of the Linux flavors, as specially any of Redhat, SUSE, Fedora and Centos distributions. Continue reading “Linux get the list of FC HBA’s and WWPN”
How to create new filesystem in AIX from scratch? This post let help you create new filesystem in just 8 steps. Believe me it is much easier than Linux. Continue reading “AIX create new filesystem in 8 steps”
The P5/6/7 hardware loaded with AIX. How to check the FC HBA status?
This command lists all devices available in AIX system. Continue reading “AIX check the HBA status”
ERROR: Password cannot be changed. Reason: password lifetime has passed.
To get rid of this error. First unlock the account. Continue reading “How to reset password in HP UX?”
The ldapsearch command used to query the required information from LDAP databases. The ldapsearch command can be used on many occasions with different filter statement. Various ldapsearch command examples and use cases with advanced options discussed here.
Note: Replace the password ($PASS) and ROOTDN with your server values. You may need to specify LDAP URI and authentication methods depend upon configuration. Here i am working from LDAP server.
Filter user with UID
Look for the users with given UID value. This command list the users whoever UID set to 20005. Continue reading “ldapsearch command examples with advanced options”
On VMware virtual machine hot added new virtual network interface (NIC). The newly added network interface is of VMXNET3 type. Initially kernel named the new network interface as “eth0”. Post server reboot network interface device name changed from “eth0” to “rename2”. But the other existing network interface name remains same as “eth1”.
Q. My ldap server currently configured to accept only non-encrypted connections. The server listens to port 389. I want to make my server to accept only TLS/SSL encrypted connections. How to migrate to TLS/SSL communication with very minimal downtime window? Most important is current LDAP directory data should not be disturbed.
By upgrading to TLS/SSL encrypted communication we ensure data transferred between LDAP client and server will be encrypted. This is most important when the data travel through untrusted or public network. The normal LDAP communication over TLS/SSL channel specified as “ldaps” (same like https) in URI. Continue reading “Openldap migrate to TLS/SSL communication”
Q. I am trying to configure LDAP client. Have copied the certificate to client and enabled TLS in pam_ldap.conf. Still the client failed to communicate with LDAP server. At server end found TLS negotiation failure error. How to fix it?
Sep 11 10:35:12 rhel4 slapd: conn=1130 fd=12 ACCEPT from IP=10.20.31.140:37309 (IP=0.0.0.0:636) Sep 11 10:35:12 rhel4 slapd: conn=1130 fd=12 closed (TLS negotiation failure)
How to notify users when their password about to expire? The ppolicy overlay working as expected for password expiry rules. But it does not have option of sending password expiry warning to end users.
I have an alternate fix. Created a script which will Continue reading “Send password expiry warning – Openldap”
Q. All the LDAP users unable to login and getting access denied error. How to fix without losing any of user information?
First check whether the user’s password expired or locked
1. This command retrieve user password status related ppolicy. The password expired/locked will be notified. Continue reading “Users unable to login – Openldap”