Jelmer Vernooij
f6bbc72996
r12500: Use init functions explicitly in a few more places. 'gensec' and 'librpc'
...
are the only two subsystems left to convert.
2007-10-10 13:47:46 -05:00
Jelmer Vernooij
b24f2583ed
r12498: Eliminate INIT_OBJ_FILES and ADD_OBJ_FILES. We were not using
...
the difference between these at all, and in the future the
fact that INIT_OBJ_FILES include smb_build.h will be sufficient to
have recompiles at the right time.
2007-10-10 13:47:45 -05:00
Stefan Metzmacher
043f5c1054
r12370: - if we got a reply without a pending request, mark the socket as dead
...
instead of segfaulting
metze
2007-10-10 13:47:31 -05:00
Jelmer Vernooij
a86abe84e2
r12254: Add some (hopefully correct) descriptions for libraries that are installed.
...
Install pkg-config files.
2007-10-10 13:47:24 -05:00
Stefan Metzmacher
58285115c8
r12247: - reject freeing the wrepl_socket inside of wrepl_socket_dead()
...
- free it at the end of wrepl_socket_dead() if needed
metze
2007-10-10 13:47:24 -05:00
Stefan Metzmacher
a01d5a769c
r12240: if the caller isn't interessted in the reply packet, just free it
...
(mostly use for send_only requests, where we don't have a reply at all)
metze
2007-10-10 13:47:23 -05:00
Stefan Metzmacher
064d9409c3
r12238: don't crash when an error happens while connecting and the packet_context isn't inplace yet
...
metze
2007-10-10 13:47:23 -05:00
Jelmer Vernooij
4322962074
r12216: Couple of small fixes: reduce include/includes.h a bit, simplify headers
...
in build/smb_build/, remove unused pstring macros
2007-10-10 13:47:19 -05:00
Stefan Metzmacher
f0105b7fcd
r12200: - move the the winsreplication client and server code to the packet_context
...
system
- this needs to be in one big patch, because of the merging code,
that changes client in server connections and the other way around
- use socket_connect_send/_recv() in the client code
metze
2007-10-10 13:47:17 -05:00
Volker Lendecke
82d87d6261
r12161: Fix a memleak and do the -O1 janitor :-)
2007-10-10 13:47:16 -05:00
Andrew Tridgell
8185731c18
r12158: added ldif handlers for the ntSecurityDescriptor attribute, so when
...
displaying security descriptors in ldbsearch or ldbedit you can see
the SDDL version.
This also allows us to specify security descriptors in our
setup/*.ldif files in SDDL format, which is much more convenient than
the NDR binary format!
2007-10-10 13:47:16 -05:00
Andrew Tridgell
5e2b1bd6af
r12139: - fixed up the ace object flags checking
...
- allow for arbitrary access masks in sddl_encode_ace()
2007-10-10 13:47:13 -05:00
Andrew Tridgell
a0662ae9d3
r12138: added use of 2 letter SID codes in sddl_encode_sid()
2007-10-10 13:47:13 -05:00
Andrew Tridgell
655a4ebe8e
r12137: added sddl_encode(), the reverse of the sddl_decode() function added a
...
couple of days ago. Doesn't yet encode using the shorthand for well
known SIDs.
2007-10-10 13:47:13 -05:00
Andrew Tridgell
f9413ce792
r12116: got rid of composite_trigger_done() and composite_trigger_error(), and
...
instead make the normal composite_done() and composite_error()
functions automatically trigger a delayed callback if the caller has
had no opportunity to setup a async callback
this removes one of the common mistakes in writing a composite function
2007-10-10 13:47:11 -05:00
Stefan Metzmacher
ae1ca2bb4a
r12114: - smb2_keepalive() acts on the smb2_transport
...
- smb2_logoff() acts on the smb2_session
metze
2007-10-10 13:47:10 -05:00
Rafal Szczesniak
7aa40e3a3f
r12079: Fix to the comment for sake of completness...
...
rafal
2007-10-10 13:47:06 -05:00
Andrew Bartlett
0f50239dc4
r12062: SASL negotiation now requires a gensec_security context, so that we
...
only try permitted mechanims.
Andrew Bartlett
2007-10-10 13:47:03 -05:00
Stefan Metzmacher
2433800834
r12020: fix memory hierachie
...
metze
2007-10-10 13:47:00 -05:00
Andrew Tridgell
1eca19d597
r12011: fixed another 'mixed code and declarations' bug
2007-10-10 13:46:59 -05:00
Andrew Tridgell
c30e7698e8
r12010: - added support for domain specific SID codes in SDDL strings
...
- added a bunch more tests to LOCAL-SDDL (all the ones from our schema)
- fixed 'mixed coded declarations' bug
2007-10-10 13:46:59 -05:00
Andrew Tridgell
6935765fda
r12006: don't require callers to fill in pad bytes in SMB2 calls
2007-10-10 13:46:58 -05:00
Andrew Tridgell
dbdeecea01
r12005: added a SDDL (Security Descriptor Description Language) parser. Not
...
all flags are covered yet, and object aces aren't done yet.
This is needed for ACL support in ldb, as the default security
descriptor for each object class is given by the
defaultSecurityDescriptor attribute in the schema, which is stored in
SDDL format
2007-10-10 13:46:58 -05:00
Stefan Metzmacher
fee5b6f407
r11996: don't overwrite the buffercode
...
metze
2007-10-10 13:46:57 -05:00
Andrew Tridgell
f327393074
r11982: ensure the fde event gets freed before the socket itself, as otherwise
...
we get a error from epoll about disabling events for a file descriptor
that is closed
2007-10-10 13:46:54 -05:00
Andrew Tridgell
f2b8857797
r11980: ronnie worked out that opcode 0xb in SMB2 is in fact ioctl, and that
...
it only appeared to be like a SMBtrans request as it was being called
with function 0x11c017 which is "named pipe read write"
I wonder if this means we could do DCE/RPC over SMB using ntioctl
calls as well?
2007-10-10 13:46:53 -05:00
Stefan Metzmacher
b8c5978df1
r11971: add nbt specific continue wrapper
...
metze
2007-10-10 13:46:53 -05:00
Tim Potter
9c4436a124
r11967: Fix more 64-bit warnings.
2007-10-10 13:46:52 -05:00
Andrew Tridgell
91327885a2
r11949: make sure we ask gensec to give us a session key
...
andrew, this answers your question on irc about whether the same
session key mechanisms are used in smb2. They are - the RPC-LSA secret
tests pass fine over ncacn_np on SMB2, which means the session key
must be working
2007-10-10 13:46:49 -05:00
Stefan Metzmacher
fd77cfa490
r11941: fix cut'n'paste bug
...
metze
2007-10-10 13:46:49 -05:00
Andrew Tridgell
afe2323dc1
r11906: opcode 13 appears to be keepalive. Metze guessed this one :-)
2007-10-10 13:46:47 -05:00
Andrew Tridgell
a969ad592a
r11905: added SMB2_FLUSH as opcode 7. Thanks to metze and volker for help
...
brainstorming this one.
2007-10-10 13:46:47 -05:00
Andrew Tridgell
d606b45b5b
r11903: added smb2_tdis() (opcode 4)
2007-10-10 13:46:46 -05:00
Andrew Tridgell
6884ce66f2
r11901: added smb2_logoff() support (metze correctly guessed opcode 2 was
...
logoff)
2007-10-10 13:46:45 -05:00
Stefan Metzmacher
fa98f09f8b
r11895: - reorder some code to make it easier to follow, how the fields appear on the wire
...
- add some comments to the header file, to represent the wire format
metze
2007-10-10 13:46:43 -05:00
Andrew Tridgell
02e3cb87c7
r11894: fixed SMB2 trans code for pipe_flags
2007-10-10 13:46:43 -05:00
Andrew Tridgell
085bf952dc
r11893: fixed a dependency problem
2007-10-10 13:46:42 -05:00
Andrew Tridgell
24588a9c49
r11891: - added pipe_flags field in smb2_trans
...
- while running dcerpc over SMB2, the server will occasionally send us
a oh-so-useful STATUS_PENDING result meaning "I don't have a result
for you yet, but I'm working on it". These can be discarded :-)
2007-10-10 13:46:42 -05:00
Andrew Tridgell
aef915f312
r11888: - added SMB2 trans support
...
- added session key to SMB2
- renamed 'unknown2' in create to 'impersonation'
2007-10-10 13:46:41 -05:00
Volker Lendecke
470cc59529
r11885: Add forgotten files
2007-10-10 13:46:41 -05:00
Andrew Tridgell
77e0cb999c
r11849: added mapping between SMB2 and SMB find/search levels
2007-10-10 13:46:38 -05:00
Andrew Tridgell
ed8d307347
r11848: separate out the info levels common to SMB and SMB2 for raw_search
2007-10-10 13:46:37 -05:00
Volker Lendecke
fb9a3c7ef3
r11812: Convert winbind to the async bind routines. Also remove tridge's hack for the
...
winbind "bug" :-)
Volker
2007-10-10 13:46:32 -05:00
Andrew Tridgell
8792bc07d9
r11801: - added basic SMB2 find support
...
- added SMB2-SCANFIND test
- cleaned up continue flags in EAs and find requests
2007-10-10 13:46:29 -05:00
Andrew Tridgell
8c7c54a46d
r11800: - filled in unknown fields in SMB2 all_info level
...
- allow setting of the ALL_EAS flags bits in SMB2 getinfo
2007-10-10 13:46:29 -05:00
Volker Lendecke
7256157d01
r11796: Two more uses of !composite_is_ok
2007-10-10 13:46:28 -05:00
Andrew Tridgell
872e2a49d8
r11795: used a couple more of volkers composite helper functions. They
...
certainly make the code more compact.
2007-10-10 13:46:28 -05:00
Andrew Tridgell
71e3e61941
r11791: simplify the SMB2 connect code following some suggestions from volker
2007-10-10 13:46:28 -05:00
Andrew Tridgell
c0288aa8cd
r11780: it turns out that the MxAc tag isn't a security descriptor, its a
...
request that the server return its own MxAc blob which contains the
maximum allowed access_mask for the returned file handle
2007-10-10 13:46:26 -05:00
Andrew Tridgell
d1067fc25d
r11777: display the security_descriptor in torture_smb2_all_info()
2007-10-10 13:46:25 -05:00