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

abartlet at samba.org abartlet at samba.org
Mon Oct 3 23:42:59 GMT 2005


Author: abartlet
Date: 2005-10-03 23:42:59 +0000 (Mon, 03 Oct 2005)
New Revision: 10696

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

Log:
Return the realm to the caller, not NULL...

Also return an indication of if the join was of a new account, or
reworking an existing account.

Andrew Bartlett

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


Changeset:
Modified: branches/SAMBA_4_0/source/libnet/libnet_join.c
===================================================================
--- branches/SAMBA_4_0/source/libnet/libnet_join.c	2005-10-03 23:39:59 UTC (rev 10695)
+++ branches/SAMBA_4_0/source/libnet/libnet_join.c	2005-10-03 23:42:59 UTC (rev 10696)
@@ -974,7 +974,6 @@
 	talloc_steal(mem_ctx, cu.out.user_handle);
 	r->out.error_string = r2.samr_handle.out.error_string;
 	talloc_steal(mem_ctx, r2.samr_handle.out.error_string);
-	r->out.realm = NULL;
 	r->out.kvno = 0;
 	r->out.server_dn_str = NULL;
 	talloc_free(tmp_ctx); 
@@ -989,7 +988,7 @@
 		return status;
 	}
 
-	return NT_STATUS_OK;
+	return cu_status;
 }
 
 static NTSTATUS libnet_Join_primary_domain(struct libnet_context *ctx, 



More information about the samba-cvs mailing list