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
-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux