[SOLVED] Should I need two seperate server for OpenLDAP & samba to authenticate users ?
Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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?
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
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
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.
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.
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%.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.