phosphor-ldap-conf: change the permissions of the nslcd.conf file

If bindDN password is being written in the file then
change the permission of the file to 640 so that it is
not world readable.

If bindDN password is not written then permission would
be 644 which is default.

Change-Id: I567285ad75e18c2a38c37918d3d3a5e61b0b39ea
Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
Signed-off-by: Nagaraju Goruganti <ngorugan@in.ibm.com>
1 file changed