Andreas Höschler wrote:

Hello OttoM,

This error usually implies that you have not enabled SRSS to all ow LAN
connections.


Yes, but this subnet is supposed to have been configured as an
interconnect.  Allowing "LAN" (non-interconnect) connections
might be a workaround but it doesn't address the real problem.

The issue is that authd no longer understands that 192.168.128.0
is an interconnect.  It's possible that enabling NIS has caused
the machine to get different results for things like netmasks.
That could be enough to confuse 'pntadm', therefore 'utadm',
therefore authd.

Andreas, when you enabled NIS did you change the order of
the right-hand side of any lines in nsswitch.conf?  What does
'getent netmasks 192.168.128.0' show?  What does 'pntadm -L'
show?  What does 'utadm -p' show?


-bash-3.00# getent netmasks 192.168.128.0
-bash-3.00# pntadm -L
192.168.128.0
-bash-3.00# utadm -p
-bash: utadm: command not found

But I get the idea. I went into /etc/nsswitch.conf and changed the following lines from

    networks:   nis [NOTFOUND=return] files
    protocols:  nis [NOTFOUND=return] files
    netmasks:  nis [NOTFOUND=return] files

to

    networks:   files nis [NOTFOUND=return]
    protocols:  files nis [NOTFOUND=return]
    netmasks:   files nis [NOTFOUND=return]

That should not be required to change manually and usually utadm does that automatically.

Thanks
P.S.M.Swamiji

Note:These are my personal opinions and nothing to do with my employer


and boom, "getent netmasks 192.168.128.0" returns the expected value and the login screen appears.

However, I still can't login, at least not as an account aquired from the NIS master. I get

    Login incorrect; please try again

I attached my current /etc/nsswitch.conf. Any idea?

Thanks,

   Andreas

***
#
# /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.

# NIS service requires that svc:/network/nis/client:default be enabled
# and online.

# 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:      files dns nis [NOTFOUND=return]

# Note that IPv4 addresses are searched for in all of the ipnodes databases
# before searching the hosts databases.
ipnodes:    nis [NOTFOUND=return] files

networks:   files nis [NOTFOUND=return]
protocols:  files nis [NOTFOUND=return] files
rpc:        nis [NOTFOUND=return] files
ethers:     nis [NOTFOUND=return] files
netmasks:   files nis [NOTFOUND=return]
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
printers:       user files nis

auth_attr:  files nis
prof_attr:  files nis
project:    files nis

_______________________________________________
SunRay-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/sunray-users


_______________________________________________
SunRay-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/sunray-users

Reply via email to