Dear All Members,
This is Jyotishmaan.
I have a small problem with phpldapadmin.
These are the lines of config.php file, which i have changed:-
$ldapservers->SetValue($i,'server','name','My LDAP Server: authdns@nits.ac.in');
$ldapservers->SetValue($i,'server','host','127.0.0.1');$ldapservers->SetValue($i,'server','base',array('dc=nits,dc=ac,dc=in'));$ldapservers->SetValue($i,'server','auth_type','session');$ldapservers->SetValue($i,'login','dn','');$ldapservers->SetValue($i,'login','dn','cn=Manager,dc=nits,dc=ac,dc=in');$ldapservers->SetValue($i,'login','pass','');$ldapservers->SetValue($i,'login','pass','secret');
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:-
Could not bind to the LDAP server. |
|
LDAP said: Unknown error |
Error number: 0x1a () |
Description:
|
Please note I have not used either
TLS or SASL to
connect or
authenticate with the LDAP server.
Is it important to do ??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:-
[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
[root@authdns bin]# ldapadd -x -D "cn=Manager,dc=nits,dc=ac,dc=in" -W -f /etc/openldap/test/new.ldif
Enter LDAP Password:
adding new entry "dc=nits,dc=ac,dc=in"
adding new entry "cn=Manager,dc=nits,dc=ac,dc=in"
But since i have the phpldapadmin browser,
i would like to add all the entries using the browser.
Please let me know the necessary changed that needs to be done in the config.php file.
One more question, here i have to run the slapd deemon manually in the directory, /usr/bin/slapd -d 65 &
I wish to run it directly using the command :-
service slapd restartNow, should i include this service name directly in the file
/etc/services file?
I would not like to take risk, so please help me???
Thanking you, for all the answers, in advance,
Jyotishmaan
With Thanks and Regards,
Jyotishmaan Ray
Moderator Of Paradise Groups