summaryrefslogtreecommitdiffstats
path: root/source/include
Commit message (Collapse)AuthorAgeFilesLines
* Add a more explaining commentVolker Lendecke2008-09-121-1/+3
|
* doserr: add WERR_NO_SUCH_ALIAS.Günther Deschner2008-09-121-0/+1
| | | | Guenther
* messaging: move types to IDL.Günther Deschner2008-09-122-85/+1
| | | | Guenther
* Add async trans/trans2/nttrans calls to libsmbVolker Lendecke2008-09-091-0/+21
| | | | Logic stolen from Samba4, naturally the specific implementation differs a bit.
* Add utility function cli_in_chain()Volker Lendecke2008-09-091-0/+1
| | | | | This gives a hint whether a function is called from within the middle of a chain. In particular the trans calls don't really like this.
* 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
|
* smbd: some write time fixesStefan Metzmacher2008-09-081-0/+1
| | | | | | | | | | | | | | - only the first non truncating write causes the write time update with 2 seconds delay. It's not enough to check for an existing update event as it will be NULL after the event was triggered. - SMBwrite truncates always update the write time unless the sticky write time is set. - SMBwrite truncates don't trigger a write time update on close. metze
* Write times code update.Jeremy Allison2008-09-052-8/+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-037-117/+165
|\
| * factor prs_append_some_data out of prs_append_some_prs_dataVolker Lendecke2008-09-031-0/+2
| |
| * Remove unused CLI_DO_RPC macrosVolker Lendecke2008-09-021-48/+0
| |
| * doserr: add WERR_WRONG_PASSWORD.Günther Deschner2008-09-021-0/+1
| | | | | | | | Guenther
| * kerberos: fix HAVE_KRB5 related build issue.Günther Deschner2008-08-291-3/+4
| | | | | | | | Guenther
| * kerberos: use KRB5_KT_KEY macro where appropriate.Günther Deschner2008-08-291-1/+1
| | | | | | | | Guenther
| * kerberos: add KRB5_KT_KEY abstraction macro.Günther Deschner2008-08-291-1/+9
| | | | | | | | Guenther
| * kerberos: move the KRB5_KEY* macros to header file.Günther Deschner2008-08-291-0/+12
| | | | | | | | Guenther
| * Remove cli_request_get()Volker Lendecke2008-08-281-6/+0
| | | | | | | | req->private_data==NULL at this point is definitely a bug.
| * Add async smbecho client supportVolker Lendecke2008-08-282-2/+9
| |
| * Add cli_request->recv_helperVolker Lendecke2008-08-281-0/+12
| | | | | | | | Necessary for requests with multiple replies
| * Activate code to enable chained requestsVolker Lendecke2008-08-282-3/+26
| | | | | | | | Add the CHAIN1 torture test
| * Move "struct cli_request" from client.h to async_smb.hVolker Lendecke2008-08-282-24/+66
| | | | | | | | Also add some comments
| * Add cli_pull_replyVolker Lendecke2008-08-281-0/+4
| | | | | | | | | | Along the lines of cli_request_send this abstracts away the smb-level buffer handling when parsing replies we got from the server.
| * Remove cli->event_ctx, pass it explicitlyVolker Lendecke2008-08-283-18/+18
| | | | | | | | | | 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-282-21/+6
| | | | | | | | | | 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-262-5/+13
|\|
| * 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.
| * smbd: fix the handling of create_options to pass RAW-OPENStefan Metzmacher2008-08-201-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
| * 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
* dynconfig: add support for MODULESDIR.Michael Adam2008-08-151-0/+4
| | | | Michael
* dynconfig: remove commented-out old stuff from dynconfig.c and dynconfig.hMichael Adam2008-08-151-16/+0
| | | | Michael
* dynconfig: remove unused prototypes.Michael Adam2008-08-151-4/+5
| | | | | | | | set_dyn_STATEDIR, is_default_dyn_STATEDIR, set_dyn_CACHEDIR, is_default_dyn_CACHEDIR are neither used nor implemented. 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_irixacl.c to new modules/vfs_irixacl.h.Michael Adam2008-08-141-0/+4
| | | | | | Thereby (hopefully) fixing the potential build problems with IRIX acls. Michael
* Put prototypes of modules/vfs_hpuxacl.c to new modules/vfs_hpuxacl.h.Michael Adam2008-08-141-0/+4
| | | | | | Thereby (hopefully) fixing the potential build problems with HPUX acls. Michael
* Put prototypes of modules/vfs_solarisacl.c to new modules/vfs_solarisacl.h.Michael Adam2008-08-141-0/+4
| | | | | | Thereby (hopefully) fixing the potential build problems with solaris acls. Michael
* Put prototypes of modules/vfs_tru64acl.c to new modules/vfs_tru64acl.h.Michael Adam2008-08-141-0/+4
| | | | | | Thereby (hopefully) fixing the build with tru64 acls. Michael
* Put prototypes of modules/vfs_posixacl.c into new modules/vfs_posixacl.h.Michael Adam2008-08-142-18/+4
| | | | 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
* first cut at adding full transactions for ctdb to samba3Andrew Tridgell2008-08-132-6/+5
|
* Use transaction start/cancel for persistent writes to avoid leaving the ↵Ronnie Sahlberg2008-08-131-0/+2
| | | | | | database in an inconsistent state if we crash during the operation Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
* Fix prototypesVolker Lendecke2008-08-121-17/+23
|
* idmap rewriteVolker Lendecke2008-08-121-6/+2
|