Age | Commit message (Collapse) | Author | Files | Lines |
|
(This used to be commit 36fcb4a6e643a05d06a2a273d74318fee7f2c647)
|
|
(This used to be commit d448906e68cec5019fa83f7d31b862efff41e2da)
|
|
problems
John & Andrew were having with smbpasswd. This would cause the smbpasswd
to be changed *twice* - this the second decrypt would fail.
Changed it to be "/bin/passwd" and changed the name of the macro
to PASSWORD_PROGRAM to make it clear this is not an smb password
changer.
Jeremy.
(This used to be commit 8c1625365479f12fa544d83e1a9f72a548398108)
|
|
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)
|
|
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)
|
|
Jeremy.
(This used to be commit 60553b3dc295d0df3ce42ad81a26edb45e234021)
|
|
smbd/quotas.c:
Added quotas patch for autoconf from Dejan Ilic <svedja@lysator.liu.se>.
printing/printing.c: Filenames with spaces patch from Allan Bjorklund <allan@umich.edu>
utils/nmblookup.c: Fix usage() function.
smbd/reply.c: Split out the security=server and security=domain checks into
check_server_security() and check_domain_security() to aid the
writing of the 'hack' appliance mode invented by John Schimmel.
Jeremy.
(This used to be commit f09ab9b52251087a58af92ec753537ca34a970fc)
|
|
(This used to be commit 7f3c96c5dae19b203bf79a88225768003d2f7516)
|
|
1) inserts the pathname of the object file in the dependency file
(currently, gcc will only generate the basename)
2) the directory tree within .deps mirrors the source tree, so that we use
shorter filenames
problem 1 was reported to me by Tom Angert <angert@bellsouth.net>
(This used to be commit 274a2cff30f7325d1bc1647075a6c4f887e42e4f)
|
|
Again, to compile debug2html, you need to do a 'make debug2html'.
Chris -)-----
(This used to be commit bd0c5ee8e796bc624bf51fbca1c894ca6190b4ea)
|
|
current status is "it works". I need to add some syntax error recovery
and a usage message. Basic stuff.
I've also modified Makefile.in. If you want to compile it you'll have to
do a 'make debug2html', as I used smbtorture as a model. We can decide
later if this tool is useful enough to be compiled always.
BTW, a 'make realclean' fails because the bin directory isn't empty.
That's because it doesn't delete optionally compiled files such as
smbtorture and debug2html (and because of the CVS subdirectory, but I
think that's only a problem for developers).
Chris -)-----
(This used to be commit e86fd87a3806f4c161a8f887bbdd4d400ae56ac2)
|
|
license at the top of lib/snprintf.c
I've always been slightly uneasy about our half-baked vslprintf()
implementation and the risks on platforms that don't have vsnprintf()
so when I saw this code in another GPLd package I wanted it for Samba.
(This used to be commit e2cb50af45be6683d02ab48a6648816ee3d52ab1)
|
|
(This used to be commit 552175fdcb78c79833464648b5ccdc91b935e69c)
|
|
to generate PIC code
(This used to be commit a66c56d70e7e663f3a19cbfcc2e704653d8fc9b2)
|
|
(This used to be commit b4ae65e2d0582274d67d02ea190f6d3d83b48594)
|
|
(This used to be commit 235a8463b56107d97ee5523eed41967e8ccf27b6)
|
|
-c and -o at the same time.
my shell script code wasn't portable
(This used to be commit 759c72822b9b1e8c50b378378f3a45f1e7604ade)
|
|
- added suport for C compilers that don't handle -c and -o at once
(This used to be commit f1672d055716f4b701e22801cbf5cf5573081685)
|
|
cli_session_setup handles null sessions correctly
(This used to be commit 60c0f22a4e84703467006dfe1971384a6294a9aa)
|
|
(This used to be commit aea466aef7127607884f484c5987b9a5e2e362aa)
|
|
(This used to be commit 230e4eb3dd9753899564fd6ec0e0291ee00be8c4)
|
|
compilers happy
(This used to be commit 6625b696469089138f0bd01ab966f30ba509dbda)
|
|
(This used to be commit eb279cabd059603b6c8d9b74e4fd31c4ffe87593)
|
|
(This used to be commit 969eb180646977a01e6d44bde1e13343fd0fa1f7)
|
|
(This used to be commit e9676812affbdaa0519415fff85d7e31383e7e2f)
|
|
has a trailing \ then it continues the comment and wipes out the next
non-blank line!
be careful when commenting out bits of the Makefile
(This used to be commit 450b1813bf965cc43b9551f265d824b13885bff4)
|
|
(This used to be commit 1a9a22c657c46648adaa98ac1fe394ce4bce11f0)
|
|
especially as the headers get the syscall numbers wrong!
(This used to be commit a5405f1ab069a3123a819311a87ca84f2c5f0fea)
|
|
the % works)
(This used to be commit 7c4ad07b5989feee6ab84eb7ff2fe2e76e1475a6)
|
|
(This used to be commit 23f71b979ad7dcfbf461fa4f261ab9dbd0b602fb)
|
|
(This used to be commit ef9eca92bbaf5e22765e562b3f4b0e2407a57206)
|
|
(This used to be commit 102e8c85ff1839103be947c20a4df93ab88bded1)
|
|
make sure it works even if clobbering is not allowed
(This used to be commit eff11b81fd4ac807cf89a56a04c5b26ee9cd8660)
|
|
Link $(LIBS) in when creating smbwrapper.so
rm -rf bin in distclean
rm smbwrapper files in realclean
remove .h from .SUFFIXES
(This used to be commit a38e7ea04ad74996c91cb1a4f9ed07ba98752a9b)
|
|
.cvsignore: added bin; it is no longer part of the source tree
smbwrapper/smbsh: now auto-generated from smbsh.in
smbwrapper/.cvsignore: added smbsh
configure.in: generate @builddir@
configure, include/stamp-h.in: regen
Makefile.in: new target `smbwrapper'; sped up directory creation
(This used to be commit 8f95ee8fc32d74f20cca489ecd3f7e34e773db2f)
|
|
(This used to be commit 9ba19d19ad348bc3be2fc9a2b7ac35b895c0d143)
|
|
(This used to be commit ee349bb329498e6f5852c1bf21c48563d076dc88)
|
|
(This used to be commit e5c7cabae4826bde819b94a48bc4674dcd69da21)
|
|
- cleaned up prototyping. Unfortunately we can't auto-prototype
wrapped.c because it replaces system functions.
- split stat functions into smbw_stat.c
(This used to be commit 04e92e692e49234df6fbbfd07a33b315ed62f0de)
|
|
were getting unwieldy
(This used to be commit a59d4e93da2cb2bb61a632ce85af0888a87a03e2)
|
|
on Linux 2.0 libc detects the lack of getdents in the kernel and used
opendir() etc. so we need to implement those ...
it would be needed for a port to others OSes anyway I suppose.
(This used to be commit e3fd861590dd27cc643c2d8d0cb5a5651c84d9ac)
|
|
(This used to be commit a42729dbf5414f54e5d623514533958c62ada5f6)
|
|
(This used to be commit d516ee383c287550a5953cf5ea1cd69cc957e1aa)
|
|
(This used to be commit ce748e5ea94380147a01de8235b343c7e2852bee)
|
|
(This used to be commit 2fbb544d38f7824dc6272517bded4be952b073b1)
|
|
implemented).
this is enough to be able to edit files using emacs on the smbwrapper
filesystem
(This used to be commit e5c3f36ef2e8fc0195d70b2f5db7d88d9ae4507a)
|
|
(This used to be commit b85d96144728e8a29c7c1114462e28bf3b144b80)
|
|
- added readlink support to smbwrapper
(This used to be commit 4b5217f996fbc1bb679992068c6c4fa28677c37e)
|
|
- added srvsvc client files
clientgen.c :
- replaced cli_error(cli, int *cls, int *err) with
cli_error(cli, uint8 cls, uint32 *err). this version detects
32 bit status messages. the DOS error "MORE_DATA", the
equivalent of the 32 bit *warning* 0x8000 0005
(STATUS_BUFFER_OVERFLOW), was being processed as an error,
terminating the cli_receive_trans() call.
cli_pipe.c :
- replaced calls that had been incorrectly modified from
32 bit warnings (0x8000 0005 - STATUS_BUFFER_OVERFLOW)
to 8 bit DOS errors (0x01 0xEA - MORE_DATA).
the use of the old version of cli_error (DOS only)
instead of the new one (DOS and 32 bit) caused the
dce/rpc client code to fail.
- replaced 2 space indentation with tab indentation in all functions.
cli_srvsvc.c :
cmd_srvsvc.c :
- added these files back in, fixing them up to use jeremy's
modified versions of the dce/rpc client functions.
parse_srv.c :
- added back in some "unused" functions required by dce/rpc
client-side code. it would be helpful if all such "unused"
functions could be added back in.
rpcclient.c :
- added "session", "file", "share", "connection" enumeration
functions back in. these are equivalent to nt's "NetXXXXXEnum"
Win32 (MSDN) functions.
- added "srvinfo" function back in. this is equivalent to
nt's NetServerGetInfo Win32 (MSDN) function.
(This used to be commit bcf39ffdcc64e049bca2d70a394a99976291e81d)
|
|
dosn't compile by default. You need to do "make smbwrapper/smbwrapper.so"
(This used to be commit 686182eb7140ade590c962bc8e09e895a22b3119)
|