summaryrefslogtreecommitdiffstats
path: root/source/include/proto.h
Commit message (Collapse)AuthorAgeFilesLines
* Add async trans/trans2/nttrans calls to libsmbVolker Lendecke2008-09-091-0/+21
| | | | Logic stolen from Samba4, naturally the specific implementation differs a bit.
* make smb_bytes_push_str publicVolker Lendecke2008-09-091-0/+1
|
* Add a utility function to append a DATA_BLOB to a talloc objectVolker Lendecke2008-09-091-0/+1
|
* Write times code update.Jeremy Allison2008-09-051-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ok, here's the fix for the write times breakage with the new tests in S4 smbtorture. The key is keeping in the share mode struct the "old_file_time" as the real write time, set by all the write and allocation calls, and the "changed_write_time" as the "sticky" write time - set by the SET_FILE_TIME calls. We can set them independently (although I kept the optimization of not setting the "old_file_time" is a "changed_write_time" was already set, as we'll never see it. This allows us to update the write time immediately on the SMBwrite truncate case, SET_END_OF_FILE and SET_ALLOCATION_SIZE calls, whilst still have the 2 second delay on the "normal" SMBwrite, SMBwriteX calls. I think in a subsequent patch I'd like to change the name of these from "old_file_time" to "write_time" and "changed_write_time" to "sticky_write_time" to make this clearer. I think I also fixed a bug in Metze's original code in that once a write timestamp had been set from a "normal" SMBwriteX call the fsp->update_write_time_triggered variable was set and then never reset - thus meaning the write timestamp would never get updated again on subsequent SMBwriteX's. The new code checks the update_write_time_event event instead, and doesn't update is there's an event already scheduled. Metze especially, please check this over for your understanding. Jeremy.
* Revert "Split lookup_name() and create a new functiong called"Simo Sorce2008-09-031-4/+0
| | | | This reverts commit 8594edf666c29fd4ddf1780da842683dd81483b6.
* Merge branch 'v3-devel' of ssh://git.samba.org/data/git/samba into v3-develSimo Sorce2008-09-031-20/+19
|\
| * factor prs_append_some_data out of prs_append_some_prs_dataVolker Lendecke2008-09-031-0/+2
| |
| * Add async smbecho client supportVolker Lendecke2008-08-281-2/+5
| |
| * Remove cli->event_ctx, pass it explicitlyVolker Lendecke2008-08-281-2/+6
| | | | | | | | | | Storing the event_context as permanent state in struct cli_state creates more complex code than necessary IMO.
| * Add async open&xVolker Lendecke2008-08-281-0/+3
| |
| * Add async cli_closeVolker Lendecke2008-08-281-0/+3
| |
| * Refactoring: Add the routine cli_request_send()Volker Lendecke2008-08-281-15/+0
| | | | | | | | | | cli_request_send() is supposed to bundle all generic SMB-header handling. This makes cli_request_new static to async_smb.c.
| * Fix the wcache_invalidate_samlogon calls.Jeremy Allison2008-08-271-1/+1
| | | | | | | | Jeremy.
| * Add st_birthtime and friends for accurate create times on systems that ↵Jeremy Allison2008-08-271-1/+0
| | | | | | | | | | | | | | support it (*BSD and MacOSX). Should have done this ages ago, sorry. Jeremy.
* | Merge branch 'v3-devel' of ssh://git.samba.org/data/git/samba into v3-develSimo Sorce2008-08-261-1/+2
|\|
| * Here is a re-working of the winbinddJeremy Allison2008-08-201-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.
| * Fix bug 5697 nmbd spins in reload_interfaces when only loopback has an IPv4 ↵Jeremy Allison2008-08-191-1/+1
| | | | | | | | | | | | | | address reported by Ted Percival <ted@midg3t.net>. Jeremy.
* | Split lookup_name() and create a new functiong calledSimo Sorce2008-08-171-0/+4
|/ | | | | lookup_domain_name(). This new function accept separated strings for domain and name.
* Add modules_path() to construct paths to files in MODULESDIR.Michael Adam2008-08-151-0/+1
| | | | Michael
* proto.h: remove prototypes from dynconfig.cMichael Adam2008-08-151-25/+0
| | | | | | | These are also in dynconfig.h and were originally added by "make proto" by accident. Michael
* Put prototypes of modules/vfs_posixacl.c into new modules/vfs_posixacl.h.Michael Adam2008-08-141-18/+0
| | | | Michael
* smbd/conn: fix prototype change of conn_close_all() in proto.h.Michael Adam2008-08-131-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
* Fix prototypesVolker Lendecke2008-08-121-17/+23
|
* nmbd_packets: make queue_packet() public.Michael Adam2008-08-091-0/+1
| | | | Michael
* loadparm: add two parameters "init logon delay hosts" and "init logon delay"Michael Adam2008-08-091-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
* lib/access: make list_match() public.Michael Adam2008-08-091-0/+2
| | | | Michael
* lib/access: make client_match() public.Michael Adam2008-08-091-0/+1
| | | | Michael
* Enabled domain groups to be added to builtin groups at domain join timeTim Prouty2008-07-301-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.
* rpc_client: add init_samr_CryptPasswordEx and init_samr_CryptPassword.Günther Deschner2008-07-301-0/+6
| | | | Guenther
* Make create_conn_struct() publicVolker Lendecke2008-07-271-0/+5
|
* make read/write to internal pipes available externallyVolker Lendecke2008-07-261-0/+3
|
* Refactor make_internal_rpc_pipe_p: connection_struct is not neededVolker Lendecke2008-07-261-0/+4
|
* Make api_rpcTNP static to srv_pipe.cVolker Lendecke2008-07-261-2/+0
|
* Make idl: cli_do_rpc_ndr does not use pipe_idx anymoreVolker Lendecke2008-07-211-1/+1
|
* Remove unused function rpccli_is_pipe_idxVolker Lendecke2008-07-211-1/+0
|
* Remove now unused cli_get_pipe_nameVolker Lendecke2008-07-211-1/+0
|
* Remove now unused cli_get_pipe_idxVolker Lendecke2008-07-211-1/+0
|
* Remove now unused cli_get_ifaceVolker Lendecke2008-07-211-1/+0
|
* Refactoring: libnetapi_open_pipe takes an interface instead of pipe_idxVolker Lendecke2008-07-211-0/+3
|
* Refactoring: Change calling conventions for cli_rpc_pipe_open_krb5Volker Lendecke2008-07-201-7/+7
| | | | Pass in ndr_syntax_id instead of pipe_idx, return NTSTATUS
* Refactoring: Change calling conventions for cli_rpc_pipe_open_schannelVolker Lendecke2008-07-201-5/+5
| | | | Pass in ndr_syntax_id instead of pipe_idx, return NTSTATUS
* Refactoring: Change calling conventions for ↵Volker Lendecke2008-07-201-7/+7
| | | | | | cli_rpc_pipe_open_ntlmssp_auth_schannel Pass in ndr_syntax_id instead of pipe_idx, return NTSTATUS
* Refactoring: Change calling conventions for cli_rpc_pipe_open_schannel_with_keyVolker Lendecke2008-07-201-6/+6
| | | | Pass in ndr_syntax_id instead of pipe_idx, return NTSTATUS
* Refactoring: Make get_schannel_session_key return NTSTATUSVolker Lendecke2008-07-201-4/+4
|
* Refactoring: Change calling conventions for cli_rpc_pipe_open_ntlmsspVolker Lendecke2008-07-201-14/+14
| | | | Pass in ndr_syntax_id instead of pipe_idx, return NTSTATUS
* Refactoring: Change calling conventions for cli_rpc_pipe_open_noauthVolker Lendecke2008-07-201-1/+4
| | | | Pass in ndr_syntax_id instead of pipe_idx, return NTSTATUS
* Introduce is_known_pipenameVolker Lendecke2008-07-191-0/+1
| | | | | This scans the list of pipes registered via rpc_pipe_register_commands instead of using static tables.
* Ooops, GUID_equal was already around :-)Volker Lendecke2008-07-191-1/+0
|
* libads: add prototype for ads_connect_gc().Günther Deschner2008-07-181-0/+1
| | | | Guenther
* Simplify the RPC servers: remove get_pipe_fnsVolker Lendecke2008-07-181-1/+0
| | | | | The per-server xxx_get_pipe_fns functions can go once all the RPC servers are converted