1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00
Commit Graph

2722 Commits

Author SHA1 Message Date
Andrew Tridgell
77ff35de86 r3634: - fixed BASE-DISCONNECT test to force the async packets to be sent by
waiting for a chkpath response

- fixed open async send in BASE-DISCONNECT

with these changes BASE-DISCONNECT crashes Samba4, as it was designed
to do. I'll work on a fix :)
(This used to be commit 25e0138464)
2007-10-10 13:05:41 -05:00
Andrew Tridgell
4815480bb6 r3633: - moved module init functions to after smb.conf and command line
parsing, so that module init can take account of lp_ parms (thats
  why gensec:krb5=no wasn't working)

- added a BASE-DISCONNECT torture test that tests server response to
  clients disconnecting with open lock and open requests pending
(This used to be commit 5205f598b8)
2007-10-10 13:05:41 -05:00
Andrew Tridgell
3351f1aa8d r3632: added an index on "member" in default provision. This speeds up my
connect/disconnect test by a factor of 20x

when andrew gets a chance to change auth_sam.c to not do a search on
member= and instead use the memberOf attribute for the user then we
should delete this index attribute, as maintaining the index is
expensive
(This used to be commit 0443537be8)
2007-10-10 13:05:41 -05:00
Andrew Tridgell
47b91c97cd r3631: a couple of tweaks to the talloc hierarchy for async requests in
pvfs. This prevents a possible crash due to free ordering on
unexpected disconnect.
(This used to be commit bfca9eb7cb)
2007-10-10 13:05:41 -05:00
Jelmer Vernooij
0639758dd9 r3630: More work on DCOM server side
(This used to be commit e995a1c0e5)
2007-10-10 13:05:40 -05:00
Jelmer Vernooij
b3ef49946f r3629: A bit of work on the DCOM server architecture, small fixes
(This used to be commit e7b67ff22f)
2007-10-10 13:05:40 -05:00
Jelmer Vernooij
e056ed97d7 r3626: More minor DCOM fixes
(This used to be commit 709f279b19)
2007-10-10 13:05:40 -05:00
Jelmer Vernooij
73c1f61350 r3625: Couple of minor DCOM bugfixes
(This used to be commit 6f5bf44ade)
2007-10-10 13:05:40 -05:00
Andrew Tridgell
c077300a22 r3618: - this adds the special case for DENY_DOS semantics, as shown by the BASE-DENYDOS test.
- pvfs now passes BASE-DENY1 and BASE-DENYDOS.
(This used to be commit aa09df22ee)
2007-10-10 13:05:40 -05:00
Andrew Tridgell
19fc6e8f51 r3615: split out struct pvfs_file_handle from struct pvfs_file. This is in
preparation for adding code to pass the BASE-DENY1 and BASE-DENYDOS
tests, which require a shared filesystem handle for some specific
combinations of two DENY_DOS opens on the same connection.
(This used to be commit 6e4fdf01d1)
2007-10-10 13:05:40 -05:00
Andrew Tridgell
ce51a06f02 r3613: fixed a typo
(This used to be commit 891e3097ee)
2007-10-10 13:05:40 -05:00
Andrew Bartlett
3dbc38fd6b r3612: This appears to be the 'offical' way to initialise this struct.
Andrew Bartlett
(This used to be commit 47d67c6e5b)
2007-10-10 13:05:40 -05:00
Jelmer Vernooij
8c2e179d47 r3611: DCOM client support works!!
The torture test DCOM-SIMPLE now successfully does an
IStream_Read and a IStream_Write call.

This test can now be run successfully against the "Simple DCOM" Visual
Studio example.

(You have to quote out line 337 in pidl. pidl complains if the variable
 that contains the array size follows the array. I still need to fix this
 properly)

Next goals:
 - Clean up code
 - Server side support
 - Support custom marshalling
 - Support DCOM interfaces in files other then dcom.idl
(This used to be commit 8693344772)
2007-10-10 13:05:39 -05:00
Andrew Tridgell
009892846f r3610: prevent segv with heimdal and password krb5 init
(This used to be commit a4598e7fa1)
2007-10-10 13:05:38 -05:00
Andrew Bartlett
438ca20a3c r3609: Lets spew out a few less error messages for tridge, and hope to get
krb5 going on recent heimdal installs.

Andrew Bartlett
(This used to be commit a758725407)
2007-10-10 13:05:38 -05:00
Andrew Tridgell
d8565f89b7 r3608: added BASE-DENYDOS test
this test demonstrates how w2k3 handles the special semantics of
DENY_DOS when 2 opens happen on the same connection. The 2nd open
doesn't actually do a NTFS open, it happens as a secondary reference
to the same internal file handle in the CIFS layer. The evidence is
that the 2nd open shares the same POSITION_INFORMATION field as the
first open, but only for the special DENY_DOS cases that would
normally be refused.
(This used to be commit eeec57d4f6)
2007-10-10 13:05:38 -05:00
Tim Potter
e0586efe7a r3607: EnumDomainAlises doesn't take a max_size parameter.
(This used to be commit 996d042bf7)
2007-10-10 13:05:38 -05:00
Jelmer Vernooij
f2d715cd85 r3606: More DCOM fixes:
- OXID tables work now. IOXIDResolver is used if there is used for getting a STRINGBINDING if none is known yet
 - Add custom dissectors for STRINGARRAY and DUALSTRINGARRAY. If there's a way to get rid of these later on (by supporting them thru pidl somehow), I'd be happy to use that instead of doing it manually.

I can now get to the point where we have created an object and are connected to
it. The only thing left to do is being able to set the Object UUID properly..
(This used to be commit 54e1e5edca)
2007-10-10 13:05:38 -05:00
Jelmer Vernooij
add049380e r3602: Add looking up transport by endpoint protocol
(This used to be commit 76c02ecbe8)
2007-10-10 13:05:38 -05:00
Jelmer Vernooij
485df40bf9 r3601: Lots of smaller DCOM updates and fixes. Adds oxid tables, proper
use of contexts.
(This used to be commit 93eb3cd99c)
2007-10-10 13:05:38 -05:00
Andrew Tridgell
63b2fef51e r3600: fixed two debug typos
(This used to be commit d0149b173f)
2007-10-10 13:05:37 -05:00
Andrew Tridgell
930f9090ba r3599: fixed a couple of memory errors in the rpc netlogon server
(found with valgrind)
(This used to be commit 151dd4593d)
2007-10-10 13:05:37 -05:00
Andrew Tridgell
396b5bdafe r3598: hopefully fix the build on stratos
(This used to be commit e6e8a9c7f0)
2007-10-10 13:05:37 -05:00
Andrew Tridgell
0c5f2ba38e r3597: implement a suggestion from abartlet. By taking a refernce to the
database in the opendb lck, we ensure that the database is not closed
before the lock is gone. That ensures the lock destructor doesn't work
on a closed database.
(This used to be commit 218e01441a)
2007-10-10 13:05:37 -05:00
Andrew Tridgell
8e7f33e93d r3596: MODE_INFORMATION tests now pass. Only RENAME_INFORMATION level left to
support RAW-SFILEINFO
(This used to be commit 20fc3a25ef)
2007-10-10 13:05:37 -05:00
Andrew Tridgell
2db915e065 r3595: - fixed a talloc_free ordering problem on cleanup with pending requests
- added initial support for MODE_INFORMATION in setfileinfo (I have no
  idea what "mode information" on a file is - it takes a value of 0,
  2, 4 or 6. What could it be?)
(This used to be commit e53ec2f6b6)
2007-10-10 13:05:37 -05:00
Andrew Tridgell
5f608f23d3 r3594: continue conversion to __location__ from __LINE__ for error reporting
(This used to be commit 425e36ca4d)
2007-10-10 13:05:37 -05:00
Andrew Tridgell
92a9d90050 r3593: fixed the trans2 t2open reply to initialise all bytes (bug found by valgrind)
(This used to be commit b8ba6793c1)
2007-10-10 13:05:36 -05:00
Andrew Tridgell
51353ac559 r3592: auto-cleanup the test.$$ log files in these test scripts on control-C
(This used to be commit a07bca1707)
2007-10-10 13:05:36 -05:00
Andrew Tridgell
70bb74eefd r3591: to get a bit more useful info from valgrind I'm disabling the
deliberate over-allocation of request structures in smbd and
libcli/raw code for now.
(This used to be commit 07596d8721)
2007-10-10 13:05:36 -05:00
Tim Potter
e34ee4fdaa r3590: Add some more commands to rpcclient from a patch by jbm. Add
SamrQueryDomInfo, SamrQueryDomInfo2, SamrEnumDomainAliases, and
SamrEnumDomainUsers.
(This used to be commit 91eb405354)
2007-10-10 13:05:36 -05:00
Tim Potter
6c32daf320 r3589: Add some extra status codes.
(This used to be commit 6d918f1595)
2007-10-10 13:05:36 -05:00
Tim Potter
3503373ba5 r3588: Fix bug in converting SIDs containing large unsigned integers from Python.
(This used to be commit a46aba4354)
2007-10-10 13:05:36 -05:00
Tim Potter
7c400a840b r3587: Add status_codes.i as a dependencies for dcerpc.i
(This used to be commit 358f641063)
2007-10-10 13:05:36 -05:00
Jelmer Vernooij
71db46ea66 r3586: Fix some of the issues with the module init functions.
Both subsystems and modules can now have init functions, which can be
specified in .mk files (INIT_FUNCTION = ...)

The build system will define :
 - SUBSYSTEM_init_static_modules that calls the init functions of all statically compiled modules. Failing to load will generate an error which is not fatal
 - BINARY_init_subsystems that calls the init functions (if defined) for the subsystems the binary depends on

This removes the hack with the "static bool Initialised = " and the
"lazy_init" functions
(This used to be commit 7a8244761b)
2007-10-10 13:05:36 -05:00
Stefan Metzmacher
b012ab557b r3585: check sscanf return code
metze
(This used to be commit 9701abfa3a)
2007-10-10 13:05:35 -05:00
Stefan Metzmacher
e5c8e21129 r3584: fix referral handling
metze
(This used to be commit 4868f1ea85)
2007-10-10 13:05:35 -05:00
Stefan Metzmacher
8408b3428d r3583: - seperate the ldap client code and the ldap parsing code
(vl: we should only sync the parsing code with trunk)

- use hierachical talloc in the ldap client code

metze
(This used to be commit 1e9c0b68ca)
2007-10-10 13:05:35 -05:00
Stefan Metzmacher
eee5cc3b9a r3582: more gcc-4.0 signedness fixes
metze
(This used to be commit 07405f1c67)
2007-10-10 13:05:35 -05:00
Stefan Metzmacher
81f6d0b015 r3581: fix some signedness warnings with gcc-4.0
(there some callers to be fixed later)

metze
(This used to be commit dfb062c63c)
2007-10-10 13:05:35 -05:00
Andrew Tridgell
f458460842 r3580: - on file overwrite in ntcreatex we need to replace the file permissions.
- pvfs now passes BASE-OPENATTR

- pvfs also passes the BASE-DEFER_OPEN test, but it is not a well
  formed test for regular running so I am removing it from the list of
  tests to run in test_posix.sh (the test is covered better by RAW-MUX
  anyway)
(This used to be commit cb76bd218e)
2007-10-10 13:05:35 -05:00
Andrew Tridgell
481bba9e7f r3579: with the gcc warning flag from abartlet we don't need sys_strftime()
(This used to be commit 041f77b6a1)
2007-10-10 13:05:34 -05:00
Andrew Tridgell
800212bc12 r3578: a couple of include changes that should help with FreeBSD
(This used to be commit d8c4a660a0)
2007-10-10 13:05:33 -05:00
Stefan Metzmacher
6c3a5b30e9 r3577: add a torture_join_domain_ads_dc() function,
which will join as a w2k dc joins a ads domain

(this is currently not fully implmented,
 I just have listed the steps we need to do)

metze
(This used to be commit 29cd3d20e3)
2007-10-10 13:05:33 -05:00
Andrew Tridgell
44b5e5a580 r3576: don't consider short share delay timeouts to be an error, so we can
run test_posix.sh in a reaonable time by using posix:sharedelay=100000

this still tests correct multiplex behaviour
(This used to be commit 64a6db5b02)
2007-10-10 13:05:33 -05:00
Andrew Tridgell
b5acd1963a r3575: fixed attribute normalisation in xattr code. RAW-SEARCH now passes again.
(This used to be commit 66bdc6e78c)
2007-10-10 13:05:33 -05:00
Andrew Tridgell
a9158e0d47 r3574: the RAW-OPEN test changes broke a couple of the other tests. This
fixes most of them, although RAW-SEARCH still fails (due to an
interaction with the new xattr code)
(This used to be commit 09b4652b40)
2007-10-10 13:05:33 -05:00
Andrew Tridgell
439c1524fb r3573: added trans2open support to smbd and pvfs, and fine-tuned the open->generic ntvfs mapping code.
(This used to be commit ed844192d7)
2007-10-10 13:05:33 -05:00
Andrew Bartlett
4c06ac06a1 r3572: Thanks to tridge for his patience with my build breakage.
This concludes the proper fixes.

Andrew Bartlett
(This used to be commit c1d025793f)
2007-10-10 13:05:33 -05:00
Andrew Tridgell
e1f38d8138 r3571: rough guesses at what abartlet really wanted to do in his last commit
(which I suspect was missing some pieces)

this at least fixes the build so i can keep going on pvfs. Please review/fix Andrew.
(This used to be commit bffd18d09d)
2007-10-10 13:05:32 -05:00