[Samba] samba as PDC with ldap

rowland penny rowland at f2s.com
Sun Feb 19 12:01:27 GMT 2006


I have read louis`s howto from december, tried to use kunbuntu, this failed at the ldap server test stage, tried various things, could not make it work, so downloaded debian. 
Followed louis`s howto and compiled a 2.6.8 kernel (louis, the compile instructions do not work as given). 
Followed the howto, downloaded samba etc, setup slapd etc as per instructions and it failed again at the same place.
So, I googled and found the the Linux Samba Openldap howto, printed this and read it, thats where I found the answer to the problem, Louis missed a bit, you have to edit /etc/ldap/ldap conf to point to your server
HOST 127.0.0.1
BASE dc=<domainname>,dc=org or net or com or nothing(you do not have to use the last part, you just have to be consistant)
This is where I come to my next problem, I cannot get the localsid. When I ask for it (net getlocalsid) I get this
[2006/02/19 11:19:58,  0] lib/smbldap.c:smb_ldap_start_tls(546)  Failed to issue the StartTLS instruction: Connect error
I have googled, found a few instances of this with earlier versions of samba, so upgraded to 3.0.21b-1 from debian testing, it still gives same answer, anybody have an answer please.


More information about the samba mailing list