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

9681 Commits

Author SHA1 Message Date
Stefan Metzmacher
0559222b62 r17061: - remove the currect talloc chunk from it's parent before freeing the children
this fixes an endless loop bug!
- reenable the test for this

should I merge this to samba3?

metze
2007-10-10 14:10:09 -05:00
Andrew Bartlett
87573e2ee4 r17031: When I first revived the objectclass sorting module, simo complained
that it should handle the add without a search.

Now that I'm working on better behaviour with an LDAP backend, I've
fixed the module to do just that.  For an ADD, and a MODIFY with the
REPLACE flag, we do not need the search step.

Andrew Bartlett
2007-10-10 14:10:09 -05:00
Rafal Szczesniak
7da9ebffbd r17028: Remove extra newline.
rafal
2007-10-10 14:10:09 -05:00
Rafal Szczesniak
a2229f8c80 r17027: My copyright notice.
rafal
2007-10-10 14:10:09 -05:00
Rafal Szczesniak
d69b31230d r17026: Make rpc connect routine a bit smarter. Try to connect again
using different transport and possibly address type, when
the first attempt fails (only if it makes any sense, of course).
This may be especially useful when connecting DCs and PDCs in
mixed environments.

Also, add monitor messages issuing.

rafal
2007-10-10 14:10:09 -05:00
Stefan Metzmacher
49b96ac44a r17020: pass the real error to the failing requests
metze
2007-10-10 14:10:08 -05:00
Stefan Metzmacher
8d4fd35b10 r17019: don't timeout on notifies
metze
2007-10-10 14:10:08 -05:00
Stefan Metzmacher
d90313f715 r17015: add a test that closes the tcp connection with an outstanding
notify request

metze
2007-10-10 14:10:08 -05:00
Stefan Metzmacher
60c4eaa4c5 r17014: add whitespaces...
metze
2007-10-10 14:10:08 -05:00
Stefan Metzmacher
b7418aec33 r17012: don't try to send any data when the socket is gone already...
(fixes crash bugs)

metze
2007-10-10 14:10:08 -05:00
Stefan Metzmacher
24ec382560 r17009: set the protocol version correct
metze
2007-10-10 14:10:07 -05:00
Stefan Metzmacher
bcf09a769e r17008: on SMB2 Create the delete_on_close flag isn't ignored for
existing opened files as it is for SMB.

metze
2007-10-10 14:10:07 -05:00
Rafal Szczesniak
aaa2a5a27a r17001: Prepare a new monitor messages.
rafal
2007-10-10 14:10:07 -05:00
Stefan Metzmacher
dd81e7e5c7 r16996: use the correct types, merge from samba3
metze
2007-10-10 14:10:07 -05:00
Stefan Metzmacher
156bd4620c r16989: implement SMB2 Notify in the frontend
metze
2007-10-10 14:10:07 -05:00
Volker Lendecke
b370c9c8dd r16988: Extend locktest to enable cluster testing byte range locks. -l <unclist> will
redirect the first server/share via the unclist file.

Volker
2007-10-10 14:10:06 -05:00
Stefan Metzmacher
db5a94ce0a r16982: fix compiler warning, gentest will not use any SMB2 levels...
metze
2007-10-10 14:10:06 -05:00
Stefan Metzmacher
687776a436 r16981: check the returned values
metze
2007-10-10 14:10:06 -05:00
Stefan Metzmacher
de50e0ccdd r16980: - make struct smb_notify a union and add levels RAW_NOTIFY_NTTRANS,RAW_NOTIFY_SMB2
- parse SMB2 Notify reponse

metze
2007-10-10 14:10:06 -05:00
Stefan Metzmacher
20311e58d5 r16979: - ntcancel should compare TID,UID,MID and PID
- don't return ntcancel error, as we don't know how signing works
  for them

metze
2007-10-10 14:10:06 -05:00
Stefan Metzmacher
07b27333d5 r16977: do a few more notify tests
metze
2007-10-10 14:10:05 -05:00
Stefan Metzmacher
9dfbb0d15e r16976: add a very simple SMB2-NOTIFY test
metze
2007-10-10 14:10:05 -05:00
Stefan Metzmacher
a455dc7a83 r16975: implement SMB2 Notify call in the client lib
metze
2007-10-10 14:10:04 -05:00
Andrew Bartlett
a1161cb30e r16972: Replace the sequence_number function pointer in ldb with the ldb flags.
The function pointer was meant to be unused, this patch fixes
partition.c to use ldb_sequence_number().  (No backend provided the
pointer any more).

Set the flags onto the ldb structure, so that all backends opened by
the partitions module inherit the flags.

Set the read-ony flag when accessed as the global catalog

Modify the LDAP server to track that this query is for the global
catalog (by incoming port), and set a opqaue pointer.

Next step is to read that opaque pointer in the partitions module.

Andrew Bartlett
2007-10-10 14:10:04 -05:00
Andrew Bartlett
9e4eee5a2d r16967: Test another NTLMSSP flags combination.
Andrew Bartlett
2007-10-10 14:10:04 -05:00
Andrew Bartlett
7b8240e8fd r16966: Fix compile warnings.
Andrew Bartlett
2007-10-10 14:10:04 -05:00
Andrew Bartlett
e7894b49b3 r16965: Take a better stab at comparison functions between string and binary
forms of the objectGUID and objectSID attributes.

Andrew Bartlett
2007-10-10 14:10:04 -05:00
Andrew Bartlett
9d42bb4b3d r16964: Remove extra debugs no longer required in a working KDC
Implement the 'DES only' flag.

Andrew Bartlett
2007-10-10 14:10:03 -05:00
Andrew Bartlett
1d0befdb68 r16961: Merge 'seperate policy from logic' changes from Samba3. The 56-bit
flag is handled just like all the others.

Also negotiate the unknown 0x02000000 flag, to match windows.

Andrew Bartlett
2007-10-10 14:10:03 -05:00
Volker Lendecke
656d8337c4 r16958: We also do level 1501 on NetShareGetInfo 2007-10-10 14:10:03 -05:00
Volker Lendecke
bd84fde777 r16956: Walk some of the samba3 srvsvc code 2007-10-10 14:10:03 -05:00
Stefan Metzmacher
97157d5c4a r16951: add the year to the copyright...
metze
2007-10-10 14:10:03 -05:00
Stefan Metzmacher
04f0d3d031 r16950: remove the smb mid from the ntvfs layer and keep a list of pending
requests on the smbsrv_connection, to be able to match then on
ntcancel

metze
2007-10-10 14:10:02 -05:00
Stefan Metzmacher
e40d62363c r16949: add and fix some NOTIFY return codes
metze
2007-10-10 14:10:02 -05:00
Andrew Bartlett
d0ed7cd241 r16938: Fix breakage of TDB on VOS (declaration after statement)
Andrew Bartlett
2007-10-10 14:10:02 -05:00
Andrew Bartlett
f7fb168ab6 r16937: Add const, to make it clear that it is invalid to talloc_free() the DN
at this point.

Andrew Bartlett
2007-10-10 14:10:02 -05:00
Andrew Bartlett
d64987a288 r16936: Correct comment in this comparison function
Andrew Bartlett
2007-10-10 14:10:02 -05:00
Andrew Bartlett
5abe3c4f5f r16934: Expand the ldb test to demonstrate partition behaviour, including the
global USN and global transactions.

Andrew Bartlett
2007-10-10 14:10:01 -05:00
Andrew Bartlett
eae232530c r16933: Sort the partitions in order from most, to least specific.
Remember to perform operations on the base database as well.

Andrew Bartlett
2007-10-10 14:10:01 -05:00
Andrew Bartlett
dd6ca33422 r16932: Consistanly use the macro for these DNs and attributes.
Andrew Bartlett
2007-10-10 14:10:01 -05:00
Stefan Metzmacher
ea88c8c99e r16923: remove unused substitude code
metze
2007-10-10 14:10:01 -05:00
Stefan Metzmacher
4c68e315e2 r16922: move some macros out of talloc.h as the don't belong to talloc
metze
2007-10-10 14:10:01 -05:00
Stefan Metzmacher
d41a83d559 r16918: the SMB2 Ioctls are sometimes called with a wildcard handle
the operation doesn't need a valid file handle in that case

metze
2007-10-10 14:10:00 -05:00
Andrew Bartlett
a6e0846d9b r16917: Fix compile errors found by the testing of tdb on the build farm.
Andrew Bartlett
2007-10-10 14:10:00 -05:00
Andrew Bartlett
5d5503e8d8 r16916: Implement metze's proposed changes to the tdb logging API.
This clearly links the log function with its private pointer, and
makes the argument list for tdb_open_ex a bit shorter.

Andrew Bartlett
2007-10-10 14:09:59 -05:00
Andrew Bartlett
2728b60dfa r16914: Add more tests for the partition module.
Andrew Bartlett
2007-10-10 14:09:59 -05:00
Stefan Metzmacher
ae9c007324 r16913: better return the same values as vista beta2
metze
2007-10-10 14:09:59 -05:00
Stefan Metzmacher
b42d918d56 r16912: I messed up the numbers for ipc and print shares...
This caused vista beta2 to not do any rpc calls
against samba4

metze
2007-10-10 14:09:59 -05:00
Stefan Metzmacher
7db393e5ea r16911: the TID is only 32 bits...don't overwrite parts of the UID field
metze
2007-10-10 14:09:59 -05:00
Stefan Metzmacher
27087818c7 r16910: - don't search the wildcard handle
(a handle with all bits set to 1 is justed for some
   SMB2 Ioctl calls...)
- don't crash if we didn't find the tcon

metze
2007-10-10 14:09:58 -05:00