summaryrefslogtreecommitdiff
path: root/source4/libcli
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r14239: Fix indentation.Rafal Szczesniak1-15/+15
rafal (This used to be commit 7aa90f58b9beb410a188fd229c539f2315c81a38)
2007-10-10r14208: removed use of req->flags2 inside the ntvfs layer. This should helpAndrew Tridgell4-0/+6
metze on his quest to unify the ntvfs strucures for the smb and smb2 servers. The only place we needed flags2 inside ntvfs was for the FLAGS2_READ_PERMIT_EXECUTE bit, which only affects readx, so I added a readx.in.read_for_execute flag instead. (This used to be commit b78abbbce60ab0009da19a72dd769800c44298a2)
2007-10-10r14205: move smb specific stuff out of includes.h (finally!!!:-)Stefan Metzmacher5-46/+32
all this changes really help ccache to speed up the samba4 build:-) metze (This used to be commit 180a79d1036e54fc0c50572b820818e9aafa28e9)
2007-10-10r14174: fix typosStefan Metzmacher1-2/+2
metze (This used to be commit 29240bae4488749b3f8a2b49bccad1601d1aa184)
2007-10-10r14173: change smb interface structures to always useStefan Metzmacher14-251/+252
a union smb_file, to abtract - const char *path fot qpathinfo and setpathinfo - uint16_t fnum for SMB - smb2_handle handle for SMB2 the idea is to later add a struct ntvfs_handle *ntvfs so that the ntvfs subsystem don't need to know the difference between SMB and SMB2 metze (This used to be commit 2ef3f5970901b5accdb50f0d0115b5d46b0c788f)
2007-10-10r14160: don't write behind the bufferStefan Metzmacher1-1/+0
metze (This used to be commit bce4db8d1c293d05546dfd1b0229252babdb64b2)
2007-10-10r14141: fixed bugzilla 2921, forcing correct alignment when in ascii modeAndrew Tridgell1-2/+4
(This used to be commit f432d23b044355ae5214812e3794ab319b01268f)
2007-10-10r14064: - split out MSRPC_PARSE into a speperate subsystemStefan Metzmacher2-1/+2
- build gensec_ntlmssp always static for now, because torture/auth/ntlmssp.c needs to access functions from it metze (This used to be commit 43733c9556c1c92336780206e3f71bdee6e43eee)
2007-10-10r13960: Generate makefile rules for installing/removing shared modules.Jelmer Vernooij4-4/+4
(This used to be commit 2c746980328431ab04852dc668899e3eb042da99)
2007-10-10r13944: Yet another round of splitups.Jelmer Vernooij1-0/+1
(This used to be commit f87debeb12cebd734b47314554ab671c9e06237e)
2007-10-10r13938: Around round of splitupsJelmer Vernooij1-0/+2
(This used to be commit 2d655f05285a86bb1bbb882e4dd843def15c9dfa)
2007-10-10r13936: fix dependecyStefan Metzmacher1-1/+1
metze (This used to be commit 9650d15c211988a4f81c546bd47eadb1302b8f9b)
2007-10-10r13935: add dependeciesStefan Metzmacher2-2/+2
metze (This used to be commit 569275bc2b9e91a944087581d383c2b7d914c481)
2007-10-10r13926: More header splitups.Jelmer Vernooij1-1/+1
(This used to be commit 930daa9f416ecba1d75b8ad46bb42e336545672f)
2007-10-10r13924: Split more prototypes out of include/proto.h + initial work on headerJelmer Vernooij28-0/+162
file dependencies (This used to be commit 122835876748a3eaf5e8d31ad1abddab9acb8781)
2007-10-10r13850: Test (and fix) not using SPNEGO at all, but instead using raw NTLMSSP.Andrew Bartlett1-13/+25
The switch to turn off SPNEGO in the client is a bit messy, but it works. Andrew Bartlett (This used to be commit 085ba80cc8a954bd84ecf30e5d57a1583f54062f)
2007-10-10r13842: Make some more functions public.Jelmer Vernooij1-12/+13
(This used to be commit aac1b99b362993352d80692afa55c38fc851c016)
2007-10-10r13840: Mark some functions as public.Jelmer Vernooij2-35/+35
(This used to be commit 9a188eb1f48a50d92a67a4fc2b3899b90074059a)
2007-10-10r13658: More moving around of files:Jelmer Vernooij5-2/+473
- Collect the generic utility functions into a lib/util/ (a la GLib is for the GNOME folks) - Remove even more files from include/ (This used to be commit ba62880f5b05c2a505dc7f54676b231197a7e707)
2007-10-10r13654: Move some more stuff out of include/Jelmer Vernooij1-0/+2035
(This used to be commit 2ec7bba03a2edf713004941e9ed74798f5cf8d32)
2007-10-10r13653: Copy headers from the right placeJelmer Vernooij1-0/+1
(This used to be commit 5e884f156f8f824b0540351ce07cd423595d9d1f)
2007-10-10r13652: Move some more stuff out off include/Jelmer Vernooij3-0/+1198
(This used to be commit 26bf2a393b90acc098be0b30886dbba34d348a01)
2007-10-10r13609: Get in the initial work on making ldb asyncSimo Sorce6-44/+73
Currently only ldb_ildap is async, the plan is to first make all backend support the async calls, and then remove the sync functions from backends and keep the only in the API. Modules will need to be transformed along the way. Simo (This used to be commit 1e2c13b2d52de7c534493dd79a2c0596a3e8c1f5)
2007-10-10r13508: some ASN.1 element in LDAP are optional,Stefan Metzmacher4-55/+112
make it possible to code the difference between a zero length and a NULL DATA_BLOB... metze (This used to be commit 54f0b19c55df8ad3882f31a114e2ea0e4cf940ae)
2007-10-10r13506: zero memory as some ASN.1 elements are optional, and we should ↵Stefan Metzmacher1-1/+1
initialize them for the internal use... found by 'make valgrindtest' metze (This used to be commit 1db9501c5261a974c6da1938537c7991ff6cfefd)
2007-10-10r13505: allow servers to bind to non-broadcast interfaces. Servers nowAndrew Tridgell1-4/+7
specifically ask for iface_n_bcast() and have to check if it returns NULL, in which case it is a non-broadcast interface (This used to be commit d004e250b6710251ea089ac242775481f13b5c2b)
2007-10-10r13466: Make it easier to understand what this function actually does.Andrew Bartlett1-5/+5
Andrew Bartlett (This used to be commit f075497926f3b8131bf8427ee3a3d5c9e5ee77d7)
2007-10-10r13405: Allow a fallback if SPNEGO is somehow disabled in the client, to ↵Andrew Bartlett1-1/+7
just NTLMSSP. Andrew Bartlett (This used to be commit 3e96975d910496db87e8e34e310f0f6d283210bf)
2007-10-10r13387: Make sure smbcli_parse_unc reports a failure for strings ofJames Peach1-10/+25
the form //server. Make sure failure cases are well-defined. (This used to be commit e0020df66bf38873eaaacb95cadac55e17f432be)
2007-10-10r13372: fixes ... still no joySimo Sorce1-0/+8
(This used to be commit 0e2cca9153619d646b90f32620905ab66b017c6a)
2007-10-10r13361: initial implementation of the vlv controlSimo Sorce1-1/+244
seem still buggy, can't make w2k3 to like it yet (This used to be commit e1318383e91f6f6db39e3e3c9946fbb089753947)
2007-10-10r13354: Add tests to check that controls work properlySimo Sorce1-1/+1
Fix asq module, add a second_stage_init to register with rootdse Fix asq control ldap parsing routines (this was nasty to find out) (This used to be commit 933a80397d137f7d5b79c82a068d62bb6928ef47)
2007-10-10r13352: Integrate Patch to support the ManageDSAIT controlSimo Sorce1-0/+20
from Pete Rowley <prowley@redhat.com> (This used to be commit bf20a848fda1607ca1b0d84791c299c0035793a1)
2007-10-10r13345: let us replicate with NT4sp6aStefan Metzmacher1-0/+15
I don't yet know what the extra data in the start_association call mean... This also let w2k use WREPL_REPL_INFORM messages to us, but w2k3 doesn't it do it yet... metze (This used to be commit 02d6dfa1da754857c28125392a561cfde0087c48)
2007-10-10r13344: Trust SASL to have subtle distinctions between NULL and zero-lengthAndrew Bartlett1-3/+17
responses... Also trust OpenLDAP to be pedantic about it, breaking connections to AD. In any case, we now get this 'right' (by nasty overloading hacks, but hey), and we can now use system-supplied OpenLDAP libs and SASL/GSSAPI to talk to Samba4. Andrew Bartlett (This used to be commit 0cbe18211a95f811b51865bc0e8729e9a302ad25)
2007-10-10r13342: Make the GSSAPI SASL mech actually work, by (shock horror) reading ↵Andrew Bartlett1-13/+6
the spec. GSSAPI differs from GSS-SPNEGO in an additional 3 packets, negotiating a buffer size and what integrity protection/privacy should be used. I worked off draft-ietf-sasl-gssapi-03, and this works against Win2k3. I'm doing this in the hope that Apple clients as well as SASL-based LDAP tools may get a bit further. I still can't get ldapsearch to work, it fails with the ever-helpful 'Local error'. Andrew Bartlett (This used to be commit 3e462897754b30306c1983af2d137329dd937ad6)
2007-10-10r13255: New CIFS dd client for use in performance testing. The guts of this isJames Peach1-7/+27
in client/cifsdd*, which implements a minimal implementation of dd. The IO path is careful to always perform IO at the requested block size. There is a very basic test suite in script/tests/test_cifsdd.sh which covers local and remote IO at a variety of block sizes. Added to lib/util_str.c is a small set of conv_str_*() functions to convert strings to the corresponding type. smbcli_parse_unc is modified to insert NULL terminators after its hostname and sharename parameters. This allows it to correctly parse a path of the form //foo/share/path/file. (This used to be commit cd2f94a65817bfae20ac21b730a2c42d8e581ab3)
2007-10-10r13203: Make this comment clearer.Andrew Bartlett1-1/+1
Andrew Bartlett (This used to be commit 8e2b461669d2d4d5a789da66b5049ecbddd8fd15)
2007-10-10r13154: Add some constJelmer Vernooij1-1/+1
(This used to be commit 62822a26550842dbb763b27994cb38474fe8eea3)
2007-10-10r13103: Walk the names in the node status request, so I can find a serverAndrew Bartlett1-11/+14
name, and use that. (I was trying to find a machine by the name of __SAMBA__) Andrew Bartlett (This used to be commit cde044d023c7580442bceb60ac62dc4cfc1b85fe)
2007-10-10r12999: fix compiler warningsStefan Metzmacher1-9/+9
metze (This used to be commit ec30a40f042016bc167382b63bd284f656ed7cb1)
2007-10-10r12984: add parse code and ldbsearch cmdline code forStefan Metzmacher1-3/+23
NOTIFICATION LDAP Controls http://msdn.microsoft.com/library/default.asp?url=/library/en-us/ldap/ldap/ldap_server_notification_oid.asp this doesn't work yet, but it shows that we need to extend ldb to correctly handle async requests... metze (This used to be commit 1fe67189490c9faf499b68a28071a6294a53db0e)
2007-10-10r12977: Some code to implement the client side of the Dirsync controlSimo Sorce1-0/+86
Still investigating how it works. Simo. (This used to be commit bebd403523e581606505e05e7cb621efbc22fa36)
2007-10-10r12932: export function prototypesStefan Metzmacher2-6/+26
metze (This used to be commit 8208a4abf0cacb9ee3496611f121c095b5d1bcca)
2007-10-10r12925: implement client side of ASQ controlSimo Sorce1-0/+99
(This used to be commit dd386bdc6ca6fe0b25705d5a375d29e6940b437f)
2007-10-10r12917: fix decoding of ldap controlsSimo Sorce1-1/+1
some more work on timeouts (This used to be commit a7e2fe3cb33be2effff7eb764047567f2da3cd55)
2007-10-10r12910: fix bug #3069Stefan Metzmacher1-2/+5
metze (This used to be commit 1768a698a461bfb8aeaa8f28efaab4ad300823a2)
2007-10-10r12862: Need to trim spaces off the end of the node status reply.Andrew Bartlett1-1/+10
Andrew Bartlett (This used to be commit 3e90e7edfa7d343a6b6bf073b8f4d018e3b463d0)
2007-10-10r12861: Cope when we are not supplied the messaging context. This is justAndrew Bartlett1-3/+9
another case where we have to fallback to the node status request. Andrew Bartlett (This used to be commit 181064dbcf102de80937fc30b3d3ba5114194a72)
2007-10-10r12858: This moves the libnet_LookupPdc code to use a GetDC request to findAndrew Bartlett4-1/+260
the remote server's name, or in the absence of a local nbt_server to communicate with (or without root access), a node status request. The result is that we are in a better position to use kerberos, as well as to remove the 'password server' mandatory parameter for the samsync and samdump commands. (I need this to put these into SWAT). The only problem I have is that I must create a messaging context, which requires a server ID. As a client process, I don't expect to get messages, but it is currently required for replies, so I generate a random() number. We probably need the servers to accept connections on streamed sockets too, for client-only tasks that want IRPC. Because I wanted to test this code, I have put the NET-API-* tests into our test scripts, to ensure they pass and keep passing. They are good frontends onto the libnet system, and I see no reason not to test them. In doing so the NET-API-RPCCONNECT test was simplified to take a binding string on the command line, removing duplicate code, and testing the combinations in the scripts instead. (I have done a bit of work on the list shares code in libnet_share.c to make it pass 'make test') In the future, I would like to extend the libcli/findds.c code (based off volker's winbind/wb_async_helpers.c, which is why it shows up a bit odd in the patch) to handle getting multiple name replies, sending a getdc request to each in turn. (posted to samba-technical for review, and I'll happily update with any comments) Andrew Bartlett (This used to be commit 7ccddfd3515fc2c0d6f447c768ccbf7a220c3380)