Tide
2013-May-31 11:44 UTC
[Samba] [samba4 dc ldap] LDAP_SERVER_FAST_BIND_OID is currentlynot supported?
Bug posted: https://bugzilla.samba.org/show_bug.cgi?id=9919 Sorry I can't making a patch, but I attached a Java client test file in it. Sorry again, I don't know to written it in C language. ------------------ Original ------------------ From: "Andrew Bartlett"<abartlet at samba.org>; Date: Thu, May 30, 2013 01:42 PM To: "Tide"<lovetide at qq.com>; Cc: "samba"<samba at lists.samba.org>; Subject: Re: [Samba] [samba4 dc ldap] LDAP_SERVER_FAST_BIND_OID is currentlynot supported? On Wed, 2013-05-29 at 10:00 +0000, Tide wrote:> I'm testing LDAP authentication against samba4 using fast bind connection > control. I got the following java exception > ---------------------------------------- > javax.naming.NamingException: [LDAP: error code 1 - Operations Error] > ---------------------------------------- > > and got error message from samba > ---------------------------------------- > ldapsrv_do_call: Critical extension 1.2.840.113556.1.4.1781 is not known to > this server > ---------------------------------------- > > Is fast bind control not yet supported? Any plan to support it?It isn't currently supported, but shouldn't be too hard to add. The harder part is actually writing the tests, implementing the OID is mostly a matter of skipping code, and listing it our known OID list in source4/libcli/ldap/ldap_controls.c. Please file a bug, and if you like you could attempt a patch, or at least help us write a testsuite. Andrew Bartlett -- Andrew Bartlett http://samba.org/~abartlet/ Authentication Developer, Samba Team http://samba.org .