Andrew Tridgell
f6fb1e3493
r3193: improved the initial permissions choice for file create, based upon dos attribute
2007-10-10 13:04:39 -05:00
Andrew Tridgell
d368d2f4fe
r3192: make sure we don't call pvfs_can_delete() until after we have confirmed that name->exists
...
it true
2007-10-10 13:04:39 -05:00
Andrew Tridgell
fb1929743a
r3191: use __location__ in RAW-UNLINK test
2007-10-10 13:04:38 -05:00
Andrew Bartlett
18e08b4497
r3190: When we don't have a PAC, do a lookup in the local ldb instead.
...
This required reworking the auth_sam code, so that it would export the
'name -> server_info' functionality. It's a bit ugly from a modular
point of view, but it's what we have to do...
Fix up some of the code to better use the new talloc()
Andrew Bartlett
2007-10-10 13:04:38 -05:00
Andrew Tridgell
4cf3f65a5c
r3189: improved the share_conflict() logic (both in terms of readability and
...
correctness). pvfs now passes the BASE-RENAME test.
2007-10-10 13:04:38 -05:00
Andrew Tridgell
3f60775916
r3188: tidy up the rename test a bit more
2007-10-10 13:04:38 -05:00
Andrew Bartlett
bbd52ab264
r3187: This 'optional' part of the ASN.1 in SPNEGO is required by Samba3 (but
...
not Microsoft). Unfortunetly it's harder to fix Samba3 than to make
Samba4 cope...
Andrew Bartlett
2007-10-10 13:04:38 -05:00
Andrew Bartlett
5bdf391b3b
r3186: Use the properties of the new talloc() system to handle the auth
...
session info and server info structures.
Andrew Bartlett
2007-10-10 13:04:38 -05:00
Andrew Bartlett
fbe932ddd4
r3185: Machines can login with krb5, so we need to allow them to map to a unix account.
...
Andrew Bartlett
2007-10-10 13:04:38 -05:00
Andrew Tridgell
238febb008
r3184: don't setup socket options on unix domain sockets (our smb.conf socket options are really meant for tcp)
2007-10-10 13:04:38 -05:00
Andrew Tridgell
ab222b236a
r3183: moved the unlink of the messaging unixdom socket to the messaging destructor
2007-10-10 13:04:37 -05:00
Andrew Tridgell
c5e72b05d7
r3182: separate out the BASE-RENAME test into torture/basic/rename.c
2007-10-10 13:04:37 -05:00
Andrew Tridgell
11713da2ef
r3181: shutdown the secrets db on exit so we don't constantly get talloc leak warnings
2007-10-10 13:04:37 -05:00
Andrew Tridgell
0dae9fef09
r3180: - basic support for SEC_RIGHT_MAXIMUM_ALLOWED in pvfs
...
- RAW-CONTEXT test now passes
2007-10-10 13:04:37 -05:00
Andrew Tridgell
8ca4d7c51e
r3179: - fixed error return on utime failure
...
- formatting fix
2007-10-10 13:04:37 -05:00
Andrew Tridgell
4e28c45baf
r3178: honor the write_time on pvfs_close()
2007-10-10 13:04:36 -05:00
Andrew Tridgell
c334182095
r3177: check for open files on rename
2007-10-10 13:04:36 -05:00
Andrew Tridgell
867cae7466
r3176: added a script to run all the filesystem torture tests that are
...
expected to pass. This allows easy testing for regressions when I
change core routines in the posix backend.
2007-10-10 13:04:36 -05:00
Andrew Bartlett
2b0f04167d
r3175: Add winbind back into includes.h (spotted by tpot)
...
Andrew Bartlett
2007-10-10 13:04:36 -05:00
Andrew Tridgell
f23a2f8538
r3174: added pvfs_is_open() to allow us to check for open files on unlink. We
...
now pass BASE-UNLINK.
2007-10-10 13:04:36 -05:00
Andrew Tridgell
a10fca41de
r3173: make the RAW-QFILEINFO test cope better with null strings from the server
2007-10-10 13:04:36 -05:00
Andrew Tridgell
65c2c81b8c
r3172: much better qfileinfo implementation in pvfs. We now pass RAW-QFILEINFO
2007-10-10 13:04:36 -05:00
Andrew Tridgell
91a1dc121c
r3171: in qfileinfo getattre and standard have identical structures, so
...
simplify code by making them aliases
2007-10-10 13:04:35 -05:00
Andrew Bartlett
5925b94a59
r3170: Add winbind client support back into Samba4. This is to allow
...
auth_winbind to work, and to therefore use the new ntlm_auth and
GENSEC in an otherwise Samba3 setup.
I'm not quite sure what fun-and games my svn cp caused as I merged
this from samba_3_0, but anyway...
Andrew Bartlett
2007-10-10 13:04:31 -05:00
Jelmer Vernooij
fa0760dd5f
r3169: unlink() is called on the listening unix socket every time a child process
...
exits. Commenting it out until we have a clean way of doing this.
2007-10-10 13:02:29 -05:00
Jelmer Vernooij
45a3e2a981
r3168: Use generic function for looking up endpoints
2007-10-10 13:02:29 -05:00
Jelmer Vernooij
18582083af
r3167: Add a member 'endpoint' to the dcerpc_binding struct to use instead of
...
options[0].
2007-10-10 13:02:28 -05:00
Jelmer Vernooij
575e380ab4
r3166: Bunch of small GUI updates. gwcrontab works again, as does selecting a
...
domain in gwsam
2007-10-10 13:02:28 -05:00
Jelmer Vernooij
3de0cf22dd
r3165: Support local connections in Gtk+ tools
2007-10-10 13:02:28 -05:00
Jelmer Vernooij
2cfc8f24ce
r3164: Look up ncalrpc identifiers using the EPMAPPER. ncalrpc now works nicely :-)
...
The various interface that support ncalrpc work nicely when tested
with smbtorture and ncalrpc.
Running RPC-SAMR against local smbd here is slightly faster using ncalrpc:
ncalrpc: 1.8 sec
ncacn_ip_tcp: 1.9 sec
ncacn_np: 2.5 sec
2007-10-10 13:02:28 -05:00
Jelmer Vernooij
426f3e63ca
r3163: Add server side support for ncalrpc: and ncacn_unix_stream:
...
Examples of binding strings are :
ncalrpc:[EPMAPPER]
ncacn_unix_stream:[/tmp/epmapper]
N.B. The unix socket support in lib/socket/ appears to close and remove the
socket it is listening on after the first client disconnects so until
that has been fixed, it is only possible to do one ncalrpc: or ncacn_unix_stream: request per instance of smbd :-)
Support for looking up NCALRPC names via the endpoint mapper will be added later.
2007-10-10 13:02:28 -05:00
Jelmer Vernooij
b15cfbe251
r3162: Add client-side support for the ncalrpc: and ncacn_unix_stream: transports.
...
ncalrpc uses the new config option "ncalrpc dir" for creating unix sockets.
2007-10-10 13:02:27 -05:00
Andrew Tridgell
a953d4a42c
r3161: pvfs now passes the RAW-SEEK test
2007-10-10 13:02:27 -05:00
Andrew Tridgell
1c05147f71
r3160: recognise RAW_SFILEINFO_DISPOSITION_INFORMATION (fixes temporary files from excel)
2007-10-10 13:02:27 -05:00
Andrew Tridgell
5c16ed0254
r3159: use easy to recognise file handle numbers for new file, old file and directory
...
in pvfs_open, to make analysing sniffs easy
2007-10-10 13:02:27 -05:00
Jelmer Vernooij
ee9bcfddf0
r3158: Use the new tower build functions to generate protocol towers, making it
...
easier to deal with more different transports.
2007-10-10 13:02:27 -05:00
Jelmer Vernooij
a0c4138edf
r3157: Add ncacn_http
2007-10-10 13:02:27 -05:00
Jelmer Vernooij
f41dfc6c5a
r3156: Couple of fixes in the conversion functions between binding structs and
...
protocol towers
2007-10-10 13:02:26 -05:00
Andrew Tridgell
739c9e401c
r3155: reformat a delete test
2007-10-10 13:02:26 -05:00
Andrew Tridgell
abbfca1401
r3154: pvfs now passes all of BASE-DELETE
2007-10-10 13:02:26 -05:00
Andrew Tridgell
f8041feaeb
r3153: pvfs now passes the first 9 of the BASE-DELETE tests
2007-10-10 13:02:26 -05:00
Andrew Tridgell
d7b0dece6f
r3152: reformatted some of the delete test code
2007-10-10 13:02:26 -05:00
Andrew Tridgell
022b21460a
r3150: printing __location__ is more useful than a operation number
2007-10-10 13:02:26 -05:00
Andrew Tridgell
50379a0a58
r3149: separate the delete on close test into torture/basic/delete.c
2007-10-10 13:02:26 -05:00
Andrew Tridgell
6e87feb89c
r3148: make --failures work for the BASE-DENY1 and BASE-DENY2 tests
2007-10-10 13:02:25 -05:00
Andrew Tridgell
b5a6dd3cbf
r3147: added basic share modes support for pvfs (or more precisely, ntcreatex
...
share_access support). This is enough for us to pass the BASE-DENY2
test, but is a long way from fully correct share modes.
2007-10-10 13:02:25 -05:00
Andrew Tridgell
18b471327b
r3142: fill in all the ntcreatex response fields explicitly, rather than
...
zeroing. This makes it clearer what bits are not yet implemented (and
is more valgrind friendly)
2007-10-10 13:02:25 -05:00
Jelmer Vernooij
d560dcbdb8
r3136: - Allow specifying socket type when adding smbd service
...
- Make sure a epm_tower struct is completely initialized
- Some more minor fixes
2007-10-10 13:02:25 -05:00
Andrew Tridgell
395c3815b4
r3135: split the "create new" logic out from the "open existing" logic in
...
pvfs_open, and handle the various race conditions that are inherent in
cifs on unix, so we do the best we can when the race happens.
the ntcreatex code is really starting to take shape now
2007-10-10 13:02:25 -05:00
Andrew Tridgell
3ea9445226
r3134: use struct idr_context * in tid allocation
2007-10-10 13:02:25 -05:00