1. Sunos 5.5&HP-UX NIS server??
--
-------------------------------------
Michael Kalisz
Tel: +46 8 4048491
Fax: +46 8 7572969
Company: Ericsson Radio Access AB
Department: RSA/T/LD
Address: 164 93 Stockholm
SWEDEN
-------------------------------------
[
solaris2.5.txt 2K ]
Hello
I want to connect a solaris 2.5 machine (SunOS 5.5 Generic sun4m sparc SUNW,SPARCstation-10)
to our HP-UX network but I've encounterd a few problems...
The main problem is that users that are not in the local passwd file (i.e NIS users) can't login.
Our NIS-server is an HP-UX machine and all yp commands work ok.
I can do "ypcat passwd" and display all user names, I can do "su - username" as root
and run as the user without any problems. Even when I do "ls -la" on the users directory
I get the right username and group name on all the files.
So as it seems the machine is aware of the users (UID, GID) but in some way does not allow them to
login.
I've tried changing the /etc/nsswitch.conf (passwd: compat and group: compat) and
I've tried adding all kinds of + signs to my passwd,shadow and group file.
But in no way have I managed to login as a user.
When I try to login it looks like this:
---------------------
login:username
password: #####
after a few seconds
Login incorrect
-------------------
My /etc/nsswitch.conf looks like this:
---------------------------------------------------------------------------
#
# /etc/nsswitch.nis:
#
# An example file that could be copied over to /etc/nsswitch.conf; it
# uses NIS (YP) in conjunction with files.
#
# "hosts:" and "services:" in this file are used only if the
# /etc/netconfig file has a "-" for nametoaddr_libs of "inet" transports.
# the following two lines obviate the "+" entry in /etc/passwd and /etc/group.
passwd: files nis
group: files nis
# consult /etc "files" only if nis is down.
hosts: nis [NOTFOUND=return] files
networks: nis [NOTFOUND=return] files
protocols: nis [NOTFOUND=return] files
rpc: nis [NOTFOUND=return] files
ethers: nis [NOTFOUND=return] files
netmasks: nis [NOTFOUND=return] files
bootparams: nis [NOTFOUND=return] files
publickey: nis [NOTFOUND=return] files
netgroup: nis
automount: files nis
aliases: files nis
# for efficient getservbyname() avoid nis
services: files nis
sendmailvars: files
---------------------------------------------------------------------------
So whats the story? Is there a way to make the login process more verbose so I can
se whats wrong? Any clues?
Thanks in advance
Michael
P.S Please reply to my email adress.
2. Kernel 1.3.41 causes obtuse failures
3. SunOS 5.5 NIS clients on Linux server: problem...
4. ppclinux.apple.com
5. opendir(), SunOS 4.1.3, SunOS 5.5 compatibility
6. Ghost S3 server haunts the X setup..wha' gives batperson?
7. how do I get banner pages on SunOS 5.5 and SunOS 4.x?
8. kde1.1pre2 error in the Panel menu
9. Linux NIS talking to Sun OS 5.5 NIS
10. MS-exchange 5.5 DNS configuration on solaris 5.5
11. Framemaker 5.5/SunOS 5.7 trouble
12. NFS V2 or V3 in SunOS 5.5/5.5.1
13. is "find -local" broken in SunOS 5.5?