1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-15 23:24:37 +03:00

4143 Commits

Author SHA1 Message Date
Günther Deschner
050db35262 doserr: add WERR_MEMBER_IN_ALIAS.
Guenther
(This used to be commit b62de0d1944de3dba55e182e0d8eb7c6ca5ec045)
2008-08-11 19:04:00 +02:00
Michael Adam
33e3e94e0c nmbd_packets: make queue_packet() public.
Michael
(This used to be commit 363eb90ce8380ce1bbc74673936ba1e6d7eee23b)
2008-08-09 01:15:58 +02:00
Michael Adam
bf291c95bc loadparm: add two parameters "init logon delay hosts" and "init logon delay"
"init logon delays hosts" takes a list of hosts names or addresses
or networks for which the initial SAMLOGON reply should be delayed
(so other DCs get preferred by XP workstations if there are any).
This option takes the same type of list as "hosts allow" does.

"init logon delay" allows one to configure the delay for the hosts
configured for delayed initial samlogon with "init logon delayed hosts".
The value is interpreted as milliseconds. The default value is 100.

This commit only introduces the parameters.
They will be activated in a subsequent commit.

Michael
(This used to be commit f7c1f85438f7e0da2a96e3fc8f774f8c6936370e)
2008-08-09 01:15:58 +02:00
Michael Adam
e0fa472a3b lib/access: make list_match() public.
Michael
(This used to be commit 742bedce417c666b5e91d8d0a7dc7682dc62eba2)
2008-08-09 01:15:58 +02:00
Michael Adam
f07cfe3b68 lib/access: make client_match() public.
Michael
(This used to be commit 1b2dec93b635dfd23af78a370c223ea2dd486aa7)
2008-08-09 01:15:57 +02:00
Volker Lendecke
b67def0a55 Add simple async wrappers around send, recv and connect
To be used later :-)
(This used to be commit 0d161d336ab9eeccd90d19ef1473646c3008864a)
2008-08-08 18:30:57 +02:00
Jeremy Allison
617bf10c66 Fix bug #5675 with a varient of Tim Waugh's patch,
as proposed by James Peach.
Jeremy.
(This used to be commit 5c27ad75836136c39774c9456d63f46fa62e281f)
2008-08-07 17:55:57 -07:00
Michael Adam
0db26805da dssync keytab: add support for keeping track of the up-to-date-ness vector.
The startup operation should get the old up-to-date-ness vector from the backend
and the finish operation should store the new vector to the backend after replication.

This adds the change of the signatures of the operations ot the dssync_ops struct
and the implementation for the keytab ops. The up-to-date-ness vector is stored
under the principal constructed as UTDV/$naming_context_dn@$dns_domain_name.

The vector is still uninterpreted in libnet_dssync_process().
This will be the next step...

This code is essentially by Metze.

Michael
(This used to be commit 01318fb27a1aa9e5fed0d4dd882a123ab568ac37)
2008-08-01 16:04:40 +02:00
Tim Prouty
097b27dbcc Enabled domain groups to be added to builtin groups at domain join time
Previously this was done at token creation time if the Administrators and Users
builtins hadn't been created yet.  A major drawback to this approach is that if
a customer is joined to a domain and decides they want to join a different
domain, the domain groups from this new domain will not be added to the
builtins.

It would be ideal if these groups could be added exclusively at domain join
time, but we can't rely solely on that because there are cases where winbindd
must be running to allocate new gids for the builtins.  In the future if there
is a way to allocate gids for builtins without running winbindd, this code
can be removed from create_local_nt_token.

- Made create_builtin_users and create_builtin_administrators non-static so
they can be called from libnet
- Added a new function to libnet_join that will make a best effort to add
domain administrators and domain users to BUILTIN\Administrators and
BUILTIN\Users, respectively.  If the builtins don't exist yet, winbindd must be
running to allocate new gids, but if the builtins already exist, the domain
groups will be added even if winbindd is not running.  In the case of a
failure the error will be logged, but the join will not be failed.
- Plumbed libnet_join_add_dom_rids_to_builtins into the join post processing.
(This used to be commit e92faf5996cadac480deb60a4f6232eea90b00f6)
2008-07-30 14:06:36 -07:00
Günther Deschner
21a8177ed2 rpc_client: add init_samr_CryptPasswordEx and init_samr_CryptPassword.
Guenther
(This used to be commit 87b6aac13598a2ac28054de5ab90d63bef65f1fe)
2008-07-30 16:42:23 +02:00
Volker Lendecke
49403ee82f Make create_conn_struct() public
(This used to be commit e115e2582256c34e6905afc8c2929efd6ea61088)
2008-07-27 17:56:48 +02:00
Volker Lendecke
b3f04dd32f Save 128 byte (32-bit platform) or 256 byte (64-bit) per connection_struct
This was just too easy not to use :-)
(This used to be commit a9922a2a3661a6cff7351ea6b3558f091bb45feb)
2008-07-26 16:52:02 +02:00
Volker Lendecke
33cbe2f88c make read/write to internal pipes available externally
(This used to be commit e11b5cb1e061caf4c3793fb402ca6bee95a8f26c)
2008-07-26 13:20:10 +02:00
Volker Lendecke
a803f0a920 Refactoring: Make close_internal_rpc_pipe_hnd a talloc destructor
(This used to be commit 10b47a0c2cfd62489428518112da82f73a52b7bc)
2008-07-26 13:20:10 +02:00
Volker Lendecke
1ee37bc9c3 Refactor make_internal_rpc_pipe_p: connection_struct is not needed
(This used to be commit defcf0eecfb8eb035d9ca80530720b9e6873f6c7)
2008-07-26 13:20:10 +02:00
Volker Lendecke
bdf1747c98 Create doxygen comments for async_req.[ch]
(This used to be commit 1dab45b16a23b1126fbf29890747a2b256f08968)
2008-07-26 12:59:41 +02:00
Volker Lendecke
042600cbac Make api_rpcTNP static to srv_pipe.c
(This used to be commit 256c93a8b3d4d9a4e52a656c91b89a043a087066)
2008-07-26 11:25:24 +02:00
Volker Lendecke
20675473b9 YESS -- remove the PI_* pipe constants
(This used to be commit 26a40f708a44fa460459a43014a101a383586e54)
2008-07-21 14:36:32 +02:00
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
86bb746406 Refactoring: CLI_DO_RPC_* uses interface instead of pipe_idx
(This used to be commit 6d2209ba5da0937ce17e71951a1628ff1f5deacb)
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
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