[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: plz provide me any simple authentication code in ldap
- To: Bharath K <bharath.k.b.143@gmail.com>
- Subject: Re: plz provide me any simple authentication code in ldap
- From: Andrew Findlay <andrew.findlay@skills-1st.co.uk>
- Date: Thu, 5 Feb 2015 16:57:42 +0000
- Cc: openldap-technical@openldap.org
- Content-disposition: inline
- In-reply-to: <CADuu_6UkX3Uz36V4xL7Gshg1=NFC-SJU6GemGTm9GP2r__ur2g@mail.gmail.com>
- References: <CADuu_6UkX3Uz36V4xL7Gshg1=NFC-SJU6GemGTm9GP2r__ur2g@mail.gmail.com>
- User-agent: Mutt/1.5.21 (2010-09-15)
On Thu, Feb 05, 2015 at 09:56:19AM +0530, Bharath K wrote:
> Subject: plz provide me any simple authentication code in ldap
> below is my code....by executing this i am getting as error as invalid
> credentials
This is apparently the same question that you asked on 23rd January,
but this time you have provided even less information. It does not appear to be
an OpenLDAP question at all: more of a Java programming question so maybe there
is a better list to ask.
I am not a Java programmer so I cannot help much with the code.
All I can suggest is that if you are using an OpenLDAP server you should turn up
the logging to include at least 'stats' and 'stats2' and post the log entries
that appear when you run your program. You will also need to post the entry that
you are trying to bind as.
Logging is controlled by the global option 'loglevel' if you are using file-based
config, and by the olcLogLevel attribute of cn=config if you are using slapd-config.
File based:
loglevel stats stats2
or in LDIF:
dn: cn=config
...
olcLogLevel: stats stats2
Andrew
--
-----------------------------------------------------------------------
| From Andrew Findlay, Skills 1st Ltd |
| Consultant in large-scale systems, networks, and directory services |
| http://www.skills-1st.co.uk/ +44 1628 782565 |
-----------------------------------------------------------------------