summaryrefslogtreecommitdiff
path: root/source3/include
AgeCommit message (Collapse)AuthorFilesLines
2008-08-26Merge branch 'v3-devel' of ssh://git.samba.org/data/git/samba into v3-develSimo Sorce2-5/+13
(This used to be commit e038f1cf9fb305fc1e7a4189208e451d30aaa1f0)
2008-08-20Here is a re-working of the winbinddJeremy Allison1-0/+1
reconnect code to cope with rebooting a DC. This replaces the code I asked Volker to revert. The logic is pretty simple. It adds a new parameter, "winbind reconnect delay", set to 30 seconds by default, which determines how long to wait between connection attempts. To avoid overwhelming the box with DC-probe forked children, the code now keeps track of the DC probe child per winbindd_domain struct and only starts a new one if the existing one has died. I also added a little logic to make sure the dc probe child always sends a message whatever the reason for exit so we will always reschedule another connect attempt. Also added documentation. Jeremy. (This used to be commit 8027197635b988b3dcf9d3d00126a024e768fa62)
2008-08-20smbd: fix the handling of create_options to pass RAW-OPENStefan Metzmacher1-4/+11
Some of the bits generate INVALID_PARAMETER and some bits are ignored when they come from a client, that's why we need to use bits from the ignored range for our internal usage. metze (This used to be commit 7b4c8a4e39f310eb450918fa841b0ea1b4af19f7)
2008-08-19Fix bug 5697 nmbd spins in reload_interfaces when only loopback has an IPv4 ↵Jeremy Allison1-1/+1
address reported by Ted Percival <ted@midg3t.net>. Jeremy. (This used to be commit ab06efccf31fbc899536d2681a2076e6dfd65b9e)
2008-08-17Split lookup_name() and create a new functiong calledSimo Sorce1-0/+4
lookup_domain_name(). This new function accept separated strings for domain and name. (This used to be commit 8594edf666c29fd4ddf1780da842683dd81483b6)
2008-08-15Add modules_path() to construct paths to files in MODULESDIR.Michael Adam1-0/+1
Michael (This used to be commit 5ef9da6f4f04b07804b389902862fae0fbbfed13)
2008-08-15dynconfig: add support for MODULESDIR.Michael Adam1-0/+4
Michael (This used to be commit 34309f097f5c7321930bf6c2ea2447de1008130c)
2008-08-15dynconfig: remove commented-out old stuff from dynconfig.c and dynconfig.hMichael Adam1-16/+0
Michael (This used to be commit 85a781fa0248fcd0cefcc4de25b3dea3e37d5844)
2008-08-15dynconfig: remove unused prototypes.Michael Adam1-4/+5
set_dyn_STATEDIR, is_default_dyn_STATEDIR, set_dyn_CACHEDIR, is_default_dyn_CACHEDIR are neither used nor implemented. Michael (This used to be commit f30b70b2c3a49bc962848039953a565a040b563d)
2008-08-15proto.h: remove prototypes from dynconfig.cMichael Adam1-25/+0
These are also in dynconfig.h and were originally added by "make proto" by accident. Michael (This used to be commit 4fb69fe1eeebc466944f3daacfacec60ad043b0c)
2008-08-14Put prototypes of modules/vfs_irixacl.c to new modules/vfs_irixacl.h.Michael Adam1-0/+4
Thereby (hopefully) fixing the potential build problems with IRIX acls. Michael (This used to be commit 61c201d416bbc37950b980e8598b7ef1292336bc)
2008-08-14Put prototypes of modules/vfs_hpuxacl.c to new modules/vfs_hpuxacl.h.Michael Adam1-0/+4
Thereby (hopefully) fixing the potential build problems with HPUX acls. Michael (This used to be commit 4f2a1de990dc9063a1db877c06a5c1d68924edcf)
2008-08-14Put prototypes of modules/vfs_solarisacl.c to new modules/vfs_solarisacl.h.Michael Adam1-0/+4
Thereby (hopefully) fixing the potential build problems with solaris acls. Michael (This used to be commit 8413c05afcde65006fa7c8743f30b53cc33c1729)
2008-08-14Put prototypes of modules/vfs_tru64acl.c to new modules/vfs_tru64acl.h.Michael Adam1-0/+4
Thereby (hopefully) fixing the build with tru64 acls. Michael (This used to be commit 1ab64b69850489a2648a2543da6d0e1157df68bc)
2008-08-14Put prototypes of modules/vfs_posixacl.c into new modules/vfs_posixacl.h.Michael Adam2-18/+4
Michael (This used to be commit 876f6793434174051084b17f3b02bd1bbb24ec44)
2008-08-13smbd/conn: fix prototype change of conn_close_all() in proto.h.Michael Adam1-1/+1
(Cleaning "ensure we exit with non-zero status on EOF on socket" after rebasing to v3-3-test which has no "make proto" anymore.) Michael (This used to be commit a958c6bf1e0394e98df286974d78d3b07498e0b4)
2008-08-13first cut at adding full transactions for ctdb to samba3Andrew Tridgell2-6/+5
(This used to be commit f91a3e0f7b7737c1d0667cd961ea950e2b93e592)
2008-08-13Use transaction start/cancel for persistent writes to avoid leaving the ↵Ronnie Sahlberg1-0/+2
database in an inconsistent state if we crash during the operation Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com> (This used to be commit 09329f1f9114af44fc4e5e4f29a7315912313125)
2008-08-12Fix prototypesVolker Lendecke1-17/+23
(This used to be commit 8b9d12714679745b98755e6805e71b75828ce227)
2008-08-12idmap rewriteVolker Lendecke1-6/+2
(This used to be commit 30a180f2fce8cf6a3e5548f6bba453272ba70b33)
2008-08-11doserr: add WERR_MEMBER_IN_ALIAS.Günther Deschner1-0/+1
Guenther (This used to be commit b62de0d1944de3dba55e182e0d8eb7c6ca5ec045)
2008-08-09nmbd_packets: make queue_packet() public.Michael Adam1-0/+1
Michael (This used to be commit 363eb90ce8380ce1bbc74673936ba1e6d7eee23b)
2008-08-09loadparm: add two parameters "init logon delay hosts" and "init logon delay"Michael Adam1-0/+2
"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-09lib/access: make list_match() public.Michael Adam1-0/+2
Michael (This used to be commit 742bedce417c666b5e91d8d0a7dc7682dc62eba2)
2008-08-09lib/access: make client_match() public.Michael Adam1-0/+1
Michael (This used to be commit 1b2dec93b635dfd23af78a370c223ea2dd486aa7)
2008-08-08Add simple async wrappers around send, recv and connectVolker Lendecke2-0/+46
To be used later :-) (This used to be commit 0d161d336ab9eeccd90d19ef1473646c3008864a)
2008-08-07Fix bug #5675 with a varient of Tim Waugh's patch,Jeremy Allison1-0/+1
as proposed by James Peach. Jeremy. (This used to be commit 5c27ad75836136c39774c9456d63f46fa62e281f)
2008-08-01dssync keytab: add support for keeping track of the up-to-date-ness vector.Michael Adam1-0/+1
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-07-30Enabled domain groups to be added to builtin groups at domain join timeTim Prouty1-0/+2
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-30rpc_client: add init_samr_CryptPasswordEx and init_samr_CryptPassword.Günther Deschner1-0/+6
Guenther (This used to be commit 87b6aac13598a2ac28054de5ab90d63bef65f1fe)
2008-07-27Make create_conn_struct() publicVolker Lendecke1-0/+5
(This used to be commit e115e2582256c34e6905afc8c2929efd6ea61088)
2008-07-26Save 128 byte (32-bit platform) or 256 byte (64-bit) per connection_structVolker Lendecke1-1/+1
This was just too easy not to use :-) (This used to be commit a9922a2a3661a6cff7351ea6b3558f091bb45feb)
2008-07-26make read/write to internal pipes available externallyVolker Lendecke2-8/+9
(This used to be commit e11b5cb1e061caf4c3793fb402ca6bee95a8f26c)
2008-07-26Refactoring: Make close_internal_rpc_pipe_hnd a talloc destructorVolker Lendecke1-9/+0
(This used to be commit 10b47a0c2cfd62489428518112da82f73a52b7bc)
2008-07-26Refactor make_internal_rpc_pipe_p: connection_struct is not neededVolker Lendecke2-2/+9
(This used to be commit defcf0eecfb8eb035d9ca80530720b9e6873f6c7)
2008-07-26Create doxygen comments for async_req.[ch]Volker Lendecke1-41/+82
(This used to be commit 1dab45b16a23b1126fbf29890747a2b256f08968)
2008-07-26Make api_rpcTNP static to srv_pipe.cVolker Lendecke1-2/+0
(This used to be commit 256c93a8b3d4d9a4e52a656c91b89a043a087066)
2008-07-21YESS -- remove the PI_* pipe constantsVolker Lendecke1-18/+0
(This used to be commit 26a40f708a44fa460459a43014a101a383586e54)
2008-07-21Make idl: cli_do_rpc_ndr does not use pipe_idx anymoreVolker Lendecke1-1/+1
(This used to be commit ffd2ff5325ef24f08dcb63e4561f5f62bffef6d3)
2008-07-21Remove unused function rpccli_is_pipe_idxVolker Lendecke1-1/+0
(This used to be commit 287ffc17a072d5e1a5b0e1ecae089faf67b814b7)
2008-07-21Refactoring: CLI_DO_RPC_* uses interface instead of pipe_idxVolker Lendecke1-4/+4
(This used to be commit 6d2209ba5da0937ce17e71951a1628ff1f5deacb)
2008-07-21Remove now unused cli_get_pipe_nameVolker Lendecke1-1/+0
(This used to be commit ed4a447103cd9ada59222d79f5784818fe033209)
2008-07-21Remove now unused cli_get_pipe_idxVolker Lendecke1-1/+0
(This used to be commit e02a550527307f7b300d3fe13631e2d29dbc5e06)
2008-07-21Remove now unused cli_get_ifaceVolker Lendecke1-1/+0
(This used to be commit 2e60701e8d41132f90e64a86bccd99cc188d38c9)
2008-07-21Refactoring: libnetapi_open_pipe takes an interface instead of pipe_idxVolker Lendecke1-0/+3
(This used to be commit 726e56c72fdb685ab5eddefd2fd8b043dc38d6ad)
2008-07-20Refactoring: Change calling conventions for cli_rpc_pipe_open_krb5Volker Lendecke1-7/+7
Pass in ndr_syntax_id instead of pipe_idx, return NTSTATUS (This used to be commit f2656e5c2e700523ead7a62734d203ad0caaff0c)
2008-07-20Refactoring: Change calling conventions for cli_rpc_pipe_open_schannelVolker Lendecke1-5/+5
Pass in ndr_syntax_id instead of pipe_idx, return NTSTATUS (This used to be commit 1fcfca007f33a2c4e979abf30c2ea0db65bac718)
2008-07-20Refactoring: Change calling conventions for ↵Volker Lendecke1-7/+7
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-20Refactoring: Change calling conventions for cli_rpc_pipe_open_schannel_with_keyVolker Lendecke1-6/+6
Pass in ndr_syntax_id instead of pipe_idx, return NTSTATUS (This used to be commit 78e9c937ff2d2e1b70cfed4121e17feb6efafda1)
2008-07-20Refactoring: Make get_schannel_session_key return NTSTATUSVolker Lendecke1-4/+4
(This used to be commit a0793cc853d3bd43df2fc49df193a5fead6b01ab)