[SLE] NIS on Windows and Linux
Hi 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? Ta Catherine -- www.pledgebank.com/resist www.no2id.net -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
Catherine wrote:
Hi
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?
Ta
Catherine
Hi, there is no NIS client for windows as far as I know, you could try using LDAP. A nice approach is descibed here: http://www.idealx.com/downloads/samba3-ldap-howto.pdf Cheers, Maarten -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
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@acm.org Roedermark, Germany -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
If you have a Windows 2000/3 server, you could download Services For Unix from MS and have AD serve as the NIS server for your Linux boxes. It works fairly well. I have 10 Linux boxes at work using it. Of course, if you're asking on this list, you probably don't have (or want) a MS server. In which case, I believe Maarten is correct, there isn't a NIS client for Windows. Besides for white papers and rumors, the only other login client I know of for Windows is Novell's NDS client. Good luck! Ken On Wed, 2006-07-05 at 11:55 +0100, Catherine wrote:
Hi
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?
Ta
Catherine -- www.pledgebank.com/resist www.no2id.net
On Thursday 06 July 2006 10:20 pm, Ken Gramm wrote: <snip>
Of course, if you're asking on this list, you probably don't have (or want) a MS server. In which case, I believe Maarten is correct, there isn't a NIS client for Windows. Besides for white papers and rumors, the only other login client I know of for Windows is Novell's NDS client. <more snip>
Why not just mix NIS and Samba? From smb.conf: passwd program = /usr/bin/nispasswd passwd chat = *New*password* %n\n *new*password* %n\n *successfully* unix password sync = Yes encrypt passwords = Yes The /usr/bin/nispasswd script updates the NIS tables on a password change. You would most likely have to modify the chat script, as this is on an older Fedora box. This box works as a PDC for the Windows boxes and an NIS server for the rest. I have been using Webmin for user management because it updates /etc/files, NIS, and Samba all at once when making changes. All that being said ... ldap would be a better choice. -- Louis Richards -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
participants (5)
-
Catherine
-
Joachim Schrod
-
Ken Gramm
-
Louis Richards
-
Maarten Hilgenga