Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 09-10-2003, 07:44 PM   #1
Registered: Aug 2001
Location: Off the coast of Madadascar
Posts: 498

Rep: Reputation: 30
Samba+LDAP = Not Working

I'll straight forward in this post. Has anyone here actually successfully set up Samba to use openLDAP as a backend so you can enable some of the new Samba 3.0 features? I've been reading all kinds of docs about it. Even ones that some people say were great I found to be horrible.

I read these particular docs:

The main problem I had with both of those pages was clarity. The first one only told you what to put in your config files(and a bad job at that), not what to change to match anyones situation. It tended to use a very odd directory structure involving an "etc2" directory.

The second page that I thought should work. Used what I would call a bad example structure. Example:

include schema/samba.schema
some other stuff

To be that makes me wonder what goes in the middle or what I should do to the default config file.

What I'm asking really is does anyone have a resource that can clearly explain LDAP+Samba integration. Maybe even a basic doc on LDAP so I can become familiar with LDAP first.

Old 09-19-2003, 06:40 AM   #2
Registered: Aug 2003
Distribution: Debian, Ubuntu
Posts: 188

Rep: Reputation: 30
Hi tarballedtux!

I just searched for another issue and found your posting...

After some work, I got Samba and LDAP up and running. In my opinion, the most important thing is to go into the LDAP-structures. Managing user accounts or whatever by hand is hard work, and most tools, I found, work pretty good, as long, as I knew, what they should do. Treated as black box, I got only chaos...

The best docs, I found (at least best for me ;-) were
man slapd.conf (with lacking ACL's)
man ldap.conf
and some docs from a debian page. I have the links at work, so I can post them not before monday... If you are still interested.

But much more importtant is a tool, that visualizes your LDAP-database content. I installed the LDAPExplorer, a set of PHP-Scripts, and could finally see, where I just wondered before ;-)

Most problems, I had, were produced by misconfigured LDAP tools (Group/User base dn, correct objectclasses (sambaAccount, posicAccount AND shadowAcocunt), and so on). Nothing to extract a step-by-step advice :-(

If LDAP is configured and filled well, samba needs only the few "please use ldap"-options in smb.conf to work properly.

Hmmm. Long writing, not so much facts...
I can only hope, it points in the right direction ;-)

Good luck,
Clemens von Musil

P.S: If you can use a http-based tool to manage your LDAP-authentication against all security considerations, don't miss a look on webmin...


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Ldap+samba musfeq Linux - Software 4 08-08-2005 05:33 AM
Samba + LDAP shane200_ Linux - Networking 3 07-20-2005 03:47 PM
Samba and LDAP wslyhbb Linux - Networking 2 06-28-2004 10:51 AM
Samba or ldap amir_h Linux - Networking 4 03-27-2004 11:59 PM
Samba 3.0 with LDAP smbldap tools not working melk600 Linux - Networking 0 11-19-2003 02:34 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:11 PM.

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