svn commit: samba r25069 - in
branches/SAMBA_3_0_25/source/nsswitch: .
gd at samba.org
gd at samba.org
Mon Sep 10 23:29:18 GMT 2007
Author: gd
Date: 2007-09-10 23:29:16 +0000 (Mon, 10 Sep 2007)
New Revision: 25069
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=25069
Log:
Merge to 3_0_25 as well.
Guenther
Modified:
branches/SAMBA_3_0_25/source/nsswitch/winbindd_cm.c
Changeset:
Modified: branches/SAMBA_3_0_25/source/nsswitch/winbindd_cm.c
===================================================================
--- branches/SAMBA_3_0_25/source/nsswitch/winbindd_cm.c 2007-09-10 23:12:27 UTC (rev 25068)
+++ branches/SAMBA_3_0_25/source/nsswitch/winbindd_cm.c 2007-09-10 23:29:16 UTC (rev 25069)
@@ -1558,6 +1558,16 @@
DEBUG(5, ("set_dc_type_and_flags: rpccli_ds_getprimarydominfo "
"on domain %s failed: (%s)\n",
domain->name, nt_errstr(result)));
+
+ /* older samba3 DCs will return DCERPC_FAULT_OP_RNG_ERROR for
+ * every opcode on the LSARPC_DS pipe, continue with
+ * no_lsarpc_ds mode here as well to get domain->initialized
+ * set - gd */
+
+ if (NT_STATUS_V(result) == DCERPC_FAULT_OP_RNG_ERROR) {
+ goto no_lsarpc_ds;
+ }
+
return;
}
More information about the samba-cvs
mailing list