Re: [Hampshire] NIS Client Curiosities

2011-05-13 Thread Tim Brocklehurst
I finally managed to sort this out. So for future reference, I'll tell you 
how.

nscd was running. I stopped it and life is good. For those not familiar 
with nscd it is a Name Service Cache Daemon. From the description 
on the man page:

Nscd is a daemon that provides a cache for the most common name 
service requests. The default configuration file, /etc/nscd.conf, 
determines the behavior of the cache daemon. See nscd.conf(5).

Nscd provides cacheing for accesses of the passwd(5), group(5), and 
hosts(5) databases through standard libc interfaces, such as 
getpwnam(3), getpwuid(3), getgrnam(3), getgrgid(3), 
gethostbyname(3), and others.

Hopefully this will help anyone else who is stuck with this problem.

Tim B.
-- 
OpenPilot - Open-source Marine Chart Plotter
openDynamics - Open-source Vessel Motions Calculation
Lead Developer
http://openpilot.sourceforge.net
http://opendynamics.engineering.selfip.org

--
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] NIS Client Curiosities

2011-05-10 Thread Tim Brocklehurst
On Mon, May 9, 2011 5:39 pm, Jan Henkins wrote:
 Hello Tim,

 This sounds like a PAM issue. Have a look at how things are stacked, since
 it is very order-sensitive.

 --
 Regards,
 Jan Henkins

I have looked through the /etc/pam.d directory and the files look the same
as a working box, so I don't think that's the problem. Has anyone else got
any ideas?

Tim B.

-- 
OpenPilot - Open-source Marine Chart Plotter
openDynamics - Open-source Vessel Motions Calculation
Lead Developer
http://openpilot.sourceforge.net
http://opendynamics.engineering.selfip.org


--
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


[Hampshire] NIS Client Curiosities

2011-05-09 Thread Tim Brocklehurst
Ladies and gentlemen,

I have a strange problem... I have a machine which acts as a login node
for a downstream network. This machine repeats the NIS server capabilities
of the master (upstream) server. It should also provide correct NIS
usernames, groups and passwords.

Here's the problem: Users can log onto this box with the correct password,
but once logged on they cannot use the groups defined in nis. That is to
say, groups username returns users when it is meant to return a whole
list.

The downstream machines are fine, as are some other machines at the same
level in the topology (the other machine with this problem is showing the
exact same symptoms). The machine affected is running SLES11. Editing
users via Yast shows the full group lists.

In /etc/nsswitch I have tried group: compat and group: nis files which
has made no difference. I have the appropriate lines added to /etc/passwd
and /etc/group.

If anyone has any ideas I'd love to hear them. Thanks,

Tim B.


-- 
OpenPilot - Open-source Marine Chart Plotter
openDynamics - Open-source Vessel Motions Calculation
Lead Developer
http://openpilot.sourceforge.net
http://opendynamics.engineering.selfip.org


--
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] NIS Client Curiosities

2011-05-09 Thread Jan Henkins
Hello Tim,

This sounds like a PAM issue. Have a look at how things are stacked, since it 
is very order-sensitive.

-- 
Regards,
Jan Henkins

Tim Brocklehurst t...@engineering.selfip.org wrote:

Ladies and gentlemen, I have a strange problem... I have a machine which acts 
as a login node for a downstream network. This machine repeats the NIS server 
capabilities of the master (upstream) server. It should also provide correct 
NIS usernames, groups and passwords. Here's the problem: Users can log onto 
this box with the correct password, but once logged on they cannot use the 
groups defined in nis. That is to say, groups username returns users when 
it is meant to return a whole list. The downstream machines are fine, as are 
some other machines at the same level in the topology (the other machine with 
this problem is showing the exact same symptoms). The machine affected is 
running SLES11. Editing users via Yast shows the full group lists. In 
/etc/nsswitch I have tried group: compat and group: nis files which has 
made no difference. I have the appropriate lines added to /etc/passwd and 
/etc/group. If anyone has any ideas I'd love to hear them. Thanks, Tim B. -- 
OpenPilot
- Open-source Marine Chart Plotter openDynamics - Open-source Vessel Motions 
Calculation Lead Developer http://openpilot.sourceforge.net 
http://opendynamics.engineering.selfip.org -- Please post to: 
Hampshire@mailman.lug.org.uk Web Interface: 
https://mailman.lug.org.uk/mailman/listinfo/hampshire LUG URL: 
http://www.hantslug.org.uk_

--
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--