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: [EMAIL PROTECTED]');

$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 errorError 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:-

[EMAIL PROTECTED]
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
[EMAIL PROTECTED] 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
 
Are You Spiritually Aware  !!! Are You Enjoying Yourself  !!!  See What All You 
Had Been Missing !!!!
Please Join Immediately By Sending A Blank Mail @  
[EMAIL PROTECTED] 
 
 
 













__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
phpldapadmin-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/phpldapadmin-users

Reply via email to