[SCM] Samba Shared Repository - branch v3-3-test updated - release-3-2-0pre2-2507-g35f4df7

Michael Adam obnox at samba.org
Sun May 18 23:29:24 GMT 2008


The branch, v3-3-test has been updated
       via  35f4df7ab86a1b0a920003398043f0b77c75b0a8 (commit)
       via  0fe47c3c76eb15fee62115f7f21b77bd9e3236c7 (commit)
       via  16fb26d73a2bf3520e3b4e6c6bead7321bf41fd3 (commit)
       via  5f2983209fb2c8e2ceafde6136c40a59b38f3a68 (commit)
       via  4c7362f2b7ec5e6a60c96925e2c877c5a99a51bc (commit)
       via  b455cd1a619a1f1922e2e7bc07f1af246e3201e6 (commit)
       via  00cff301071fe2670e8358195b937de49aa2aa14 (commit)
       via  673b24052a6864579683e9adb56522a12447abca (commit)
       via  35a517315b83aa7ccea34ec725b15c04ceb5e70e (commit)
       via  f8c0710165ee1ede46d7ed34daa5564d20d3f069 (commit)
       via  372c58cc220efc01af4b90b82b75191296a62e81 (commit)
       via  467b8f0f4d58fc00d07264c651016087bd00b233 (commit)
       via  ff7f0cad2eb108daa61a910cd9171ab0811a5f60 (commit)
      from  5d9963479fa31783522d68cdbc8876613a3d1774 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-3-test


- Log -----------------------------------------------------------------
commit 35f4df7ab86a1b0a920003398043f0b77c75b0a8
Author: Michael Adam <obnox at samba.org>
Date:   Mon May 19 01:22:14 2008 +0200

    build: remove the proto_exists target - it is not needed anymore.
    
    Michael

commit 0fe47c3c76eb15fee62115f7f21b77bd9e3236c7
Author: Michael Adam <obnox at samba.org>
Date:   Mon May 19 00:54:45 2008 +0200

    build: remove the "delheaders" target.
    
    Michael

commit 16fb26d73a2bf3520e3b4e6c6bead7321bf41fd3
Author: Michael Adam <obnox at samba.org>
Date:   Mon May 19 00:51:45 2008 +0200

    build: remove "headers" and "proto" make targets.
    
    Replace "proto" target by a message.
    
    Michael

commit 5f2983209fb2c8e2ceafde6136c40a59b38f3a68
Author: Michael Adam <obnox at samba.org>
Date:   Sun May 18 23:39:15 2008 +0200

    build: remove mkproto.sh and mkproto.awk
    
    Michael

commit 4c7362f2b7ec5e6a60c96925e2c877c5a99a51bc
Author: Michael Adam <obnox at samba.org>
Date:   Sun May 18 23:37:10 2008 +0200

    build: remove reference to mkproto.sh from Makefile
    
    No generated prototypes anymore...
    
    Michael

commit b455cd1a619a1f1922e2e7bc07f1af246e3201e6
Author: Michael Adam <obnox at samba.org>
Date:   Sun May 18 23:35:42 2008 +0200

    libnet: freeze libnet_proto.h from "make proto"
    
    Michael

commit 00cff301071fe2670e8358195b937de49aa2aa14
Author: Michael Adam <obnox at samba.org>
Date:   Sun May 18 23:33:20 2008 +0200

    build: freeze passwd_proto.h from "make proto"
    
    Michael

commit 673b24052a6864579683e9adb56522a12447abca
Author: Michael Adam <obnox at samba.org>
Date:   Sun May 18 23:31:42 2008 +0200

    net: freeze net_proto.h from "make proto"
    
    Michael

commit 35a517315b83aa7ccea34ec725b15c04ceb5e70e
Author: Michael Adam <obnox at samba.org>
Date:   Sun May 18 23:29:01 2008 +0200

    ntlm_auth: freeze ntlm_auth_proto.h from "make proto"
    
    Michael

commit f8c0710165ee1ede46d7ed34daa5564d20d3f069
Author: Michael Adam <obnox at samba.org>
Date:   Sun May 18 23:26:51 2008 +0200

    smbclient: freeze client_proto.h from "make proto"
    
    Michael

commit 372c58cc220efc01af4b90b82b75191296a62e81
Author: Michael Adam <obnox at samba.org>
Date:   Sun May 18 23:16:38 2008 +0200

    swat: freeze swat_proto.h from "make proto"
    
    Michael

commit 467b8f0f4d58fc00d07264c651016087bd00b233
Author: Michael Adam <obnox at samba.org>
Date:   Sun May 18 23:09:34 2008 +0200

    winbindd: freeze winbindd_proto.h
    
    Michael

commit ff7f0cad2eb108daa61a910cd9171ab0811a5f60
Author: Michael Adam <obnox at samba.org>
Date:   Sun May 18 22:58:07 2008 +0200

    build: freeze proto.h
    
    Michael

-----------------------------------------------------------------------

Summary of changes:
 .gitignore                       |    8 -
 source/Makefile.in               |   97 +-
 source/client/client_proto.h     |  457 ++
 source/include/proto.h           |10475 ++++++++++++++++++++++++++++++++++++++
 source/libnet/libnet_proto.h     |   46 +
 source/script/mkproto.awk        |  174 -
 source/script/mkproto.sh         |   43 -
 source/utils/net_proto.h         |  474 ++
 source/utils/ntlm_auth_proto.h   |   48 +
 source/utils/passwd_proto.h      |   32 +
 source/web/swat_proto.h          |   70 +
 source/winbindd/winbindd_proto.h |  583 +++
 12 files changed, 12198 insertions(+), 309 deletions(-)
 create mode 100644 source/client/client_proto.h
 create mode 100644 source/include/proto.h
 create mode 100644 source/libnet/libnet_proto.h
 delete mode 100644 source/script/mkproto.awk
 delete mode 100755 source/script/mkproto.sh
 create mode 100644 source/utils/net_proto.h
 create mode 100644 source/utils/ntlm_auth_proto.h
 create mode 100644 source/utils/passwd_proto.h
 create mode 100644 source/web/swat_proto.h
 create mode 100644 source/winbindd/winbindd_proto.h


Changeset truncated at 500 lines:

diff --git a/.gitignore b/.gitignore
index 7fe98e0..1d15139 100644
--- a/.gitignore
+++ b/.gitignore
@@ -5,12 +5,9 @@
 *.patch
 semantic.cache
 source/TAGS
-source/client/client_proto.h
-source/libnet/libnet_proto.h
 source/include/build_env.h
 source/include/config.h
 source/include/config.h.in
-source/include/proto.h
 source/include/stamp-h
 source/include/version.h
 source/Makefile
@@ -25,17 +22,12 @@ source/script/gen-8bit-gap.sh
 source/script/installbin.sh
 source/script/uninstallbin.sh
 source/smbd/build_options.c
-source/utils/net_proto.h
-source/utils/ntlm_auth_proto.h
-source/web/swat_proto.h
 source/tags
-source/utils/passwd_proto.h
 source/include/includes.h.gch
 source/config.cache
 source/library-versions
 source/nsswitch/*.so
 source/proto_exists
-source/winbindd/winbindd_proto.h
 source/cscope.out
 source/torture.tdb
 source/pkgconfig/*.pc
diff --git a/source/Makefile.in b/source/Makefile.in
index 7e316ee..e22f965 100644
--- a/source/Makefile.in
+++ b/source/Makefile.in
@@ -1272,14 +1272,14 @@ PRECOMPILED_HEADER = $(builddir)/include/includes.h.gch
 
 # this adds support for precompiled headers. To use it, install a snapshot
 # of gcc-3.4 and run 'make pch' before you do the main build.
-pch: proto_exists
+pch:
 	rm -f $(PRECOMPILED_HEADER)
 	$(MAKE) $(PRECOMPILED_HEADER)
 
 $(PRECOMPILED_HEADER): $(srcdir)/include/includes.h
 	$(COMPILE)
 
-BINARY_PREREQS = proto_exists bin/.dummy
+BINARY_PREREQS = bin/.dummy
 
 # These dependencies are only approximately correct: we want to make
 # sure Samba's paths are updated if ./configure is re-run.  Really it
@@ -2280,7 +2280,9 @@ uninstallpammodules:
 # Toplevel clean files
 TOPFILES=dynconfig.o
 
-clean: delheaders 
+clean:
+	-rm -f include/build_env.h
+	-rm -f smbd/build_options.c
 	-rm -f $(PRECOMPILED_HEADER)
 	-rm -f core */*~ *~ \
 		*/*.o */*/*.o */*/*/*.o \
@@ -2291,95 +2293,22 @@ clean: delheaders
 		$(LIBTALLOC) $(LIBSMBCLIENT) $(LIBADDNS) \
 		$(LIBSMBSHAREMODES) $(EVERYTHING_PROGS) $(LIBNETAPI) \
 		bin/libwbclient.so.0 bin/timelimit \
-		.headers.stamp */src/*.o proto_exists \
+		.headers.stamp */src/*.o \
 		$(LIBTDB_SYMS)
 	-rm -rf t_dir
 
-# Making this target will just make sure that the prototype files
-# exist, not necessarily that they are up to date.  Since they're
-# removed by "make clean" this will always be run when you do anything
-# afterwards.
-proto_exists: include/proto.h include/build_env.h \
-	winbindd/winbindd_proto.h web/swat_proto.h \
-	libnet/libnet_proto.h \
-	client/client_proto.h utils/net_proto.h utils/ntlm_auth_proto.h smbd/build_options.c
-	@touch proto_exists
-
-delheaders:
-	@echo Removing prototype headers
-	@rm -f include/proto.h include/build_env.h \
-		winbindd/winbindd_proto.h web/swat_proto.h \
-		client/client_proto.h utils/net_proto.h \
-		smbd/build_options.c utils/ntlm_auth_proto.h \
-		utils/passwd_proto.h libnet/libnet_proto.h
-
-MKPROTO_SH = $(srcdir)/script/mkproto.sh
-
-include/proto.h: smbd/build_options.c
-	@echo Building include/proto.h
-	@cd $(srcdir) && $(SHELL) $(MKPROTO_SH) $(AWK) \
-	  -h _PROTO_H_ $(builddir)/include/proto.h \
-	  $(PROTO_OBJ)
-
 include/build_env.h: script/build_env.sh
 	@echo Building include/build_env.h
 	@$(SHELL) $(srcdir)/script/build_env.sh $(srcdir) $(builddir) $(CC) \
 	  > $(builddir)/include/build_env.h
 
-winbindd/winbindd_proto.h:
-	@cd $(srcdir) && $(SHELL) $(MKPROTO_SH) $(AWK) \
-	  -h _WINBINDD_PROTO_H_ $(builddir)/winbindd/winbindd_proto.h \
-	  $(WINBINDD_OBJ1)
-
-web/swat_proto.h:
-	@cd $(srcdir) && $(SHELL) $(MKPROTO_SH) $(AWK) \
-	  -h _SWAT_PROTO_H_ $(builddir)/web/swat_proto.h \
-	  $(SWAT_OBJ1)
-
-client/client_proto.h:
-	@cd $(srcdir) && $(SHELL) $(MKPROTO_SH) $(AWK) \
-	  -h _CLIENT_PROTO_H_ $(builddir)/client/client_proto.h \
-	  $(CLIENT_OBJ1)
-
-utils/net_proto.h:
-	@cd $(srcdir) && $(SHELL) $(MKPROTO_SH) $(AWK) \
-	  -h _NET_PROTO_H_ $(builddir)/utils/net_proto.h \
-	  $(NET_OBJ1)
-
-utils/passwd_proto.h:
-	@cd $(srcdir) && $(SHELL) $(MKPROTO_SH) $(AWK) \
-	  -h _PASSWD_PROTO_H_ $(builddir)/utils/passwd_proto.h \
-	  $(PASSWD_UTIL_OBJ)
-
-utils/ntlm_auth_proto.h:
-	@cd $(srcdir) && $(SHELL) $(MKPROTO_SH) $(AWK) \
-	  -h _NTLM_AUTH_PROTO_H_ $(builddir)/utils/ntlm_auth_proto.h \
-	  $(NTLM_AUTH_OBJ1)
-
-libnet/libnet_proto.h:
-	@cd $(srcdir) && $(SHELL) $(MKPROTO_SH) $(AWK) \
-	  -h _LIBNET_PROTO_H_ $(builddir)/libnet/libnet_proto.h \
-	  $(LIBNET_OBJ)
-
-# "make headers" or "make proto" calls a subshell because we need to
-# make sure these commands are executed in sequence even for a
-# parallel make.
-headers:
-	$(MAKE) delheaders; \
-	$(MAKE) smbd/build_options.c; \
-	$(MAKE) include/proto.h; \
-	$(MAKE) include/build_env.h; \
-	$(MAKE) winbindd/winbindd_proto.h; \
-	$(MAKE) web/swat_proto.h; \
-	$(MAKE) client/client_proto.h; \
-	$(MAKE) utils/ntlm_auth_proto.h; \
-	$(MAKE) utils/net_proto.h; \
-	$(MAKE) utils/passwd_proto.h; \
-	$(MAKE) libnet/libnet_proto.h;
-
-proto: headers
-
-.PHONY: headers proto
+proto:
+	@echo
+	@echo "NOTE: 'proto' is no longer a valid make target as proto.h"
+	@echo "and other prototype headers are not generated anymore."
+	@echo
+
+.PHONY: proto
 
 etags:
 	etags `find $(srcdir) -name "*.[ch]" | grep -v /.svn/`
diff --git a/source/client/client_proto.h b/source/client/client_proto.h
new file mode 100644
index 0000000..8e26058
--- /dev/null
+++ b/source/client/client_proto.h
@@ -0,0 +1,457 @@
+/*
+ * Unix SMB/CIFS implementation.
+ * collected prototypes header
+ *
+ * frozen from "make proto" in May 2008
+ *
+ * Copyright (C) Michael Adam 2008
+ *
+ * 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 3 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, see <http://www.gnu.org/licenses/>.
+ */
+
+#ifndef _CLIENT_PROTO_H_
+#define _CLIENT_PROTO_H_
+
+
+/* The following definitions come from client/client.c  */
+
+const char *client_get_cur_dir(void);
+const char *client_set_cur_dir(const char *newdir);
+void do_list(const char *mask,
+			uint16 attribute,
+			void (*fn)(file_info *, const char *dir),
+			bool rec,
+			bool dirs);
+int cmd_iosize(void);
+
+/* The following definitions come from client/clitar.c  */
+
+int cmd_block(void);
+int cmd_tarmode(void);
+int cmd_setmode(void);
+int cmd_tar(void);
+int process_tar(void);
+int tar_parseargs(int argc, char *argv[], const char *Optarg, int Optind);
+
+/* The following definitions come from client/dnsbrowse.c  */
+
+int do_smb_browse(void);
+int do_smb_browse(void);
+
+/* The following definitions come from rpc_client/cli_netlogon.c  */
+
+NTSTATUS rpccli_netlogon_setup_creds(struct rpc_pipe_client *cli,
+				     const char *server_name,
+				     const char *domain,
+				     const char *clnt_name,
+				     const char *machine_account,
+				     const unsigned char machine_pwd[16],
+				     enum netr_SchannelType sec_chan_type,
+				     uint32_t *neg_flags_inout);
+NTSTATUS rpccli_netlogon_sam_logon(struct rpc_pipe_client *cli,
+				   TALLOC_CTX *mem_ctx,
+				   uint32 logon_parameters,
+				   const char *domain,
+				   const char *username,
+				   const char *password,
+				   const char *workstation,
+				   int logon_type);
+NTSTATUS rpccli_netlogon_sam_network_logon(struct rpc_pipe_client *cli,
+					   TALLOC_CTX *mem_ctx,
+					   uint32 logon_parameters,
+					   const char *server,
+					   const char *username,
+					   const char *domain,
+					   const char *workstation,
+					   const uint8 chal[8],
+					   DATA_BLOB lm_response,
+					   DATA_BLOB nt_response,
+					   struct netr_SamInfo3 **info3);
+NTSTATUS rpccli_netlogon_sam_network_logon_ex(struct rpc_pipe_client *cli,
+					      TALLOC_CTX *mem_ctx,
+					      uint32 logon_parameters,
+					      const char *server,
+					      const char *username,
+					      const char *domain,
+					      const char *workstation,
+					      const uint8 chal[8],
+					      DATA_BLOB lm_response,
+					      DATA_BLOB nt_response,
+					      struct netr_SamInfo3 **info3);
+
+/* The following definitions come from rpc_client/cli_pipe.c  */
+
+NTSTATUS rpc_api_pipe_req(struct rpc_pipe_client *cli,
+			uint8 op_num,
+			prs_struct *in_data,
+			prs_struct *out_data);
+NTSTATUS rpc_pipe_bind(struct rpc_pipe_client *cli,
+		       struct cli_pipe_auth_data *auth);
+unsigned int rpccli_set_timeout(struct rpc_pipe_client *cli,
+				unsigned int timeout);
+bool rpccli_is_pipe_idx(struct rpc_pipe_client *cli, int pipe_idx);
+bool rpccli_get_pwd_hash(struct rpc_pipe_client *cli, uint8_t nt_hash[16]);
+struct cli_state *rpc_pipe_np_smb_conn(struct rpc_pipe_client *p);
+NTSTATUS rpccli_anon_bind_data(TALLOC_CTX *mem_ctx,
+			       struct cli_pipe_auth_data **presult);
+NTSTATUS rpccli_ntlmssp_bind_data(TALLOC_CTX *mem_ctx,
+				  enum pipe_auth_type auth_type,
+				  enum pipe_auth_level auth_level,
+				  const char *domain,
+				  const char *username,
+				  const char *password,
+				  struct cli_pipe_auth_data **presult);
+NTSTATUS rpccli_schannel_bind_data(TALLOC_CTX *mem_ctx, const char *domain,
+				   enum pipe_auth_level auth_level,
+				   const struct dcinfo *pdc,
+				   struct cli_pipe_auth_data **presult);
+NTSTATUS rpccli_kerberos_bind_data(TALLOC_CTX *mem_ctx,
+				   enum pipe_auth_level auth_level,
+				   const char *service_princ,
+				   const char *username,
+				   const char *password,
+				   struct cli_pipe_auth_data **presult);
+NTSTATUS rpc_pipe_open_tcp(TALLOC_CTX *mem_ctx, const char *host,
+			   uint16_t port,
+			   const struct ndr_syntax_id *abstract_syntax,
+			   struct rpc_pipe_client **presult);
+struct rpc_pipe_client *cli_rpc_pipe_open_noauth(struct cli_state *cli, int pipe_idx, NTSTATUS *perr);
+struct rpc_pipe_client *cli_rpc_pipe_open_ntlmssp(struct cli_state *cli,
+						int pipe_idx,
+						enum pipe_auth_level auth_level,
+						const char *domain,
+						const char *username,
+						const char *password,
+						NTSTATUS *perr);
+struct rpc_pipe_client *cli_rpc_pipe_open_spnego_ntlmssp(struct cli_state *cli,
+						int pipe_idx,
+						enum pipe_auth_level auth_level,
+						const char *domain,
+						const char *username,
+						const char *password,
+						NTSTATUS *perr);
+struct rpc_pipe_client *get_schannel_session_key(struct cli_state *cli,
+							const char *domain,
+							uint32 *pneg_flags,
+							NTSTATUS *perr);
+struct rpc_pipe_client *cli_rpc_pipe_open_schannel_with_key(struct cli_state *cli,
+					int pipe_idx,
+					enum pipe_auth_level auth_level,
+					const char *domain,
+					const struct dcinfo *pdc,
+					NTSTATUS *perr);
+struct rpc_pipe_client *cli_rpc_pipe_open_ntlmssp_auth_schannel(struct cli_state *cli,
+                                                int pipe_idx,
+						enum pipe_auth_level auth_level,
+                                                const char *domain,
+						const char *username,
+						const char *password,
+						NTSTATUS *perr);
+struct rpc_pipe_client *cli_rpc_pipe_open_schannel(struct cli_state *cli,
+                                                int pipe_idx,
+						enum pipe_auth_level auth_level,
+                                                const char *domain,
+						NTSTATUS *perr);
+struct rpc_pipe_client *cli_rpc_pipe_open_krb5(struct cli_state *cli,
+						int pipe_idx,
+						enum pipe_auth_level auth_level,
+						const char *service_princ,
+						const char *username,
+						const char *password,
+						NTSTATUS *perr);
+
+/* The following definitions come from rpc_client/init_lsa.c  */
+
+void init_lsa_String(struct lsa_String *name, const char *s);
+void init_lsa_StringLarge(struct lsa_StringLarge *name, const char *s);
+void init_lsa_AsciiString(struct lsa_AsciiString *name, const char *s);
+void init_lsa_AsciiStringLarge(struct lsa_AsciiStringLarge *name, const char *s);
+void init_lsa_sec_qos(struct lsa_QosInfo *r,
+		      uint32_t len,
+		      uint16_t impersonation_level,
+		      uint8_t context_mode,
+		      uint8_t effective_only);
+void init_lsa_obj_attr(struct lsa_ObjectAttribute *r,
+		       uint32_t len,
+		       uint8_t *root_dir,
+		       const char *object_name,
+		       uint32_t attributes,
+		       struct security_descriptor *sec_desc,
+		       struct lsa_QosInfo *sec_qos);
+void init_lsa_translated_sid(struct lsa_TranslatedSid *r,
+			     enum lsa_SidType sid_type,
+			     uint32_t rid,
+			     uint32_t sid_index);
+void init_lsa_translated_name2(struct lsa_TranslatedName2 *r,
+			       enum lsa_SidType sid_type,
+			       const char *name,
+			       uint32_t sid_index,
+			       uint32_t unknown);
+
+/* The following definitions come from rpc_client/init_netlogon.c  */
+
+void init_netr_SamBaseInfo(struct netr_SamBaseInfo *r,
+			   NTTIME last_logon,
+			   NTTIME last_logoff,
+			   NTTIME acct_expiry,
+			   NTTIME last_password_change,
+			   NTTIME allow_password_change,
+			   NTTIME force_password_change,
+			   const char *account_name,
+			   const char *full_name,
+			   const char *logon_script,
+			   const char *profile_path,
+			   const char *home_directory,
+			   const char *home_drive,
+			   uint16_t logon_count,
+			   uint16_t bad_password_count,
+			   uint32_t rid,
+			   uint32_t primary_gid,
+			   struct samr_RidWithAttributeArray groups,
+			   uint32_t user_flags,
+			   struct netr_UserSessionKey key,
+			   const char *logon_server,
+			   const char *domain,
+			   struct dom_sid2 *domain_sid,
+			   struct netr_LMSessionKey LMSessKey,
+			   uint32_t acct_flags);
+void init_netr_SamInfo3(struct netr_SamInfo3 *r,
+			NTTIME last_logon,
+			NTTIME last_logoff,
+			NTTIME acct_expiry,
+			NTTIME last_password_change,
+			NTTIME allow_password_change,
+			NTTIME force_password_change,
+			const char *account_name,
+			const char *full_name,
+			const char *logon_script,
+			const char *profile_path,
+			const char *home_directory,
+			const char *home_drive,
+			uint16_t logon_count,
+			uint16_t bad_password_count,
+			uint32_t rid,
+			uint32_t primary_gid,
+			struct samr_RidWithAttributeArray groups,
+			uint32_t user_flags,
+			struct netr_UserSessionKey key,
+			const char *logon_server,
+			const char *domain,
+			struct dom_sid2 *domain_sid,
+			struct netr_LMSessionKey LMSessKey,
+			uint32_t acct_flags,
+			uint32_t sidcount,
+			struct netr_SidAttr *sids);
+NTSTATUS serverinfo_to_SamInfo3(struct auth_serversupplied_info *server_info,
+				uint8_t pipe_session_key[16],
+				struct netr_SamInfo3 *sam3);
+void init_netr_IdentityInfo(struct netr_IdentityInfo *r,
+			    const char *domain_name,
+			    uint32_t parameter_control,
+			    uint32_t logon_id_low,
+			    uint32_t logon_id_high,
+			    const char *account_name,
+			    const char *workstation);
+void init_netr_NetworkInfo(struct netr_NetworkInfo *r,
+			   const char *domain_name,
+			   uint32_t parameter_control,
+			   uint32_t logon_id_low,
+			   uint32_t logon_id_high,
+			   const char *account_name,
+			   const char *workstation,
+			   uint8_t challenge[8],
+			   struct netr_ChallengeResponse nt,
+			   struct netr_ChallengeResponse lm);
+void init_netr_PasswordInfo(struct netr_PasswordInfo *r,
+			    const char *domain_name,
+			    uint32_t parameter_control,
+			    uint32_t logon_id_low,
+			    uint32_t logon_id_high,
+			    const char *account_name,
+			    const char *workstation,
+			    struct samr_Password lmpassword,
+			    struct samr_Password ntpassword);
+
+/* The following definitions come from rpc_client/init_srvsvc.c  */
+
+void init_srvsvc_NetSrvInfo102(struct srvsvc_NetSrvInfo102 *r,
+			       enum srvsvc_PlatformId platform_id,
+			       const char *server_name,
+			       uint32_t version_major,
+			       uint32_t version_minor,
+			       uint32_t server_type,
+			       const char *comment,
+			       uint32_t users,
+			       uint32_t disc,
+			       uint32_t hidden,
+			       uint32_t announce,
+			       uint32_t anndelta,
+			       uint32_t licenses,
+			       const char *userpath);
+void init_srvsvc_NetSrvInfo101(struct srvsvc_NetSrvInfo101 *r,
+			       enum srvsvc_PlatformId platform_id,
+			       const char *server_name,
+			       uint32_t version_major,
+			       uint32_t version_minor,
+			       uint32_t server_type,
+			       const char *comment);
+void init_srvsvc_NetSrvInfo100(struct srvsvc_NetSrvInfo100 *r,
+			       enum srvsvc_PlatformId platform_id,
+			       const char *server_name);
+void init_srvsvc_NetShareInfo0(struct srvsvc_NetShareInfo0 *r,
+			       const char *name);
+void init_srvsvc_NetShareInfo1(struct srvsvc_NetShareInfo1 *r,
+			       const char *name,
+			       enum srvsvc_ShareType type,
+			       const char *comment);
+void init_srvsvc_NetShareInfo2(struct srvsvc_NetShareInfo2 *r,
+			       const char *name,
+			       enum srvsvc_ShareType type,
+			       const char *comment,
+			       uint32_t permissions,
+			       uint32_t max_users,


-- 
Samba Shared Repository


More information about the samba-cvs mailing list