virtual Lenny OpenVZ LDAP-Server and -Clients loginproblems [message #40298] |
Mon, 09 August 2010 19:50 |
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
the users configured on the ldap-server,
but with the command
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 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
|
|
|