svn commit: samba r6419 - in branches/SAMBA_4_0/source/libnet: .

mimir at samba.org mimir at samba.org
Thu Apr 21 12:21:15 GMT 2005


Author: mimir
Date: 2005-04-21 12:21:14 +0000 (Thu, 21 Apr 2005)
New Revision: 6419

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=6419

Log:
Fix strange behaviour of NET-USERDEL where account doesn't actually
gets deleted.


rafal


Modified:
   branches/SAMBA_4_0/source/libnet/userman.c


Changeset:
Modified: branches/SAMBA_4_0/source/libnet/userman.c
===================================================================
--- branches/SAMBA_4_0/source/libnet/userman.c	2005-04-21 08:03:38 UTC (rev 6418)
+++ branches/SAMBA_4_0/source/libnet/userman.c	2005-04-21 12:21:14 UTC (rev 6419)
@@ -314,11 +314,13 @@
 	s = talloc_zero(c, struct userdel_state);
 	if (s == NULL) goto failure;
 
-	s->pipe = p;
 	c->state      = SMBCLI_REQUEST_SEND;
 	c->private    = s;
 	c->event_ctx  = dcerpc_event_context(p);
 
+	s->pipe          = p;
+	s->domain_handle = io->in.domain_handle;
+
 	s->lookupname.in.domain_handle = &io->in.domain_handle;
 	s->lookupname.in.num_names     = 1;
 	s->lookupname.in.names         = talloc_zero(s, struct samr_String);



More information about the samba-cvs mailing list