FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu Server Development

LinkBack Thread Tools
Old 10-29-2009, 03:15 PM
Jorge Armando Medina
Default samba ldap configs

Kaushal Shriyan wrote:
> Hi,
> Below are my configs.
> http://pastebin.com/dcb24c87 ---> ldap.conf
It expired on pastebin
> http://pastebin.com/d721f0d4d ---> slapd.conf
> http://pastebin.com/d102cbfc5 --->samba.conf
> http://pastebin.com/d1397587d --> smbldap.conf
First error


There is not such ldapSSL option, there are diffferences from TLS and
SSL, ldaps uses port 636 and is pure encrypted connection, TLS uses
startTLS command, it initiates a secure channel over a plain connection
using default ldap port 386.

TLS is the prefered and recomended way to secure ldap connections for
the OpenLDAP Project.

So use ldapTLS="1" if you want secure connections

Second (probably error)



I'm not sure if this is wrong I couldn see your slapd.conf or smb.conf,
but most of times the suffix si something like: "dc=example,dc=com", the
cn=admin is the ldap admin user not a container...

The official smbldap-tools howto:


For simple debugging I'll go for a basic plain ldap config, and then
migrate to SSL/TLS, my setup:

http://tuxjm.net/docs/Configurar_Servidor_Controlador_de_Dominio_con_Sam ba_y_OpenLDAP/Ubuntu/

> http://pastebin.com/d63dbbaf6 ---> smbldap_bind.conf
> I am running both ldap and samba server on the same host running on
> ubuntu 8.04 Hardy server.
> ldapsearch -x -H ldaps://localhost -D cn=admin,dc=example,dc=com -w
> xxxxxx works perfectly fine
> I am following
> https://help.ubuntu.com/8.10/serverguide/C/samba-ldap.html. I get the
> below issue when i run smbldap-populate I get
> http://pastebin.com/d2a098ec4.
> Please let me know if anyone needs more information.
> Thanks,
> Kaushal

ubuntu-server mailing list
More info: https://wiki.ubuntu.com/ServerTeam

Thread Tools

All times are GMT. The time now is 03:19 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org