[Samba] problems w/samba-3.0.30 and NT4 PDC

Jeremy Allison jra at samba.org
Fri May 30 17:19:41 GMT 2008


On Fri, May 30, 2008 at 01:15:13PM -0400, Chris Smith wrote:
> After upgrading to samba-3.0.30 on domain member servers using NT4 as 
> PDC and running winbind users can no longer access the shares, they get 
> prompted for passwords (which shouldn't happen) yet still cannot 
> connect. Dropping back to 3.0.28a works (even after adding the recent 
> security patch) fine.
> 
> What can I provide to get this fixed?

I'm guessing Guenther just fixed this with this patch (attached):

Can you apply and test ?

Thanks,

Jeremy.
-------------- next part --------------
diff --git a/source/rpc_client/cli_netlogon.c b/source/rpc_client/cli_netlogon.c
index d151113..fb8c5cf 100644
--- a/source/rpc_client/cli_netlogon.c
+++ b/source/rpc_client/cli_netlogon.c
@@ -185,9 +185,10 @@ static NTSTATUS rpccli_net_auth2(struct rpc_pipe_client *cli,
 
         result = r.status;
 
+	*neg_flags_inout = r.srv_flgs.neg_flags;
+
         if (NT_STATUS_IS_OK(result)) {
 		*srv_chal_out = r.srv_chal;
-		*neg_flags_inout = r.srv_flgs.neg_flags;
         }
 
         return result;


More information about the samba mailing list