[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: samba ldap
- To: Brett Maxfield <brett.maxfield@gmail.com>
- Subject: Re: samba ldap
- From: Kaushal Shriyan <kaushalshriyan@gmail.com>
- Date: Wed, 28 Oct 2009 21:06:03 +0530
- Cc: "openldap-technical@openldap.org" <openldap-technical@openldap.org>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=4OazW34flNlUMIloLtNJsC1tBBrBwARHcxsgGtVkFlA=; b=PrPSur+gBXaWHxXLletRfJ58kO+QUSqz/OLVqe+rgDRL8XQPpMM5UAcd+p+vzsjDu9 8PFnGs8jreV++LmOA9NNRtRm08ZFEZbUWSEITgMs5WhlsZ89r+KFDoI6cYpwbxYEuL1Z QT9er1383bHzQmeWZUhH+GE9jKDxWOjmIjV8c=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=jcWu4ZeeObRNcyPqCTm8Wfh8GL1WT8XG2m7jTyk7u2839trOw5h4ZCykLR27VTBIis pjf1C5Ww7x1+Sm2005+C9pylRzSv3EiWz69Ch949/k+SVC87xC3SnWotWbMNqVBcau5k oYV+x/TlkUKnOHOkBZJoM7T52FJD7FmSzQptE=
- In-reply-to: <57E4E4D6-F795-489B-A110-C3B48B509A60@gmail.com>
- References: <57E4E4D6-F795-489B-A110-C3B48B509A60@gmail.com>
On Wed, Oct 28, 2009 at 5:17 AM, Brett Maxfield
<brett.maxfield@gmail.com> wrote:
> The log from samba says ldap: where's your test command says ldaps: maybe
> try ldap: from test command in case you only listen for ssl?
>
> On 27/10/2009, at 7:28 PM, Kaushal Shriyan <kaushalshriyan@gmail.com> wrote:
>
>> Hi,
>>
>> I am following https://help.ubuntu.com/8.10/serverguide/C/samba-ldap.html
>> and ldap works perfectly fine.
>> I have issues with connecting to ldap from samba.
>>
>> I get
>>
>> [2009/10/27 12:37:28, 1] lib/smbldap.c:another_ldap_try(1153)
>> Connection to LDAP server failed for the 9 try!
>> [2009/10/27 12:37:29, 2] lib/smbldap.c:smbldap_open_connection(786)
>> smbldap_open_connection: connection opened
>> [2009/10/27 12:37:29, 2] lib/smbldap.c:smbldap_connect_system(982)
>> failed to bind to server ldap://localhost/ with
>> dn="cn=admin,dc=mt,dc=webaroo,dc=com" Error: Can't contact LDAP server
>> (unknown)
>>
>> I have ldapserver running on the same server as samba server is
>> running. when i run ldapsearch -x -H ldaps://localhost. I am able to
>> see the user details.
>> Please let me know if anyone needs configs and additional information.
>> Also when i run smbldap-populate, i get
>> http://paste.ubuntu.com/302630/
>>
>> Thanks,
>>
>> Kaushal
>
>
Hi,
Below are my configs.
http://pastebin.com/dcb24c87 ---> ldap.conf
http://pastebin.com/d721f0d4d ---> slapd.conf
http://pastebin.com/d102cbfc5 --->samba.conf
http://pastebin.com/d4a02b874 --> smbldap.conf
http://pastebin.com/d716fddc0 ---> smbldap_bind.conf
I am running both ldap and samba server on the same host running on
ubuntu 8.04 Hardy server. 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/d30ed0db6.
Please let me know if anyone needs more information.
Thanks,
Kaushal