| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Andrew Bartlett
|
| |
|
|
|
|
| |
Jeremy.
|
|
|
|
|
| |
For some reason, explicitly setting the service type during the
tcon&X fixes this.
|
|
|
|
|
|
|
|
|
|
|
| |
type the client requested in the TCONX when connecting to IPC$.
It is very well possible that this also applies to the DISK and PRINTER
share types, not only IPC.
Found this while trying to join a HEAD domain from NT4SP6.
Volker
|
|
|
|
| |
Andrew Bartlett
|
|
|
|
|
|
| |
in the function prototype, and change callers to respect this.
Andrew Bartlett
|
|
|
|
|
|
| |
Allow a service longer than 4 characters in CORE tcon.
Andrew Bartlett
|
|
|
|
|
|
|
|
|
|
|
|
| |
reason, during a Win2003 installation, when you select 'domain join' it sends
one machine name in the name exchange, and litraly 'machinename' during the
NTLMSSP login.
Also fix up winbindd's logfile handling, so that it matches smbd and nmbd.
(This helps me, by seperating the logs by pid).
Andrew Bartlett
|
|
|
|
|
|
| |
for smb -> smb lock release). Adds new PENDING_LOCK type to lockdb
(does not interfere with existing locks).
Jeremy.
|
|
|
|
|
|
|
|
|
| |
becouse that is what it's input (reply_tcon_and_x) uses, and becouse we really
don't want supprises for service names.
Also remove a legacy #define, in favor of the lp_ equiv.
Andrew Bartlett
|
|
|
|
| |
Jeremy.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch makes Samba compile cleanly with -Wwrite-strings.
- That is, all string literals are marked as 'const'. These strings are
always read only, this just marks them as such for passing to other functions.
What is most supprising is that I didn't need to change more than a few lines of code (all
in 'net', which got a small cleanup of net.h and extern variables). The rest
is just adding a lot of 'const'.
As far as I can tell, I have not added any new warnings - apart from making all
of tdbutil.c's function const (so they warn for adding that const string to
struct).
Andrew Bartlett
|
| |
|
|
|
|
| |
Jeremy.
|
|
|
|
|
|
| |
jobid. This was causing Win9x client "set name" calls to fail.
Still need one cleanup fix to finish.
Jeremy.
|
|
|
|
|
| |
from the first call.
Jeremy.
|
|
|
|
| |
Jeremy.
|
|
|
|
|
|
|
|
|
|
| |
0x80000000 -> 0xFFFFFFFF would fail as they were being cast
from IVAL (uint32) to SMB_OFF_T (off_t or off64_t, both *signed* types).
The sign extension would cause the offset to be treated as negative.
Thanks to Herb for helping me track this one down (IRIX is good for large
file tests :-).
Jeremy.
PS. That horrid EXEXIST thing has broken configure.....
|
|
|
|
|
|
| |
check.
Andrew Bartlett
|
|
|
|
| |
Andrew Bartlett
|
|
|
|
|
|
| |
dashes of const. This is a rather large check-in, some things may break.
It does compile though :-).
Jeremy.
|
|
|
|
| |
Jeremy.
|
|
|
|
| |
Jeremy.
|
|
|
|
| |
Jeremy.
|
|
|
|
| |
Jeremy.
|
|
|
|
| |
Jeremy.
|
|
|
|
|
| |
then return ENOSYS and let the upper layer handle it.
Jeremy
|
|
|
|
|
|
|
|
| |
and doesn't actually call sendfile. Needs to be vectored through the
VFS and tested on all supported platforms (Solaris/HPUX/FreeBSD/Linux).
Linux doesn't actually work (2.4.19 kernel) at the moment because it
doesn't have a 64-bit clean sendfile.
Jeremy.
|
|
|
|
| |
Jeremy.
|
|
|
|
|
| |
pushing it onto the blocking queue.
Jeremy.
|
|
|
|
| |
Jeremy.
|
|
|
|
|
| |
dir listings. Added regression test in smbtorture (in HEAD) also.
Jeremy.
|
|
|
|
| |
Jeremy.
|
|
|
|
|
|
| |
sending broadcast messages. Also initial cut-down of printing notify
messages (not yet finished).
Jeremy.
|
|
|
|
| |
half second timout rounds to 1 not 0
|
| |
|
|
|
|
|
|
| |
the new accessor functions.
Andrew Bartlett
|
|
|
|
|
|
|
|
|
|
|
| |
future.
This moves us from fstrcpy() and global variables to 'get' and 'set' functions.
In particular, the 'set' function sainity-checks the input, in the same way as
we always have.
Andrew Bartlett
|
|
|
|
| |
Andrew Bartlett
|
|
|
|
|
|
|
|
|
|
|
|
| |
I don't like the idea of muliple netprots - becouse I see potential problems
with people being able to maniplate internal samba variables.
This applies in particular to remote names, so don't allow muliple session
requests either.
Also remove a pstrcpy() from the tcon code, we really don't need it.
Andrew Bartlett
|
|
|
|
|
|
| |
queueid in job number. This means we must have an internal tdb to store
mapping from 16 bit RAP jobid's to 32 bit RPC jobids.
Jeremy.
|
|
|
|
|
| |
pulling a string
this might explain a serious filename corruption bug that Quantum QA spotted
|
|
|
|
|
| |
changes its behaviour based on the negotiated protocol for the
SMBdskattr SMB
|
|
|
|
|
|
| |
mangling implementation, selectable using "mangling method = " in smb.conf
It also tidies the interface a little, although it is still nasty.
|
|
|
|
| |
Jeremy.
|
|
|
|
|
|
|
| |
Even for a hash/cache setup, this code needs some more work, in particular
it needs to use mangle_get_prefix() etc and to move to unicode internals.
Andrew Bartlett
|
|
|
|
|
| |
Forward ported some of the code tidyups from 2.2.
Jeremy.
|
|
|
|
| |
Jeremy.
|
|
|
|
|
| |
cases for rename and unlink. Had to add desired_access into the share mode record.
Jeremy.
|