LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-01-2006, 09:30 AM   #1
mancmanomyst
LQ Newbie
 
Registered: Jan 2006
Location: manchester
Distribution: fedora core 4 and suse 10.0
Posts: 3

Rep: Reputation: 0
Question Integrated Samba and NIS


Hello All,
I am fairly new to linux but i'm working on a home networking project. I have one machine configured as a server running fedora 4 and 2 boxes dual booting windows xp and fedora/susse.

I have managed to get Samba working so I can share files between my server and the windows boxes. Now I want to co-ordernate NIS as an authentication platform and Samba so that when a user logs in they have access to their home store on the server - creating a portable desktop.

NIS seems to be configured ok because I can log into linux on my client machines in command mode however I am having difficulty mapping the home drives (stored in /home/server1/username) to the client machines so x sessions fail instantly.

Any advice? I am also trying to get Windows to use NIS as its authentication method via pGina but this doesnt appear to be working, if anyone can suggest what to check i'd be very grateful!
 
Old 03-02-2006, 07:35 AM   #2
paul_mat
Member
 
Registered: Nov 2004
Location: Townsville, Australia
Distribution: Fedora Core 5, CentOS 4, RHEL 4
Posts: 855

Rep: Reputation: 30
well for starters, windows can not use NIS as an authentication method, windows boxes can only use domain controllers. but if your reall lookingy for a way to sync everything together, you could try and run samba & OpenLDAP as a primary domain controller, with openldap as the user database all the passwords will be stored in openldap. this way you can get your windows boxes to authenticate with samba/ldap and your linux boxes to authenticate with ldap.

on my website listed below there is a link to a script page that will setup both openldap and samba as a PDC, there is also a few how-to's for openldap and a few how-to's for samba, there should be all the information you need listed there.
 
Old 03-03-2006, 05:23 PM   #3
mancmanomyst
LQ Newbie
 
Registered: Jan 2006
Location: manchester
Distribution: fedora core 4 and suse 10.0
Posts: 3

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by paul_mat
well for starters, windows can not use NIS as an authentication method, windows boxes can only use domain controllers. but if your reall lookingy for a way to sync everything together, you could try and run samba & OpenLDAP as a primary domain controller, with openldap as the user database all the passwords will be stored in openldap. this way you can get your windows boxes to authenticate with samba/ldap and your linux boxes to authenticate with ldap.

on my website listed below there is a link to a script page that will setup both openldap and samba as a PDC, there is also a few how-to's for openldap and a few how-to's for samba, there should be all the information you need listed there.
Thanks for your advice - much appreciated. I will have a look at your website.

ps, although windows boxes cant authenticate with nis natively, I was using a tool called pGina which overides the native windows authentication and speaks to nis servers. Unfortunatly I havent been able to get this working properly but your method is better anyway so I will do it that way

Once again - I do appreciate your help!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
NIS, Samba or LDAP? mediocrity Linux - General 2 04-25-2005 07:42 PM
Samba (v2.x) and NIS/YP. What are my options? bpk Linux - Software 3 02-18-2005 07:21 PM
samba stops when MDK integrated firewall activated arete1969 Linux - Networking 2 04-06-2004 09:59 PM
Can SAMBA use NIS authentication jongun78 Linux - Networking 0 01-28-2004 05:26 PM
NIS - Solaris and Unix integrated - problem andrec_ufmg Solaris / OpenSolaris 2 04-01-2003 11:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:01 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration