summaryrefslogtreecommitdiffstats
path: root/source3/include
Commit message (Collapse)AuthorAgeFilesLines
...
* s3: Factor timeval_string out of current_timestring()Volker Lendecke2009-11-191-0/+1
|
* s3: Do not talloc in readdirVolker Lendecke2009-11-183-11/+16
| | | | This is a hot codepath (called from the stat cache)
* Remove "store create time" code, cause create time to be storedJeremy Allison2009-11-171-5/+3
| | | | | | | | | | | | in the "user.DOSATTRIB" EA. From the docs: In Samba 3.5.0 and above the "user.DOSATTRIB" extended attribute has been extended to store the create time for a file as well as the DOS attributes. This is done in a backwards compatible way so files created by Samba 3.5.0 and above can still have the DOS attribute read from this extended attribute by earlier versions of Samba, but they will not be able to read the create time stored there. Storing the create time separately from the normal filesystem meta-data allows Samba to faithfully reproduce NTFS semantics on top of a POSIX filesystem. Passes make test but will need more testing. Jeremy.
* Don't overwrite a dynamic pointer with the address of a stackJeremy Allison2009-11-161-1/+1
| | | | | variable. Jeremy.
* s3: Add min_setup, min_param and min_data to cli_trans_recvVolker Lendecke2009-11-141-6/+9
| | | | | | | | | | Every caller that expects to receive something needs to check if enough was sent. Make this check mandatory for everyone. Yes, this makes the parameter list for cli_trans a bit silly, but that's just the way it is: A silly protocol request :-) While there, convert some _done functions to tevent_req_simple_finish_ntstatus.
* Attempt to fix the s4 build -- we can not use map_nt_error_from_unix in lib/Volker Lendecke2009-11-141-0/+3
|
* s3: Convert cli_set_unix_extensions_capabilities_send to asyncVolker Lendecke2009-11-141-2/+7
|
* s3:passdb: bump interface VERSION 18->19 (removed uid_to_rid)Michael Adam2009-11-141-1/+2
| | | | Michael
* s3:passdb: remove the uid_to_rid method - we only need uid_to_sidMichael Adam2009-11-142-3/+0
| | | | Michael
* s3: Convert cli_unix_extensions_version to asyncVolker Lendecke2009-11-131-2/+10
|
* Ensure all callers to the rpc_client/cli_pipe functions correctlyJeremy Allison2009-11-121-13/+0
| | | | | initialize return variables. Jeremy.
* s3-kerberos: add smb_krb5_principal_get_realm().Günther Deschner2009-11-121-0/+2
| | | | Guenther
* Second part of bugfix for 6865 - acl_xattr module: Has dependency that ↵Jeremy Allison2009-11-111-1/+0
| | | | | | | inherit acls = yes or xattrs are removed. We also need dos filemode = true set as well. Jeremy.
* s3: Convert libsmb/cli_message to the async APIVolker Lendecke2009-11-101-7/+8
|
* s3-chgpasswd: split out a check_password_complexity() function.Günther Deschner2009-11-101-0/+3
| | | | Guenther
* Revert "s3: Do not directly reference the ndr_table_* in rpcclient"Volker Lendecke2009-11-081-2/+0
| | | | This reverts commit 70c698fd547c4bc19cf77693608bbb34acac40b5.
* Revert "s3: Do not reference ndr_table_<pipe> in the cli_ routines directly"Volker Lendecke2009-11-082-13/+7
| | | | This reverts commit daa964013bc5d036f4da571ce22c0052ef40943a.
* Revert "s3: Consolidate getting the name out of a pipes_struct"Volker Lendecke2009-11-081-1/+0
| | | | This reverts commit 9621306351cdb469ef393a6d8cbeea456bc4bd9f.
* Revert "s3: Do not reference the ndr_tables in the server calls directly"Volker Lendecke2009-11-081-1/+1
| | | | This reverts commit 98fb71782e05ae72cd6abeb38b6e0b96a50c1761.
* Revert "s3: Do not reference ndr_table when calling rpc_srv_register"Volker Lendecke2009-11-081-2/+3
| | | | This reverts commit 494b2aff8826947e3bd556aecb175746163da485.
* s3: Do not reference ndr_table when calling rpc_srv_registerVolker Lendecke2009-11-081-3/+2
|
* s3: Do not reference the ndr_tables in the server calls directlyVolker Lendecke2009-11-081-1/+1
| | | | This involves storing the interface table in the pipes_struct
* s3: Consolidate getting the name out of a pipes_structVolker Lendecke2009-11-081-0/+1
|
* s3: Do not reference ndr_table_<pipe> in the cli_ routines directlyVolker Lendecke2009-11-082-7/+13
|
* s3: Do not directly reference the ndr_table_* in rpcclientVolker Lendecke2009-11-081-0/+2
|
* s3: Register the ndr_interfaces dynamicallyVolker Lendecke2009-11-071-1/+4
|
* s3: get_pipe_name_from_iface -> get_pipe_name_from_syntaxVolker Lendecke2009-11-071-1/+2
|
* Fix bug 6865 - acl_xattr module: Has dependency that inherit acls = yes or ↵Jeremy Allison2009-11-061-0/+1
| | | | | | xattrs are removed. Jeremy.
* Revert "s3-kerberos: add smb_krb5_parse_name_flags()."Günther Deschner2009-11-061-4/+1
| | | | This reverts commit 17ef153b68795fec681f9ce17c198236aba2b1c2.
* s3-kerberos: modify cli_krb5_get_ticket to take a new impersonate_princ_s arg.Günther Deschner2009-11-061-2/+5
| | | | Guenther
* s3-kerberos: add impersonate_principal for kerberos_return_pac_X calls.Günther Deschner2009-11-061-0/+2
| | | | Guenther
* s3-kerberos: add smb_krb5_get_{creds,credentials} incl. support for S4U2SELF ↵Günther Deschner2009-11-061-1/+11
| | | | | | impersonation. Guenther
* s3-kerberos: remove duplicate prototype.Günther Deschner2009-11-061-4/+0
| | | | Guenther
* s3-kerberos: add smb_krb5_parse_name_flags().Günther Deschner2009-11-061-1/+4
| | | | Guenther
* Got the logic simplification worked out so we still passJeremy Allison2009-11-051-3/+5
| | | | | BASE-DELAYWRITE and also RAW-CLOSE. Jeremy.
* Revert commit "0551284dc08eb93ef7b2b2227a45e5ec21d482fb" - simplifyJeremy Allison2009-11-051-1/+3
| | | | | the logic. This was incorrect (I'll revisit this tomorrow). Jeremy.
* Simplify the logic - remove extraneous argument and calls to ↵Jeremy Allison2009-11-051-3/+1
| | | | | | | | set_close_write_time(). We were treating a file time set on close as a sticky write time set, and I don't think it is. I will add a torture test later to RAW-CLOSE to confirm this. Jeremy.
* Get closer to an accurate model of Windows timestamp changes.Jeremy Allison2009-11-051-2/+3
| | | | | | | | "Normal" non truncate writes always cause the timestamp to be set on close. Once a close is done on a handle this can reset the sticky write time to current time also. Updated smbtorture4 confirms this. Jeremy.
* s3: Add parameter "ctdb timeout"Volker Lendecke2009-11-052-1/+3
| | | | | | | | When something in the cluster blocks, it can happen that we wait indefinitely long for ctdb, just adding to the blocking condition. In theory, nothing should block, but as someone said "In practice the difference between theory and practice is larger than in theory". This adds a timeout parameter in seconds, after which we stop waiting for ctdb and panic.
* Remove "Protocol" as an extern, and add accessor functions.Jeremy Allison2009-11-041-0/+2
| | | | Jeremy.
* s3: Remove debug_ctx()Volker Lendecke2009-11-031-1/+0
| | | | | | | | smbd just crashed on me: In a debug message I called a routine preparing a string that itself used debug_ctx. The outer routine also used it after the inner routine had returned. It was still referencing the talloc context that the outer debug_ctx() had given us, which the inner DEBUG had already freed.
* Start fixing the RAW-STREAMS test - ensure that the xattrJeremy Allison2009-10-291-0/+2
| | | | | | used to store the stream info in streams_depot.so is not seen in when enumerating EAs. Jeremy.
* s3-secrets: use autogenerated code for TRUSTED_DOM_PASS struct parsing from ↵Günther Deschner2009-10-291-12/+0
| | | | | | a tdb. Guenther
* Fix bug 6572 - libsmbclient: unable to access 'msdfs proxy' share.SATOH Fumiyasu2009-10-281-0/+9
|
* s3-passdb: move open_schannel_session_store() to passdb/secrets_schannel.c.Günther Deschner2009-10-281-1/+1
| | | | Guenther
* s3-passdb: add secrets_delete_generic().Günther Deschner2009-10-281-0/+1
| | | | Guenther
* s3: Rename new parameter "ldap ref follow" to "ldap follow referral".Karolin Seeger2009-10-261-1/+1
| | | | | | This parameter will be introduced with Samba 3.5.0. Karolin
* s3: Try to fix the build on Solaris & AIX regarding the password change ↵Matthias Dieter Wallnöfer2009-10-161-1/+1
| | | | reject reason
* s3: fix outdated proto.h causing build error on AIXBjörn Jacke2009-10-151-1/+1
| | | | Matthias, please check!
* s3-passdb: missed two prototypes while moving to enum netr_SchannelType.Günther Deschner2009-10-141-2/+4
| | | | Guenther