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
65dfc40a4a
Store copies of the syntax ids in rpc_pipe_client
...
(This used to be commit 848a3497e385090b4b21837c8d0e0313f5c062e5)
2008-07-20 17:06:21 +02:00
Volker Lendecke
66669bad43
Simplify pipe_names: we only do ndr_transfer_syntax anyway
...
(This used to be commit b808403af55a37f2ec0e87e60450505ddfc2edda)
2008-07-20 17:06:21 +02:00
Volker Lendecke
867b61d0a1
The PIPE_ pipename macros are only used in cli_pipe.c
...
(This used to be commit 03f7af26f255476d84a375a95fbccfce24db9de8)
2008-07-19 21:07:14 +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
Andreas Schneider
43892abff6
The buf in the smbclient write function should be const.
...
As we try to provide POSIX function, we should use const like all other
POSIX function.
Signed-off-by: Andreas Schneider <anschneider@suse.de>
Signed-off-by: Derrell Lipman <derrell.lipman@unwireduniverse.com>
(This used to be commit 36e5df59544de9df140ca40ad0efd77afd8e1468)
2008-07-16 10:41:43 -04:00
Derrell Lipman
db7bff1bab
Merge branch 'v3-3-test' of ssh://git.samba.org/data/git/samba into v3-3-test
...
(This used to be commit 11d74fc51c637b8129304b5de85bbe02a86a69ce)
2008-07-16 09:48:23 -04:00
Derrell Lipman
a49f6f17c6
Fix typos.
...
libsmbclient doesn't have bool defined; rather it uses smbc_bool
Derrell
(This used to be commit e1ade80f468e8ed827f9d4fd035d79546fa0ee0a)
2008-07-16 09:45:02 -04:00
Jeremy Allison
24eec914c0
Fix swat. Bug #5613 .
...
Jeremy
(This used to be commit 15920f838835f5dbbac8712202267c2a99237686)
2008-07-15 14:37:48 -07:00
Michael Adam
dbac75b466
popt: add a popt_common_debuglevel set of options providing -d|--debuglevel
...
Michael
(This used to be commit e7d08b673066a63aaa7ab54ac59566ae8a975672)
2008-07-15 13:03:24 +02: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
Günther Deschner
16e44ee112
kerberos: allow to keep entries with old kvno's while creating keytab.
...
Guenther
(This used to be commit 6194244bd9fcc1fb736f3d91433f107270cac1c9)
2008-06-30 12:38:40 +02:00
Günther Deschner
52635c6f58
kerberos: rename smb_krb5_kt_add_entry to smb_krb5_kt_add_entry_ext.
...
Guenther
(This used to be commit 48600a0019d70d22574cf08e8fe19d44cc332a0f)
2008-06-30 12:38:32 +02: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
Karolin Seeger
e08943f8d8
Fix warnings on SuSE 9.0.
...
The macros "[un]likely" are already defined on SuSE 9.0.
Patch from Volker.
(This used to be commit 30d181c92463aecd6e649330d3645d86d5a17e43)
2008-06-27 15:51:35 +02:00
Jeremy Allison
799252f635
Fix the non-LDAP, non-krb5 build, fix gcc -O3 warnings.
...
Jeremy.
(This used to be commit 9e2ab30d3cf6950fc79152b2169e7aeae8d6a366)
2008-06-26 19:46:18 -07: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
aa02c3fcd5
Remove p->vuid
...
The users can use p->server_info.
Now pipes_struct is decoupled from the SMB transport.
(This used to be commit d4cf5a131919530317cd457006b4df5af2c69fa7)
2008-06-26 13:13:23 +02:00
Volker Lendecke
747a580952
Now that we have p->server_info, use p->server_info->user_session_key
...
(This used to be commit aefad64e3a5c86d2f988d47e6215ed2085b8fc47)
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
5a4cf3dbf2
errors: add WERR_DS_DRA_BAD_NC and WERR_DS_DRA_BAD_DN.
...
Guenther
(This used to be commit 2efe18f7c96d8d122943342b9af1db62a1432771)
2008-06-26 10:24:02 +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