Hello,<br><br>You might want to double check the settings in <code class="filename">/etc/smbldap-tools/smbldap.conf and </code><code class="filename">/etc/smbldap-tools/smbldap_bind.conf</code>.  It looks like the admin user smbldap-populate is using to bind to your LDAP directory isn't correct.<strong></strong><span class="application"><strong></strong></span><span class="application"><strong></strong></span><br>
<br><pre class="screen">Thanks,<br><br></pre><br><div class="gmail_quote">On Tue, Oct 27, 2009 at 5:10 AM, Kaushal Shriyan <span dir="ltr"><<a href="mailto:kaushalshriyan@gmail.com">kaushalshriyan@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi,<br>
<br>
I am following <a href="https://help.ubuntu.com/8.10/serverguide/C/samba-ldap.html" target="_blank">https://help.ubuntu.com/8.10/serverguide/C/samba-ldap.html</a><br>
and ldap works perfectly fine.<br>
I have issues with connecting to ldap from samba.<br>
<br>
I get<br>
<br>
[2009/10/27 12:37:28, 1] lib/smbldap.c:another_ldap_try(1153)<br>
 Connection to LDAP server failed for the 9 try!<br>
[2009/10/27 12:37:29, 2] lib/smbldap.c:smbldap_open_connection(786)<br>
 smbldap_open_connection: connection opened<br>
[2009/10/27 12:37:29, 2] lib/smbldap.c:smbldap_connect_system(982)<br>
 failed to bind to server ldap://localhost/ with<br>
dn="cn=admin,dc=mt,dc=webaroo,dc=com" Error: Can't contact LDAP server<br>
      (unknown)<br>
<br>
I have ldapserver running on the same server as samba server is<br>
running. when i run ldapsearch -x -H ldaps://localhost. I am able to<br>
see the user details.<br>
Please let me know if anyone needs configs and additional information.<br>
Also when i run smbldap-populate, i get<br>
<a href="http://paste.ubuntu.com/302630/" target="_blank">http://paste.ubuntu.com/302630/</a><br>
<br>
Thanks,<br>
<br>
Kaushal<br>
<font color="#888888"><br>
--<br>
ubuntu-server mailing list<br>
<a href="mailto:ubuntu-server@lists.ubuntu.com">ubuntu-server@lists.ubuntu.com</a><br>
<a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-server" target="_blank">https://lists.ubuntu.com/mailman/listinfo/ubuntu-server</a><br>
More info: <a href="https://wiki.ubuntu.com/ServerTeam" target="_blank">https://wiki.ubuntu.com/ServerTeam</a><br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Party On,<br>Adam<br>