[Samba] Samba 3 by Example - chapter 5 & 6 ( Manager ->sambaadmin)

Craig White craigwhite at azapple.com
Fri Mar 3 15:13:20 GMT 2006

On Sat, 2006-03-04 at 00:25 +1100, adrian sender wrote:
> Well I am glad that there has been alot of input on this topic, alot of 
> people are having different opinions but that is because we are not focusing 
> with the problem at hand.
> The documentation provides full details on how to get samba + ldap working 
> from scratch; but there seems to be a gap between chapter 5 & 6;
> Once again I will say I love this book; by far the best technical reference 
> manaual available for samba and highly recommend it.
> Chapter 6, is it assumeing we are starting fresh here, because the ldap 
> database is placed in a different directory to what was in chapter 5 
> slapd.conf?
> Questions;
> 1. If it is assumeing that we are starting from scratch; all configuration 
> files are to that of the documentation - why will the database not populate 
> with the smbldap-tools using sambaadmin?
> 2. If I change sambaadmin to Manager all works fine; is there anything wrong 
> with doing this.
> 3. I am not interested in learning ldap and its complexities, otherwise I 
> would not have bothered using ldap, samba 3 by example provides simple steps 
> - however this step I am stuck with.
> 4. A solution ?
> For over a year now I have worked around this by using Manager in place of 
> sambaadmin - but it is time for me to get to the bottom of this so I can 
> start with another problem and  move on to testing samba4.
> All your help and time is greatly appreciated.
the reason you can't get past it is inherent in your 'question 3' which
of course isn't a question at all.

If you aren't interested in learning LDAP - don't use it. Perhaps with
Samba 4, you can use LDAP without knowing a thing about it much as you
can in a Windows AD but definitely not Samba 3 and OpenLDAP - there is
no close my eyes and hope it works scenario that is going to work
because the worst thing you can ever do is get lucky and make it work
and then depend upon it to work because it will break and you won't be
able to fix it.


More information about the samba mailing list