Re: ldap with microsoft ad on 4.5

2014-11-03 Thread Ian Duffy
Hi Rajani,

in the LdapContextFactory.java class can you try setting the an extra
environment variable.

environment.put(*Context.REFERRAL*, follow);

http://docs.oracle.com/javase/jndi/tutorial/ldap/referral/jndi.html

Let me know if this solves it for you.
Ian.

On 3 November 2014 09:32, Rajani Karuturi raj...@apache.org wrote:

 using Apache Directory Server works fine on 4.3 and 4.5.
 But, If I use Microsoft AD(on windows server 2012), it doesnt work on 4.5.

 It binds to the server properly. But, it doesnt list any users.
 I see javax.naming.PartialResultException: Unprocessed Continuation
 Reference(s); exception with no stacktrace.

 The same server and configuration works on 4.3 instance.

 Did anyone notice this? Any pointers?


 ~Rajani



Re: ldap with microsoft ad on 4.5

2014-11-03 Thread Rajani Karuturi
already tried. didnt work.

~Rajani

On Mon, Nov 3, 2014 at 4:10 PM, Ian Duffy i...@ianduffy.ie wrote:

 Hi Rajani,

 in the LdapContextFactory.java class can you try setting the an extra
 environment variable.

 environment.put(*Context.REFERRAL*, follow);

 http://docs.oracle.com/javase/jndi/tutorial/ldap/referral/jndi.html

 Let me know if this solves it for you.
 Ian.

 On 3 November 2014 09:32, Rajani Karuturi raj...@apache.org wrote:

  using Apache Directory Server works fine on 4.3 and 4.5.
  But, If I use Microsoft AD(on windows server 2012), it doesnt work on
 4.5.
 
  It binds to the server properly. But, it doesnt list any users.
  I see javax.naming.PartialResultException: Unprocessed Continuation
  Reference(s); exception with no stacktrace.
 
  The same server and configuration works on 4.3 instance.
 
  Did anyone notice this? Any pointers?
 
 
  ~Rajani
 



Re: ldap with microsoft ad on 4.5

2014-11-03 Thread Ian Duffy
Hi Rajani,

That's a pity. I don't have anything near me to test this on at the moment.

Have you tried running tcpdump on the management server to inspect the
responses from AD?
On 3 Nov 2014 10:41, Rajani Karuturi raj...@apache.org wrote:

 already tried. didnt work.

 ~Rajani

 On Mon, Nov 3, 2014 at 4:10 PM, Ian Duffy i...@ianduffy.ie wrote:

  Hi Rajani,
 
  in the LdapContextFactory.java class can you try setting the an extra
  environment variable.
 
  environment.put(*Context.REFERRAL*, follow);
 
  http://docs.oracle.com/javase/jndi/tutorial/ldap/referral/jndi.html
 
  Let me know if this solves it for you.
  Ian.
 
  On 3 November 2014 09:32, Rajani Karuturi raj...@apache.org wrote:
 
   using Apache Directory Server works fine on 4.3 and 4.5.
   But, If I use Microsoft AD(on windows server 2012), it doesnt work on
  4.5.
  
   It binds to the server properly. But, it doesnt list any users.
   I see javax.naming.PartialResultException: Unprocessed Continuation
   Reference(s); exception with no stacktrace.
  
   The same server and configuration works on 4.3 instance.
  
   Did anyone notice this? Any pointers?
  
  
   ~Rajani
  
 



Re: ldap with microsoft ad on 4.5

2014-11-03 Thread Rajani Karuturi
Nope. Haven't done that. Will try.

I enabled err in ldap environment settings and tried. Didn't give me much
info.

Thanks.


On Mon, Nov 3, 2014 at 21:00 PM, Ian Duffy i...@ianduffy.ie wrote:

Hi Rajani,

That's a pity. I don't have anything near me to test this on at the moment.

Have you tried running tcpdump on the management server to inspect the
responses from AD?
On 3 Nov 2014 10:41, Rajani Karuturi raj...@apache.org javascript:;
wrote:

 already tried. didnt work.

 ~Rajani

 On Mon, Nov 3, 2014 at 4:10 PM, Ian Duffy i...@ianduffy.ie javascript:;
wrote:

  Hi Rajani,
 
  in the LdapContextFactory.java class can you try setting the an extra
  environment variable.
 
  environment.put(*Context.REFERRAL*, follow);
 
  http://docs.oracle.com/javase/jndi/tutorial/ldap/referral/jndi.html
 
  Let me know if this solves it for you.
  Ian.
 
  On 3 November 2014 09:32, Rajani Karuturi raj...@apache.org
javascript:; wrote:
 
   using Apache Directory Server works fine on 4.3 and 4.5.
   But, If I use Microsoft AD(on windows server 2012), it doesnt work on
  4.5.
  
   It binds to the server properly. But, it doesnt list any users.
   I see javax.naming.PartialResultException: Unprocessed Continuation
   Reference(s); exception with no stacktrace.
  
   The same server and configuration works on 4.3 instance.
  
   Did anyone notice this? Any pointers?
  
  
   ~Rajani
  
 




-- 
Sent from Windows Phone


Re: ldap with microsoft ad on 4.5

2014-11-03 Thread Ian Duffy
Hi Rajani,

I tested with on the 4.5 branch (Has a bunch of UI errors).
against windows server 2008 R2. I was able to get a list of users without
issue.

On 3 November 2014 15:55, Rajani Karuturi raj...@apache.org wrote:

 Nope. Haven't done that. Will try.

 I enabled err in ldap environment settings and tried. Didn't give me much
 info.

 Thanks.


 On Mon, Nov 3, 2014 at 21:00 PM, Ian Duffy i...@ianduffy.ie wrote:

 Hi Rajani,

 That's a pity. I don't have anything near me to test this on at the moment.

 Have you tried running tcpdump on the management server to inspect the
 responses from AD?
 On 3 Nov 2014 10:41, Rajani Karuturi raj...@apache.org javascript:;
 wrote:

  already tried. didnt work.
 
  ~Rajani
 
  On Mon, Nov 3, 2014 at 4:10 PM, Ian Duffy i...@ianduffy.ie
 javascript:;
 wrote:
 
   Hi Rajani,
  
   in the LdapContextFactory.java class can you try setting the an extra
   environment variable.
  
   environment.put(*Context.REFERRAL*, follow);
  
   http://docs.oracle.com/javase/jndi/tutorial/ldap/referral/jndi.html
  
   Let me know if this solves it for you.
   Ian.
  
   On 3 November 2014 09:32, Rajani Karuturi raj...@apache.org
 javascript:; wrote:
  
using Apache Directory Server works fine on 4.3 and 4.5.
But, If I use Microsoft AD(on windows server 2012), it doesnt work on
   4.5.
   
It binds to the server properly. But, it doesnt list any users.
I see javax.naming.PartialResultException: Unprocessed Continuation
Reference(s); exception with no stacktrace.
   
The same server and configuration works on 4.3 instance.
   
Did anyone notice this? Any pointers?
   
   
~Rajani
   
  
 



 --
 Sent from Windows Phone



Re: ldap with microsoft ad on 4.5

2014-11-03 Thread Rajani Karuturi
mm.. interesting. I will try with windows server 2008 as well. Thanks for
the help.

~Rajani

On Tue, Nov 4, 2014 at 2:28 AM, Ian Duffy i...@ianduffy.ie wrote:

 Hi Rajani,

 I tested with on the 4.5 branch (Has a bunch of UI errors).
 against windows server 2008 R2. I was able to get a list of users without
 issue.

 On 3 November 2014 15:55, Rajani Karuturi raj...@apache.org wrote:

  Nope. Haven't done that. Will try.
 
  I enabled err in ldap environment settings and tried. Didn't give me much
  info.
 
  Thanks.
 
 
  On Mon, Nov 3, 2014 at 21:00 PM, Ian Duffy i...@ianduffy.ie wrote:
 
  Hi Rajani,
 
  That's a pity. I don't have anything near me to test this on at the
 moment.
 
  Have you tried running tcpdump on the management server to inspect the
  responses from AD?
  On 3 Nov 2014 10:41, Rajani Karuturi raj...@apache.org
 javascript:;
  wrote:
 
   already tried. didnt work.
  
   ~Rajani
  
   On Mon, Nov 3, 2014 at 4:10 PM, Ian Duffy i...@ianduffy.ie
  javascript:;
  wrote:
  
Hi Rajani,
   
in the LdapContextFactory.java class can you try setting the an extra
environment variable.
   
environment.put(*Context.REFERRAL*, follow);
   
http://docs.oracle.com/javase/jndi/tutorial/ldap/referral/jndi.html
   
Let me know if this solves it for you.
Ian.
   
On 3 November 2014 09:32, Rajani Karuturi raj...@apache.org
  javascript:; wrote:
   
 using Apache Directory Server works fine on 4.3 and 4.5.
 But, If I use Microsoft AD(on windows server 2012), it doesnt work
 on
4.5.

 It binds to the server properly. But, it doesnt list any users.
 I see javax.naming.PartialResultException: Unprocessed
 Continuation
 Reference(s); exception with no stacktrace.

 The same server and configuration works on 4.3 instance.

 Did anyone notice this? Any pointers?


 ~Rajani

   
  
 
 
 
  --
  Sent from Windows Phone