Sponsored Content
Full Discussion: Ldap : Invalid credentials
Top Forums UNIX for Dummies Questions & Answers Ldap : Invalid credentials Post 94769 by reborg on Tuesday 3rd of January 2006 11:09:15 PM
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.
 

10 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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

7. 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

8. 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

9. 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

10. 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
sasl_getprop(10 July 2001)												sasl_getprop(10 July 2001)

NAME
sasl_getprop - Get a SASL property SYNOPSIS
#include <sasl/sasl.h> int sasl_getprop(sasl_conn_t *conn, int propnum, const void ** pvalue); DESCRIPTION
sasl_getprop gets the value of a SASL property. For example after successful authentication a server may wish to know the authorization name. Or a client application may wish to know the strength of the negotiated security layer. conn is the SASL connection object. propnum is the identifier for the property requested and pvalue is filled in on success. List of prop- erties follows: SASL_USERNAME - pointer to NUL terminated user name SASL_SSF - security layer security strength factor, if 0, call to sasl_encode, sasl_decode unnecessary SASL_MAXOUTBUF - security layer max output buf unsigned SASL_DEFUSERREALM - server authentication realm used SASL_GETOPTCTX - context for getopt callback SASL_IPLOCALPORT - local address string SASL_IPREMOTEPORT - remote address string SASL_SERVICE - service passed to sasl_*_new SASL_SERVERFQDN - serverFQDN passed to sasl_*_new SASL_AUTHSOURCE - name of auth source last used, useful for failed authentication tracking SASL_MECHNAME - active mechanism name, if any SASL_PLUGERR - similar to sasl_errdetail RETURN VALUE
Returns SASL_OK on success. SASL error code on failure. CONFORMING TO
RFC 2222 SEE ALSO
sasl(3), sasl_errors(3), sasl_server_new(3), sasl_client_new(3) SASL man pages SASL sasl_getprop(10 July 2001)
All times are GMT -4. The time now is 04:17 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy