[Centos] Problem with change user

Thu Dec 23 13:40:23 UTC 2004
Ted Kaczmarek <tedkaz at optonline.net>

On Thu, 2004-12-23 at 08:55 -0300, Cristofer Nicolas Reyes Aguilera
wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hi!
> 
> I'm test CentOS in this moment, before used White Box and  I had the same 
> problem when I change from normal user to postgres:
> 
> [puc at carcel ]$ su - postgres
> Password:
> free(): invalid pointer 0x7ed1d0!
> free(): invalid pointer 0x9af7930!
> Segmentation fault
> [puc at carcel ]$
> 
> I'm using LDAP, but user "puc" is a local user, if I don't to autentificar 
> whit LDAP the change work.
> 
> I have tried to do:
> 
> [puc at carcel ]$ strace su - postgres
> 
> and between the information what give me it's this:
> 
> open("/usr/share/locale/en_US.UTF-8/LC_MESSAGES/coreutils.mo", O_RDONLY) = -1 
> ENOENT (No such file or directory)
> open("/usr/share/locale/en_US.utf8/LC_MESSAGES/coreutils.mo", O_RDONLY) = -1 
> ENOENT (No such file or directory)
> open("/usr/share/locale/en_US/LC_MESSAGES/coreutils.mo", O_RDONLY) = -1 ENOENT 
> (No such file or directory)
> open("/usr/share/locale/en.UTF-8/LC_MESSAGES/coreutils.mo", O_RDONLY) = -1 
> ENOENT (No such file or directory)
> open("/usr/share/locale/en.utf8/LC_MESSAGES/coreutils.mo", O_RDONLY) = -1 
> ENOENT (No such file or directory)
> open("/usr/share/locale/en/LC_MESSAGES/coreutils.mo", O_RDONLY) = -1 ENOENT 
> (No such file or directory)
> 
> Somebody help me please.
> - -- 
> Cristofer Reyes Aguilera linux-user #353991                           

I am guessing that the response from your ldap server is not allowing
that user access. As you stated, with a non ldap auth user it works.
Their may also be some pam issue. If you don't get any helpful response
try the openldap mailing list or the pam mailing list.

Ted