LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 04-03-2006, 07:55 AM   #1
crispyleif
Member
 
Registered: Mar 2005
Location: Norway, by the coast
Distribution: Debian and the likes
Posts: 190

Rep: Reputation: 31
Domain authentication alternatives


I have a simple samba network serving file/print to linux/win users and would like to add domain authentication, not because it's necessarily needed, but I would like to learn more about it.

I would like to use LDAP for authentication, Debian is the preffered OS.

So far I've found these free alternatives :

openLDAP
Fedora Directory Server

Also , someone tipped me of Solaris, shout if you have any thoughts about it

Just saying, my experience with domain authentication is next to none, so any comments would be appreciated !

The ideal result is a network with centralized login, roaming profiles, and all home directories/printers being accesible to the right users no matter where they logon from.

Please, Talk to me ppl
 
Old 04-04-2006, 02:43 AM   #2
paul_mat
Member
 
Registered: Nov 2004
Location: Townsville, Australia
Distribution: Fedora Core 5, CentOS 4, RHEL 4
Posts: 855

Rep: Reputation: 30
check out my website listed below, it has information on setting up samba, openldap and lam as a PDC, as well as many other things to do with setting up servers, also if your using Fedora core 5 try one of my server setup scripts

http://www.geocities.com/evilperson85/serversetup/

it is so simple to setup samba as a PDC using this script. just download and run.

http://www.yourhowto.org/content/view/42/9/ - Samba Primary Domain Controller with Group Policies

http://www.yourhowto.org/content/view/30/9/ - OpenLDAP + LAM + Samba as PDC

you can use samba as a PDC for your windows machine and openldap as a central sign on place for your linux machines, that way when a user signs into linx there password and home directory are the same as if they had signed into a windows machine.

Last edited by paul_mat; 04-04-2006 at 02:44 AM.
 
Old 04-04-2006, 10:01 AM   #3
crispyleif
Member
 
Registered: Mar 2005
Location: Norway, by the coast
Distribution: Debian and the likes
Posts: 190

Original Poster
Rep: Reputation: 31
The scripts look like a highway to PDC indeed However , I really really prefer Debian.. I'm looking into your links now, very informative ! Do you know if these solutions will fully replace Active Directory (Like Fedora Directory Server seems too) ?

Thanks for the reply
 
Old 04-04-2006, 09:17 PM   #4
paul_mat
Member
 
Registered: Nov 2004
Location: Townsville, Australia
Distribution: Fedora Core 5, CentOS 4, RHEL 4
Posts: 855

Rep: Reputation: 30
well i don't know what you mean by Fedora directory server seams to ... i must admin i havn't looked at fedora directory server too much, when i first started looking into LDAP that was the LDAP server i used, but i found openldap with a web interface to be easier to use, but as far as i know Fedora Directroy Server has no advantages in the PDC field to openldap.

If someone disagrees or can tell me that it really does emulate a Active Directroy domain Controller, i'd really like to hear what you have to say!
 
Old 09-15-2006, 08:33 PM   #5
morabitob
LQ Newbie
 
Registered: Sep 2006
Location: Me
Distribution: Slack, Fedora Core
Posts: 1

Rep: Reputation: 0
Has anyone had the experience joining a Linux Web Server to a Windows Active Directory network?(ADUC). The Web server will be used for a serving web pages to a business intranet. My initial thought is to join the server to the domain... I am in the fact finding phase. Anyone have any initial thoughts.

Last edited by morabitob; 09-15-2006 at 08:45 PM.
 
Old 09-18-2006, 04:21 PM   #6
New2Linux2
Member
 
Registered: Jan 2004
Location: Arizona
Distribution: Debian
Posts: 153

Rep: Reputation: 43
I just finished setting up my companies first Primary Domain Controller (PDC) using Samba on Debian (Sarge). I ran into several problems and just about lived on LQ for several weeks before finally figuring out it was a problem with DNS. I have learned more about samba in the past few weeks then I ever knew about Windows Active Directory. This is the place to come for answers. I'll try to provide a few that I have learned recently.
Quote:
Originally Posted by crispyleif
I have a simple samba network serving file/print to linux/win users and would like to add domain authentication, not because it's necessarily needed, but I would like to learn more about it.

I would like to use LDAP for authentication, Debian is the preffered OS.
If you already have samba up and running, it won't take much to make it into a PDC for domain authentication. Most of the texts that I've read on the subject point out that if you want to use multiple domain controllers, then you need LDAP to share the users database. If not, don't worry about LDAP for now and focus on bettering your understanding of Samba.

If you are not setting up a corp domain and this is just a learning experience for you, just modify your existing /etc/samba/smb.conf to be a domain controller instead of a standalone server. This site - http://us5.samba.org/samba/ - has the first HOW TO that you need for setting up different types of samba servers. I highly recommend starting there (the same advice for you, morabitob ). If the HOW TO on that site doesn't get you up and running, come back here and post your /etc/samba/smb.conf file.

Good luck!

P.S.
One tip I got from that site is to create a /etc/samba/smb.conf.master file, make all edits & notations in it and use
Code:
testparm /etc/samba/smb.conf.master > /etc/samba/smb.conf
to create the smb.conf file. Try it and see.
 
  


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
Authentication over WinNT 4 domain Tamerz Linux - Security 1 08-29-2005 05:52 PM
W2K Domain Authentication burnt_toast Linux - Networking 2 09-25-2004 04:55 PM
Authentication via user@domain.com TechBrat Linux - Security 8 01-10-2004 04:24 PM
PAM authentication & NT domain rangel Linux - Security 2 11-27-2003 07:52 AM
Domain Authentication SSENT12 Linux - Networking 1 07-24-2003 10:36 PM

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

All times are GMT -5. The time now is 03:41 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