I have an interesting problem I hope to have help with. I am running PgSQL and there is a database user called 'admin' with all privileges and a password 'X' let's say. I am trying to move this server to use the local active directory server for authentication. Now, everyone depends on this 'admin' password being 'X' and there's no way I can simply add the user 'admin' to the AD server because there already is one.
Now, I know you can make a mapping like
But, if I enable LDAP for all authentications, how does this work?
If I am user Y and I connect using PHP let's say DBConnect('admin', 'X') and I have the mapping that user Y can connect as admin, will it fail because the password was defined locally in pgSQL and not AD? Do I have to login as admin now with my own password and not admin's password?
pgsql-admin by date
|Next:||From: A J||Date: 2010-11-29 16:49:59|
|Subject: Extension for file management under postgres|
|Previous:||From: Kevin Grittner||Date: 2010-11-29 14:59:34|
|Subject: Re: data mount point lost permissions|