How To Use The DN to log onto the LDAP server with PHPLDAPAD

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx');

$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 restart

Now, 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
http://yahoogroups.com/group/Spirituality-Paradise
 

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux