summaryrefslogtreecommitdiffstats
path: root/source/smbwrapper/shared.c
Commit message (Collapse)AuthorAgeFilesLines
* first pass at updating head branch to be to be the same as the SAMBA_2_0 branchAndrew Tridgell1999-12-131-1/+1
|
* add a error code when failed to get lockAndrew Tridgell1998-11-211-1/+1
|
* Added the same open()/fopen()/creat()/mmap() -> sys_XXX calls.Jeremy Allison1998-11-171-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.
* converted smbclient to use clientgen.c rather than clientutil.cAndrew Tridgell1998-11-091-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?
* make sure that apps can't close one of the internal smbw fileAndrew Tridgell1998-10-241-0/+7
| | | | | descriptors by catching close attempts on those fds and returning EBADF.
* make the shared variable stuff slightly more sophisticatedAndrew Tridgell1998-10-231-12/+26
|
* oops, I ot the return type of putenv() wrongAndrew Tridgell1998-10-201-2/+3
|
* use putenv() more portablyAndrew Tridgell1998-10-201-1/+7
|
* removed setenv(), replaced with smbw_setenv()Andrew Tridgell1998-10-201-1/+15
|
* smbd/nttrans.c smbd/trans2.c: First fixes for NT5.0beta2. That redirectorJeremy Allison1998-10-201-1/+0
| | | | | | has some *horrible* bugs ! smbwrapper/shared.c smbwrapper/smbsh.c smbwrapper/smbw.c: Fixed gcc warnings. Jeremy.
* added command line options to smbshAndrew Tridgell1998-10-191-1/+2
|
* - don't use env variables for passwords and usernames (yeah!)Andrew Tridgell1998-10-191-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