LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 03-05-2012, 08:28 AM   #1
gardenair
Member
 
Registered: Oct 2004
Location: LH
Posts: 648

Rep: Reputation: 45
Should I need two seperate server for OpenLDAP & samba to authenticate users ?


hi,
I need your kind suggestion regarding to setup openldap and samba to authenticate windows xp & windows 7 users.

I have two questions

1- I should configure samba in a seperate server & openldap in another server .

2- Which server should I configure 1st i.e samba or openldap ? I am this because ldap server need samba schema to add (if i am correct).

please guide me.
gardenair
 
Old 03-05-2012, 08:32 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
1 - A separate server as in a different machine? No, not necessarily. Totally depends on your solution, e.g. the scale / resilience of it.

2 - Well, OpenLDAP will be used by SaMBa, so do ldap first if you want someone to pick for you.
 
Old 03-05-2012, 08:45 AM   #3
gardenair
Member
 
Registered: Oct 2004
Location: LH
Posts: 648

Original Poster
Rep: Reputation: 45
Thanks for your prompt reply. Wll I have two separate machines.but at the moment i am doing this on vmware in a single linux box.

So your suggestion in 1st i should configure openldap and 2nd samba.

Last things.Any good howto on this topic so I may follow it. Yes i have google it and found a lot but confuse which I follow as configuring openldap 1st time on linux. I am using centos 5.1.

Thanks for your
gardeanir
 
Old 03-05-2012, 08:51 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
Note that LDAP is likely to be very very lightweight, so I would probably advise to keep them on the same system unless you have redundancy.

I would only google "ldap samba howto" and post some useful looking results, and I'm sure you can manage that. Just keep a clear view on what is doing what, where LDAP is relevant and where it is not etc. Make sure LDAP is working properly before moving on to SaMBa etc.

Why centos 5.1?? Why not 6.2, or at least patched up to 5.7?
 
Old 03-05-2012, 09:52 AM   #5
gardenair
Member
 
Registered: Oct 2004
Location: LH
Posts: 648

Original Poster
Rep: Reputation: 45
Yes I agree on your comments
"Just keep a clear view on what is doing what, where LDAP is relevant and where it is not etc."

Mostly in many tutorials there are no comments on what that particular line is doing.For a person who is going to configure openldap 1st time can not understand that what that particular line will work for ldap.

So there is a need where each step is clear for the users on howto.By google we can find lot of tutorials on this topic but what ldap is going at least at the moment i can not understand.Reasons no summery of steps.

Anyay I shall try my level best to understand that what i am writing for ldap server,actually what it will do.

One more thing which you wrote is

"Make sure LDAP is working properly before moving on to SaMBa etc"

So how can I check that my ldap server is working proper ? Please guide me about it

thanks
gardenair

Last edited by gardenair; 03-05-2012 at 09:57 AM.
 
Old 03-05-2012, 09:56 AM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
find a useful guide and do some research on anything you don't understand. If you still have trouble, ask here by all means.
 
Old 03-05-2012, 10:16 AM   #7
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,633

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by gardenair View Post
Yes I agree on your comments
"Just keep a clear view on what is doing what, where LDAP is relevant and where it is not etc."

Mostly in many tutorials there are no comments on what that particular line is doing.For a person who is going to configure openldap 1st time can not understand that what that particular line will work for ldap. So there is a need where each step is clear for the users on howto.By google we can find lot of tutorials on this topic but what ldap is going at least at the moment i can not understand.Reasons no summery of steps.

Anyay I shall try my level best to understand that what i am writing for ldap server,actually what it will do. One more thing which you wrote is "Make sure LDAP is working properly before moving on to SaMBa etc"

So how can I check that my ldap server is working proper ? Please guide me about it
We've tried to 'guide you about it' several times in the past:
https://www.linuxquestions.org/quest...d-ldap-905026/
https://www.linuxquestions.org/quest...cation-931916/
https://www.linuxquestions.org/quest...puters-923417/

There are THOUSANDS of how-to guides on how to configure LDAP and Samba you can very easily find with a Google search. If you looked, you'd find that you have the ldapsearch command already installed. Try reading the man page on it, as that will let you query your ldap server, and find out if it's working.
 
Old 03-05-2012, 12:00 PM   #8
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
Oh yeah. Them. Super.
 
Old 03-05-2012, 12:36 PM   #9
gardenair
Member
 
Registered: Oct 2004
Location: LH
Posts: 648

Original Poster
Rep: Reputation: 45
Well "TB0ne" as to your my previous posts every time I found a new questions regarding to ldap and samba.The main reason was open ldap was not installed in my system and on the tutorials they where using slapd.conf file which was confusing me a lot that why this file is not in my system.I found the solution by google.
I google many times & found some new hints.Now ldap is been installed & the issue is only the configuration script to understand.Basically ldap is a theorical thing if some one understand its theory 50% work will be done.

thanks
gardenair

Last edited by gardenair; 03-05-2012 at 12:48 PM.
 
Old 03-05-2012, 04:17 PM   #10
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,633

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by gardenair View Post
Well "TB0ne" as to your my previous posts every time I found a new questions regarding to ldap and samba.The main reason was open ldap was not installed in my system and on the tutorials they where using slapd.conf file which was confusing me a lot that why this file is not in my system.I found the solution by google.
Then why post follow-ups here, asking for what you already found??? Not meaning to sound nasty, but there are THOUSANDS of very clear how-to guides on configuring both LDAP and Samba, and on making Samba USE LDAP. They are step-by-step guides; easily found and easily followed.
Quote:
I google many times & found some new hints.Now ldap is been installed & the issue is only the configuration script to understand.Basically ldap is a theorical thing if some one understand its theory 50% work will be done.
No, it'll be 0% done....until you actually start DOING something, it remains at 0%. Installing the software is 50% done...configuration would be the other 50%.
 
Old 03-05-2012, 11:50 PM   #11
gardenair
Member
 
Registered: Oct 2004
Location: LH
Posts: 648

Original Poster
Rep: Reputation: 45
You can see the question which wrote for this post & acid guide me and my problem is solved. I have already configured samba server & the issue was slapd.conf file bcz without it ldap will not configure. I even post in my last thread but not find the solution about the file.Actually i was thinking that ldap was installed in my system which was wronge. Yes will be carefull that same thing shuld not repeate in the forum.


Regards
gardenair
 
  


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
Getting squid to authenticate to OpenLDAP Server fluff Linux - Networking 12 06-11-2010 05:20 PM
authenticate AD users to openldap hkg04 Linux - Enterprise 4 02-24-2010 09:34 AM
MySQL users to authenticate with Openldap server niraj.kumar Linux - Server 1 03-14-2009 11:19 AM
Samba authenticate against OpenLDAP? licht Linux - Networking 0 08-09-2007 05:50 PM
using 2000 Server to authenticate users for Samba sharkcohen Linux - Networking 8 11-24-2003 06:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

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