Re: [SLE] NIS on Windows and Linux



Catherine wrote:

I'm trying to set up a network to run NIS across a variety of machines
(SuSE 10.1, Mandriva 10, Windows XP Pro) and I was wondering this was
possible; a search didn't bring me a lot of results . Has anyone had
any experience of setting this up, and were there any specific issues
I should be aware of?

You have already been told that it won't work with Windows.

Set up the server first.
Edit /var/yp/securenets to specify the IP addresses of your clients.
See that it runs and test it with ypcat -h hostname passwd
Specify the server at your clients in /etc/yp.conf.
Test proper ypbind setup with ypwhich.
Set up a slave server if you really rely on NIS.

IMHO it is advisable not to use the passwd files from /etc as source data for NIS. Instead it's better to place them in /var/yp/etc. Otherwise, on the YP servers these accounts are available both local and via NFS, and that can lead to inconsistencies and hard-to-debug problems.
/var/yp/Makefile must be changed to support that.

There is a big disadvantage, though: If one uses /var/yp/etc, useradd(8) (and by extension, yast2) can not be used for user management any more. One has to use an editor, just like in the old times... :-)

Cheers,
Joachim

--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Joachim Schrod Email: jschrod@xxxxxxx
Roedermark, Germany

--
Check the headers for your unsubscription address
For additional commands send e-mail to suse-linux-e-help@xxxxxxxx
Also check the archives at http://lists.suse.com
Please read the FAQs: suse-linux-e-faq@xxxxxxxx



Relevant Pages

  • Re: Queston re Norton Internet Security 2003
    ... First, in the NIS Console, set Security to HIGH; ... about the more esoteric Trojans (due to your Internet habits), ... well worth your time to install one of the dedicated anti-Trojan software ... What's an 'unprotected server application'? ...
    (comp.security.firewalls)
  • Re: One login for multiple machines
    ... get authenticated from remote server (thus not need to create ... network) a centrally-stored login on a Linux server for Windows PCs ... I've excerpted some relevant info from two web pages on NIS and LDAP... ... It is for this reason that LDAP ...
    (Ubuntu)
  • SUMMARY: centralizing account mgmt? is it worth doing?
    ... LDAP-accessible directory server ... NIS is simple, still widely used, and probably exactly what ... one developer has 15 different UNIX accounts. ...
    (SunManagers)
  • Re: Should I renew NPF?
    ... I'm talking NIS, ... resulting log events (using Sven Schaefer's Log Viewer) and then CUSTOMIZE ... |> But this _does_ include any additional Default Trojan ... large -- like a web server, file server, mail server, chat server, news ...
    (comp.security.firewalls)
  • Re: need help with understanding NIS and Installation of Solaris 10
    ... How do we mount a CDROM and LUN on Solaris 10? ... Slice 4 was intended to hold state databases if I ever get around to mirroring the disk. ... for NIS. ... # Set up a YP master server ...
    (comp.unix.solaris)