OpenVZ Forum


Home » General » Support » virtual Lenny OpenVZ LDAP-Server and -Clients loginproblems (i have no idea why i can't login on the ldap-client via ldap. (Debian Lenny))
virtual Lenny OpenVZ LDAP-Server and -Clients loginproblems [message #40298] Mon, 09 August 2010 19:50
Erdbeergulasch is currently offline  Erdbeergulasch
Messages: 6
Registered: March 2010
Junior Member
i have no idea why i can't login on the ldap-client via ldap, so here is a short description of my machines:
I have on the HN (Debian Lenny) 2 VE's, which are in the same subnet (192.168.1.0/24)
The first VE (Hostname: ldap1, IP: 192.168.1.91) is the ldap-server, which is so configured, that i can manage the server via phpldapadmin.
The second VE (Hostname: ftp1, IP: 192.168.1.31) is the ldap-client, there should run a sftp-server in the future and the sftp-server(ssh-server) should use ldap-usernames to login.

the problem:
on the ftp1, i get with this command
getent passwd

the users configured on the ldap-server,
but with the command
id USERNAME

the result is, that the user doesn't exist. (USERNAME is this name, i get returned by getent)
and if i try to login via ssh, i get permission denied.
and a
su USERNAME
doesn't work too, because the user is not known on the system.

my installation:
i don't think, that the ldap-server is the problem, because the phpldapadmin and getent on ftp1 are working perfectly, but if you want, i can post the config here too.
the VE ftp1 was configured with the following how-to:
http://wiki.debian.org/LDAP/NSS
and the capter "PAM setup with pam_ldap" on
http://wiki.debian.org/LDAP/PAM is configured like there.

i have tryed many debian ldap howtos, but i always get the same problem.
So i think, that the problem is probably that i use openvz.

i hope that someone can help me.

[Updated on: Mon, 09 August 2010 20:06]

Report message to a moderator

Previous Topic: VEID 101 exist mounted down
Next Topic: Centralized NFS/iSCSI Storage?
Goto Forum:
  


Current Time: Fri Jul 26 19:25:43 GMT 2024

Total time taken to generate the page: 0.03248 seconds