1
0
mirror of https://github.com/samba-team/samba.git synced 2025-07-27 07:42:04 +03:00
Commit Graph

19 Commits

Author SHA1 Message Date
39fb77d8c1 Make this safe for -DDEVELOPER checks.
Andrew Bartlett
-
1fb5c92bfb Fix building --with-smbwrapper. -
6a58c9bd06 Removed version number from file header.
Changed "SMB/Netbios" to "SMB/CIFS" in file header.
-
39409a20f6 remove unused function in mangle.c
fix some alloc leaks spotted by andreas moroder.
-
2d0922b0ea Removed 'extern int DEBUGLEVEL' as it is now in the smb.h header. -
11a7c5e3d6 Grr - fixed compile error in smbwrapper stuff. -
9b32b8a8cf To stop people complaining about the mktemp call, move it into lib/util.c. Thanks
to Andrew for all this code. Fixed extra line in lib/sysacls.c that broke
XFS ACL code.
Jeremy.
-
453a822a76 first pass at updating head branch to be to be the same as the SAMBA_2_0 branch -
05696b4bbf add a error code when failed to get lock -
18ff93a9ab Added the same open()/fopen()/creat()/mmap() -> sys_XXX calls.
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.
-
e14ca7765a converted smbclient to use clientgen.c rather than clientutil.c
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?
-
9d863fb168 make sure that apps can't close one of the internal smbw file
descriptors by catching close attempts on those fds and returning
EBADF.
-
636182f183 make the shared variable stuff slightly more sophisticated -
5b7b24d3f9 oops, I ot the return type of putenv() wrong -
dc08f1a5c9 use putenv() more portably -
72bce217ef removed setenv(), replaced with smbw_setenv() -
76448d1d82 smbd/nttrans.c smbd/trans2.c: First fixes for NT5.0beta2. That redirector
has some *horrible* bugs !
smbwrapper/shared.c smbwrapper/smbsh.c smbwrapper/smbw.c: Fixed gcc warnings.
Jeremy.
-
9b249c075e added command line options to smbsh -
279cbe69ef - don't use env variables for passwords and usernames (yeah!)
- 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
-