[Samba] Samba and LDAP
Matt Wright
matt at consultmatt.co.uk
Sun Jun 8 11:11:24 GMT 2003
Hi,
I've used the Samba 3.0alpha24 SRPM off the samba website. Just after I
emailed you I checked the man pages that I got when I compiled my version for
debian from the unstable Samba 2.999+3.0alpha24 deb sources and foudn the
correct information. Should the new man pages be coming up and if so is this
an RPM problem??
I got the right settings in the end "passdb backend = ldapsam" etc. Just need
to get my unix add script going as it doesn't like adding without unix user.
Regards,
Matt
On Sunday 08 June 2003 11:56, Andrew Bartlett wrote:
> On Sun, 2003-06-08 at 20:29, Matt Wright wrote:
> > Hey guys,
> >
> > After having got ACL and Samba working I'm now onto getting LDAP support
> > running as well. I've compiled my Samba 3 with --with-ldap, (I'm actually
> > compiling it as an RPM as it needs to go on a RedHat machine this time)
> >
> > The include/config.h shows that LDAP successfully compiled but when I
> > come to setting up LDAP in smb.conf testparm gives the following:
> >
> > Unknown parameter encountered: "ldap bind as"
> > Ignoring unknown parameter "ldap bind as"
> > Unknown parameter encountered: "ldap passwd file"
> > Ignoring unknown parameter "ldap passwd file"
> > Unknown parameter encountered: "ldap server"
> > Ignoring unknown parameter "ldap server"
> > Unknown parameter encountered: "ldap scope"
> > Ignoring unknown parameter "ldap scope"
> >
> > Which is odd considering that they are in the smb.conf man page as part
> > of the new experimental LDAP.
>
> Which manpage? Where? The Samba 3.0 beta should not have these
> documented anywhere, as most of these have not been in Samba for a
> *long* time. LDAP server has been moved to a parameter in the 'passdb
> backend' parameter.
>
> > So I ran "testparm -s /dev/null -v | grep ldap" and
> > got hte follow:
> >
> > ldap suffix =
> > ldap machine suffix =
> > ldap user suffix =
> > ldap filter = (uid=%u)
> > ldap admin dn =
> > ldap ssl =
> > ldap passwd sync = no
> > ldap trust ids = No
> > ldap delete dn = No
> >
> > So there is some LDAP stuff in the samba compile I did just not the main
> > stuff like what server I'm going to use and the password etc etc.
>
> These are specified differently - see the documentation.
>
> > Any ideas people, or have I forgotten a compile switch??
> >
> > Regards,
> >
> > Matt
> >
> > --
> > To unsubscribe from this list go to the following URL and read the
> > instructions: http://lists.samba.org/mailman/listinfo/samba
More information about the samba
mailing list