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 9abc9dc4dc
)
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 283e603998
)
2008-07-19 20:27:56 +02:00
Volker Lendecke
8e02cb17fe
Ooops, GUID_equal was already around :-)
...
(This used to be commit 9a0bc277f2
)
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 0122e4941d
)
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 6aa2391cbe
)
2008-07-18 15:04:05 +02:00
Günther Deschner
6a3b742db7
util: add policy_hnd_equal().
...
Guenther
(This used to be commit 6aca163e89
)
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 654f8de849
)
2008-07-16 23:19:48 +02:00
Volker Lendecke
e65ea7471e
Add ndr_syntax_id_equal()
...
(This used to be commit 5fc90908de
)
2008-07-16 23:19:48 +02:00
Jeremy Allison
24eec914c0
Fix swat. Bug #5613 .
...
Jeremy
(This used to be commit 15920f8388
)
2008-07-15 14:37:48 -07:00
Simo Sorce
02e592486f
Make again idmap_init static
...
(This used to be commit e113b7c13f
)
2008-07-12 21:40:28 -04:00
Volker Lendecke
622d36aa41
Revert "Make idmap_init() static"
...
This reverts commit c8d1bbfddc
.
(This used to be commit 5cded3da00
)
2008-07-11 17:53:26 +02:00
Volker Lendecke
d670d0a09b
Revert "Remove gencache_[un]lock_entry"
...
This reverts commit 7a5a575ffe
.
(This used to be commit 62e444dd50
)
2008-07-11 17:53:25 +02:00
Volker Lendecke
b6dcc24987
Revert "Convert idmap_cache to gencache"
...
This reverts commit 0bf0434f22
.
(This used to be commit cc53667773
)
2008-07-11 17:53:24 +02:00
Volker Lendecke
ebb2d70a60
Revert "Make use of ADD_TO_ARRAY"
...
This reverts commit 81f334bd6d
.
(This used to be commit d4d106776a
)
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 888f922bd0
)
2008-07-08 20:44:39 -04:00
Volker Lendecke
ca34287063
Make use of ADD_TO_ARRAY
...
(This used to be commit 81f334bd6d
)
2008-07-05 12:19:13 +02:00
Volker Lendecke
0234276af8
Convert idmap_cache to gencache
...
(This used to be commit 0bf0434f22
)
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 7a5a575ffe
)
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 c8d1bbfddc
)
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 cfbcfc3ffe
)
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 d3facf4cbd
)
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 50427cbf63
)
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 f4c37dbe2c
)
2008-06-27 10:26:11 -04:00
Volker Lendecke
c885ae01eb
Remove current_user reference from printfsp.c
...
(This used to be commit 510f45d01a
)
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 fd43059b3d
)
2008-06-26 13:13:23 +02:00
Volker Lendecke
d331624fdf
Add server_info to pipes_struct
...
(This used to be commit d621867bb8
)
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 10fd2baa83
)
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 b1209a039b
)
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 5b4650d56c
)
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 b47899195e
)
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 93b56755f7
)
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 3b6352a60e
)
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 026018c9f1
)
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 58f54f180f
)
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 f58b098a41
)
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 5595cdf837
)
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 64e9372ab9
)
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 8d364c4c33
)
2008-06-19 18:51:37 +02:00
Michael Adam
b172eb1d47
file_access: remove unneeded stat buf parameter from can_access_file_acl().
...
This is a security descriptor level function only.
Michael
(This used to be commit 5931540fa1
)
2008-06-17 23:58:49 +02:00
Günther Deschner
0447e6a0a7
libads: add ads_get_machine_kvno() to make ads_get_kvno() a bit more generic.
...
Guenther
(This used to be commit cb7ace209c
)
2008-06-17 19:54:09 +02:00
Volker Lendecke
9c1f5894a5
Add forgotten protoypes
...
(This used to be commit dee60935d4
)
2008-06-15 18:46:10 +02:00
Volker Lendecke
d49de28f11
Remove the current_user reference from fake_file.c
...
The current vuid is not only available there, it is also in the current
smb_request structure.
(This used to be commit c8fd5eef32
)
2008-06-15 13:37:53 +02:00
Volker Lendecke
e252b0504a
Add prototype for delete_negative_conn_cache
...
(This used to be commit 097446c3c8
)
2008-06-07 08:16:23 +02:00
Günther Deschner
d4c5a1d504
util_str: add talloc_asprintf_strlower_m().
...
Guenther
(This used to be commit 7f8b0b4d15
)
2008-06-04 01:35:43 +02:00
Günther Deschner
4f6ea219d6
build: fix the build (missing protoype for lp_ldap_connection_timeout()).
...
Guenther
(This used to be commit 06b597213a
)
2008-06-03 20:41:29 +02:00
Jeremy Allison
d36434f312
Security fix for CVE-2008-1105: Boundary failure when parsing SMB responses
...
can result in a buffer overrun.
Jeremy.
(This used to be commit 23b825e9d2
)
2008-05-28 09:31:42 -07:00
Michael Adam
af6e91e0b3
fix build: add missing prototype of msg_close_file()
...
Michael
(This used to be commit 1a6f91755c
)
2008-05-28 01:10:54 +02:00
Michael Adam
22174515e1
fix the build after prototype change.
...
Michael
(This used to be commit d96634d037
)
2008-05-28 01:10:54 +02:00
Günther Deschner
95d873ac1f
build: Fix the build after prototype change.
...
Guenther
(This used to be commit 68327e577d
)
2008-05-28 00:53:04 +02:00
Michael Adam
6cebad5b67
Remove unused function is_trusted_domain_situation().
...
This combined check has been replaced by is_dc_trusted_domain_situation()
which does not check for lp_allow_trusted_domains().
Michael
(This used to be commit 0a24c038b7
)
2008-05-26 16:42:25 +02:00