Ldap : Invalid credentials


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Ldap : Invalid credentials
# 1  
Old 01-03-2006
Ldap : Invalid credentials

Hi All, Smilie
I have configure openldap but when I test this its show me a massage that "Invalid Creedientials". I search for the slove at Google, Yahoo but I did not find any solution.

Plz help me. Smilie
# 2  
Old 01-03-2006
Quote:
Originally Posted by Sudipta Biswas
Hi All, Smilie
I have configure openldap but when I test this its show me a massage that "Invalid Creedientials".
A few possibilities:
(1) You have not yet configured any users yet. Some LDAP records may be configured in such a way that only specific users can access the record (instead of binding anonymously). You may need to at least create a "manager" account as described in the OpenLDAP manual.
(2) The authentication mechanism used is incorrect. Say SASL is expected but you have used simple (password-based) authentication.

It really depends on how you set up your OpenLDAP.
# 3  
Old 01-04-2006
Quote:
Originally Posted by cbkihong
A few possibilities:

(2) The authentication mechanism used is incorrect. Say SASL is expected but you have used simple (password-based) authentication.
I know this is just an example, but the reverse also applies. For example in my corporate environment DS is cofigured for simple auth, but the openldap ldapsearch defaults to sasl, and I have to specify -x (I think) for simple auth.
# 4  
Old 01-04-2006
Quote:
Originally Posted by Sudipta Biswas
Hi All, Smilie
I have configure openldap but when I test this its show me a massage that "Invalid Creedientials". I search for the slove at Google, Yahoo but I did not find any solution.

Plz help me. Smilie

This is what I did
inux# ldapsearch -x -b '' -s base '(objectclass=*)' namingContexts
when i apply this command it will run fine but after

linux# ldapadd -x -D "cn=root,dc=simplex,dc=com" -W -f simplex.ldif

after apply that commamd it will ask for password. Now my question is that what password I should pass at here.
After giving my root password at here it gives me "Invalid Credential"

My another query is that for ldap DNS configuration is essential or not and if I configure DNS and LDAP on the same machine is it will work and what directive I have to use on slapd.conf file or named.conf file

My simplex.ldif configuration is

dc: dc=simplex,dc=com
objectclass: dcObject
objectclass: organization
o: Simplex
dc: simplex

dn: cn=root,dc=simplx,dc=com
objectclass: organizationalRole
cn: root

thats all my friend.

ThnX for your reaply.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Openldap: getting error as ldap_bind: Invalid credentials (49)

Hi, we are setting up an hadoop environment in Azure. we are having java 7 installed and below steps which i have completed and getting error while as "ldap_bind: Invalid credentials (49)" doing ldapsearch 1. I have installed openldap-servers.x86_64 openldap-clients.x86_64... (2 Replies)
Discussion started by: Bibhusisa
2 Replies

2. Shell Programming and Scripting

Hide and retrieve database credentials

Hi Everyone, I am new to shell scripting and I have a requirement to fire a sql statement to Oracle database and create a out file in Unix server. This will be plugged in to Autosys as a batch job. I have the database credentials saved in a configuration file in the below format. ... (7 Replies)
Discussion started by: Pradeep_Raj
7 Replies

3. Solaris

LDAP Client not connecting to LDAP server

I have very limited knowledge on LDAP configuration and have been trying fix one issue, but unsuccessful. The server, I am working on, is Solaris-10 zone. sudoers is configured on LDAP (its not on local server). I have access to login directly on server with root, but somehow sudo is not working... (9 Replies)
Discussion started by: solaris_1977
9 Replies

4. UNIX for Advanced & Expert Users

Help with credentials when using Grep across multiple servers

Hello all, I need some help with a script I have been working on. I was wanting to know if it is possible to add authentication to it for each server it runs across? The credentials are all the same on each server. This is what I am using so far and it seems to work. I am trying to avoid... (3 Replies)
Discussion started by: Smorgen
3 Replies

5. UNIX for Advanced & Expert Users

Need to pass credentials in one Go

Hi, We usually switch user using the below command. sudo su - user1 It then prompts for the password which we feed in. I wish to pass both the username and the password in one go thus eliminating the prompt for the password. I am using java standalone to connect to unix using... (11 Replies)
Discussion started by: mohtashims
11 Replies

6. Shell Programming and Scripting

Logging into device with other set of credentials

If I run the below code... it will login into the router and then changes to privilege mode and then stores the running configuration information to an array. In this program, I have included the username and password . In case the username and password is wrong.. it will re login for 2 times... (0 Replies)
Discussion started by: scriptscript
0 Replies

7. Shell Programming and Scripting

FTP credentials from a config file

Hi, I am using the following syntax to connect to an FTP server and paste the file. Based on the value in the variable $Folder, i want to connect to different folders on the same server. The credential is different to access different folders. How to get the user name and password from a... (3 Replies)
Discussion started by: ashok.k
3 Replies

8. AIX

make a mksysb without root credentials

dears, good day. i need to be able to take a mksysb for a machine running aix 6.1.5 without the root credentials and also without using sudo any advice ? (2 Replies)
Discussion started by: islam.said
2 Replies

9. Shell Programming and Scripting

Hide DB Credentials in unix

Hi, I my unix we have one file that contains all the database credentials. we are calling that file while connecting databse. I need to hide that file....other user should not view that file. How to do this. Please suggest me apart from permisstion(chmod) level suggestion. Regards,... (3 Replies)
Discussion started by: rsivasan
3 Replies

10. AIX

Telnet Credentials

Dears i am going to write a shell script to do some administration jobs and automate them , but i need to access remote servers through telnet so my question is how to pass the required credentials to telnet through shell script or can i use a file and redirect the standard input to be from that... (3 Replies)
Discussion started by: TheEngineer
3 Replies
Login or Register to Ask a Question