kai/samba.git
15 years agos4-smbtorture: add test for setting passwords via samr_UserInfo21.
Günther Deschner [Fri, 5 Dec 2008 14:43:33 +0000 (15:43 +0100)]
s4-smbtorture: add test for setting passwords via samr_UserInfo21.

Guenther

15 years agos4-smbtorture: add test for setting passwords via samr_UserInfo18.
Günther Deschner [Fri, 5 Dec 2008 14:19:22 +0000 (15:19 +0100)]
s4-smbtorture: add test for setting passwords via samr_UserInfo18.

Guenther

15 years agos4-smbtorture: fix build of samr test (bad git merge).
Günther Deschner [Fri, 5 Dec 2008 14:47:48 +0000 (15:47 +0100)]
s4-smbtorture: fix build of samr test (bad git merge).

Guenther

15 years agomount.cifs: if mount user not specified use USER environment variable
Steve French [Fri, 5 Dec 2008 14:09:08 +0000 (08:09 -0600)]
mount.cifs: if mount user not specified use USER environment variable

smbfs also would use the USER environment variable if the user was not
specified on the mount command and no credential file specified, and
mount.cifs man page says that we will use this environment variable
(in most cases this will not cause a behavior change, because
we were doing getuid of the current process which will usually be
the same name).

Fixes Samba bug #5934

Acked-by: Jeff Layton
15 years agos3-rpcclient: add setuserinfo to set passwords using level 18,21,23,24,25,26.
Günther Deschner [Fri, 5 Dec 2008 11:59:07 +0000 (12:59 +0100)]
s3-rpcclient: add setuserinfo to set passwords using level 18,21,23,24,25,26.

Guenther

15 years agos3: store user session key in cli_rpc_pipe_open_noauth().
Günther Deschner [Thu, 4 Dec 2008 17:23:45 +0000 (18:23 +0100)]
s3: store user session key in cli_rpc_pipe_open_noauth().

Guenther

15 years agos3-samr: fix samr callers of samr_UserInfo18.
Günther Deschner [Thu, 4 Dec 2008 17:21:10 +0000 (18:21 +0100)]
s3-samr: fix samr callers of samr_UserInfo18.

Guenther

15 years agos4-samr: fix samr callers after SAMR_FIELD_PASSWORD change.
Günther Deschner [Thu, 4 Dec 2008 17:18:06 +0000 (18:18 +0100)]
s4-samr: fix samr callers after SAMR_FIELD_PASSWORD change.

Guenther

15 years agos3-samr: fix SAMR_FIELD_PASSWORD callers.
Günther Deschner [Thu, 4 Dec 2008 17:15:03 +0000 (18:15 +0100)]
s3-samr: fix SAMR_FIELD_PASSWORD callers.

Guenther

15 years agos4-samr: fix s4 samr server after idl change.
Günther Deschner [Tue, 2 Dec 2008 22:27:08 +0000 (23:27 +0100)]
s4-samr: fix s4 samr server after idl change.

Guenther

15 years agos3-samr: fix rpcclient after idl change.
Günther Deschner [Tue, 2 Dec 2008 22:26:48 +0000 (23:26 +0100)]
s3-samr: fix rpcclient after idl change.

Guenther

15 years agos3-samr: fix init_samr_user_info2{1,3,5} callers.
Günther Deschner [Fri, 28 Nov 2008 23:36:23 +0000 (00:36 +0100)]
s3-samr: fix init_samr_user_info2{1,3,5} callers.

Guenther

15 years agos3-build: re-run make samba3-idl.
Günther Deschner [Fri, 28 Nov 2008 23:30:21 +0000 (00:30 +0100)]
s3-build: re-run make samba3-idl.

Guenther

15 years agosamr: fix samr_UserInfo18, lm/nt pwd mixup.
Günther Deschner [Fri, 5 Dec 2008 11:40:19 +0000 (12:40 +0100)]
samr: fix samr_UserInfo18, lm/nt pwd mixup.

Guenther

15 years agosamr: fix samr_UserInfo18. It also contains password_expired, thanks metze.
Günther Deschner [Thu, 4 Dec 2008 17:19:29 +0000 (18:19 +0100)]
samr: fix samr_UserInfo18. It also contains password_expired, thanks metze.

Guenther

15 years agosamr: make more explicit what SAMR_FIELD_PASSWORD{2} means.
Günther Deschner [Thu, 4 Dec 2008 17:12:45 +0000 (18:12 +0100)]
samr: make more explicit what SAMR_FIELD_PASSWORD{2} means.

Guenther

15 years agosamr: fill in two unknowns in samr_UserInfo21.
Günther Deschner [Thu, 4 Dec 2008 12:09:38 +0000 (13:09 +0100)]
samr: fill in two unknowns in samr_UserInfo21.

Guenther

15 years agosamr: fill in two unknowns in samr_DomInfo13.
Günther Deschner [Tue, 2 Dec 2008 22:25:16 +0000 (23:25 +0100)]
samr: fill in two unknowns in samr_DomInfo13.

Guenther

15 years agosamr: fix samr_UserInfo21 (order of lm_password_set and nt_password_set).
Günther Deschner [Fri, 28 Nov 2008 23:29:47 +0000 (00:29 +0100)]
samr: fix samr_UserInfo21 (order of lm_password_set and nt_password_set).

Guenther

15 years agos3-rpcclient: add get_domain_handle for samr commands.
Günther Deschner [Fri, 28 Nov 2008 23:27:28 +0000 (00:27 +0100)]
s3-rpcclient: add get_domain_handle for samr commands.

Guenther

15 years agos4:password_hash: really catch the clearTextPasswordAttr case...
Stefan Metzmacher [Fri, 5 Dec 2008 12:29:58 +0000 (13:29 +0100)]
s4:password_hash: really catch the clearTextPasswordAttr case...

This fixes the creation of the user object for incoming trusts
in dcesrv_lsa_CreateTrustedDomain_base().

And now w2k3 trust samba4 just fine:-)

metze

15 years agovfs_cifs - Use ntvfs request transport close to close downstream session
Sam Liddicott [Fri, 5 Dec 2008 09:05:47 +0000 (09:05 +0000)]
vfs_cifs - Use ntvfs request transport close to close downstream session

When upstream session closes, close the downstream session

Signed-off-by: Sam Liddicott <sam@liddicott.com>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
15 years agoLet ntvfs request transport close via ntvfs_request state
Sam Liddicott [Fri, 5 Dec 2008 09:04:55 +0000 (09:04 +0000)]
Let ntvfs request transport close via ntvfs_request state

[I can't swear that this covers all the smb2 cases, there are some reply
functions that I can't trace properly]

Add NTVFS_ASYNC_STATE_CLOSE bit to ntvfs_request->async_states->state
so that the ntvfs layer can signify that the client transport should
be closed, most useful for proxy servies, and most likely due to a
forwarding transport having been closed.

Signed-off-by: Sam Liddicott <sam@liddicott.com>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
15 years agoFix bug #5937 - filenames with "*" char hide other files
Jeremy Allison [Thu, 4 Dec 2008 23:35:32 +0000 (15:35 -0800)]
Fix bug #5937 - filenames with "*" char hide other files
Jeremy.

15 years agoFix bug #5929 - vfs_prealloc does not build with option --with-cluster-support and...
Henning Henkel [Thu, 4 Dec 2008 21:55:12 +0000 (13:55 -0800)]
Fix bug #5929 - vfs_prealloc does not build with option --with-cluster-support and GPFS

15 years agoFix bug #1254 - write list not working under share-level security
Jeremy Allison [Thu, 4 Dec 2008 19:20:57 +0000 (11:20 -0800)]
Fix bug #1254 - write list not working under share-level security
A somewhat more elegant fix than I could use for 3.2.x or 3.0.x.
Turns out the only part of check_user_ok() that needs to change
for share level security is the VUID cache pieces, so I can just
always use check_user_ok() for all lp_security() cases.
Jeremy

15 years agos4:kludge_acl: allow everybody to read the sequence number
Stefan Metzmacher [Thu, 4 Dec 2008 14:40:31 +0000 (15:40 +0100)]
s4:kludge_acl: allow everybody to read the sequence number

metze

15 years agos4:kdc: allow a trusted domain to get kerberos tickets
Stefan Metzmacher [Thu, 4 Dec 2008 14:09:21 +0000 (15:09 +0100)]
s4:kdc: allow a trusted domain to get kerberos tickets

metze

15 years agos3:winbindd: fix horrible mis-indentation of toplvl braces in getgrsid_sid2gid_recv
Michael Adam [Thu, 4 Dec 2008 13:00:44 +0000 (14:00 +0100)]
s3:winbindd: fix horrible mis-indentation of toplvl braces in getgrsid_sid2gid_recv

to make code more readble

Michael

15 years agos3:winbindd: don't open a new dc connection in winbindd_getpwnam (main winbindd)
Michael Adam [Wed, 3 Dec 2008 15:38:55 +0000 (16:38 +0100)]
s3:winbindd: don't open a new dc connection in winbindd_getpwnam (main winbindd)

This is just to find the corresponding domain struct.
Actual connection is handled by the domain child.

Michael

15 years agos3:winbindd: don't open a new dc connection in winbindd_getgrnam (main winbindd)
Michael Adam [Wed, 3 Dec 2008 14:59:17 +0000 (15:59 +0100)]
s3:winbindd: don't open a new dc connection in winbindd_getgrnam (main winbindd)

This is just to find the corresponding domain struct.
Actual connection is handled by the domain child.

Michael

15 years agos4:selftest: we have netr_GetDcName() and netr_GetAnyDCName() implementations now
Stefan Metzmacher [Thu, 4 Dec 2008 11:47:43 +0000 (12:47 +0100)]
s4:selftest: we have netr_GetDcName() and netr_GetAnyDCName() implementations now

metze

15 years agoRAW-NETLOGON: check netr_GetAnyDCName() result
Stefan Metzmacher [Thu, 4 Dec 2008 11:46:30 +0000 (12:46 +0100)]
RAW-NETLOGON: check netr_GetAnyDCName() result

metze

15 years agos4:netlogon: for now implement netr_GetAnyDCName() as wrapper of netr_GetDcName()
Stefan Metzmacher [Thu, 4 Dec 2008 11:03:01 +0000 (12:03 +0100)]
s4:netlogon: for now implement netr_GetAnyDCName() as wrapper of netr_GetDcName()

metze

15 years agos4:netlogon: Implement netr_GetDcName() similar to netr_DsGetDCName()
Stefan Metzmacher [Thu, 4 Dec 2008 10:56:51 +0000 (11:56 +0100)]
s4:netlogon: Implement netr_GetDcName() similar to netr_DsGetDCName()

metze

15 years agos3:net: fix password set of 'net rpc trustdom add'
Stefan Metzmacher [Thu, 4 Dec 2008 11:26:03 +0000 (12:26 +0100)]
s3:net: fix password set of 'net rpc trustdom add'

metze

15 years agos3: Fix FILE_FLAG_POSIX_SEMANTICS handling underneath SMB_VFS_CREATE_FILE
Tim Prouty [Mon, 1 Dec 2008 22:13:14 +0000 (14:13 -0800)]
s3: Fix FILE_FLAG_POSIX_SEMANTICS handling underneath SMB_VFS_CREATE_FILE

15 years agos3: Change SMB_VFS_CREATE_FILE to take a create_file_flags argument
Tim Prouty [Mon, 1 Dec 2008 20:47:31 +0000 (12:47 -0800)]
s3: Change SMB_VFS_CREATE_FILE to take a create_file_flags argument

This replaces the is_dos_path bool with a more future-proof argument.
The next step is to plumb INTERNAL_OPEN_ONLY through this flag instead
of overridding the oplock_request.

15 years agos3: Simplify the create_file_unix_path->open_file_ntcreate path
Tim Prouty [Sun, 23 Nov 2008 03:40:09 +0000 (19:40 -0800)]
s3: Simplify the create_file_unix_path->open_file_ntcreate path

Also removed open_file_ntcreate/open_file from proto.h so they can no
longer be called directly.

15 years agos3: Modify direct caller of open_file to call SMB_VFS_CREATE_FILE
Tim Prouty [Sun, 23 Nov 2008 03:37:24 +0000 (19:37 -0800)]
s3: Modify direct caller of open_file to call SMB_VFS_CREATE_FILE

15 years agos3: Modify direct callers of open_file_ntcreate and open_directory to call SMB_VFS_CR...
Tim Prouty [Fri, 21 Nov 2008 02:55:24 +0000 (18:55 -0800)]
s3: Modify direct callers of open_file_ntcreate and open_directory to call SMB_VFS_CREATE_FILE

15 years agos3: Modify direct callers of create_file_unix_path to call SMB_VFS_CREATE_FILE
Tim Prouty [Thu, 20 Nov 2008 02:03:27 +0000 (18:03 -0800)]
s3: Modify direct callers of create_file_unix_path to call SMB_VFS_CREATE_FILE

15 years agos3: Add SMB_VFS_CREATE_FILE to vfs_full_audit module
Tim Prouty [Sun, 23 Nov 2008 22:37:37 +0000 (14:37 -0800)]
s3: Add SMB_VFS_CREATE_FILE to vfs_full_audit module

15 years agos3: Add new "is_dos_path" argument to SMB_VFS_CREATE_FILE
Tim Prouty [Thu, 20 Nov 2008 01:55:28 +0000 (17:55 -0800)]
s3: Add new "is_dos_path" argument to SMB_VFS_CREATE_FILE

Now unix paths can be differentiated from windows paths so the
underlying create_file implementations can convert paths correctly.

15 years agos3: Add SMB_VFS_CREATE_FILE to the vfs layer
Tim Prouty [Tue, 21 Oct 2008 00:43:45 +0000 (17:43 -0700)]
s3: Add SMB_VFS_CREATE_FILE to the vfs layer

Modify all callers of create_file to go through SMB_VFS_CREATE_FILE

15 years agos3: Change sockaddr util function names for consistency
Tim Prouty [Wed, 3 Dec 2008 07:29:57 +0000 (23:29 -0800)]
s3: Change sockaddr util function names for consistency

Also eliminates name conflicts with OneFS system libraries

15 years agos4: add some useful link and the patch for the ntp_signd support
Stefan Metzmacher [Wed, 3 Dec 2008 16:41:09 +0000 (17:41 +0100)]
s4: add some useful link and the patch for the ntp_signd support

metze

15 years agolibwbclient: avoid usage talloc_init() in library code
Stefan Metzmacher [Wed, 3 Dec 2008 08:07:00 +0000 (09:07 +0100)]
libwbclient: avoid usage talloc_init() in library code

talloc_init() is a compat function for the old samba3
non-hierachical talloc implementation. It enables
the talloc null tracking which should never be done
by library code.

metze

15 years agoAdd support for OneFS ACLs
Steven Danneman [Wed, 3 Dec 2008 04:15:34 +0000 (20:15 -0800)]
Add support for OneFS ACLs

Add to the OneFS VFS module, support for NTFS ACLs through the calls:

SMB_VFS_FGET_NT_ACL()
SMB_VFS_GET_NT_ACL()
SMB_VFS_FSET_NT_ACL()

Also create several new onefs specific smb.conf parameters in onefs.h

15 years agoAdd OneFS VFS module skeleton.
Tim Prouty [Fri, 24 Oct 2008 03:49:55 +0000 (20:49 -0700)]
Add OneFS VFS module skeleton.

Also set configure to autodetect OneFS OS and build this VFS module.

15 years agodocs: Add default value for "writeable" to man smb.conf.
Karolin Seeger [Tue, 2 Dec 2008 19:50:02 +0000 (20:50 +0100)]
docs: Add default value for "writeable" to man smb.conf.

Karolin

15 years agoImplement type multi_sz for "net registry setvalue"
Volker Lendecke [Tue, 2 Dec 2008 14:04:45 +0000 (15:04 +0100)]
Implement type multi_sz for "net registry setvalue"

15 years agos3-net: allow to list a keytab generated using net rpc vampire.
Günther Deschner [Tue, 2 Dec 2008 11:57:02 +0000 (12:57 +0100)]
s3-net: allow to list a keytab generated using net rpc vampire.

Guenther

15 years agoconfigure.in: Fix smbtorture_s3 tests.
Kai Blin [Tue, 2 Dec 2008 09:26:42 +0000 (10:26 +0100)]
configure.in: Fix smbtorture_s3 tests.

Seems like Jeremy forgot to fix configure.in when importing d448132 to master
in 8d674e35. Generate the vfs_streams_depot module so make test works again.

15 years agos3-samr: simplify _samr_QueryUserInfo a lot and fix some few potential memleaks.
Günther Deschner [Tue, 2 Dec 2008 01:08:05 +0000 (02:08 +0100)]
s3-samr: simplify _samr_QueryUserInfo a lot and fix some few potential memleaks.

Guenther

15 years agos3-samr: fix samr_SetUserInfo{2} level 23.
Günther Deschner [Mon, 1 Dec 2008 23:58:53 +0000 (00:58 +0100)]
s3-samr: fix samr_SetUserInfo{2} level 23.

Do not just start decoding/setting passwords when fields_present
do not indicate there is a password to be set.

Guenther

15 years agoAttempt to fix a build failure on AIX
Volker Lendecke [Tue, 2 Dec 2008 08:51:46 +0000 (09:51 +0100)]
Attempt to fix a build failure on AIX

15 years agos3: Fix 'ctx' might be used unitialized warnings
Tim Prouty [Tue, 2 Dec 2008 05:56:59 +0000 (21:56 -0800)]
s3: Fix 'ctx' might be used unitialized warnings

15 years agoDon't treat the DN+binary syntax as a DN.
Andrew Bartlett [Tue, 2 Dec 2008 03:22:24 +0000 (14:22 +1100)]
Don't treat the DN+binary syntax as a DN.

This should fix the OpenLDAP backend

15 years agoUse the direct pointer to the syntax
Andrew Bartlett [Tue, 2 Dec 2008 03:13:41 +0000 (14:13 +1100)]
Use the direct pointer to the syntax

This rather than manually searching for it, and is inspired by a
similar commit in dsdb/schema/schema_description.c by metze

Andrew Bartlett

15 years agos3-samr: _samr_EnumDomainUsers always returns a sam array (even w/o users).
Günther Deschner [Mon, 1 Dec 2008 23:08:56 +0000 (00:08 +0100)]
s3-samr: _samr_EnumDomainUsers always returns a sam array (even w/o users).

Guenther

15 years agos3-passdb: remove unused (now samr.idl) ACCT_NT/LM_PWD_SET flags.
Günther Deschner [Sat, 29 Nov 2008 00:51:38 +0000 (01:51 +0100)]
s3-passdb: remove unused (now samr.idl) ACCT_NT/LM_PWD_SET flags.

Guenther

15 years agos3-samr: refuse do process UserSetInfo with 0 fields_present.
Günther Deschner [Fri, 28 Nov 2008 23:23:16 +0000 (00:23 +0100)]
s3-samr: refuse do process UserSetInfo with 0 fields_present.

Guenther

15 years agos3-samr: use samr_DomainServerState in client tools.
Günther Deschner [Mon, 1 Dec 2008 23:12:39 +0000 (00:12 +0100)]
s3-samr: use samr_DomainServerState in client tools.

Guenther

15 years agore-run make samba3-idl.
Günther Deschner [Mon, 1 Dec 2008 23:14:02 +0000 (00:14 +0100)]
re-run make samba3-idl.

Guenther

15 years agos4-samr: use samr_DomainServerState in samr server.
Günther Deschner [Mon, 1 Dec 2008 23:16:05 +0000 (00:16 +0100)]
s4-samr: use samr_DomainServerState in samr server.

Guenther

15 years agosamr: add samr_DomainServerState.
Günther Deschner [Mon, 1 Dec 2008 11:53:59 +0000 (12:53 +0100)]
samr: add samr_DomainServerState.

Guenther

15 years agoRAW-STREAMS: test stream renames
Stefan Metzmacher [Mon, 1 Dec 2008 22:45:06 +0000 (14:45 -0800)]
RAW-STREAMS: test stream renames

metze

15 years agoRAW-STREAMS: some more tests...
Stefan Metzmacher [Mon, 1 Dec 2008 22:44:42 +0000 (14:44 -0800)]
RAW-STREAMS: some more tests...

metze

15 years agoRAW-STREAMS: test valid character in the range of 0x01 => 0x7F
Stefan Metzmacher [Mon, 1 Dec 2008 22:43:58 +0000 (14:43 -0800)]
RAW-STREAMS: test valid character in the range of 0x01 => 0x7F

metze

15 years agoRAW-STREAMS: check some strange stream name combinations
Stefan Metzmacher [Mon, 1 Dec 2008 22:43:23 +0000 (14:43 -0800)]
RAW-STREAMS: check some strange stream name combinations

metze

15 years agoRAW-CHKPATH: test every character in the range of 0x01 => 0x7F
Stefan Metzmacher [Mon, 1 Dec 2008 22:42:48 +0000 (14:42 -0800)]
RAW-CHKPATH: test every character in the range of 0x01 => 0x7F

metze

15 years agos4:libcli/clideltree: work against servers without NTSTATUS support
Stefan Metzmacher [Mon, 1 Dec 2008 22:42:07 +0000 (14:42 -0800)]
s4:libcli/clideltree: work against servers without NTSTATUS support

metze

15 years agos4:pvfs: correctly check stream names
Stefan Metzmacher [Mon, 1 Dec 2008 22:41:29 +0000 (14:41 -0800)]
s4:pvfs: correctly check stream names

metze

15 years agos4:pvfs: return the correct error code for invalid names
Stefan Metzmacher [Mon, 1 Dec 2008 22:40:51 +0000 (14:40 -0800)]
s4:pvfs: return the correct error code for invalid names

metze

15 years agos3:selftest: test the streams_depot module as it passes make test
Stefan Metzmacher [Mon, 1 Dec 2008 22:37:13 +0000 (14:37 -0800)]
s3:selftest: test the streams_depot module as it passes make test

The streams_xattr module only passes sometimes on my laptop.

metze

15 years agos3:smbd: close the low level fd of the base_fsp, if the file was created
Stefan Metzmacher [Mon, 1 Dec 2008 22:28:27 +0000 (14:28 -0800)]
s3:smbd: close the low level fd of the base_fsp, if the file was created

metze

15 years agos3:streams_xattr: fstat should do a stat on the base file
Stefan Metzmacher [Mon, 1 Dec 2008 22:26:58 +0000 (14:26 -0800)]
s3:streams_xattr: fstat should do a stat on the base file

The behavior of stat and fstat should be the same.

metze

15 years agos3:streams_xattr: recheck fsp->fsp_name after a rename
Stefan Metzmacher [Mon, 1 Dec 2008 22:25:20 +0000 (14:25 -0800)]
s3:streams_xattr: recheck fsp->fsp_name after a rename

metze

15 years agos3:smbd: give the correct error when trying to replace a stream
Stefan Metzmacher [Mon, 1 Dec 2008 22:23:30 +0000 (14:23 -0800)]
s3:smbd: give the correct error when trying to replace a stream

metze

15 years agos3:vfs: fix FCHMOD_ACL macros
Stefan Metzmacher [Mon, 1 Dec 2008 22:21:34 +0000 (14:21 -0800)]
s3:vfs: fix FCHMOD_ACL macros

metze

15 years agos3:streams_depot: add an option to disable the xattr checks
Stefan Metzmacher [Mon, 1 Dec 2008 22:20:21 +0000 (14:20 -0800)]
s3:streams_depot: add an option to disable the xattr checks

streams_depot:check_valid=no is useful when the filesystem
has no xattr support and files are only published via samba.

metze

15 years agos3:streams_depot: fix valgrind bug lp_parm_const_string() doesn't talloc the default...
Stefan Metzmacher [Mon, 1 Dec 2008 22:11:33 +0000 (14:11 -0800)]
s3:streams_depot: fix valgrind bug lp_parm_const_string() doesn't talloc the default value

metze

15 years agos3:streams_depot: add support for stream renames
Stefan Metzmacher [Mon, 1 Dec 2008 22:10:04 +0000 (14:10 -0800)]
s3:streams_depot: add support for stream renames

metze

15 years agos3:streams_depot: map 'file::$DATA' to just 'file'
Stefan Metzmacher [Mon, 1 Dec 2008 21:59:21 +0000 (13:59 -0800)]
s3:streams_depot: map 'file::$DATA' to just 'file'

metze

15 years agos3:streams_xattr: add support for renaming streams
Stefan Metzmacher [Mon, 1 Dec 2008 21:54:53 +0000 (13:54 -0800)]
s3:streams_xattr: add support for renaming streams

metze

15 years agos3:smbd: only try and fallback to open a directory if it's not a stream open
Stefan Metzmacher [Mon, 1 Dec 2008 21:52:28 +0000 (13:52 -0800)]
s3:smbd: only try and fallback to open a directory if it's not a stream open

metze

15 years agos3:smbd: write times should be set on the base file instead of the stream name
Stefan Metzmacher [Mon, 1 Dec 2008 21:45:55 +0000 (13:45 -0800)]
s3:smbd: write times should be set on the base file instead of the stream name

metze

15 years agos3:smbd: return DELETE_PENDING on path based operations on streams, when the main...
Stefan Metzmacher [Mon, 1 Dec 2008 21:35:28 +0000 (13:35 -0800)]
s3:smbd: return DELETE_PENDING on path based operations on streams, when the main file was deleted.

metze

15 years agoMerge branch 'master' of ssh://jra@git.samba.org/data/git/samba
Jeremy Allison [Mon, 1 Dec 2008 21:32:35 +0000 (13:32 -0800)]
Merge branch 'master' of ssh://jra@git.samba.org/data/git/samba

15 years agos3:smbd: construct the correct newname for stream renames
Stefan Metzmacher [Mon, 1 Dec 2008 21:31:43 +0000 (13:31 -0800)]
s3:smbd: construct the correct newname for stream renames

The Windows Explorer creates temporary streams and renames
them later via SFILEINFO_RENAME_INFO. The newname comes
in as ":Stream:$DATA".

metze

15 years agos3-samr: fix various potential memleaks in samr_SetUserInfo.
Günther Deschner [Mon, 1 Dec 2008 21:20:41 +0000 (22:20 +0100)]
s3-samr: fix various potential memleaks in samr_SetUserInfo.

Was there any reason why we did all these individual TALLOC_FREEs ?

Guenther

15 years agos3:smbd: wildcard characters are allowed in stream names
Stefan Metzmacher [Mon, 1 Dec 2008 21:27:47 +0000 (13:27 -0800)]
s3:smbd: wildcard characters are allowed in stream names

We only check the filename of the basefile now.

metze

15 years agos3:smbd: correctly verify stream names to pass RAW-STREAMS
Stefan Metzmacher [Mon, 1 Dec 2008 21:22:55 +0000 (13:22 -0800)]
s3:smbd: correctly verify stream names to pass RAW-STREAMS

metze

15 years agos3:smbd: '|' isn't allowed in windows filenames
Stefan Metzmacher [Mon, 1 Dec 2008 21:01:09 +0000 (13:01 -0800)]
s3:smbd: '|' isn't allowed in windows filenames

metze

15 years agos3-samr: avoid code duplication for identical code in _samr_Connect2, 4 and 5.
Günther Deschner [Mon, 1 Dec 2008 18:51:27 +0000 (19:51 +0100)]
s3-samr: avoid code duplication for identical code in _samr_Connect2, 4 and 5.

Guenther

15 years agos3-samr: modify logging in _samr_Connect2 so that it can be called from other calls...
Günther Deschner [Mon, 1 Dec 2008 18:50:26 +0000 (19:50 +0100)]
s3-samr: modify logging in _samr_Connect2 so that it can be called from other calls as well.

Guenther

15 years agoFix a debug message, append the correct \n
Volker Lendecke [Mon, 1 Dec 2008 16:35:19 +0000 (17:35 +0100)]
Fix a debug message, append the correct \n

15 years agoFix script installmo.sh when no .po file exists
Bo Yang [Tue, 2 Dec 2008 00:37:27 +0000 (08:37 +0800)]
Fix script installmo.sh when no .po file exists

15 years agos3:vfs_tsmsm: fix potential segfault (freeing uninitialized buffer)
Michael Adam [Mon, 1 Dec 2008 05:20:22 +0000 (06:20 +0100)]
s3:vfs_tsmsm: fix potential segfault (freeing uninitialized buffer)

Michael