<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:courier,monaco,monospace,sans-serif;font-size:14pt">Dear All Members,<br><br>This is Jyotishmaan.<br><br>I have a small problem with phpldapadmin.<br><br>These are the lines of config.php file, which i have changed:-<br><br>$ldapservers->SetValue($i,'server','name','My LDAP Server: authdns@nits.ac.in');<br><br><span style="font-weight: bold;">$ldapservers->SetValue($i,'server','host','127.0.0.1');</span><br><br><span style="font-weight: bold;">$ldapservers->SetValue($i,'server','base',array('dc=nits,dc=ac,dc=in'));</span><br style="font-weight: bold;"><br style="font-weight: bold;"><span style="font-weight: bold;">$ldapservers->SetValue($i,'server','auth_type','session');</span><br style="font-weight: bold;"><br style="font-weight: bold;"><span style="font-weight: bold;">$ldapservers->SetValue($i,'login','dn','');</span><br
 style="font-weight: bold;"><br style="font-weight: bold;"><span style="font-weight: bold;">$ldapservers->SetValue($i,'login','dn','cn=Manager,dc=nits,dc=ac,dc=in');</span><br style="font-weight: bold;"><br style="font-weight: bold;"><span style="font-weight: bold;">$ldapservers->SetValue($i,'login','pass','');</span><br style="font-weight: bold;"><br style="font-weight: bold;"><span style="font-weight: bold;">$ldapservers->SetValue($i,'login','pass','secret');<br><br><br>with
the above lines in config.php i am getting the following error message
displayed while logging onto the LDAP server with the phpldapadmin
browser:-<br><br><br></span><table class="error"><tbody><tr><td colspan="3"><b>Could not bind to the LDAP server.</b></td></tr><tr><td colspan="3"> </td></tr><tr><td colspan="3"><b>LDAP said</b>: Unknown error</td></tr><tr><td colspan="2"><b>Error number</b>: 0x1a ()</td></tr><tr><td colspan="2"><b>Description</b>:
 </td></tr></tbody></table><br style="font-weight: bold;"><br><br>Please note I have not used either <span style="font-weight: bold;">TLS or SASL</span> to <span style="font-weight: bold;">connect</span>  or <span style="font-weight: bold;">authenticate</span> with the LDAP server. <span style="font-weight: bold;">Is it important to do ??</span><br><br>However,
i have added two entries into the  bdb database over the ldap from the
root prompt using ldap command. the transcript of it is as given below:-<br><br>[root@authdns
bin]# ldapadd  -x -D "cn=Manager,dc=nits,dc=ac,dc=in" -W -f
/etc/openldap/test/.ldif/etc/openldap/test/.ldif: No such file or
directory<br>[root@authdns bin]# ldapadd  -x -D "cn=Manager,dc=nits,dc=ac,dc=in" -W -f /etc/openldap/test/new.ldif<br>Enter LDAP Password: <br>adding new entry "dc=nits,dc=ac,dc=in"<br><br>adding new entry "cn=Manager,dc=nits,dc=ac,dc=in"<br><br><br>But since i have the phpldapadmin browser,
 i would like to add all the entries using the browser.<br><br>Please let me know the necessary changed that needs to be done in the config.php file.<br><br>One more question, here i have to run the slapd deemon manually in the directory, /usr/bin/slapd -d 65 &<br><br>I wish to run it directly using the command :-<br><br><span style="font-weight: bold;">service slapd restart</span><br><br>Now, should i include this service name directly in the file <span style="font-weight: bold;">/etc/services</span> file?<br><br>I would not like to take risk, so please help me???<br><br><br>Thanking you, for all the answers, in advance, <br><br><br><br>Jyotishmaan<br><div> </div><div><font color="#0000ff">With Thanks and Regards, <br>Jyotishmaan Ray </font></div><div><font color="#0000ff">Moderator Of Paradise Groups
 </font></div><div><font color="#0000ff"><a rel="nofollow" target="_blank" href="http://yahoogroups.com/group/Spirituality-Paradise">http://yahoogroups.com/group/Spirituality-Paradise</a></font></div><div> </div></div><br>__________________________________________________<br>Do You Yahoo!?<br>Tired of spam?  Yahoo! Mail has the best spam protection around <br>http://mail.yahoo.com </body></html>