summaryrefslogtreecommitdiff
path: root/source3/smbwrapper
AgeCommit message (Collapse)AuthorFilesLines
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 Allison2-2/+2
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-13fixes for OSF1 compilationAndrew Tridgell1-0/+6
(This used to be commit 5be3c37f50eac35cad3eadf0d24e7a4ee04c075e)
1998-11-09Makefile.in: Removed rpc_server/srv_ldap_helpers.c per J.F.'s instructions.Jeremy Allison3-6/+6
client/client.c: client/clitar.c: include/client.h: smbwrapper/smbw_dir.c: smbwrapper/smbw_stat.c: smbwrapper/smbw.c: lib/util.c: Converted all use of 'mode' to uint16. smbd/quotas.c: Fixed stupid comment bug I put in there :-(. printing/printing.c: Fix from J.F. to new code. Jeremy. (This used to be commit bacd3e9d2036a804e73644a28fc498f229c8446c)
1998-11-09converted smbclient to use clientgen.c rather than clientutil.cAndrew Tridgell2-5/+4
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-29some versions of Irix pass the HAVE__ACL test but don't have acl.hHerb Lewis1-1/+1
test for both before including ACL support. (This used to be commit 86743dfda446fddaffff7cbb57ca6b5901948ad5)
1998-10-24handle the case of an intermediate binary not loading smbwrapper.soAndrew Tridgell1-2/+1
(for example /usr/bin/man because it is setgid). (This used to be commit 85f639ab2ba72dda5a00cf11c8ee705f5a51ec54)
1998-10-24volker was concerned about unique inode numbers and smbsh. This set ofAndrew Tridgell3-11/+39
changes uses the unique index number from a SMB_QUERY_FILE_ALL_INFO to try to provide inode numbers. If it is 0 then use the hash of the filename as before. (This used to be commit 2565ccf9de9d5e80fdb5bcadbc7130faba386d95)
1998-10-24make sure that apps can't close one of the internal smbw fileAndrew Tridgell3-2/+30
descriptors by catching close attempts on those fds and returning EBADF. (This used to be commit 9d863fb1681a5b03696552e1d93fe339b4bae455)
1998-10-23don't use SMBW_PWD_ENV any moreAndrew Tridgell1-3/+0
(This used to be commit 252fe1e7014b2bf79a3abfa52fb77db9129074c7)
1998-10-23fixed problems with PWD - we no longer use the PWD env variableAndrew Tridgell3-11/+19
instead the shared variable area is used. this fixes problems with /bin/sh under solaris (This used to be commit 4eb7b5c6a81447755dfa1be27479027333ed6f26)
1998-10-23make the shared variable stuff slightly more sophisticatedAndrew Tridgell1-12/+26
(This used to be commit 636182f18346af457f905cd784e68ae5d4f75d0e)
1998-10-22server/srv_samr.c smbd/ipc.c: Changed global_myworkgroup back to fstringJeremy Allison1-2/+8
(as it is everywhere else). smbwrapper/smbsh.c: For IRIX n32 binaries, set _RLDN32_LIST not _RLD32_LIST. Exec users preferred shell is SHELL environment variable is set. tests/fcntl_lock.c: Added sys/types.h for systems that need this. Jeremy. (This used to be commit 50413d0d819d4f13e760ca8439c5bdde0898d63e)
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 Tridgell5-9/+29
(This used to be commit 72bce217ef474f056d8f6675667ec78d1772ff37)
1998-10-20smbd/nttrans.c smbd/trans2.c: First fixes for NT5.0beta2. That redirectorJeremy Allison3-5/+3
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 Tridgell4-30/+72
(This used to be commit 9b249c075e53e6cf75399d60a6371648c03104fa)
1998-10-19- don't use env variables for passwords and usernames (yeah!)Andrew Tridgell4-23/+242
- 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)
1998-10-17Small tidyups for gcc in 'preen' mode....Jeremy Allison1-0/+4
Jeremy. (This used to be commit 60dc1a4a00a22088d33369588b0d5eb292cf084a)
1998-10-16changed some debug levelsAndrew Tridgell2-6/+15
(This used to be commit 121e321a12c5da5cb44ca1baece7e25c3ab7f943)
1998-10-16Re-added code to tell the user how many open files theyJeremy Allison1-1/+1
have. Needed for server diagnosis purposes... Jeremy. (This used to be commit 04d79a9ae515e7259277f9980552f1d61df239f1)
1998-10-14tridge, i had to put a #ifdef _STAT_VER_LINUX_OLD round a bit of codeLuke Leighton1-0/+2
that didn't have _STAT_VER_LINUX_OLD defined. maybe you want to sort this out properly... (This used to be commit aa9dd697d41ed5bed1bddab519ea80df9e6f21f1)
1998-10-13smbsh launch program is now in CAndrew Tridgell1-0/+62
(This used to be commit 784b1590c8c305d6876a14fcaa6fc17b9daac6d0)
1998-10-09dce/rpc.Luke Leighton1-1/+1
(This used to be commit e0445419b2d50ae6efef36f4f295ebcfdbf1ad82)
1998-10-08dce/rpcLuke Leighton1-1/+1
(This used to be commit 62fdeef1b79c5c4c9bf0e860881651711bb80b9a)
1998-10-08- fixed a bunch of warnings and minor errorsAndrew Tridgell1-1/+1
- got smbtorture to compile - removed %D from some of lukes code - Luke, what is %D? it ain't portable anyway (This used to be commit 91597c12fb593f49b23c7cea5b64dbb89a0428b3)
1998-10-08use 1 second resolution calls if possibleAndrew Tridgell2-4/+5
(This used to be commit 349469221a84658048790d7567b4fcea43c0b759)
1998-10-08fixed a problem with fchdir() that broke "cvs -d" in smbshAndrew Tridgell2-10/+10
(This used to be commit 6121f7c8c2d63fd12266327a6f2ac9a5e717dccc)
1998-10-08added some commentsAndrew Tridgell1-1/+5
(This used to be commit e5ed0e6f96835c5b189368faf4555d07f1f6b19c)
1998-10-07don't prototype the acl() functionsAndrew Tridgell1-5/+5
(This used to be commit 9efbb21f35aca6f86ed3cb9c58ebec40e5d44b90)
1998-10-07restore errno after smbw initialisationAndrew Tridgell1-0/+5
(This used to be commit f374706cbf654bdb33df3074cb1a8101af0201eb)
1998-10-07we need realcalls.h in realcalls.cAndrew Tridgell1-0/+1
(This used to be commit 42765a654f9fe45160760e61a80d789279ee6198)
1998-10-07fixed a warning on SunOSAndrew Tridgell1-1/+1
(This used to be commit fda52c6fd1ff0c46948bff7156742dab1dd1eacd)
1998-10-07use double for dummy arrays to ensure alignmentAndrew Tridgell1-7/+7
(This used to be commit d651229ef3eb06035d015770c5ea018f33234ebc)
1998-10-07fixed fork() on SunOS4Andrew Tridgell1-1/+1
(This used to be commit c506ffa527428897689dfd9ff48719208c47669d)
1998-10-07- updated docs to say OSF1 worksAndrew Tridgell2-4/+7
- more solaris acl fixes (This used to be commit 8fc7bc0ee6919f2c1d438e924fbb8b44f87dee63)
1998-10-07fixed facl() bug for solarisAndrew Tridgell1-2/+2
(This used to be commit ab5ed686f813c6294ca3eb9b800b3ad41a5a77c3)
1998-10-07fixed __xstat() under linuxAndrew Tridgell1-1/+1
(This used to be commit 15aa1b52cd78e9b59fa44b248267b9698a5b0d5c)
1998-10-07return type cleanups for IRIXAndrew Tridgell1-32/+33
(This used to be commit 96fc2856bcb1424f69ecf513f7b685bec08dcb1f)
1998-10-07yet another attempt at making this stuff portable. This time I useAndrew Tridgell3-284/+206
minimal includes in wrapped.c (This used to be commit fd6a59d8ca0932d61a60b74485841001d4f8fd44)
1998-10-07not needed any moreAndrew Tridgell1-31/+0
(This used to be commit 4ea3f86f996c1c6acfbf0363e1a02ace4b4a302c)
1998-10-07possibly use __sys_llseek()Andrew Tridgell1-0/+2
(This used to be commit ab49ffe37f11b28144a7815ada1d891b14ffbc2d)
1998-10-07won't need wrapper.h anymoreAndrew Tridgell1-0/+0
(This used to be commit 1918ea2991bef323fdb00912500961d60da17cdb)
1998-10-07more OSF1 changes as well as changes to allow us to use the standardAndrew Tridgell7-106/+16
includes.h in wrapped.c, thus making porting much simpler (This used to be commit 6f2239c935fdecfefa89227c113df01e3957691a)
1998-10-07test whether seekdir() returns void or notAndrew Tridgell1-2/+11
(This used to be commit 4dbfec81b2c67f2d36b26685a631001738d9569f)
1998-10-07- no getdents on OSF1Andrew Tridgell2-50/+25
- try a new method of handling prototype mismatches in wrapped.c. We now try to disable prototypes! (This used to be commit 77aea37bb83f2b9ad541f851b003ca10b9811314)
1998-10-07fixed a bug in real_seekdir()Andrew Tridgell1-1/+1
(This used to be commit 699777a5c149d8608c834034d50b207d6da254b2)
1998-10-07some changes for OSF1 support in smbwrapper (just preliminary changes,Andrew Tridgell1-0/+4
doesn't work yet) (This used to be commit ffa7d0461fa6628302ddf5590a42cca60ec8b90b)
1998-10-07added a document on how to port smbwrapper to a new systemAndrew Tridgell1-0/+77
(This used to be commit bf1e257afb51f93e707bd7c1f75c8a2b35e69bed)