Nginx bind to passenger.sock failed with LDAP authentication

Do not remove socket files manually, that could leave the PUN in a weird state. Instead try to use this:

/opt/ood/nginx_stage/sbin/nginx_stage nginx_clean -f -u laud

Have you tried OnDemand 1.8 with Dex and LDAP? That might yield better results. As for why you see that in the first place, it’s hard to say. I found a few older threads with similar errors maybe useful. It looks like could be issue with LDAP configuration or user not mapping correctly to local OOD system. Does the user laud exist when you do getent passwd laud from the OnDemand host?