| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
instead of opening pipes and other horrible stuff.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
should allow us to call a function in swat rather than piping to
smbpasswd.
while doing this I also fixed quite a few "const char *" versus "char *" issues
that cropped up while using const to track down bugs in the code. This
led to changes in several generic functions.
The smbpasswd changes should be correct but they have not been
extensively tested. At least if I have introduced bugs then we should
be able to fix them more easily than before.
|
|
|
|
| |
Jeremy.
|
|
|
|
| |
sorted lookupsids command
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
| |
and util_sock.c NOT included in Makefile.in.
registry commands added to rpcclient.
waiting for 2_0_0 split before committing modified files. these files
are new modules, and are not referenced in the Makefile.in
|
|
|
|
|
|
|
|
|
|
|
| |
libsmb/namequery.c: Fix to remove 2 second wait is we are doing a unicast
and got a reply.
smbd/dfree.c:
smbd/noquotas.c:
smbd/quotas.c: Fixes from Dejan Ilic <svedja@lysator.liu.se> for the quota
code.
utils/smbpasswd.c: Fixes to allow smbpasswd to be called from swat.
Jeremy.
|
|
|
|
|
|
|
|
|
| |
split some routines out of various places (e.g smbpass.c) because
they now get used in more than one location.
util_sid.c:
need sid_copy, compare, split rid, append rid etc etc...
|
|
|
|
|
| |
these are *not* going to be added into the Makefile.in yet
so they still also exist in util.c.
|
| |
|
|
|
|
| |
Chris -)-----
|
|
|
|
|
| |
annoying exception I'm still looking at :-).
Jeremy.
|
|
|
|
|
|
| |
Chris - feel free to fix these things differently if these fixes don't
work for you.
Jeremy.
|
| |
|
|
|
|
|
| |
the reason we don't return() here is that smb_panic() is used not just
for segv but also for detected errors (such as buffer overflows)
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
| |
* Debug message filtering.
* I need to add all this to Makefile.in
(If it looks at all strange I'll ask for help.)
If you want to compile debug2html, you'll need to do it by hand until I
make the changes to Makefile.in. Sorry.
Chris -)-----
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
easier to read.
lib/util.c: Fixed Luke's set_first_token() function - should return void.
smbd/close.c: Move delete_on_close into file_fd_struct structure.
smbd/ipc.c: Changed local_machine back to fstring.
smbd/nttrans.c: Use defines for mapping share modes.
smbd/open.c: Move delete_on_close into file_fd_struct structure, added code for ALLOW_SHARE_DELETE.
smbd/reply.c: Use defines for mapping share modes.
smbd/trans2.c: Move delete_on_close into file_fd_struct structure.
Jeremy.
|
| |
|
|
|
|
|
| |
for sid S-1-5-20 and does (nothing at the moment) if you query for
your own sid.
|
|
|
|
|
|
| |
put unicode strings after SAMLOGON query regardless of whether it's
an NT mailslot or a non-NT mailslot, after having observed this behaviour
out of NT machines.
|
|
|
|
|
| |
correctly trimming trailing multibyte code page strings.
Jeremy.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
smb.tgz file from my portable.
particularly the call to mem_data followed by a realloc of that data in
cli_pipe.c's rpc_read() function.
smbd responses now use p->rdata_i which is a faked-up pointer into
p->rdata's response data. rdata can be very long; rdata_i is limited
to point to no more than max_tsize - 0x18 in length. this will make
it an almost trivial task to add the encrypted rpc headers after
rdata_i, and mem_buf_copy will cope admirably with rhdr chained to
rdata_i chained to auth_verifier etc etc...
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- removed debug info in struni2 and unistr2 (security risk)
- rpc_pipe function was getting pointer to data then calling realloc *dur*
- password check function, the start of "credential checking",
user, wks, domain, pass as the credentials (not just user,pass which
is incorrect in a domain context)
- cli_write needs to return ssize_t not size_t, because total can be -1
if the write fails.
- fixed signed / unsigned warnings (how come i don't get those any more
when i compile with gcc???)
- nt password change added in smbd. yes, jeremy, i verified that the
SMBtrans2 version still works.
|
| |
|
|
|
|
|
| |
are *checked* :-).
Jeremy.
|
|
|
|
| |
Jeremy.
|
|
|
|
|
| |
have. Needed for server diagnosis purposes...
Jeremy.
|
|
|
|
|
| |
<francesco@aerre.it>. thanks!
http://www.aerre.it/francesco
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
http://www.ddj.com/ftp/1992/1992.05/crcman.zip.
copyright 1992 mark r nelson.
|
| |
|
|
|
|
| |
- ignore *.po32 files
|
| |
|
|
|
|
| |
possible and return the max.
|
| |
|
| |
|
|
|
|
| |
servers that we don't know the netbios name of.
|
|
|
|
|
|
| |
You can print using "cp filename /smb/SERVER/PRINTER/jobname"
You can list the current printqueue using ls
|
|
|
|
| |
file descriptor allocation order is identical to the kernels.
|
|
|
|
| |
filename
|