Volker Lendecke
da6e4248ee
Make idl: cli_do_rpc_ndr does not use pipe_idx anymore
...
(This used to be commit ffd2ff5325ef24f08dcb63e4561f5f62bffef6d3)
2008-07-21 14:36:31 +02:00
Volker Lendecke
a20c498310
Remove unused function rpccli_is_pipe_idx
...
(This used to be commit 287ffc17a072d5e1a5b0e1ecae089faf67b814b7)
2008-07-21 14:36:31 +02:00
Volker Lendecke
303f98af2f
Remove now unused cli_get_pipe_name
...
(This used to be commit ed4a447103cd9ada59222d79f5784818fe033209)
2008-07-21 14:36:30 +02:00
Volker Lendecke
346a8d1bdc
Remove now unused cli_get_pipe_idx
...
(This used to be commit e02a550527307f7b300d3fe13631e2d29dbc5e06)
2008-07-21 14:36:29 +02:00
Volker Lendecke
9664f24ecf
Remove now unused cli_get_iface
...
(This used to be commit 2e60701e8d41132f90e64a86bccd99cc188d38c9)
2008-07-21 14:36:28 +02:00
Volker Lendecke
798b56edae
Refactoring: libnetapi_open_pipe takes an interface instead of pipe_idx
...
(This used to be commit 726e56c72fdb685ab5eddefd2fd8b043dc38d6ad)
2008-07-21 14:36:27 +02:00
Volker Lendecke
55f84c05bd
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)
2008-07-20 17:37:14 +02:00
Volker Lendecke
99526d391d
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)
2008-07-20 17:37:14 +02:00
Volker Lendecke
52ff49600e
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)
2008-07-20 17:37:13 +02:00
Volker Lendecke
ba2cb35ca5
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)
2008-07-20 17:37:13 +02:00
Volker Lendecke
b8fc15be95
Refactoring: Make get_schannel_session_key return NTSTATUS
...
(This used to be commit a0793cc853d3bd43df2fc49df193a5fead6b01ab)
2008-07-20 17:37:12 +02:00
Volker Lendecke
e0be03d8d5
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)
2008-07-20 17:37:11 +02:00
Volker Lendecke
1335da2a7c
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)
2008-07-20 17:37:11 +02:00
Volker Lendecke
2e7cb1a5cc
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)
2008-07-19 20:27:56 +02:00
Volker Lendecke
8e02cb17fe
Ooops, GUID_equal was already around :-)
...
(This used to be commit 9a0bc277f23831124d049301bc7009a285d91a11)
2008-07-19 19:50:36 +02:00
Günther Deschner
24f0f552de
libads: add prototype for ads_connect_gc().
...
Guenther
(This used to be commit 0122e4941db33f149a64d7e17286c0ba81247a19)
2008-07-18 16:42:47 +02:00
Volker Lendecke
bcb652451b
Simplify the RPC servers: remove get_pipe_fns
...
The per-server xxx_get_pipe_fns functions can go once all the RPC servers are
converted
(This used to be commit 6aa2391cbe1cbda8269ded767117f53d83b243e1)
2008-07-18 15:04:05 +02:00
Günther Deschner
6a3b742db7
util: add policy_hnd_equal().
...
Guenther
(This used to be commit 6aca163e898bfeeff824725bb27b2ef4f7b729f9)
2008-07-17 10:32:03 +02:00
Volker Lendecke
e0f3ea2cbe
In api_pipe_bind_req(), check for the iface id, not the pipe name
...
This requires to store the rpc_interface in "struct rpc_table"
(This used to be commit 654f8de8497aff29f9b1f1822b6a8e734ff329e0)
2008-07-16 23:19:48 +02:00
Volker Lendecke
e65ea7471e
Add ndr_syntax_id_equal()
...
(This used to be commit 5fc90908deb417130af122941e084542304a2543)
2008-07-16 23:19:48 +02:00
Jeremy Allison
24eec914c0
Fix swat. Bug #5613 .
...
Jeremy
(This used to be commit 15920f838835f5dbbac8712202267c2a99237686)
2008-07-15 14:37:48 -07:00
Simo Sorce
02e592486f
Make again idmap_init static
...
(This used to be commit e113b7c13f2457676fdec9e52f09046286e25b60)
2008-07-12 21:40:28 -04:00
Volker Lendecke
622d36aa41
Revert "Make idmap_init() static"
...
This reverts commit c8d1bbfddce41cd6bf37dd0a622ef3437a24b492.
(This used to be commit 5cded3da00c0af40a98d86011507553f97fe6a22)
2008-07-11 17:53:26 +02:00
Volker Lendecke
d670d0a09b
Revert "Remove gencache_[un]lock_entry"
...
This reverts commit 7a5a575ffe5196caecedc93970a25abfbe6f8059.
(This used to be commit 62e444dd50ae974c2ab9a553cdf7f188a8f2c538)
2008-07-11 17:53:25 +02:00
Volker Lendecke
b6dcc24987
Revert "Convert idmap_cache to gencache"
...
This reverts commit 0bf0434f22b0ea46fda3ccc4dd612adbc88dd4f2.
(This used to be commit cc536677735ecc318cbd2176ce53b124f44d85a0)
2008-07-11 17:53:24 +02:00
Volker Lendecke
ebb2d70a60
Revert "Make use of ADD_TO_ARRAY"
...
This reverts commit 81f334bd6da601a040f754c46705cfa2fd4f8c45.
(This used to be commit d4d106776af3f475d46a4dd78794b7b48a3572af)
2008-07-11 17:53:24 +02:00
Derrell Lipman
31262a59bc
[BUG 5580] Allow access to DFS shares via libsmbclient
...
Brian Sheehan provided a nice patch intended for the 3.0 code base. This
commit applies a similar patch for the 3.3 code base. It adds a new public
function to libsmbclient -- smbc_set_credentials() -- that may be called from
the authentication callback when DFS referrals are in use.
Derrell
(This used to be commit 888f922bd0d1c84a687d404e95ae314a9dd0aee1)
2008-07-08 20:44:39 -04:00
Volker Lendecke
ca34287063
Make use of ADD_TO_ARRAY
...
(This used to be commit 81f334bd6da601a040f754c46705cfa2fd4f8c45)
2008-07-05 12:19:13 +02:00
Volker Lendecke
0234276af8
Convert idmap_cache to gencache
...
(This used to be commit 0bf0434f22b0ea46fda3ccc4dd612adbc88dd4f2)
2008-07-05 12:19:13 +02:00
Volker Lendecke
352b5c1857
Remove gencache_[un]lock_entry
...
Günther agreed that it might be unnecessary in dsgetdcname_cache_store() :-)
(This used to be commit 7a5a575ffe5196caecedc93970a25abfbe6f8059)
2008-07-03 16:40:46 +02:00
Volker Lendecke
1999791b7c
Make idmap_init() static
...
This is called only from idmap_alloc_init, which feels kindof weird.
Digging deeper in the code...
(This used to be commit c8d1bbfddce41cd6bf37dd0a622ef3437a24b492)
2008-07-02 13:34:09 +02:00
Darshan Purandare
065760ede0
MSG_DEBUG now forwarded to all the winbindd children by parent.
...
smbcontrol winbindd debug level would only set the debug level of the
parent winbindd process and not the child processes. This patch adds
the functionality of broadcasting the debug message to all winbindd
children. Now the debug level message is propagated to all the winbindd
processes that includes parent and children.
(This used to be commit cfbcfc3ffe74f28ec874a6bf1ab93f55f405b6e6)
2008-07-01 17:52:24 -07:00
Volker Lendecke
cf9665016f
Let send_trans_reply work on only the inbuf
...
It does not really need the whole smb_request
(This used to be commit d3facf4cbdb2915168e91d64c2d8320f67524df8)
2008-06-28 10:38:51 +02:00
Volker Lendecke
5cd8a42720
Factor out create_outbuf, creating an outbuf just given an inbuf
...
(This used to be commit 50427cbf6345d3f671e9ea321089c4b4244df972)
2008-06-28 10:38:51 +02:00
Gerald W. Carter
9ff1ffcbee
libads: Add API call to connect to a global catalog server.
...
Extends ads_connect() to a new call ads_connect_gc() which connects on port
3268 rather than port 389. Also makes ads_try_connect() static and
only used internally to ldap.c
(This used to be commit f4c37dbe2c986fb7bfe510cdff3b4a9fbc06d079)
2008-06-27 10:26:11 -04:00
Volker Lendecke
c885ae01eb
Remove current_user reference from printfsp.c
...
(This used to be commit 510f45d01a19ce1c226755ac42a328241098b2e0)
2008-06-26 13:13:23 +02:00
Volker Lendecke
a3c0be6325
Change print_access_check to take auth_serversupplied_info instead of current_user
...
Reason: This is the main user of p->current_user which I would like to remove
(This used to be commit fd43059b3dfa8cdac9814de1c76f963ba5de9bcb)
2008-06-26 13:13:23 +02:00
Volker Lendecke
d331624fdf
Add server_info to pipes_struct
...
(This used to be commit d621867bb8767e1c4236d28dd9294a61db6cbb10)
2008-06-26 13:13:22 +02:00
Günther Deschner
402733b518
rpc_client: add rpccli_samr_chgpasswd_user() call.
...
Guenther
(This used to be commit 10fd2baa8320f96286d53b677cf38f3ca3aa88a7)
2008-06-25 23:58:50 +02:00
Günther Deschner
14d500c0e7
rename rpccli_samr_chgpasswd3 to rpccli_samr_chgpasswd_user3.
...
Guenther
(This used to be commit b1209a039b45985e0b28777e04cba5bcc3de061e)
2008-06-25 23:58:50 +02:00
Günther Deschner
059293cbf4
rename rpccli_samr_chgpasswd_user to rpccli_samr_chgpasswd_user2.
...
Guenther
(This used to be commit 5b4650d56c04be0c498413f17afb2cf6d0e7d548)
2008-06-25 23:58:50 +02:00
Günther Deschner
92bd665aea
rpc_client: let cli_get_session_key() return talloced session key.
...
Thanks, Volker, for pointing this out.
Guenther
(This used to be commit b47899195e0c190445953243fe80da4e92994dd1)
2008-06-25 09:51:31 +02:00
Günther Deschner
07f06eec21
rpc_client: add cli_get_session_key().
...
Guenther
(This used to be commit 93b56755f739889da3a67b18a6430b14306d84f7)
2008-06-24 23:47:58 +02:00
Günther Deschner
9a5fc5b5d3
crypto: add decrypt_drsuapi_blob from samba4.
...
Guenther
(This used to be commit 3b6352a60e6683963af1641786f9c230d49ebfb5)
2008-06-24 23:44:20 +02:00
Günther Deschner
7b1f015675
libads: add ads_connect_user_creds() that won't overwrite given user creds.
...
Guenther
(This used to be commit 026018c9f1ed0680b3ca5b26dd6b8dc466e27e0d)
2008-06-24 23:37:49 +02:00
Günther Deschner
33000d77e4
time: move uint64s_nt_time_to_unix_abs() to lib/time.c
...
Guenther
(This used to be commit 58f54f180f0a942776455ab6e813628422493dac)
2008-06-23 23:38:52 +02:00
Volker Lendecke
13ebf889b3
Remove the "exists" parameter from create_msdfs_link
...
Jeremy, setting "exists" to True in _dfs_Add prevented the initial creation of
a new symlink for me, because the SMB_VFS_UNLINK failed. This also exists in
3.2. I only check it into 3.3 as I would like you to look at it first.
Thanks,
Volker
(This used to be commit f58b098a4172949018e84c4d0c722d6eb9bba514)
2008-06-22 20:45:53 +02:00
Volker Lendecke
52664f62ba
Remove current_user references from trans2.c
...
This involved replacing the CHECK_NTQUOTA_HANDLE_OK macro by a function.
(This used to be commit 5595cdf837edb82db69a3e57bcf3108be7feeeb8)
2008-06-19 18:51:38 +02:00
Volker Lendecke
e40b6e296a
Remove the "current_user" arg from fsp_belongs_conn
...
fsp_belongs_conn only used the vuid struct member anyway, and this is available
in the smb_request structure as well.
(This used to be commit 64e9372ab997739d46669c0cc4a4c6edb11d5e64)
2008-06-19 18:51:37 +02:00
Volker Lendecke
49ca8efa91
Remove the "current_user" arg from check_fsp
...
check_fsp only used the vuid struct member anyway, and this is available in the
smb_request structure as well.
(This used to be commit 8d364c4c3311b406847158fc37e9208d298cf8ba)
2008-06-19 18:51:37 +02:00