summaryrefslogtreecommitdiffstats
path: root/source3/include
Commit message (Collapse)AuthorAgeFilesLines
* s3: Add a new VFS op called SMB_VFS_TRANSLATE_NAMEAravind Srinivasan2009-08-283-1/+16
| | | | | | | | | | | This vop is designed to work in tandem with SMB_VFS_READDIR to allow vfs modules to make modifications to arbitrary filenames before they're consumed by callers. Subsequently the core directory enumeration code in smbd is now changed to free the memory that may be allocated in a module. This vop enables the new version of catia in the following patch. Signed-off-by: Tim Prouty <tprouty@samba.org>
* s3-ntlmssp: use NTLMSSP headers from IDL and remove duplicate constants.Günther Deschner2009-08-283-32/+1
| | | | Guenther
* s3:smbd: add is_fake_file_path() that takes only the raw path as stringStefan Metzmacher2009-08-271-0/+1
| | | | metze
* s3-ntlmssp: remove trailing whitespace.Günther Deschner2009-08-271-12/+12
| | | | Guenther
* s3-schannel: remove remaining code that was using "struct dcinfo".Günther Deschner2009-08-272-25/+0
| | | | Guenther
* s3-credentials: remove unused code.Günther Deschner2009-08-272-19/+0
| | | | Guenther
* s3-netlogon: use shared credential and schannel storage infrastructure for ↵Günther Deschner2009-08-271-0/+3
| | | | | | netlogon server. Guenther
* s3-schannel: add simple wrappers to fetch and store schannel auth info.Günther Deschner2009-08-271-0/+8
| | | | Guenther
* s3-schannel: make open_schannel_session_store() public.Günther Deschner2009-08-271-0/+1
| | | | Guenther
* s3/smbd: open the share_info.tdb on startup instead of tconxSteven Danneman2009-08-261-0/+1
| | | | | | | | This is a small performance optimization. Instead of opening the tdb on every smb connection in the forked child process, we now open it in the parent and share the fd. This also reduces the total fd usage in the system.
* Add a parameter to disable the automatic creation of krb5.conf filesVolker Lendecke2009-08-261-0/+1
| | | | | | | | | | | | | | This is necessary because MIT 1.5 can't deal with certain types (Tree Root) of transitive AD trusts. The workaround is to add a [capaths] directive to /etc/krb5.conf, which we don't automatically put into the krb5.conf winbind creates. The alternative would have been something like a "krb5 conf include", but I think if someone has to mess with /etc/krb5.conf at this level, it should be easy to add the site-local KDCs as well. Next alternative is to correctly figure out the [capaths] parameter for all trusted domains, but for that I don't have the time right now. Sorry :-)
* Add some const to dsgetdcnameVolker Lendecke2009-08-251-1/+1
|
* Second attempt at fix for bug 6529 - Offline files conflict with Vista and ↵Jeremy Allison2009-08-245-13/+23
| | | | | | | | Office 2003. Confirmation from reporter that this fixes the issue in master on ext3/ext4. Back-ports to follow. Jeremy.
* Second part of fix for 6529 - Offline files conflict with Vista and Office 2003.Jeremy Allison2009-08-241-0/+1
| | | | | | ext4 may be able to store ns timestamps, but the only API to *set* timestamps takes usec, not nsec. Round to usec on set requests. Jeremy.
* Fix bug 6529 - Offline files conflict with Vista and Office 2003Jeremy Allison2009-08-212-0/+4
| | | | | | | | On filesystems that can't store less than one second timestamps, round the incoming timestamp set requests so the client can't discover that a time set request has been truncated by the filesystem. Needs backporting to 3.4, 3.3, 3.2 and (even) 3.0. Jeremy
* Add missing CreateFile flags to smb.hSteve French2009-08-211-1/+12
|
* s3:smbd: store a dirptr on the files_struct for SMB2 Query DirectoryStefan Metzmacher2009-08-191-0/+2
| | | | metze
* s3: Add talloc_dict.[ch]Volker Lendecke2009-08-162-0/+61
|
* Add "store create time" parameter (docs to follow)Jeremy Allison2009-08-122-2/+12
| | | | | that stores the create time in the user.DosTimestamps EA. Jeremy.
* s3: refomat definitions of some generic access rights for better readabilityMichael Adam2009-08-121-8/+19
| | | | Michael
* Refactor the use of create_time and change time to goJeremy Allison2009-08-101-0/+6
| | | | | through functions. Will aid in making us pass RAW-SETFILEINFO. Jeremy.
* s3-spoolss: remove device mode defines from nt_printing.h.Günther Deschner2009-08-101-110/+0
| | | | Guenther
* s3:smbd: move dptr globals into struct smbd_server_connectionStefan Metzmacher2009-08-071-9/+13
| | | | metze
* s3:smbd: remove dirptr and dirpath from connection_structStefan Metzmacher2009-08-072-3/+1
| | | | | | | They're both only used in the context of a function, so we can make them stack variables. metze
* s3:smbd: conn_free_internal() can be static nowStefan Metzmacher2009-08-071-1/+0
| | | | metze
* s3:smbd: add a smbd_server_connection pointer to connection_structStefan Metzmacher2009-08-072-4/+3
| | | | | | | This can be NULL for faked connection structs used in the rpc server or printing code. metze
* Remove a const warning.Jeremy Allison2009-08-061-1/+2
| | | | Jeremy.
* Fix bug #5714 - NetBSD, ENODATA undefined, at least some releases.Jeremy Allison2009-08-061-0/+4
| | | | Jeremy.
* define uwrap_enabled() on Samba3Andrew Tridgell2009-08-061-0/+3
| | | | | s3 doesn't use uwrap yet, but it uses some common coe in lib/, and so needs a dummy version of the uwrap_enabled() macro
* Add some const to winbind_userinfoVolker Lendecke2009-08-031-4/+5
|
* Rename LOOKUP_NAME_EXPLICIT to LOOKUP_NAME_NO_NSSVolker Lendecke2009-07-311-3/+2
| | | | | It took me a bit to understand what this flag does. I hope this is a bit clearer, at least it is to me.
* s3:rpc_client: add dispatch_send/recv() to struct rpc_pipe_clientStefan Metzmacher2009-07-311-0/+11
| | | | metze
* Remove the extraneous logic in smb_set_info_standard - weJeremy Allison2009-07-301-0/+1
| | | | | do the time twiddling logic at the smb_set_file_time level. Jeremy.
* s3:dbwrap: add dbwrap_trans_change_int32_atomic()Michael Adam2009-07-291-0/+4
| | | | | | A transaction wrapper for dbwrap_change_int32_atomic(). Michael
* s3:dbwrap: change dbwrap_change_int32_atomic() to take int32_t, not int32Michael Adam2009-07-291-1/+1
| | | | Michael
* s3:dbwrap: add dbwrap_trans_change_uint32_atomic()Michael Adam2009-07-291-0/+4
| | | | | | A transaction wrapper for dbwrap_change_uint32_atomic(). Michael
* s3:dbwrap: change dbwrap_change_int32_atomic() to return NTSTATUS not int32.Michael Adam2009-07-291-2/+2
| | | | Michael
* s3:dbwrap: change dbwrap_change_uint32_atomic() to return NTSTATUS not uint32_t.Michael Adam2009-07-291-1/+1
| | | | Michael
* (Hopefully) fix the problem Kai reported withJeremy Allison2009-07-281-0/+3
| | | | | | net ads leave and IPv6. Ensure all DC lookups prefer IPv4. Jeremy.
* Added prefer_ipv4 bool parameter to resolve_name().Jeremy Allison2009-07-281-1/+2
| | | | | | | | | | W2K3 DC's can have IPv6 addresses but won't serve krb5/ldap or cldap on those addresses. Make sure when we're asking for DC's we prefer IPv4. If you have an IPv6-only network this prioritizing code will be a no-op. And if you have a mixed network then you need to prioritize IPv4 due to W2K3 DC's. Jeremy.
* Fix the build breakage by #including modules/vfs_acl_common.cJeremy Allison2009-07-271-27/+0
| | | | | | | into acl_tdb and acl_xattr. Duplicates the code size, but keeps the code in common so I don't have to do bug fixes in two places (which is what I really cared about). Jeremy.
* Lift the event loop in rpc_api_pipe_req() one level into cli_do_rpc_ndrVolker Lendecke2009-07-271-4/+7
|
* Fix a valgrind error in chain_replyVolker Lendecke2009-07-271-0/+2
| | | | construct_reply() references the request after chain_reply has freed it.
* s3: Convert a few callers of unix_convert() over to filename_convert()Tim Prouty2009-07-242-2/+4
| | | | | | This patch also changes the unix convert flags to make sure the correct semantics are preservered for allowing/disallowing wildcards in the last component of the path.
* Factor out common code into vfs_acl_common.c.Jeremy Allison2009-07-241-0/+27
| | | | Jeremy.
* s3: Simplify rename_internals() by passing in smb_filename structsTim Prouty2009-07-241-2/+2
|
* s3: Allow filename_convert() to pass through unix_convert_flags and let the ↵Tim Prouty2009-07-241-0/+2
| | | | | | caller know if the path has a wildcard This also eliminates the need for resolve_dfspath().
* add my copyright after the VFS rewriteVolker Lendecke2009-07-242-0/+2
|
* Move the "enum _vfs_op_type" to full_auditVolker Lendecke2009-07-241-142/+0
| | | | | It's only used there now. Someone should now go in and simplify full_audit... :-)
* Make the smbd VFS typesafeVolker Lendecke2009-07-244-780/+1063
|