summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2008-03-08Move inbuf handling to before the PDU handlingVolker Lendecke1-58/+59
In an error case, correctly discard the offending PDU (This used to be commit 0aa195b5d623e1f26f2a1b9e91323a5ddd3ff282)
2008-03-08Pass specific packets to build_nmb and build_dgramVolker Lendecke1-6/+4
To me it was not clear what parts of struct packet_struct are actually used in build_packet(). This makes it a bit more clear that only the specific parts are used. (This used to be commit eb8b6f2404e49d6a837935c5b411d78fb6ff23ef)
2008-03-08Fix some typosVolker Lendecke2-3/+3
(This used to be commit cfa1b838144800c0758969921b8904fd62e46c07)
2008-03-08Build aio_fork by defaultVolker Lendecke1-0/+7
... only when --with-aio-support and we can pass file descriptors (This used to be commit fdf4cd99ccb59e126391253d2091707bc8daee43)
2008-03-08Re-run make idl.Günther Deschner5-25/+51
Guenther (This used to be commit 85007cf3f2e3df67c524cc67442396c114f6b784)
2008-03-08Fix IDL for srvsvc_NetSetFileSecurity and srvsvc_NetGetFileSecurity.Günther Deschner1-2/+2
Guenther (This used to be commit 0785acede41301af071db4e8a4c118a44f0454d8)
2008-03-08Use pidl for _srvsvc_NetShareAdd.Günther Deschner2-56/+33
Guenther (This used to be commit fd3e7728181e7a208706e477905173bec44c982e)
2008-03-07Re-run make idl.Günther Deschner4-9/+22
Guenther (This used to be commit 39e9cfa3018786f176aeb237ea7805da4e576c62)
2008-03-07Fix IDL for srvsvc_NetShareAdd().Günther Deschner1-1/+1
Guenther (This used to be commit 1e7d77766e282c8c20d03d1b1e80346468848ea9)
2008-03-07Remove unused marshalling for SRV_NET_NAME_VALIDATE.Günther Deschner2-72/+0
Guenther (This used to be commit 6ffd6c814fafe4112fe72a96a0893d5be06f4380)
2008-03-07Remove unused marshalling for SRV_NET_SHARE_DEL.Günther Deschner3-113/+0
Guenther (This used to be commit 2afae94936d4fbd3b1e804111bff1960c2b852bd)
2008-03-07Use rpccli_srvsvc_NetShareDel in net.Günther Deschner1-4/+13
Guenther (This used to be commit 10d457152e8547646353f0f37f51ac92561505ef)
2008-03-07Use pidl for _srvsvc_NetNameValidate.Günther Deschner2-37/+11
Guenther (This used to be commit 2e1df306785296979ea064006402254e318e946b)
2008-03-07Add netnamevalidate command to rpcclient.Günther Deschner1-0/+34
Guenther (This used to be commit 140885d3d87ea2de14b3393a7384dff74a4dd44c)
2008-03-07configure: fix quotation in SMB_LIBRARY for help output.Michael Adam1-2/+2
Michael (This used to be commit 96f85a48beb7da9c373fc030474020d05c55a18d)
2008-03-07Use pidl for _srvsvc_NetShareDel and _srvsvc_NetShareDelSticky.Günther Deschner2-67/+25
Guenther (This used to be commit 73b6587493d9a987a691ece495db9f42ce562efe)
2008-03-07Use pidl generated NetShareGet/SetInfo and Enum calls in rpcclient.Günther Deschner1-79/+191
Guenther (This used to be commit c940c62029fbce5f2b943f0fb06037fc89bfd297)
2008-03-07Use pidl for _srvsvc_NetShareGetInfo, _srvsvc_NetShareEnum and ↵Günther Deschner2-399/+269
srvsvc_NetShareEnumAll. Fixing resume handling while we are there. Guenther (This used to be commit 128637bdd7c37ca166a7d478b33b00c39f0ede62)
2008-03-07Enable libnetjoin debugging for now but avoid printing passwords.Günther Deschner3-2/+13
The gen_ndr needs proper fixing still. Guenther (This used to be commit 966d7244d7765d285a7026b97e6093fd1f8d83ce)
2008-03-07Enable use of Relocations Read-Only, if supported, for enhanced security.Simo Sorce2-2/+29
(This used to be commit c20c5f082162ff6c0c2931f456897334aa002e83)
2008-03-07Time to confess...Michael Adam1-0/+1
Michael (This used to be commit 4e584c6e3699d8c05b163cc5674af04d106692ba)
2008-03-07Add some more init_srvsvc_NetShareInfoX functions.Günther Deschner1-0/+134
Guenther (This used to be commit cb3577e695f80d76e4c20f6396d57e3a2047c3c4)
2008-03-07Re-run make idl.Günther Deschner6-148/+100
Guenther (This used to be commit b0cb768287de861f1d1630c9a4c70d9af2a74147)
2008-03-07Fix IDL for srvsvc_NetShareEnum and srvsvc_NetShareEnumAll.Günther Deschner1-4/+7
Guenther (This used to be commit e5ae43051e3bcdbad359737b19ec7f5e4b0ccd28)
2008-03-07Fix debug statement (missing \n).Günther Deschner1-1/+1
Guenther (This used to be commit 5895b973a4e7067535aff6e0c9a7273e332dee1a)
2008-03-06Fix bug #5267 - nmbd shuts down when network interfaces go down.Jeremy Allison1-29/+39
Cause nmbd to wait for an interface, in a mode where SIGTERM will kills us (same way we wait on startup for an interface). Jeremy. (This used to be commit 5440c752ff270cc674d46f2dfa2ceb47dac030f6)
2008-03-06client[ADDR_INDEX] is an IPv4 mapped to IPv6, butJeremy Allison1-5/+21
the list item is not. Try and match the IPv4 part of address only. This will happen a lot on IPv6 enabled systems with IPv4 allow/deny lists in smb.conf. Bug #5311. Jeremy. (This used to be commit 7c3550f82c51ce173b13e568762f728ecb881e85)
2008-03-06Fix _dssetup_DsRoleGetPrimaryDomainInformation().Günther Deschner1-2/+5
Guenther (This used to be commit 5eb7b7a9db4bda40660df5ab67bfea99e75716f9)
2008-03-06Fix the build of cifs.spnego.Günther Deschner1-1/+1
Guenther (This used to be commit 9eaaf17d30388ef9446fb18e69197baa699b7eac)
2008-03-06Revert "Build: Add an rpath of $(LIBDIR) to binary targets."Michael Adam1-2/+2
This reverts commit 3a0f781352f364ce625a35ffd78257b27d984c47. This needs more thought. Setting RPATH like this does not work on all supported platforms (Linux, Solaris and AIX seem to work, HP-UX, Tru64 and MacOS don't, MacOS doesn't even seem to have an rpath at all prior to 10.4). What is more, rpath also has some bad effects (when updating libraries, e.g.), so it should not be set unconditionally. I will come up with a confiugure mechanism to control this. For now, just use the LDFLAGS environment variable if you want to use an rpath. Sorry for any inconveniences. Michael (This used to be commit 6850dc242b010bdcef5e427e51be04201f55b7f3)
2008-03-06Re-run make idl.Günther Deschner3-107/+59
Guenther (This used to be commit c0bc09854f0cea03bc0cc6845244ff12ca7229b6)
2008-03-06Ignore Kerberos PAC type 12.Günther Deschner1-5/+6
Until we worked out the PAC_TYPE_UNKNOWN_12 format (or received documentation) ignore it so that the PAC parsing can proceed. Guenther (This used to be commit 3630ec26c99fdea46c47117d026f9bffb2c4590a)
2008-03-06Eliminate global variable in_client and a plethora of extern declarations.Derrell Lipman8-19/+30
Derrell (This used to be commit b7f34e7ef2907b498a0645ce68f2773ed7d60cdc)
2008-03-06Fix a "nested extern declaration" warningVolker Lendecke1-1/+2
(This used to be commit e473e6d50c56f52ef5e4853e4ca3b3548af06f51)
2008-03-06Check for NULL pointers before dereferencing them.Derrell Lipman1-4/+4
(This used to be commit 6f65390cec218a6aac4370ee381f30439617dcec)
2008-03-06Build: Add an rpath of $(LIBDIR) to binary targets.Michael Adam1-2/+2
This removes the need of setting LD_LIBRARY_PATH. Michael (This used to be commit 3a0f781352f364ce625a35ffd78257b27d984c47)
2008-03-06Re-run make idl.Günther Deschner2-8/+8
Guenther (This used to be commit 9ccda75b376b559f81ed11e729bc11a1c83f6861)
2008-03-06Slowly making progress on PAC_UNKNOWN_12.Günther Deschner1-3/+3
unknown1 and unknown2 are offset headers for the strings. Guenther (This used to be commit 7af70e75b9abf92921f33ec4207ad486ee2493d6)
2008-03-06Change default bufsize to 512kVolker Lendecke1-1/+1
I did not do any scientific tests, but the dummy test on my laptop against a w2k3 vmware shows that in this specific situation going beyond 512k seems not to gain anything anymore. smb: \> iosize 64512 iosize is now 64512 smb: \> lcd /dev smb: \> get random null getting file \random of size 104857600 as null (33453,1 kb/s) (average 19718,5 kb/s) smb: \> get random null getting file \random of size 104857600 as null (34236,0 kb/s) (average 20509,1 kb/s) smb: \> iosize 524288 iosize is now 524288 smb: \> get random null getting file \random of size 104857600 as null (49042,1 kb/s) (average 22521,9 kb/s) smb: \> get random null getting file \random of size 104857600 as null (49420,8 kb/s) (average 23432,9 kb/s) smb: \> iosize 1048576 iosize is now 1048576 smb: \> get random null getting file \random of size 104857600 as null (49420,8 kb/s) (average 24284,2 kb/s) smb: \> get random null getting file \random of size 104857600 as null (49136,3 kb/s) (average 25076,9 kb/s) (This used to be commit 1bcfef6a9093aa873550a263dc142c8a3f5edffd)
2008-03-06Use io_bufsize as window size in smbclient get commandVolker Lendecke1-1/+1
(This used to be commit e602f06cbba852a7eacd15b2511ef2571a95cc80)
2008-03-06Convert cli_read to use cli_pullVolker Lendecke1-163/+15
(This used to be commit d69b20111a849152a7d9108763207c813bf9068b)
2008-03-06Add async cli_pull supportVolker Lendecke2-29/+441
This is the big (and potentially controversial) one. It took a phone call to explain to metze what is going on inside cli_pull_read_done, but I would really like everybody to understand this function. It is a very good and reasonably complex example of async programming. If we want more asynchronism in s3, this is what we will have to deal with :-) Make use of it in the smbclient "get" command. Volker (This used to be commit 76f9b360ee1d973630d82d401eeddce858189301)
2008-03-06Add infrastructure to support async SMB requestsVolker Lendecke5-1/+577
(This used to be commit e2153301351559f30f2714345f4c1ca6c5f1a45f)
2008-03-06Add basic infrastructure for general async requestsVolker Lendecke4-1/+159
(This used to be commit 9f8b2a87ee8bba930b776dcfda608a5639f6d55a)
2008-03-06Merge commit 'origin/v3-2-stable' into v3-2-testStefan Metzmacher2-11/+25
This brings the release-3-2-0pre2 tag into the v3-2-test history. I skipped the source/VERSION changes. metze (This used to be commit 6761fed30821b30246a0f25874566f8a6019abde)
2008-03-06Be more verbose why create local token has failed duringGünther Deschner2-1/+4
NTLMSSP and Kerberos session setup Guenther (This used to be commit 18b8c2c19e50aee8fc900c7507244cb95014a4fa)
2008-03-06Fix an uninitialized variable, Coverity ID 481Volker Lendecke1-0/+1
(This used to be commit 9e4f576abfdd5605f4db9bb87c22ec68c94ff850)
2008-03-06Fix a memleakVolker Lendecke1-0/+1
Fixes Coverity ID 557 (This used to be commit fe882a575152233de6f4bf2143aca681319b0226)
2008-03-06Check the right pointer for non-NULLVolker Lendecke1-1/+1
Fix Coverity ID 558, 559 (This used to be commit 8e33d19d93ef57a9438aad085aaf04b7c09fe09b)
2008-03-06Make test: set LD_LIBRARY_PATH for make test_shlibs and friends.Michael Adam1-3/+6
Michael (cherry picked from commit 21a527569bccff8e8cb6e751c9f3fce6ff598204) (This used to be commit 25a63d044e82ae3cbd9b8e350fcf4cf548236caa)