summaryrefslogtreecommitdiff
path: root/source3/smbwrapper/shared.c
AgeCommit message (Collapse)AuthorFilesLines
1999-12-13first pass at updating head branch to be to be the same as the SAMBA_2_0 branchAndrew Tridgell1-1/+1
(This used to be commit 453a822a76780063dff23526c35408866d0c0154)
1998-11-21add a error code when failed to get lockAndrew Tridgell1-1/+1
(This used to be commit 05696b4bbfb66bfdbdc19f395efe062ac890bc41)
1998-11-17Added the same open()/fopen()/creat()/mmap() -> sys_XXX calls.Jeremy Allison1-1/+1
Tidied up some of the mess (no other word for it). Still doesn't compile cleanly. There are calls with incorrect parameters that don't seem to be doing the right thing. This code still needs surgery :-(. Jeremy. (This used to be commit 18ff93a9abbf68ee8c59c0af3e57c63e4a015dac)
1998-11-09converted smbclient to use clientgen.c rather than clientutil.cAndrew Tridgell1-1/+0
I did this when I saw yet another bug report complaining about smbclient intermittently missing files. Rather than applying more patches to smbclient it was better to move to the more robust clientgen.c code. The conversion wasn't perfect, I probably lost some features of smbclient while doing it, but at least smbclient should be consistent now. It if fails it should _always_ fail rather than giving people the false impression of a reliable utility. the tar stuff seems to work, but hasn't had much testing as I never use it myself. I'm sure someone will find bugs in my conversion of smbtar.c. It was quite tricky as it did a lot of its own SMB calls. It now uses clientgen.c exclusively. smbclient is still quite messy, but at least it doesn't build its own SMB packets. I haven't touched smbmount as I never use it. Mike, do you want to convert smbmount to use clientgen.c? (This used to be commit e14ca7765ace1b721dad8eca4a527a4e4a8f1ab8)
1998-10-24make sure that apps can't close one of the internal smbw fileAndrew Tridgell1-0/+7
descriptors by catching close attempts on those fds and returning EBADF. (This used to be commit 9d863fb1681a5b03696552e1d93fe339b4bae455)
1998-10-23make the shared variable stuff slightly more sophisticatedAndrew Tridgell1-12/+26
(This used to be commit 636182f18346af457f905cd784e68ae5d4f75d0e)
1998-10-20oops, I ot the return type of putenv() wrongAndrew Tridgell1-2/+3
(This used to be commit 5b7b24d3f9a74b241f7e767de4a2bae601adf88a)
1998-10-20use putenv() more portablyAndrew Tridgell1-1/+7
(This used to be commit dc08f1a5c92e86c41dc03f6a4d10d5779f3d9c34)
1998-10-20removed setenv(), replaced with smbw_setenv()Andrew Tridgell1-1/+15
(This used to be commit 72bce217ef474f056d8f6675667ec78d1772ff37)
1998-10-20smbd/nttrans.c smbd/trans2.c: First fixes for NT5.0beta2. That redirectorJeremy Allison1-1/+0
has some *horrible* bugs ! smbwrapper/shared.c smbwrapper/smbsh.c smbwrapper/smbw.c: Fixed gcc warnings. Jeremy. (This used to be commit 76448d1d82a78520953c662afee0886122ce134b)
1998-10-19added command line options to smbshAndrew Tridgell1-1/+2
(This used to be commit 9b249c075e53e6cf75399d60a6371648c03104fa)
1998-10-19- don't use env variables for passwords and usernames (yeah!)Andrew Tridgell1-0/+179
- added a shared variable area based on a unlinked open file, and implement a general get/set interface to it - cache hostname lookups and master ip lookups in shared variable area (This used to be commit 279cbe69efd75450113d2da0da5e67b29f3702b1)