Jeremy Allison
d91edeaa94
When mapping EA's into a TDB, don't remove the EA
...
until the last link to the file is gone (fixes the
build farm RAW-RENAME test with xattr's in tdb's).
Jeremy.
2009-08-12 16:27:17 -07:00
Jeremy Allison
6a0c2946be
Fix BASE-DELAYWRITE test by removing const from struct smb_filename
...
in smbd_do_qfilepathinfo(). update_stat_ex_mtime() modifies the
stat struct inside the smb_fname so don't make a copy of that
stat struct, use it directly - it's meant to be updated and
represent the state of the file we're returning.
Jeremy.
2009-08-12 15:08:23 -07:00
Jeremy Allison
d6270df748
Add "store create time" parameter (docs to follow)
...
that stores the create time in the user.DosTimestamps EA.
Jeremy.
2009-08-12 13:00:54 -07:00
Jeremy Allison
1ddd10b56a
Fix some warnings in the AIX ACL code.
...
Jeremy.
2009-08-12 10:58:00 -07:00
Stefan Metzmacher
1df883aa39
libcli: move some common SMB and SMB2 stuff into libcli/smb/
...
This will hold code that's shared between source3 and source4.
metze
2009-08-12 18:28:32 +02:00
Stefan Metzmacher
f75934e2dc
s3:smbd: as check_path_syntax() changes the string, we need to copy the string before
...
metze
2009-08-12 13:27:59 +02:00
Stefan Metzmacher
7229e9a476
s3:smbd: avoid 'goto out' in smbd_smb2_create_send()
...
metze
2009-08-12 13:27:59 +02:00
Stefan Metzmacher
fedac72dfc
s3:smbd: make sure we don't call conn_free() with a NULL pointer for SMB2
...
metze
2009-08-12 13:27:59 +02:00
Stefan Metzmacher
d30b1c9fa9
s3:smbd: correctly invalidate vuids when SMB2 is used
...
metze
2009-08-12 13:27:58 +02:00
Stefan Metzmacher
14888c21ac
s3:lib: map ECONNRESET to NT_STATUS_CONNECTION_RESET
...
metze
2009-08-12 13:27:58 +02:00
Kouhei Sutou
7fc94932ad
Rename ASN1_BITFIELD to ASN1_BIT_STRING.
...
X.690 uses "BIT STRING" not "BIT FIELD".
2009-08-11 12:59:14 +02:00
Michael Adam
a038f1e05b
s3:smbcacls: forbid change of debug level from config file
...
Michael
2009-08-12 00:34:33 +02:00
Michael Adam
aa07baa851
s3: refomat definitions of some generic access rights for better readability
...
Michael
2009-08-12 00:34:33 +02:00
Stefan Metzmacher
1e1445bc76
s3:winbindd: raise the timeout for lsa_Lookup*() calls from 10 to 35 seconds.
...
metze
2009-08-11 13:53:33 +02:00
Kai Blin
40017a2143
i18n: Update s3 net German translation.
2009-08-11 09:34:25 +02:00
Kai Blin
4f0d93531f
s3 net: i18n support for net utility functions
2009-08-11 09:34:25 +02:00
Kai Blin
84a93491b8
s3 net: i18n support for net usershare
2009-08-11 09:34:24 +02:00
Kai Blin
2388b9039d
s3 net: i18n support for net user
2009-08-11 09:34:24 +02:00
Kai Blin
a8c8432247
s3 net: i18n support for net time
2009-08-11 09:34:24 +02:00
Kai Blin
5810f7f094
s3 net: i18n support for net status
2009-08-11 09:34:24 +02:00
Kai Blin
7e4bd16c70
s3 net: i18n support for net share
2009-08-11 09:34:24 +02:00
Kai Blin
a0eb906f7e
s3 net: i18n support for net sam
2009-08-11 09:34:24 +02:00
Kai Blin
3eeb988248
s3 net: i18n support for net rpc shell
2009-08-11 09:34:24 +02:00
Kai Blin
d8af037aab
s3 net: i18n support for net rpc service
2009-08-11 09:34:23 +02:00
Kai Blin
77b96cc0bf
s3 net: i18n support for net rpc samsync
2009-08-11 09:34:23 +02:00
Jeremy Allison
7b9542ba34
Ensure the fsp->fsp_name stat_ex struct is always
...
up to date after the open.
Jeremy.
2009-08-10 16:39:13 -07:00
Jeremy Allison
c9dca82ed7
Refactor the use of create_time and change time to go
...
through functions. Will aid in making us pass RAW-SETFILEINFO.
Jeremy.
2009-08-10 15:07:53 -07:00
Kai Blin
303e49b2f1
s3 net: i18n support for net rpc rights
2009-08-10 19:41:03 +02:00
Kai Blin
e2433b86d2
s3 net: i18n support net rpc registry
2009-08-10 19:40:54 +02:00
Kai Blin
0ef723a682
s3 net: i18n support for net rpc printer
2009-08-10 19:40:43 +02:00
Kai Blin
ef04e4538c
s3 net: i18n support for net rpc join
2009-08-10 19:40:32 +02:00
Günther Deschner
8e5beb738c
s3-spoolss: remove device mode defines from nt_printing.h.
...
Guenther
2009-08-10 11:32:26 +02:00
Volker Lendecke
1de9805fa3
Implement db_rbt_traverse
2009-08-08 13:44:31 +02:00
Stefan Metzmacher
02c5f22ec8
s3:smbd: convert '\\' into '/' in SMB2 Create
...
metze
2009-08-08 10:48:39 +02:00
Stefan Metzmacher
9aa1d25907
s3:smbd: rename conn => sconn for smbd_server_connection structs
...
This should avoid confusion between smbd_server_connection
and connection_struct variables.
metze
2009-08-08 10:48:39 +02:00
Jeremy Allison
d296c774c5
Move the checks for null timestamps down below the VFS_NTIMES
...
layer (as it's done in onefs). This simplifies greatly the
code in smb_set_file_time() w.r.t. changenotify messages.
Jeremy.
2009-08-07 12:38:31 -07:00
Jeremy Allison
ea6819ae75
Correctly send out notify messages for timestamp changes.
...
"change time" has no notify message, so don't send anything
out when we change it. Use FILE_NOTIFY_CHANGE_CREATION correctly
when changing the create time.
Jeremy.
2009-08-07 10:19:20 -07:00
Stefan Metzmacher
50f54250f4
s3:smbd: split the dir entry marshalling into smbd_marshall_dir_entry()
...
So that we can reuse it for SMB2 Find.
metze
2009-08-07 14:18:18 +02:00
Stefan Metzmacher
59c3f5e3ca
s3:smbd: move dptr globals into struct smbd_server_connection
...
metze
2009-08-07 14:18:17 +02:00
Stefan Metzmacher
c50a03e4e2
s3:smbd: remove dirptr and dirpath from connection_struct
...
They're both only used in the context of a function,
so we can make them stack variables.
metze
2009-08-07 14:18:17 +02:00
Stefan Metzmacher
dfae090c5d
s3:smbd: implement get_lanman2_dir_entry() on top of smbd_dirptr_get_entry()
...
metze
2009-08-07 14:18:16 +02:00
Stefan Metzmacher
862c6aa19f
s3:smbd: let get_dir_entry() use smbd_dirptr_get_entry()
...
metze
2009-08-07 14:18:16 +02:00
Stefan Metzmacher
daa71c4236
s3:smbd: add generic smbd_dirptr_get_entry()
...
metze
2009-08-07 14:18:15 +02:00
Stefan Metzmacher
70afd419a6
s3:smbd: conn_free_internal() can be static now
...
metze
2009-08-07 14:18:15 +02:00
Stefan Metzmacher
c54e6b19e3
s3:smbd: add a smbd_server_connection pointer to connection_struct
...
This can be NULL for faked connection structs used in the rpc server
or printing code.
metze
2009-08-07 14:18:14 +02:00
Volker Lendecke
8300b255a5
Fix some nonempty blank lines
2009-08-07 13:02:15 +02:00
Stefan Metzmacher
8e419aab48
s3:smbd: don't ignore check_descend in get_dir_entry()
...
metze
2009-08-07 11:10:52 +02:00
Günther Deschner
5b50e506d0
s3-wkssvcs: fix check for BUILTIN\Administrators membership in wkssvc_Netr{Join,Unjoin}Domain2.
...
Guenther
2009-08-07 09:59:14 +02:00
Kai Blin
88af0ec6e4
s3 net: i18n support for net rpc audit
2009-08-07 09:54:52 +02:00
Kai Blin
db76b7aa04
s3 net: net i18n in it's own module
2009-08-07 09:54:52 +02:00