[Samba] Samba and LDAP

Andrew Bartlett abartlet at samba.org
Sun Jun 8 10:57:06 GMT 2003


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
-- 
Andrew Bartlett                                 abartlet at pcug.org.au
Manager, Authentication Subsystems, Samba Team  abartlet at samba.org
Student Network Administrator, Hawker College   abartlet at hawkerc.net
http://samba.org     http://build.samba.org     http://hawkerc.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba/attachments/20030608/35c14632/attachment.bin


More information about the samba mailing list