summaryrefslogtreecommitdiffstats
path: root/source3
Commit message (Collapse)AuthorAgeFilesLines
* s3: Fix uninitialized variable in OneFS streamsTim Prouty2009-01-111-2/+5
|
* s3: Differentiate between posix files with colons and actual streamsTim Prouty2009-01-111-2/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | It is possible for a posix file created locally or over nfs to have a ":" in the name. Since ":" is a reserved character in windows, filenames containing a colon must be mangled in a directory listing. Right now files containing colons will not even be displayed in directory listings if streams modules are in use. During the directory listing the file will be detected as a stream because of the colon, but the streams module will fail to find the stream since it doesn't exist. This fix adds a step to is_ntfs_stream_name that stats the filename to differentiate between actual streams and files containing colons. While this is an improvement, it isn't perfect. Consider the case where there is a file on disk called "a.txt:s1" and also a file called "a.txt" that has a stream called "s1". This patch will always preference "a.txt:s1" over a.txt's s1 stream. The real issue is that at the vfs level, the vfs modules have no way to tell between a demangled name with a colon and an actual stream. A more invasive, but better, long-term fix would be to add all paths that come over the wire into a struct containing metadata about the path. This metadata could include a flag to indicate whether the path came over the wire with a colon ":" (guaranteeing that the client is requesting a stream). Passing this struct down to the lower levels, including all path-based vfs calls, would allow the above case to be handled correctly in all cases.
* s3: Add OneFS alternate data streams implementationTim Prouty2009-01-115-15/+674
|
* s3: General cleanup of the open path in the OneFS vfs moduleTim Prouty2009-01-115-27/+17
|
* Move cli_api_pipe() to its only user cli_pipe.cVolker Lendecke2009-01-113-29/+26
|
* Don't set child->requests to NULL in parent after forkBo Yang2009-01-101-1/+0
|
* Fix a type-punned errorVolker Lendecke2009-01-101-1/+1
|
* Fix a C++ warningVolker Lendecke2009-01-101-2/+2
|
* Minor tidyup of unix account missing code.Jeremy Allison2009-01-091-5/+5
| | | | Jeremy.
* Remove the rpc_srv_register wrapper around rpc_pipe_register_commandsVolker Lendecke2009-01-091-15/+4
|
* Call rpc_srv_register instead of rpc_pipe_register_commands in eventlog and ↵Volker Lendecke2009-01-091-2/+2
| | | | svcctl
* Fake up ndr_table_spoolssVolker Lendecke2009-01-091-4/+27
|
* Pass the full ndr_interface_table into the s3 rpcserver when registeringVolker Lendecke2009-01-092-0/+14
|
* Add derpc_transport_string_by_transport(), apply some constVolker Lendecke2009-01-091-1/+2
|
* start rpcclient epmapperVolker Lendecke2009-01-093-1/+136
|
* Simplify find_pipe_fns_by_context slightlyVolker Lendecke2009-01-091-8/+4
|
* Fix some nonempty blank linesVolker Lendecke2009-01-091-17/+17
|
* s3: Remove rendundant op_tuple entry in xattr streamsTim Prouty2009-01-091-2/+0
|
* s3: Fix open path to delete streams depending on the create dispositionTim Prouty2009-01-091-0/+14
| | | | | The new create disposition test in smbtorture RAW-STREAMS verifies this fix.
* s3: Add delete_all_streams to proto.hTim Prouty2009-01-092-1/+2
|
* s3-svcctl: remove last traces of hand-marshalled svcctl code.Günther Deschner2009-01-098-328/+4
| | | | Guenther
* s3-svcctl: remove old marshalling of svcctl_EnumServicesStatusW.Günther Deschner2009-01-094-234/+0
| | | | Guenther
* s3-svcctl: build svcctl marshalling helper.Günther Deschner2009-01-091-1/+2
| | | | Guenther
* s3-svcctl: use pidl for _svcctl_EnumServicesStatusW.Günther Deschner2009-01-092-43/+34
| | | | Guenther
* s3-net: use rpccli_svcctl_EnumServicesStatusW.Günther Deschner2009-01-091-19/+68
| | | | Guenther
* s3/net: Display error message if user does not exist.Karolin Seeger2009-01-091-1/+4
| | | | | | | | net rpc rights grant: Verify if the username can be resolved to a SID and display a proper error message if it does not. Otherwise users might think setting privileges worked fine, but in fact it does not. Karolin
* s3-svcctl: use pidl defined constants in services implementation.Günther Deschner2009-01-095-54/+60
| | | | Guenther
* s3/smbpasswd: Check if Unix account exists before asking for the password.Karolin Seeger2009-01-091-0/+9
| | | | | | | Admins shouldn't have to type in the password twice when the passdb account cannot be created because the Unix account is missing. Karolin
* s3:smbd: handle incoming smb requests via event handlersStefan Metzmacher2009-01-094-109/+164
| | | | | | | | | | We use a fd event and receive incoming smb requests when the fd becomes readable. It's not completely nonblocking yet, but it should behave like the old code. We use timed events to trigger retries for deferred open calls. metze
* s3:events: debug sys_select() errorsStefan Metzmacher2009-01-091-0/+3
| | | | metze
* s3:events: install a tevent debug handler that calls DEBUG()Stefan Metzmacher2009-01-091-1/+42
| | | | metze
* Fix bug #6021 - smbclient du command does not recuse properlyJeremy Allison2009-01-082-5/+6
| | | | Jeremy.
* Now that all policy_handle free_fn's are just TALLOC_FREE, dump free_fnVolker Lendecke2009-01-089-101/+51
|
* Use TALLOC for struct lsa_infoVolker Lendecke2009-01-081-11/+13
|
* Make use of a talloc_destructor for free_printer_entryVolker Lendecke2009-01-082-17/+11
|
* Make use of a talloc_destructor for free_eventlog_info()Volker Lendecke2009-01-081-7/+10
|
* Make samr_info a talloc context of its ownVolker Lendecke2009-01-081-14/+15
|
* Simplify init_pipe_handle_list a bitVolker Lendecke2009-01-081-23/+26
|
* s3-rpcclient: add eventlog test client.Günther Deschner2009-01-083-1/+192
| | | | Guenther
* s3-eventlog: minor cosmetics.Günther Deschner2009-01-081-1/+3
| | | | Guenther
* s3-eventlog: trying to make eventlog_io_q_read_eventlog readable.Günther Deschner2009-01-081-47/+66
| | | | Guenther
* s3-eventlog: trying to avoid to pass around full ndr structures in rpc_server.Günther Deschner2009-01-081-6/+11
| | | | | | Jerry, please check. Guenther
* Fix race condition in alarm lock processing noticed by Richard Sharpe ↵Jeremy Allison2009-01-081-1/+1
| | | | | | | | | | | | | | | <realrichardsharpe@gmail.com>. "It seems to me that if the lock is already held by another process when we enter this code, there is a race between the timeout and the granting. If the lock is subsequently granted, the process releasing the lock will signal the wait variable (or whatever) and our process will be scheduled. However, if the timeout occurs before we are scheduled, the timeout will be delivered first. We will have the lock but will forget we have the lock, and never release it." Jeremy.
* s3-net: fix type in rpc_service_list_internal(). Sorry...Günther Deschner2009-01-081-1/+1
| | | | Guenther
* s3:smbd: fix the build with dmapi supportStefan Metzmacher2009-01-081-2/+0
| | | | | | | struct smbd_dmapi_context *dmapi_ctx; is in globals.c metze
* Merge branch 'master' of ssh://git.samba.org/data/git/sambaJelmer Vernooij2009-01-081-1/+1
|\
| * Attempt to fix the buildVolker Lendecke2009-01-081-1/+1
| |
* | Make sure smbtorture4 can find all gensec modules. (Fixes RPC-BINDSAMBA3)Jelmer Vernooij2009-01-081-0/+1
|/
* s3-svcctl: use pidl based struct SERVICE_STATUS.Günther Deschner2009-01-089-24/+18
| | | | Guenther
* s3-svcctl: add copyright to svcctl rpc_server.Günther Deschner2009-01-081-2/+5
| | | | Guenther