2004-08-14 03:32:42 +00:00
/*
Unix SMB / CIFS implementation .
Copyright ( C ) Stefan Metzmacher 2004
This program is free software ; you can redistribute it and / or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation ; either version 2 of the License , or
( at your option ) any later version .
This program is distributed in the hope that it will be useful ,
but WITHOUT ANY WARRANTY ; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
GNU General Public License for more details .
You should have received a copy of the GNU General Public License
along with this program ; if not , write to the Free Software
Foundation , Inc . , 675 Mass Ave , Cambridge , MA 0213 9 , USA .
*/
struct libnet_context {
TALLOC_CTX * mem_ctx ;
2004-08-16 16:52:57 +00:00
/* here we need:
* a client env context
* a user env context
*/
2005-06-03 19:09:21 +00:00
struct cli_credentials * cred ;
2005-06-07 23:24:57 +00:00
/* dcerpc pipes */
struct dcerpc_pipe * samr ;
/* opened handles */
struct policy_handle domain_handle ;
struct policy_handle user_handle ;
2004-08-16 16:52:57 +00:00
} ;
2005-06-03 19:09:21 +00:00
2004-08-25 09:22:47 +00:00
# include "libnet/libnet_passwd.h"
2004-08-25 12:11:28 +00:00
# include "libnet/libnet_time.h"
2004-08-25 09:22:47 +00:00
# include "libnet/libnet_rpc.h"
2005-01-13 07:50:09 +00:00
# include "libnet/libnet_join.h"
2005-05-02 14:17:19 +00:00
# include "libnet/libnet_vampire.h"
2005-02-13 00:48:21 +00:00
# include "libnet/libnet_user.h"
2005-05-24 22:48:49 +00:00
# include "libnet/libnet_share.h"