<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
On 17/01/11 09:00, Byte Soup wrote:
<blockquote
cite="mid:AANLkTin9tvpoVtPASZHZ8NyTCNwjK+07U5EeV8r_F_W6@mail.gmail.com"
type="cite">Hi Jacob,<br>
<br>
I have a small amount of experience using Sun's LDAP, see my
comment below<br>
<br>
-Mark<br>
<br>
<div class="gmail_quote">On 14 January 2011 22:31, Jacob Mansfield
<span dir="ltr"><<a moz-do-not-send="true"
href="mailto:cyberjacob@gmail.com">cyberjacob@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;">
<div text="#000000" bgcolor="#ffffff"> I have been trying to
set up an LDAP server for some time now. when I finally
found an up-to-date tutorial at <a moz-do-not-send="true"
href="http://www.zarafa.com/wiki/index.php/Zarafa_LDAP_cn_config_How_To"
target="_blank">http://www.zarafa.com/wiki/index.php/Zarafa_LDAP_cn_config_How_To</a>
the first step of this has worked fine however when running
the command <span style="border-collapse: separate; color:
rgb(0, 0, 0); font-family: 'Times New Roman'; font-style:
normal; font-variant: normal; font-weight: normal;
letter-spacing: normal; line-height: normal; text-indent:
0px; text-transform: none; white-space: normal;
word-spacing: 0px; font-size: medium;"><span
style="font-family: sans-serif; font-size: 13px;
line-height: 19px;">
<pre style="padding: 1em; border: 1px dashed rgb(47, 111, 171); color: black; background-color: rgb(249, 249, 249); line-height: 1.1em; font-family: monospace,'Courier New';">ldapadd -x -D cn=admin,dc=cyberkingsolutions,dc=co,dc=up -W -f base.ldif</pre>
</span></span></div>
</blockquote>
<div>try using the -w switch followed by a password. For example
this is a command I used to import a schema<br>
<br>
<code class="km">./ldapmodify -v -c -a -e /opt/schema_rejects
-h localhost -p 390 -D cn=dmanager -w dmanager -f
</path/to/schema/ldif-file></code><br>
<br>
</div>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;">
<div text="#000000" bgcolor="#ffffff">I am prompted for a
password. I enter the password I have used at all other
points tn the tut and are met with a fail message:
ldap_bind: Invalid credentials (49) when not entering a
password at the prompt (just hitting return) I get
ldap_bind: server is unwilling to perform (53) additional
info: unauthenticated bind (DN with no password) disallowed.<br>
please help me get LDAP working,<br>
and thanks in advance (I know all of you awsome guys (and
gals (or gales according to auto-correct)) will find the
problem and help me fix it)<br>
</div>
</blockquote>
<div><br>
<br>
</div>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;">
<div text="#000000" bgcolor="#ffffff">
<font color="#888888">
<pre cols="72">--
Jacob Mansfield
Programmer
import disclaimer from email</pre>
</font></div>
<br>
--<br>
<a moz-do-not-send="true"
href="mailto:ubuntu-uk@lists.ubuntu.com">ubuntu-uk@lists.ubuntu.com</a><br>
<a moz-do-not-send="true"
href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk"
target="_blank">https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk</a><br>
<a moz-do-not-send="true"
href="https://wiki.ubuntu.com/UKTeam/" target="_blank">https://wiki.ubuntu.com/UKTeam/</a><br>
<br>
</blockquote>
</div>
<br>
</blockquote>
I ran:<br>
root@megacat:~# ldapmodify -v -c -a -x -D cn=admin -w MyPassWord -f
base.ldif<br>
and got:<br>
ldap_initialise( <DEFAULT> )<br>
ldap_bind: Invalid Credentials (49)<br>
so it didn't work, unless I got it wrong<br>
<pre class="moz-signature" cols="72">--
Jacob Mansfield
Programmer
import disclaimer from email</pre>
</body>
</html>