I currently have a VPC connection between LDAP server onsite and LDAP client in Amazon. However, after some time the connection starts to fail. I can notice that, since this appears for my user (even though I have access to the other user directory). When I restart the server, LDAP connection goes back to normal.
ls: cannot access '/home/user2': Operation not permitted
total 76
drwxr-xr-x 4 root root 0 May 4 05:54 .
drwxr-xr-x 20 root root 4096 May 1 05:54 ..
drwxr-xr-x 139 user1 group1 69632 May 4 05:54 user1
d????????? ? ? ? ? ? user2
This appears in the log, it looks like relevant information, but I do not know why this might be happening.
Jun 7 03:17:01 machine_name CRON[1303070]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
Jun 7 03:20:16 machine_name nslcd[717]: [4bdd8a] <group/member="user2"> ldap_result() failed: Can't contact LDAP server: Connection reset by peer
Jun 7 03:20:16 machine_name nslcd[717]: [4bdd8a] <group/member="user2"> ldap_abandon() failed to abandon search: Can't contact LDAP server: Transport endpoint is not connected
Anyone with experience that can help with this issue?