summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-01-12Even for srclen == 0 we have to return somethingVolker Lendecke1-0/+6
This fixes a regression reported by Corinna Vinschen <corinna@vinschen.de> Thanks, Volker
2009-01-12tevent: use for() loops instead of while() loopsStefan Metzmacher1-12/+9
metze
2009-01-11s3: Fix uninitialized variable in OneFS streamsTim Prouty1-2/+5
2009-01-11s3: Differentiate between posix files with colons and actual streamsTim Prouty1-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.
2009-01-11s3: Add OneFS alternate data streams implementationTim Prouty5-15/+674
2009-01-11s3: General cleanup of the open path in the OneFS vfs moduleTim Prouty5-27/+17
2009-01-11Move cli_api_pipe() to its only user cli_pipe.cVolker Lendecke3-29/+26
2009-01-11tevent: Fix build breakTim Prouty1-1/+1
2009-01-11Fix tevent_common_context_destructor to remove all events instead of just ↵Bo Yang1-4/+10
the first one Signed-off-by: Bo Yang <boyang@novell.com> Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-01-10Don't set child->requests to NULL in parent after forkBo Yang1-1/+0
2009-01-10Fix a type-punned errorVolker Lendecke1-1/+1
2009-01-10Fix a C++ warningVolker Lendecke1-2/+2
2009-01-09Minor tidyup of unix account missing code.Jeremy Allison1-5/+5
Jeremy.
2009-01-09Remove the rpc_srv_register wrapper around rpc_pipe_register_commandsVolker Lendecke1-15/+4
2009-01-09Call rpc_srv_register instead of rpc_pipe_register_commands in eventlog and ↵Volker Lendecke1-2/+2
svcctl
2009-01-09Fake up ndr_table_spoolssVolker Lendecke1-4/+27
2009-01-09Pass the full ndr_interface_table into the s3 rpcserver when registeringVolker Lendecke17-15/+29
2009-01-09Add derpc_transport_string_by_transport(), apply some constVolker Lendecke3-8/+18
2009-01-09start rpcclient epmapperVolker Lendecke3-1/+136
2009-01-09Fix some nonempty blank linesVolker Lendecke1-26/+26
2009-01-09Simplify find_pipe_fns_by_context slightlyVolker Lendecke1-8/+4
2009-01-09Fix some nonempty blank linesVolker Lendecke1-17/+17
2009-01-09s3: Remove rendundant op_tuple entry in xattr streamsTim Prouty1-2/+0
2009-01-09s3: Fix open path to delete streams depending on the create dispositionTim Prouty1-0/+14
The new create disposition test in smbtorture RAW-STREAMS verifies this fix.
2009-01-09s3: Add delete_all_streams to proto.hTim Prouty2-1/+2
2009-01-09s4 torture: Add new create disposition test to RAW-STREAMSTim Prouty1-1/+167
2009-01-09s3-svcctl: remove last traces of hand-marshalled svcctl code.Günther Deschner8-328/+4
Guenther
2009-01-09s3-svcctl: remove old marshalling of svcctl_EnumServicesStatusW.Günther Deschner4-234/+0
Guenther
2009-01-09s3-svcctl: build svcctl marshalling helper.Günther Deschner1-1/+2
Guenther
2009-01-09s3-svcctl: use pidl for _svcctl_EnumServicesStatusW.Günther Deschner2-43/+34
Guenther
2009-01-09s3-net: use rpccli_svcctl_EnumServicesStatusW.Günther Deschner1-19/+68
Guenther
2009-01-09s4-smbtorture: print hand-decoded service status array in svcctl torture test.Günther Deschner2-3/+29
Guenther
2009-01-09s3/net: Display error message if user does not exist.Karolin Seeger1-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
2009-01-09s3: re-run make samba3-idl.Günther Deschner1-0/+1
Guenther
2009-01-09svcctl: include hand marshalling helper in idl.Günther Deschner1-0/+1
Guenther
2009-01-09svcctl: add ndr_push/pull_ENUM_SERVICE_STATUSW_array helper.Günther Deschner2-0/+76
Thanks metze for helping here. Guenther
2009-01-09s3-svcctl: use pidl defined constants in services implementation.Günther Deschner5-54/+60
Guenther
2009-01-09s3: re-run make samba3-idl.Günther Deschner1-0/+1
Guenther
2009-01-09svcctl: add SERVICE_TYPE_INTERACTIVE_PROCESS define.Günther Deschner1-0/+1
Guenther
2009-01-09s3/smbpasswd: Check if Unix account exists before asking for the password.Karolin Seeger1-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
2009-01-09s4:debug: make setup_logging() a bit more compatible with samba3Stefan Metzmacher1-1/+1
In samba3 the 2nd argument is bool interactive. E.g ndrdump uses true there which used to map to DEBUG_FILE in samba4, it maps to DEBUG_STDOUT now, which is better. In the end end samba3 should also use the samba4 version of setup_logging() metze
2009-01-09Revert "quote ' inside '...' and make sure shell isn't eating \ by using ↵Stefan Metzmacher1-3/+2
perl here." This reverts commit 2a52b059ce44403ff6ced066e0bb23fa6cc66a73. It breaks the build on ubuntu. metze
2009-01-09quote ' inside '...' and make sure shell isn't eating \ by using perl here.Björn Jacke1-2/+3
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-01-09docs: Improve man mount.cifs.Karolin Seeger1-3/+5
Add hint about specifying the workgroup in the credentials file. Whitespace cleanup. This fixes bug #4541. Patch based on proposed patch from Christian Perrier <bubulle@debian.org>. Thanks for reporting and providing a patch! Karolin
2009-01-09fix syntax error in case statementBjörn Jacke1-2/+2
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-01-09s3:smbd: handle incoming smb requests via event handlersStefan Metzmacher4-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
2009-01-09s3:events: debug sys_select() errorsStefan Metzmacher1-0/+3
metze
2009-01-09s3:events: install a tevent debug handler that calls DEBUG()Stefan Metzmacher1-1/+42
metze
2009-01-09Only do special DN tracking for normal DNs in OpenLDAP backend.Andrew Bartlett1-2/+2
This means trying (again, harder), not to do this for DN+Binary and DN+String attributes. Andrew Bartlett
2009-01-08Fix bug #6021 - smbclient du command does not recuse properlyJeremy Allison2-5/+6
Jeremy.