Age | Commit message (Collapse) | Author | Files | Lines |
|
(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)
|
|
(This used to be commit 796475ad5ac2da409d1676d3ae6530654697028c)
|
|
ensure that bin exists when needed
(This used to be commit 87b3e4347a5a394471f0d4f34f093ec2195dfd4d)
|
|
(This used to be commit 90a8a02484a0897b053fd6531b7fec5d23098b6f)
|
|
1) Changes to smbmnt.c, smbmount.c, and smbumount.c allow them to compile on
both RedHat 4.x (libc 4.x) systems and RedHat 5.x (glibc 2) systems.
2) Changes to Makefile.in and configure.in (and subsequently configure) are to
configure for smbmount, smbumount, and smbmnt to compile.
This adds a "--with(out)-smbmount" option to configure. Sanity checking is
not present yet. You can specify this if you are not on linux, it just
won't compile.
(This used to be commit 8a4730f61923577b0bd9e09ef1a00538f7dfb0de)
|
|
dummy.in files are no longer needed, and new directories will be taken
care of automatically, at configure (or config.status --recheck) time
(This used to be commit 237a8e5fe62d757c04b8207cbbee4df1470cfe4e)
|
|
Jeremy.
(This used to be commit 548634915f21f774b7efb06f138c8fb7bc089daa)
|
|
Added $(PROGS) $(SPROGS) as targets for make clean.
acconfig.h: Added HAVE_IRIX_SPECIFIC_CAPABILITIES.
configure.in: Added sys/capability.h header check.
Added function checks for srandom random srand rand.
Added HAVE_IRIX_SPECIFIC_CAPABILITIES test.
includes.h: Added #include <sys/capability.h>.
ntdomain.h: Moved struct acct_info into here from smb.h
smb.h: Added KERNEL_OPLOCK_CAPABILITY define.
Moved enum action_type into rpcclient.h
Moved struct cli_state into client.h
Moved struct nt_client_info, struct tar_client_info, struct client_info
into rpcclient.h
lib/genrand.c: Changed to use sys_random() & friends.
lib/smbrun.c: Lose capabilities after fork.
lib/system.c: Added set_process_capability(), set_inherited_process_capability()
sys_random(), sys_srandom().
lib/util.c: Added Ander's EFBIG lock check to fcntl_lock for 64 bit access to an
32 bit mounted NFS filesystem.
nmbd/nmbd.c: Changed to use sys_random() & friends.
nmbd/nmbd_browsesync.c: Changed to use sys_random() & friends.
passdb/ldap.c: Missed one pdb_encode_acct_ctrl call.
passdb/passdb.c: Changed to Ander's code for ' ' characters.
passdb/smbpass.c: Added Ander's code to reset ACB_PWNOTREQ.
script/mkproto.awk: Added 'long' to prototypes.
smbd/chgpasswd.c: Lose capabilities after fork.
smbd/open.c: Do the mmap *after* the kernel oplock.
smbd/oplock.c: Removed stub code from kernel oplock path.
Added set_process_capability(), set_inherited_process_capability() calls.
smbd/reply.c: Initialize count = 0, offset = 0.
smbd/server.c: Added set_process_capability(), set_inherited_process_capability() calls.
tests/summary.c: Ensure we have RANDOM or RAND.
utils/smbpasswd.c: Added Ander's code to reset ACB_PWNOTREQ.
utils/torture.c: Changed to use sys_random() & friends.
Jeremy.
(This used to be commit e8be306f23963ac00b1a383ebe0cc1421529fb02)
|
|
automatically removed because they were "unused", would be appreciated.
(This used to be commit d0f7b0d915973ccb85409af3d6d951a716cd66d2)
|
|
(This used to be commit 8d23da91cbd74a45a5b030688fd89d88a25738dc)
|
|
(This used to be commit aa38f39d67fade4dfd7badb7a9b39c833a1dd1ca)
|
|
stand-alone macro, candidate for inclusion in the next release of autoconf)
create configure flag --enable-maintainer-mode, that enables automatic
rebuilding of configure from configure.in and aclocal.m4, and of
config.h.in based on acconfig.h. This assumes autoconf and autoheader
are available. Maintainer mode also introduces automatic dependency
tracking of include files, but it depends on features provided by gcc
and GNU make, so you must not enable maintainer mode if you are not
using any of these
(This used to be commit 64cba1cc8e689bcde2dc124c511da086c33fa4a8)
|
|
the user to remove config.cache
(This used to be commit f123172c42b1f9ac73e57856e4ee8715fdfb76cd)
|
|
- added config.cache to "make clean". We get two many bug reports from
people builing on multiple architectures who don't remove config.cache
between compiles. Hopefully a future version of autoconf will do
this automatically
- removed the targets that run autoconf and autoheader. There is far
too great a risk of a enduser getting a error "autoheader not found"
if the date on a file is changed. Samba developers will have to run
autoconf and autoheader manually (as before)
(This used to be commit 811fe3b174b9d7c57966491ab867637b82fff607)
|
|
(This used to be commit 9a5bdf5c1bef689fe0d6879949df869efbc34783)
|
|
fix problems in builds with srcdir!=builddir
(This used to be commit 1ffc3b807a3f80644c974b454ff5e6f68e89b546)
|
|
prompted by the interpret_security() dead code that Jean-Francois
pointed out I added a make target "finddead" that finds potentially
dead (ie. unused) code. It spat out 304 function names ...
I went through these are deleted many of them, making others static
(finddead also reports functions that are used only in the local
file).
in doing this I have almost certainly deleted some useful code. I may
have even prevented compilation with some compile options. I
apologise. I decided it was better to get rid of this code now and add
back the one or two functions that are needed than to keep all this
baggage.
So, if I have done a bit too much "destroying" then let me know. Keep
the swearing to a minimum :)
One bit I didn't do is the ubibt code. Chris, can you look at that?
Heaps of unused functions there. Can they be made static?
(This used to be commit 2204475c87f3024ea8fd1fbd7385b2def617a46f)
|
|
to work (not a lot of testing yet though).
Now we just need to deal with people worried about having more than
two nmbd processes sometimes. (the async processes are created on
demand for browse sync, so you'll only see more than 2 occasionally)
(This used to be commit a350a54680e4170e2adf571b010ea508e7291780)
|
|
(This used to be commit 268cbede0fd909da1cb5bbc964244456f32006a6)
|
|
include/includes.h: Added nterr.h.
locking/locking.c: Moved blocking lock code into smbd/blocking.c for link purposes.
smbd/close.c: Added blocking lock removal to file close.
smbd/filename.c: Tidied up unix_convert() so I could read it (:-) in preparation
for the stat_cache code.
smbd/nttrans.c: Added WRITE_ATTRIBUTES check.
smbd/reply.c: Fixed multibyte char problem in wildcard mask.
Jeremy.
(This used to be commit 148eaba3dadb1d0bd3ac3ef53da3d9811636e89a)
|