Use same ldap credentials to login into hue as well as the postgres connection for notebook

Hi there,

I have successfully logged into hue with ldap credentials by providing ldap config in hue.ini. But I want to use the same credentials internally to connect to postgresql notebook connection.