Age | Commit message (Collapse) | Author | Files | Lines |
|
fix some alloc leaks spotted by andreas moroder.
(This used to be commit 39409a20f69078709c63f6f867c042e66d5c7de3)
|
|
(This used to be commit 2d0922b0eabfdc0aaf1d0797482fef47ed7fde8e)
|
|
(This used to be commit a95943fde0ad89ae3f2deca2f7ba9cb5ab612b74)
|
|
many possible mem leaks, and segfaults fixed.
someone should port this fix to 2.2 also.
(This used to be commit fa8e55b8b465114ce209344965c1ca0333b84db9)
|
|
directories under /smb generated net share enum or net server enum calls.
For large networks this could result in bad performance. We now cache these
results and only call net * enums after the cache timeout has exceeded.
(This used to be commit 1e38eef54d729aeb7fe905b344cf1480c686a348)
|
|
(This used to be commit d7920a670b7706fc1d794edcfe6baacc5bb26403)
|
|
(This used to be commit d45e667a74fc2fcbf69c4819d480269c03dbfae4)
|
|
(This used to be commit d006e6adca0548dad334d871c5d440b1d32ac879)
|
|
to modifiy any routine that calls it to pass NULL and so forth.
Should have no impact. It compiles OK.
(This used to be commit 7f862e387f935a2125481338eee850afcb8d82ba)
|
|
smbw
(This used to be commit 8f97d59186ee3b52f623d30dfb7b195ec721ec0c)
|
|
(This used to be commit 453a822a76780063dff23526c35408866d0c0154)
|
|
(This used to be commit 57e025494692b1e54d4d83192e6c15d4d1454353)
|
|
- split sam_passwd and smb_passwd into separate higher-order function tables
- renamed struct smb_passwd's "smb_user" to "unix_user". added "nt_user"
plus user_rid, and added a "wrap" function in both sam_passwd and smb_passwd
password databases to fill in the blank entries that are not obtained
from whatever password database API instance is being used.
NOTE: whenever a struct smb_passwd or struct sam_passwd is used, it MUST
be initialised with pwdb_sam_init() or pwd_smb_init(), see chgpasswd.c
for the only example outside of the password database APIs i could find.
- added query_useraliases code to rpcclient.
- dealt with some nasty interdependencies involving non-smbd programs
and the password database API. this is still not satisfactorily
resolved completelely, but it's the best i can do for now.
- #ifdef'd out some password database options so that people don't
mistakenly set them unless they recompile to _use_ those options.
lots of debugging done, it's still not finished. the unix/NT uid/gid
and user-rid/group-rid issues are better, but not perfect. the "BUILTIN"
domain is still missing: users cannot be added to "BUILTIN" groups yet,
as we only have an "alias" db API and a "group" db API but not "builtin-alias"
db API...
(This used to be commit 5d5d7e4de7d1514ab87b07ede629de8aa00519a1)
|
|
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)
|
|
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)
|
|
(This used to be commit 252fe1e7014b2bf79a3abfa52fb77db9129074c7)
|
|
(This used to be commit 72bce217ef474f056d8f6675667ec78d1772ff37)
|
|
(This used to be commit 6121f7c8c2d63fd12266327a6f2ac9a5e717dccc)
|
|
(This used to be commit fda52c6fd1ff0c46948bff7156742dab1dd1eacd)
|
|
includes.h in wrapped.c, thus making porting much simpler
(This used to be commit 6f2239c935fdecfefa89227c113df01e3957691a)
|
|
(This used to be commit a5c18f9c82f5f76b00ff29c5668b4f0d3e8d6bd0)
|
|
in a fork we have to close all server connections otherwise we can end
up with two processes writing to the same socket.
(This used to be commit b7ecbca3aff34ff06a445e5ee39efba48261b7e8)
|
|
(This used to be commit 2f4506a33c7015f2a176929d794c6c40f1433591)
|
|
of smb filesystem)
fixed "cd /smb" bug
updated README with full list of environment variables.
(This used to be commit 71acf338d721b106af8d80e7b3a6f318ab75da8b)
|
|
- fixed a chdir bug
(This used to be commit 80d1c5118abaa99fe0f1c9d2089a81c9953cebad)
|
|
get smbsh working with the normal sun compiler
(This used to be commit c6ee915336e1533e1f4f10f14b3d57de01f8fe96)
|
|
(This used to be commit 6a1b346d98c10688f0995a6ab8fd155a77ead258)
|
|
recursion)
(This used to be commit 8d74f7bfdc217e95a7e300d06c3bf4e8d4877a6a)
|
|
(This used to be commit e5c7cabae4826bde819b94a48bc4674dcd69da21)
|
|
it will list all servers in your workgroup. You can set your workgroup
with the SMBW_WORKGROUP environment variable.
(This used to be commit 64699810e2d94e8648a0a3341b1cc826d4e8bfd9)
|
|
You can print using "cp filename /smb/SERVER/PRINTER/jobname"
You can list the current printqueue using ls
(This used to be commit 080fb61b69620e26e8122705383dc2bd0468a519)
|
|
read/write requests for large reads. up to max_mux requests may be
outstanding. This gives _much_ better throughput and should allow
smbsh to saturate just about any network.
this is an implementation of the "fast SMB" method I described on the
CIFS list a couple of months back.
(This used to be commit c728d1c5d6e4626d2f8e318eab4df32acc8cb505)
|
|
file descriptor allocation order is identical to the kernels.
(This used to be commit 60a683465647932f7241ba9f92443d5e5294e20b)
|
|
- 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)
|
|
- fixed a bug in the handling of multiple connections to different
servers
(This used to be commit a9f9d8c3d8c18a5ab4c18c1348ee9c8d643880fa)
|