samba.git
11 years agoRefactoring: Make close_internal_rpc_pipe_hnd a talloc destructor
Volker Lendecke [Sat, 12 Jul 2008 10:25:42 +0000 (12:25 +0200)]
Refactoring: Make close_internal_rpc_pipe_hnd a talloc destructor
(This used to be commit 10b47a0c2cfd62489428518112da82f73a52b7bc)

11 years agoRefactor make_internal_rpc_pipe_p: connection_struct is not needed
Volker Lendecke [Sat, 12 Jul 2008 10:20:08 +0000 (12:20 +0200)]
Refactor make_internal_rpc_pipe_p: connection_struct is not needed
(This used to be commit defcf0eecfb8eb035d9ca80530720b9e6873f6c7)

11 years agoCreate doxygen comments for async_req.[ch]
Volker Lendecke [Sat, 28 Jun 2008 21:13:05 +0000 (23:13 +0200)]
Create doxygen comments for async_req.[ch]
(This used to be commit 1dab45b16a23b1126fbf29890747a2b256f08968)

11 years agoMake api_rpcTNP static to srv_pipe.c
Volker Lendecke [Sat, 26 Jul 2008 09:25:24 +0000 (11:25 +0200)]
Make api_rpcTNP static to srv_pipe.c
(This used to be commit 256c93a8b3d4d9a4e52a656c91b89a043a087066)

11 years agoFix an incompatible pointer warning
Volker Lendecke [Fri, 25 Jul 2008 21:30:53 +0000 (23:30 +0200)]
Fix an incompatible pointer warning
(cherry picked from commit 3282f7289b7b33beeaa1ca649651cca6537a69af)
(This used to be commit fc8641443951dc852dc9cf1e73626df452b815f7)

11 years agoFix bug creating files using DOS clients with mixed
Jeremy Allison [Fri, 25 Jul 2008 20:16:18 +0000 (13:16 -0700)]
Fix bug creating files using DOS clients with mixed
case files. Reported by Daniel Johnson <Progman2000@usa.net>.
The smb_set_file_time() call to set the filetimes is failing
because it's using the unmodified name passed in by the
client, not the modified name (matching case on the
disk) that comes out from create_file().
Jeremy.
(This used to be commit 1706a33e78347d14a8b09fd21b87d57bad543bcd)

11 years agoFix a race condition in winbind leading to a crash
Volker Lendecke [Fri, 25 Jul 2008 10:08:03 +0000 (12:08 +0200)]
Fix a race condition in winbind leading to a crash

When SIGCHLD handling is delayed for some reason, sending a request to a child
can fail early because the child has died already. In this case
async_main_request_sent() directly called the continuation function without
properly removing the malfunctioning child process and the requests in the
queue. The next request would then crash in the DLIST_ADD_END() in
async_request() because the request pending for the child had been
talloc_free()'ed and yet still was referenced in the list.

This one is *old*...

Volker
(cherry picked from commit 8691709626b0d461de91b8fc9d10c730d1f183dd)
(This used to be commit c70e2b6476d2d99c79624e15a4a3cfcdc850fc7c)

11 years agotalloc_string_sub2: Don't return NULL if src is empty.
Karolin Seeger [Wed, 23 Jul 2008 15:07:56 +0000 (17:07 +0200)]
talloc_string_sub2: Don't return NULL if src is empty.

This fixes BUG #5635.

Finished print jobs were not removed from the $PRINTER.tdb file if
"printing=cups".

In print_queue_update, talloc_string_sub2 is used to assemble the
"lprm command". In the case of using "printing=cups", the default
"lprm command" is an empty string. talloc_string_sub2 is called with
this empty string and returns NULL which leads to exiting
print_queue_update without doing the actual print queue update.

Signed-off by Michael Adam <obnox@samba.org>
(This used to be commit 03d66554d1bbd9d6c72a3dd5203e5305343c76b8)

11 years agoIf we're not allowing streams on this conn ptr,
Jeremy Allison [Fri, 25 Jul 2008 01:12:12 +0000 (18:12 -0700)]
If we're not allowing streams on this conn ptr,
then don't allow create_file() to call down to
create_file_unixpath() with a stream name.
Jeremy.
(This used to be commit 167d611b525db6d103a7f83fd5a19792be4e7745)

11 years agoRemove trailing withespace from wbinfo -m which breaks gdm auth.
Andreas Schneider [Mon, 21 Jul 2008 09:52:10 +0000 (11:52 +0200)]
Remove trailing withespace from wbinfo -m which breaks gdm auth.

Signed-off-by: Andreas Schneider <anschneider@suse.de>
(This used to be commit 12848e8eb91bf60551ada78e3430ee25142e366b)

11 years agoAdd casts to uint32_t to match prototype for sid_append_rid().
Jeremy Allison [Thu, 24 Jul 2008 19:01:46 +0000 (12:01 -0700)]
Add casts to uint32_t to match prototype for sid_append_rid().
Jeremy.
(This used to be commit 15004019676a5d860f9d5fbfbecbd31fcec8bf5b)

11 years agoUse sys_getgrnam not getgrnam. Pointed out by Herb.
Jeremy Allison [Thu, 24 Jul 2008 18:56:49 +0000 (11:56 -0700)]
Use sys_getgrnam not getgrnam. Pointed out by Herb.
Jeremy.
(This used to be commit 43eec6517023e7865618791c231e54cc1b800ceb)

11 years agoMerge branch 'v3-3-test' of git+ssh://sfrench@git.samba.org/data/git/samba into v33
Steve French [Thu, 24 Jul 2008 14:35:20 +0000 (09:35 -0500)]
Merge branch 'v3-3-test' of git+ssh://sfrench@git.samba.org/data/git/samba into v33
(This used to be commit 22afe367fef35d4262d960973933023a0a5ce77d)

11 years agocifs.upcall was not recognizing the newer name "dns_resolver" key type
Steve French [Thu, 24 Jul 2008 14:32:53 +0000 (09:32 -0500)]
cifs.upcall was not recognizing the newer name "dns_resolver" key type
(as a synonym for the older "cifs.resolver" name) when resolving host
names to ip addresses for the kernel.

Acked-by: Jeff Layton
(This used to be commit 22c36b27c60193102b3153e073216865adb1b6c1)

11 years agoRemove unused request_finished_cont()
Volker Lendecke [Thu, 24 Jul 2008 12:58:21 +0000 (14:58 +0200)]
Remove unused request_finished_cont()
(This used to be commit 865ea6fcbc089a03e453709fa54ff2a39c0c168e)

11 years agoMake use of TALLOC_FREE when freeing the per-winbindrequest memory context
Volker Lendecke [Thu, 24 Jul 2008 12:46:43 +0000 (14:46 +0200)]
Make use of TALLOC_FREE when freeing the per-winbindrequest memory context
(This used to be commit 9e49d390f79c6afc8b0efd9664e60602aebaa4f2)

11 years agopdb_ldap: Raise level for debug message to avoid log file flooding.
John H Terpstra [Thu, 24 Jul 2008 07:45:02 +0000 (09:45 +0200)]
pdb_ldap: Raise level for debug message to avoid log file flooding.
(This used to be commit 9b863a10da8762f715c16f147d6cd1e79422d248)

11 years agore-run "make idl" after adding idl for idl for Primary:Kerberos-Newer-Keys
Michael Adam [Wed, 23 Jul 2008 21:10:34 +0000 (23:10 +0200)]
re-run "make idl" after adding idl for idl for Primary:Kerberos-Newer-Keys

Michael
(This used to be commit d78667c88515aa4fffc49b44c00f470f7d25bd4d)

11 years agodrsblobs.idl: add idl for Primary:Kerberos-Newer-Keys blob in supplementalCredentials
Stefan Metzmacher [Tue, 22 Jul 2008 10:28:07 +0000 (12:28 +0200)]
drsblobs.idl: add idl for Primary:Kerberos-Newer-Keys blob in supplementalCredentials

metze
(cherry picked from commit 97b7901afbccc9647ad2958d4cf12300de2655d1)
(This used to be commit 5db983d1538453f0ba35d67a099396a18c7ab736)

11 years agore-run "make idl" after fixing unknowns in package_PrimaryKerberos (drsblobs.idl)
Michael Adam [Wed, 23 Jul 2008 21:06:30 +0000 (23:06 +0200)]
re-run "make idl" after fixing unknowns in package_PrimaryKerberos (drsblobs.idl)

Michael
(This used to be commit a5de166833631dbc8450277d180c69086deacd4b)

11 years agodrsblobs.idl: fix unknowns in package_PrimaryKerberos idl
Stefan Metzmacher [Wed, 23 Jul 2008 06:53:34 +0000 (08:53 +0200)]
drsblobs.idl: fix unknowns in package_PrimaryKerberos idl

metze
(cherry picked from commit da9ceb2bf17f964334d9317829d40483e2c04b10)
(This used to be commit 5459745369092a4d48fee18fb1be53f195405370)

11 years agore-run "make idl" after fixing idl for supplementalCredentialsSubBlob.
Michael Adam [Wed, 23 Jul 2008 21:02:09 +0000 (23:02 +0200)]
re-run "make idl" after fixing idl for supplementalCredentialsSubBlob.

Michael
(This used to be commit e33af40ad41816531c3189ef146f192a902d3229)

11 years agodrsblobs.idl: fix idl for supplementalCredentialsSubBlob
Stefan Metzmacher [Wed, 23 Jul 2008 11:06:32 +0000 (13:06 +0200)]
drsblobs.idl: fix idl for supplementalCredentialsSubBlob

metze
(cherry picked from commit 24c5b10136f6e640832193aaf9e6d7e865c288bc)
(This used to be commit 38aca9c11783daf30e19b4951451ec9a6b85cd30)

11 years agore-run "make idl" after changing unknown1->reserved in drsblobs.idl
Michael Adam [Wed, 23 Jul 2008 20:42:18 +0000 (22:42 +0200)]
re-run "make idl" after changing unknown1->reserved in drsblobs.idl

Michael
(This used to be commit 398702a818a0c292ab5b4f76be95168de83ffa25)

11 years agodrsblobs.idl: rename unknown1 -> reserved
Stefan Metzmacher [Wed, 23 Jul 2008 11:53:03 +0000 (13:53 +0200)]
drsblobs.idl: rename unknown1 -> reserved

metze
(This used to be commit fb0379aede4665987679c2e1b5ae943f124804b6)

11 years agocifs.upcall: fix compile warning
Steve French [Wed, 23 Jul 2008 19:25:17 +0000 (14:25 -0500)]
cifs.upcall: fix compile warning

Steve French noticed these warnings when building cifs.upcall:

   Compiling client/cifs.upcall.c
   client/cifs.upcall.c: In function 'usage':
   client/cifs.upcall.c:204: warning: declaration of 'prog' shadows a global declaration
   client/cifs.upcall.c:33: warning: shadowed declaration is here

Change the usage function to not take and arg and have it just use the global
"prog" variable. Fix a typo in the log message generated when an unknown
option is specified. Also getopt() always returns '?' when it sees an unknown
option so there's no point in printing it out.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
(This used to be commit 4b8362f9777debd21c47154e786b7017fbf847f7)

11 years agorpc_parse: Unify spoolss debug messages.
Karolin Seeger [Tue, 22 Jul 2008 19:43:43 +0000 (21:43 +0200)]
rpc_parse: Unify spoolss debug messages.

Karolin
(This used to be commit 5ab391d466ce9ddea31f6f6bf467aa6c5f3a7efb)

11 years agoChange occurrences of the u1 member of DsBindInfo* to pid after idl change.
Michael Adam [Tue, 22 Jul 2008 14:18:03 +0000 (16:18 +0200)]
Change occurrences of the u1 member of DsBindInfo* to pid after idl change.

Michael
(This used to be commit 42f3d681cac4a443347d1ed253848d45f8746f89)

11 years agore-run "make idl" after changing u1 member to pid in DsBindInfo*.
Michael Adam [Tue, 22 Jul 2008 14:15:15 +0000 (16:15 +0200)]
re-run "make idl" after changing u1 member to pid in DsBindInfo*.

Michael
(This used to be commit d08e8c4738cfd7785d3b9a2c828c27cc8bc0c6f7)

11 years agodrsuapi.idl: change the u1 field in DsBindInfo* to "pid".
Michael Adam [Tue, 22 Jul 2008 13:33:26 +0000 (15:33 +0200)]
drsuapi.idl: change the u1 field in DsBindInfo* to "pid".

According to the WSPP docs, section 5.35,
this is the "process identifyer" of the client.
It is meant for informational and debugging purposes
only and its assignment is implementation specific.

Michael
(This used to be commit 5c2119ba63a5a119e1b8f055779e5c398333f177)

11 years agoCheck for f_frsize when using statvfs
Zach Loafman [Thu, 3 Jul 2008 18:52:53 +0000 (11:52 -0700)]
Check for f_frsize when using statvfs

Add a configure test for the availability of f_frsize in struct statvfs
(for broken platforms that define statvfs but still have
f_bsize/f_iosize). Also add sys/types.h to the other struct statvfs test
(again, some platforms need it).
(This used to be commit 591bf1d15ff3b93db908cc3a4b6e10d09e5b74b6)

11 years agoMake DSO_EXPORTS_CMD regexp more POSIX compliant
Zach Loafman [Wed, 9 Jul 2008 07:05:50 +0000 (00:05 -0700)]
Make DSO_EXPORTS_CMD regexp more POSIX compliant

The FreeBSD sed command doesn't understand \? without passing -E to turn
on extended regexps. This patch changes the DSO_EXPORTS_CMD regexp to a
POSIX compliant RE by switching the \+ to a \{1,\} bound and the \? to a
\{0,1\} bound.
(This used to be commit 0acc888ca91a7401c5e54388c58272e263f73069)

11 years agoFix warnings on FreeBSD-based platforms
Zach Loafman [Thu, 3 Jul 2008 19:21:33 +0000 (12:21 -0700)]
Fix warnings on FreeBSD-based platforms

Fix two shadowed declaration warnings on FreeBSD-based platform:
'reboot' is a 4.0BSD syscall in unistd.h and 'tcp_seq' is a typedef in
netinet/tcp.h.
(This used to be commit 14d2a4da1da38d6f69c63505d35990322f253e5d)

11 years agoFix various build warnings
Zach Loafman [Fri, 4 Jul 2008 05:53:42 +0000 (22:53 -0700)]
Fix various build warnings

This fixes various build warnings on our platform. I'm sure I haven't
caught them all, but it's a start.
(This used to be commit 6b73f259cb67d9dda9127907d706f9244a871fa3)

11 years agoAdd --enable-picky-developer
Zach Loafman [Thu, 3 Jul 2008 20:45:07 +0000 (13:45 -0700)]
Add --enable-picky-developer

This adds an --enable-picky-developer option that will halt compilation
on warnings. Yes, this could be handled by a direct Makefile change, but
people should be encourage to do it!
(This used to be commit 10a2ab40771b7d0222f339a87a45630a23ce4788)

11 years agorpcclient: make DsGetNCChanges work against w2k8 (add knowledge of DsBindInfo48)
Michael Adam [Tue, 22 Jul 2008 10:16:46 +0000 (12:16 +0200)]
rpcclient: make DsGetNCChanges work against w2k8 (add knowledge of DsBindInfo48)

Michael
(This used to be commit 27ce662f5d4e1185cedc59c52f94458fb6425f5c)

11 years agore-run make idl after adding drsuapi_DsBindInfo48 to drsuapi.idl
Michael Adam [Tue, 22 Jul 2008 11:23:18 +0000 (13:23 +0200)]
re-run make idl after adding drsuapi_DsBindInfo48 to drsuapi.idl

Michael
(This used to be commit ac5d8ede8a94e8411d38b684e943d0b489ba8b70)

11 years agodrsuapi.idl: add drsuapi_SupportedExtensionsExt bitfield.
Michael Adam [Tue, 22 Jul 2008 11:07:55 +0000 (13:07 +0200)]
drsuapi.idl: add drsuapi_SupportedExtensionsExt bitfield.

This knowledge is obtained from the wspp-docs (section 5.35).

Michael
(cherry picked from commit f5afb695045b1a2f3b8c00a4d82d40e8e50726c9)
(This used to be commit 7a3a2b916d5c1116d2536bc87a4f21cd38861668)

11 years agodrsuapi.idl: the last 16 bytes in DsBindInfo48 ar the GUID of the config dn.
Michael Adam [Tue, 22 Jul 2008 10:46:04 +0000 (12:46 +0200)]
drsuapi.idl: the last 16 bytes in DsBindInfo48 ar the GUID of the config dn.

This bit seems not to be documented in the WSPP docs.

Michael
(cherry picked from commit 705f79bd0a5e93daa0cb11b5dcca36e75c75df93)
(This used to be commit 995b0eda0ca46db5f7e6fdbbf92ce86584cb6126)

11 years agodrsuapi.idl: add drsuapi_DsBindInfo48.
Michael Adam [Tue, 22 Jul 2008 09:37:32 +0000 (11:37 +0200)]
drsuapi.idl: add drsuapi_DsBindInfo48.

This is necessary to make DsGetNcChanges work with win2008.

Michael
(cherry picked from commit dd278b069b8683a0e3721ebb7d0de06d2bc1c86f)
(This used to be commit 23742a369123722185297151fd743cb20812d3dd)

11 years agore-run make idl after Jelmer's "poperly cast array lengths" pidl change.
Michael Adam [Tue, 22 Jul 2008 09:54:54 +0000 (11:54 +0200)]
re-run make idl after Jelmer's "poperly cast array lengths" pidl change.

(f321240fa91fa19c1131f119c42f64897d220682)

Michael
(This used to be commit 962c2670b10addf81a242d8cb381cc010e036b8e)

11 years agoman pages: "printcap name" is a global parameter, not a share specific one.
Karolin Seeger [Tue, 22 Jul 2008 09:27:16 +0000 (11:27 +0200)]
man pages: "printcap name" is a global parameter, not a share specific one.

Karolin
(This used to be commit 9cde2525560536e16e2dbf991dbeb446260dd0df)

11 years agoUpdate Roadmap
Volker Lendecke [Mon, 21 Jul 2008 14:12:22 +0000 (16:12 +0200)]
Update Roadmap
(cherry picked from commit d1c3b57085b493b47398daf71ce18f16ece57da0)
(This used to be commit 3d8336966cb2439f5727b6c99c40a89bc0fb5d84)

11 years agoYESS -- remove the PI_* pipe constants
Volker Lendecke [Mon, 21 Jul 2008 11:30:45 +0000 (13:30 +0200)]
YESS -- remove the PI_* pipe constants
(This used to be commit 26a40f708a44fa460459a43014a101a383586e54)

11 years agoMake idl: cli_do_rpc_ndr does not use pipe_idx anymore
Volker Lendecke [Mon, 21 Jul 2008 11:04:41 +0000 (13:04 +0200)]
Make idl: cli_do_rpc_ndr does not use pipe_idx anymore
(This used to be commit ffd2ff5325ef24f08dcb63e4561f5f62bffef6d3)

11 years agoRemove unused function rpccli_is_pipe_idx
Volker Lendecke [Mon, 21 Jul 2008 11:04:13 +0000 (13:04 +0200)]
Remove unused function rpccli_is_pipe_idx
(This used to be commit 287ffc17a072d5e1a5b0e1ecae089faf67b814b7)

11 years agoRefactoring: CLI_DO_RPC_* uses interface instead of pipe_idx
Volker Lendecke [Mon, 21 Jul 2008 10:50:32 +0000 (12:50 +0200)]
Refactoring: CLI_DO_RPC_* uses interface instead of pipe_idx
(This used to be commit 6d2209ba5da0937ce17e71951a1628ff1f5deacb)

11 years agoRemove a reference to pipe_idx
Volker Lendecke [Mon, 21 Jul 2008 10:49:50 +0000 (12:49 +0200)]
Remove a reference to pipe_idx
(This used to be commit e949b9d11f439c32c85a3cd9ae4c1a859a4c284a)

11 years agoRemove some unused code
Volker Lendecke [Mon, 21 Jul 2008 10:05:46 +0000 (12:05 +0200)]
Remove some unused code
(This used to be commit b60a681dd09349426aa522d697abacf62ebfdaf2)

11 years agoRemove one reference to PI_NETLOGON
Volker Lendecke [Mon, 21 Jul 2008 10:04:44 +0000 (12:04 +0200)]
Remove one reference to PI_NETLOGON
(This used to be commit e89bbab1b875a0b55b70913dcc1e3e73137c8b90)

11 years agoRemove one reference to PI_LSARPC
Volker Lendecke [Mon, 21 Jul 2008 10:01:12 +0000 (12:01 +0200)]
Remove one reference to PI_LSARPC
(This used to be commit 40247e8d3d53502fa8d7cc6b3eb9ed43f51142f3)

11 years agoRemove some fully outdated sample code
Volker Lendecke [Mon, 21 Jul 2008 09:57:11 +0000 (11:57 +0200)]
Remove some fully outdated sample code
(This used to be commit 0df0e81784362c36a79954c6b9e3b341ea59fb6d)

11 years agoRemove now unused cli_get_pipe_name
Volker Lendecke [Sun, 20 Jul 2008 16:48:44 +0000 (18:48 +0200)]
Remove now unused cli_get_pipe_name
(This used to be commit ed4a447103cd9ada59222d79f5784818fe033209)

11 years agoRemove now unused cli_get_pipe_idx
Volker Lendecke [Sun, 20 Jul 2008 16:46:13 +0000 (18:46 +0200)]
Remove now unused cli_get_pipe_idx
(This used to be commit e02a550527307f7b300d3fe13631e2d29dbc5e06)

11 years agoRemove now unused cli_get_iface
Volker Lendecke [Sun, 20 Jul 2008 16:45:39 +0000 (18:45 +0200)]
Remove now unused cli_get_iface
(This used to be commit 2e60701e8d41132f90e64a86bccd99cc188d38c9)

11 years agoRefactoring: connect_dst_pipe uses ndr_syntax_id instead of pipe_idx
Volker Lendecke [Sun, 20 Jul 2008 16:44:32 +0000 (18:44 +0200)]
Refactoring: connect_dst_pipe uses ndr_syntax_id instead of pipe_idx
(This used to be commit 0f77746f36b98acc5171727fa3fc236af9fd2000)

11 years agoRefactoring: net_sh_run uses ndr_syntax_id instead of pipe_idx
Volker Lendecke [Sun, 20 Jul 2008 16:40:31 +0000 (18:40 +0200)]
Refactoring: net_sh_run uses ndr_syntax_id instead of pipe_idx
(This used to be commit 85c8363d5179e7053adc05e8abce2fb26cf9b968)

11 years agoRefactoring: run_rpc_command uses ndr_syntax_id instead of pipe_idx
Volker Lendecke [Sun, 20 Jul 2008 16:36:31 +0000 (18:36 +0200)]
Refactoring: run_rpc_command uses ndr_syntax_id instead of pipe_idx
(This used to be commit 850166ec0d17eb85a0c921dc3b966fac0677af4a)

11 years agoRefactoring: rpcclient uses ndr_syntax_id instead of pipe_idx
Volker Lendecke [Sun, 20 Jul 2008 16:17:52 +0000 (18:17 +0200)]
Refactoring: rpcclient uses ndr_syntax_id instead of pipe_idx
(This used to be commit 85db87c451dacf80e9575c04e9e08c625b3f1199)

11 years agoRefactoring: libnetapi_open_pipe takes an interface instead of pipe_idx
Volker Lendecke [Sun, 20 Jul 2008 15:59:30 +0000 (17:59 +0200)]
Refactoring: libnetapi_open_pipe takes an interface instead of pipe_idx
(This used to be commit 726e56c72fdb685ab5eddefd2fd8b043dc38d6ad)

11 years agotestsuite: fix expr error on Tru64, triggered by uninitialized failed variable.
Michael Adam [Mon, 21 Jul 2008 09:23:55 +0000 (11:23 +0200)]
testsuite: fix expr error on Tru64, triggered by uninitialized failed variable.

Michael
(This used to be commit 25cd227aaecf91dfa3114ae0fd2b47c783434aad)

11 years agotestsuite: fix another expr syntax error. in tests_all.sh.
Michael Adam [Mon, 21 Jul 2008 09:17:36 +0000 (11:17 +0200)]
testsuite: fix another expr syntax error. in tests_all.sh.

Michael
(This used to be commit 486b1bc5b5021565ec443fd463c8287c02c686b3)

11 years agotestsuite: fix expr syntax error in net registry test.
Michael Adam [Sun, 20 Jul 2008 21:49:40 +0000 (23:49 +0200)]
testsuite: fix expr syntax error in net registry test.

Pointed out by Björn Jacke <bj@sernet.de>.

Michael
(This used to be commit 87e02bca04cb26d0d237f3ccd17be0ba2dd6d85f)

11 years agoRefactoring: Change calling conventions for cli_rpc_pipe_open_krb5
Volker Lendecke [Sun, 20 Jul 2008 09:04:31 +0000 (11:04 +0200)]
Refactoring: Change calling conventions for cli_rpc_pipe_open_krb5

Pass in ndr_syntax_id instead of pipe_idx, return NTSTATUS
(This used to be commit f2656e5c2e700523ead7a62734d203ad0caaff0c)

11 years agoRefactoring: Change calling conventions for cli_rpc_pipe_open_schannel
Volker Lendecke [Sun, 20 Jul 2008 09:04:31 +0000 (11:04 +0200)]
Refactoring: Change calling conventions for cli_rpc_pipe_open_schannel

Pass in ndr_syntax_id instead of pipe_idx, return NTSTATUS
(This used to be commit 1fcfca007f33a2c4e979abf30c2ea0db65bac718)

11 years agoRefactoring: Change calling conventions for cli_rpc_pipe_open_ntlmssp_auth_schannel
Volker Lendecke [Sun, 20 Jul 2008 09:04:31 +0000 (11:04 +0200)]
Refactoring: Change calling conventions for cli_rpc_pipe_open_ntlmssp_auth_schannel

Pass in ndr_syntax_id instead of pipe_idx, return NTSTATUS
(This used to be commit ff87127baf1d1bd62bb9c1be4a50c2ab2642b33d)

11 years agoRefactoring: Change calling conventions for cli_rpc_pipe_open_schannel_with_key
Volker Lendecke [Sun, 20 Jul 2008 09:04:31 +0000 (11:04 +0200)]
Refactoring: Change calling conventions for cli_rpc_pipe_open_schannel_with_key

Pass in ndr_syntax_id instead of pipe_idx, return NTSTATUS
(This used to be commit 78e9c937ff2d2e1b70cfed4121e17feb6efafda1)

11 years agoRefactoring: Make get_schannel_session_key_auth_ntlmssp return NTSTATUS
Volker Lendecke [Sun, 20 Jul 2008 14:36:55 +0000 (16:36 +0200)]
Refactoring: Make get_schannel_session_key_auth_ntlmssp return NTSTATUS
(This used to be commit ab3d80d476d8264030fa71d974324c6dcf6fe6e1)

11 years agoRefactoring: Make get_schannel_session_key return NTSTATUS
Volker Lendecke [Sun, 20 Jul 2008 14:33:26 +0000 (16:33 +0200)]
Refactoring: Make get_schannel_session_key return NTSTATUS
(This used to be commit a0793cc853d3bd43df2fc49df193a5fead6b01ab)

11 years agoRefactoring: Make get_schannel_session_key_common return NTSTATUS
Volker Lendecke [Sun, 20 Jul 2008 14:27:45 +0000 (16:27 +0200)]
Refactoring: Make get_schannel_session_key_common return NTSTATUS
(This used to be commit 513e69507676fc2227424362d24d8ea9615ea758)

11 years agoRefactoring: Change calling conventions for cli_rpc_pipe_open_ntlmssp
Volker Lendecke [Sun, 20 Jul 2008 09:04:31 +0000 (11:04 +0200)]
Refactoring: Change calling conventions for cli_rpc_pipe_open_ntlmssp

Pass in ndr_syntax_id instead of pipe_idx, return NTSTATUS
(This used to be commit a13f0599551609394904b99e4014d580ec65c506)

11 years agoRefactoring: Change calling conventions for cli_rpc_pipe_open_noauth
Volker Lendecke [Sun, 20 Jul 2008 09:04:31 +0000 (11:04 +0200)]
Refactoring: Change calling conventions for cli_rpc_pipe_open_noauth

Pass in ndr_syntax_id instead of pipe_idx, return NTSTATUS
(This used to be commit 9abc9dc4dc13bd3e42f98eff64eacf24b51f5779)

11 years agoRefactoring: Change calling conventions for cli_rpc_pipe_open
Volker Lendecke [Sun, 20 Jul 2008 09:04:31 +0000 (11:04 +0200)]
Refactoring: Change calling conventions for cli_rpc_pipe_open

Pass in ndr_syntax_id instead of pipe_idx, return NTSTATUS
(This used to be commit 6c122457ff3f22e20dbb595dc6d5fb49689f4d61)

11 years agoRefactoring: Change calling conventions for rpc_pipe_open_np
Volker Lendecke [Sun, 20 Jul 2008 08:56:36 +0000 (10:56 +0200)]
Refactoring: Change calling conventions for rpc_pipe_open_np

Pass in ndr_syntax_id instead of pipe_idx, return NTSTATUS
(This used to be commit 9249fe9e917982c8b9ca25933b716e8ac0aa40cd)

11 years agoAllocate rpc_cli->dc in rpccli_netlogon_setup_creds()
Volker Lendecke [Sun, 20 Jul 2008 08:40:43 +0000 (10:40 +0200)]
Allocate rpc_cli->dc in rpccli_netlogon_setup_creds()

The general cli_pipe routines should not have to know about this NETLOGON
speciality.
(This used to be commit d30237598d0c55b73e202c1de3a020194b67a7e6)

11 years agoStore copies of the syntax ids in rpc_pipe_client
Volker Lendecke [Sun, 20 Jul 2008 08:21:14 +0000 (10:21 +0200)]
Store copies of the syntax ids in rpc_pipe_client
(This used to be commit 848a3497e385090b4b21837c8d0e0313f5c062e5)

11 years agoSimplify pipe_names: we only do ndr_transfer_syntax anyway
Volker Lendecke [Sun, 20 Jul 2008 08:00:46 +0000 (10:00 +0200)]
Simplify pipe_names: we only do ndr_transfer_syntax anyway
(This used to be commit b808403af55a37f2ec0e87e60450505ddfc2edda)

11 years agoFix link for Using Samba
Alexander Bokovoy [Sat, 19 Jul 2008 20:11:50 +0000 (00:11 +0400)]
Fix link for Using Samba
(This used to be commit 2810dc9e40a0729bc1769c00b51ef24fb5e4ea90)

11 years agoThe PIPE_ pipename macros are only used in cli_pipe.c
Volker Lendecke [Sat, 19 Jul 2008 19:07:14 +0000 (21:07 +0200)]
The PIPE_ pipename macros are only used in cli_pipe.c
(This used to be commit 03f7af26f255476d84a375a95fbccfce24db9de8)

11 years agoMake the pipe_names[] array static to cli_pipe.c
Volker Lendecke [Sat, 19 Jul 2008 18:40:27 +0000 (20:40 +0200)]
Make the pipe_names[] array static to cli_pipe.c
(This used to be commit ab7ab350591bf16717744a0c252d3a9d185bcb77)

11 years agoIntroduce is_known_pipename
Volker Lendecke [Sat, 19 Jul 2008 18:27:56 +0000 (20:27 +0200)]
Introduce is_known_pipename

This scans the list of pipes registered via rpc_pipe_register_commands instead
of using static tables.
(This used to be commit 283e6039989adea1c8921b3600b410cb67b6492a)

11 years agoMake use of ndr_syntax_id_equal
Volker Lendecke [Sat, 19 Jul 2008 17:53:01 +0000 (19:53 +0200)]
Make use of ndr_syntax_id_equal
(This used to be commit 3ab3f2610500107c9cff677746365bba143ca9de)

11 years agoOoops, GUID_equal was already around :-)
Volker Lendecke [Sat, 19 Jul 2008 17:50:36 +0000 (19:50 +0200)]
Ooops, GUID_equal was already around :-)
(This used to be commit 9a0bc277f23831124d049301bc7009a285d91a11)

11 years agoFix the build of vfs_zfsacl.c
Volker Lendecke [Fri, 18 Jul 2008 08:01:39 +0000 (10:01 +0200)]
Fix the build of vfs_zfsacl.c
(cherry picked from commit b83beeda44e1c8d485c2ad6bb8ee539cdcbe8bda)
(This used to be commit b46ce28039e8829f5188574ebe84ff3b7d9e65bc)

11 years agonetapi: add caching of samr policy handles.
Günther Deschner [Thu, 17 Jul 2008 20:44:24 +0000 (22:44 +0200)]
netapi: add caching of samr policy handles.

Guenther
(This used to be commit bf8453da9af1be788955204cc581c5143a854072)

11 years agonetapi: let libnetapi_samr_lookup_and_open_alias compose lsa string.
Günther Deschner [Fri, 18 Jul 2008 14:24:02 +0000 (16:24 +0200)]
netapi: let libnetapi_samr_lookup_and_open_alias compose lsa string.

Guenther
(This used to be commit f93090037798ffb4d9b875a4320f970ae10a64b6)

11 years agonetapi: implement NetLocalGroupEnum_r.
Günther Deschner [Fri, 18 Jul 2008 13:11:08 +0000 (15:11 +0200)]
netapi: implement NetLocalGroupEnum_r.

Guenther
(This used to be commit 2cd91e7d4d4847e1daef2585b09da4e6da6c9d11)

11 years agonetapi: add NetLocalGroupEnum example code.
Günther Deschner [Thu, 17 Jul 2008 23:41:30 +0000 (01:41 +0200)]
netapi: add NetLocalGroupEnum example code.

Guenther
(This used to be commit a5a8d03699220e1f237debb84a75cacbbb8899fa)

11 years agonetapi: add NetLocalGroupEnum to public header.
Günther Deschner [Thu, 17 Jul 2008 23:40:34 +0000 (01:40 +0200)]
netapi: add NetLocalGroupEnum to public header.

Guenther
(This used to be commit 151c8fa7901983a3e7a82f1af599c839249b6cd7)

11 years agonetapi: add skeleton for NetLocalGroupEnum().
Günther Deschner [Thu, 17 Jul 2008 23:23:26 +0000 (01:23 +0200)]
netapi: add skeleton for NetLocalGroupEnum().

Guenther
(This used to be commit 71bd0109d6c393d4361729b514e63fab113bf78a)

11 years agore-run make idl.
Günther Deschner [Thu, 17 Jul 2008 23:21:38 +0000 (01:21 +0200)]
re-run make idl.

Guenther
(This used to be commit 4b79d54574722552346bbc17947fd26fc1a0deda)

11 years agonetapi: add NetLocalGroupEnum to IDL.
Günther Deschner [Thu, 17 Jul 2008 23:20:56 +0000 (01:20 +0200)]
netapi: add NetLocalGroupEnum to IDL.

Guenther
(This used to be commit 95432c8b57aac684064a20a7bba0734fb5d27d18)

11 years agonetapi: make map_alias_info_to_buffer suitable for arrays in the buffer.
Günther Deschner [Fri, 18 Jul 2008 13:10:43 +0000 (15:10 +0200)]
netapi: make map_alias_info_to_buffer suitable for arrays in the buffer.

Guenther
(This used to be commit dc0f737bd5e86369b2bbfbef420a095205c2d3cb)

11 years agonetapi: add libnetapi_samr_open_alias_queryinfo.
Günther Deschner [Fri, 18 Jul 2008 13:01:21 +0000 (15:01 +0200)]
netapi: add libnetapi_samr_open_alias_queryinfo.

Guenther
(This used to be commit 401d6ce210817d9ab6915ed838e1495ae220559a)

11 years agonetapi: add NetUserSetInfo example code.
Günther Deschner [Fri, 18 Jul 2008 00:23:29 +0000 (02:23 +0200)]
netapi: add NetUserSetInfo example code.

Guenther
(This used to be commit 5000d4c743b09665405776569782f46eeb6c2e36)

11 years agonetapi: add NetUserSetInfo to public header.
Günther Deschner [Thu, 17 Jul 2008 23:40:14 +0000 (01:40 +0200)]
netapi: add NetUserSetInfo to public header.

Guenther
(This used to be commit 0acf8352a3ca7deb2e3465be441f20d455eb802b)

11 years agonetapi: add skeleton for NetUserSetInfo.
Günther Deschner [Wed, 16 Jul 2008 23:00:33 +0000 (01:00 +0200)]
netapi: add skeleton for NetUserSetInfo.

Guenther
(This used to be commit 8cc555602f53f6afaded2eff58ed57f87b915c64)

11 years agore-run make idl.
Günther Deschner [Wed, 16 Jul 2008 22:59:57 +0000 (00:59 +0200)]
re-run make idl.

Guenther
(This used to be commit de9f40ddd08dad821d3242e60a396a771cf16fa0)

11 years agonetapi: add NetUserSetInfo to IDL.
Günther Deschner [Wed, 16 Jul 2008 22:59:13 +0000 (00:59 +0200)]
netapi: add NetUserSetInfo to IDL.

Guenther
(This used to be commit e00d2affbc3bc848e727f60348aebc7ea8548459)

11 years agonetapi: fill in NetUserGetInfo_r().
Günther Deschner [Thu, 17 Jul 2008 20:45:09 +0000 (22:45 +0200)]
netapi: fill in NetUserGetInfo_r().

Guenther
(This used to be commit d282e5eca298c4c45cbe91a93350273d1417a050)