mirror of
				https://github.com/samba-team/samba.git
				synced 2025-10-31 12:23:52 +03:00 
			
		
		
		
	r7734: A few missing pieces...
rafal
This commit is contained in:
		
				
					committed by
					
						 Gerald (Jerry) Carter
						Gerald (Jerry) Carter
					
				
			
			
				
	
			
			
			
						parent
						
							12b468417d
						
					
				
				
					commit
					15e2a67fe0
				
			| @@ -11,10 +11,10 @@ ADD_OBJ_FILES = \ | |||||||
| 		libnet/libnet_vampire.o \ | 		libnet/libnet_vampire.o \ | ||||||
| 		libnet/libnet_user.o \ | 		libnet/libnet_user.o \ | ||||||
| 		libnet/libnet_share.o \ | 		libnet/libnet_share.o \ | ||||||
|  | 		libnet/libnet_lookup.o \ | ||||||
| 		libnet/userinfo.o \ | 		libnet/userinfo.o \ | ||||||
| 		libnet/userman.o \ | 		libnet/userman.o \ | ||||||
| 		libnet/domain.o \ | 		libnet/domain.o  | ||||||
| 		libnet/lookup.o |  | ||||||
|  |  | ||||||
| REQUIRED_SUBSYSTEMS = RPC_NDR_SAMR RPC_NDR_SRVSVC LIBCLI_COMPOSITE LIBCLI_RESOLVE LIBSAMBA3 | REQUIRED_SUBSYSTEMS = RPC_NDR_SAMR RPC_NDR_SRVSVC LIBCLI_COMPOSITE LIBCLI_RESOLVE LIBSAMBA3 | ||||||
| # End SUBSYSTEM LIBNET | # End SUBSYSTEM LIBNET | ||||||
|   | |||||||
| @@ -43,3 +43,4 @@ struct libnet_context { | |||||||
| #include "libnet/libnet_vampire.h" | #include "libnet/libnet_vampire.h" | ||||||
| #include "libnet/libnet_user.h" | #include "libnet/libnet_user.h" | ||||||
| #include "libnet/libnet_share.h" | #include "libnet/libnet_share.h" | ||||||
|  | #include "libnet/libnet_lookup.h" | ||||||
|   | |||||||
| @@ -25,6 +25,7 @@ | |||||||
| #include "includes.h" | #include "includes.h" | ||||||
| #include "libcli/raw/libcliraw.h" | #include "libcli/raw/libcliraw.h" | ||||||
| #include "lib/events/events.h" | #include "lib/events/events.h" | ||||||
|  | #include "libnet/libnet.h" | ||||||
| #include "libcli/composite/composite.h" | #include "libcli/composite/composite.h" | ||||||
| #include "libcli/composite/monitor.h" | #include "libcli/composite/monitor.h" | ||||||
| #include "libnet/composite.h" | #include "libnet/composite.h" | ||||||
| @@ -38,7 +39,7 @@ struct lookup_state { | |||||||
| }; | }; | ||||||
|  |  | ||||||
|  |  | ||||||
| struct composite_context *libnet_Lookup_send(struct libnet_lookup *io) | struct composite_context *libnet_Lookup_send(struct libnet_Lookup *io) | ||||||
| { | { | ||||||
| 	struct composite_context *c; | 	struct composite_context *c; | ||||||
| 	struct lookup_state *s; | 	struct lookup_state *s; | ||||||
| @@ -76,7 +77,7 @@ failed: | |||||||
|  |  | ||||||
|  |  | ||||||
| NTSTATUS libnet_Lookup_recv(struct composite_context *c, TALLOC_CTX *mem_ctx, | NTSTATUS libnet_Lookup_recv(struct composite_context *c, TALLOC_CTX *mem_ctx, | ||||||
| 			    struct libnet_lookup *io) | 			    struct libnet_Lookup *io) | ||||||
| { | { | ||||||
| 	NTSTATUS status; | 	NTSTATUS status; | ||||||
| 	struct lookup_state *s; | 	struct lookup_state *s; | ||||||
| @@ -88,7 +89,7 @@ NTSTATUS libnet_Lookup_recv(struct composite_context *c, TALLOC_CTX *mem_ctx, | |||||||
| } | } | ||||||
|  |  | ||||||
|  |  | ||||||
| NTSTATUS libnet_Lookup(TALLOC_CTX *mem_ctx, struct libnet_lookup *io) | NTSTATUS libnet_Lookup(TALLOC_CTX *mem_ctx, struct libnet_Lookup *io) | ||||||
| { | { | ||||||
| 	struct composite_context *c = libnet_Lookup_send(io); | 	struct composite_context *c = libnet_Lookup_send(io); | ||||||
| 	return libnet_Lookup_recv(c, mem_ctx, io); | 	return libnet_Lookup_recv(c, mem_ctx, io); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user