PAM authentication issue...

Antworten
elwinh
Beiträge: 2
Registriert: 08 Aug 2009, 21:03

PAM authentication issue...

Beitrag von elwinh »

After spending a few days trying to get OPSI working under opensuse 11.0 i hitted a problem i can't solve...

Evrything "seems" to be working fine till i try to run a netboot product.
I get the error:

Code: Alles auswählen

PAM authentication failed for user 'testpc.opsidomein': ('User not known to the underlying authentication module', 10)
I shall begin with telling what i have done so far to setup opsi.
After the 10th reinstall, this is my setup now:

I installed opensuse 11.0 with the following information:

Code: Alles auswählen

Desktop: Gnome
Hostname: opsiserver
Domain: opsidomain.local
..........
After the installation, i editted my hosts file and changed the line:

Code: Alles auswählen

127.0.0.2       opsiserver.opsidomein.local opsiserver
to:

Code: Alles auswählen

10.0.0.21       opsiserver.opsidomein.local opsiserver
I installed the dhcp service and configured it:

Code: Alles auswählen

Package: yast2-dhcp-server
(When opened, the other packages are installed)
Domain: opsidomein
First ip: 10.0.0.30
Last ip: 10.0.0.40
Bootp: active
After that i installed SAMBA:

Code: Alles auswählen

Workgroup/Domain name: opsidomein
PDC: Primair
I opened the firewall:

Code: Alles auswählen

Services:
Samba
DHCP
TFTPD
port: 4447 (got a access error when i had this closed)
After that installed all opsi packages.

Added "root" to the opsiadmin group.

Executed the code:

Code: Alles auswählen

rcopsiconfd restart
rcopsipxeconfd restart
Editted /etc/dhcpd.conf:

Code: Alles auswählen

option domain-name "opsidomein";
ddns-update-style none;
default-lease-time 14400;
use-host-decl-names on;
allow booting;
subnet 10.0.0.0 netmask 255.255.255.192 {
    range 10.0.0.30 10.0.0.40;
    default-lease-time 14400;
    max-lease-time 172800;
    server-name "10.0.0.21";
    next-server 10.0.0.21;
    filename "linux/pxelinux.0";
}
Opened xinetd and activated it. (Activates tftpd)

Installed some opsi products with:

Code: Alles auswählen

for paket in *.opsi; do echo $paket; opsiinst -f -q -k $paket; done
( had the products in a folder)

From this point, opsi starts up normaly without any warnings.
I can add a pc and setup a netboot pruduct.

After i start my testpc, it gets a ip, loads the linux image, starts up nicely from 1till 9%, then it hangs and after a min, it gives the warning: PAM authentication failed for user 'testpc.opsidomein': ('User not known to the underlying authentication module', 10)

Can any1 tell me what i did wrong or forgot? I hope that you can reproduce the error with the information above...
elwinh
Beiträge: 2
Registriert: 08 Aug 2009, 21:03

Re: PAM authentication issue...

Beitrag von elwinh »

Found the problem. Made a mistake in my dhcp server. "testpc.opsidomein" should be "testpc.opsidomein.local". Now the hwinvent works so i gues the problem's solved.
Antworten