| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
Added a function cli_set_port to clientgen.c
|
|
|
|
| |
Jeremy
|
|
|
|
|
|
| |
All others - added checks for the compiler understanding volatile and
the system having sig_atomic_t. Changed sighup code to use this.
Jeremy.
|
|
|
|
|
| |
were right Andrew :-).
Jeremy.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
changes are bzero -> memset as the compiler on HPUX is very picky about
bzero (probably a strange define).
The significant changes are in configure.in, to fix the HPUX shadow.h
problem and also move the large file support to the correct place.
passdb/pass_check.c: Added includes for KRB5, DCE and AFS if requested in autoconf.
tests/trapdoor.c: Fix to use setresuid and setresgid if defined.
The rest of the changes are bzero -> memset.
Jeremy.
|
|
|
|
|
|
|
|
|
| |
that still uses clientutil.c).
passdb/passdb.c: Changed dos_mkdir to mkdir. Changed fchmod to chmod for
some UNIX's that don't have fchmod.
passdb/smbpass.c: Added test for uid with leading '-'.
smbd/ipc.c: Added fix for invalid info level from Scott Moomaw <scott@bridgewater.edu>.
Jeremy.
|
|
|
|
|
|
|
|
|
| |
configure.in: Implemented andrej's private and swat file changes and SINIX changes.
client/smbmount.c: Head branch race condition fix.
lib/system.c: Fix compile for OS's that don't have shared mmap.
smbd/dfree.c: Fix compile for STAT_STATVFS64 as well as STAT_STATVFS.
utils/smbpasswd.c: Tidied up error messages.
Jeremy.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
to map filenames before accessing the UNIX filesystem.
The other changes are to make the code that previously allways called
the ambiguous functions (such as file_size(), that internally called
dos_to_unix()) to be unambiguous.
For example: file_size() becomes "dos_file_size()", that calls
dos_to_unix(), and file_size(), that does not.
It is now very explicit when we are calling a dos mapping call
and when we are not.
Also added string_to_sid unsigned fix by adding the strtoul from libg++
code into lib/replace.c and testing for strtoul in configure.in.
Jeremy.
|
|
|
|
|
| |
Added Andrew's all_string_sub changes.
Jeremy.
|
|
|
|
|
|
| |
Needed as in the 64 bit file spec new open types are needed on many OS's
to be able to seek past 32bits.
Jeremy.
|
|
|
|
| |
lowercase share names!)
|
| |
|
|
|
|
| |
- use * in clitar instead of *.*
|
|
|
|
|
| |
NT server needs '*'. Win95/98 doesn't care either way :-).
Jeremy.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
UNIXWARE.
groupdb/aliasdb.c groupdb/aliasfile.c groupdb/groupfile.c: Don't use snprinf, use slprintf.
include/includes.h: Fix YP problem.
include/smb.h: Fix ZERO_STRUCTP.
lib/util_sock.c: Added strerror() in debugs.
passdb/ldap.c: Don't use snprinf, use slprintf.
rpc_client/cli_lsarpc.c rpc_client/cli_pipe.c rpc_parse/parse_sec.c rpc_server/srv_pipe.c: Don't use snprinf, use slprintf.
script/installman.sh: DGUX changes.
smbd/open.c smbd/oplock.c: Fixed gcc warnings.
web/swat.c: Changes USER to SWAT_USER.
|
|
|
|
|
|
|
|
| |
before the mount was actually completed. This caused weird problems when
used with autofs such as empty directories on first listing or files which
would appear in "ls" but would return "no such file or directory" under
"ls -l". Note to Volker: Initial attempt from CIFS conference didn't work.
Had to move daemonize function inside of loop after ioctl.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
client/client.c:
include/client.h: Added some debug messages that the old client used to
generate. These are needed to make scripts such as
'findsmb' work - there may be other changes to keep
backwards output compatibility. Do we need a -old-client-compat
argument ?
libsmb/clientgen.c: Fixed crash bug where malloc'ed data wasn't being
cleared - corrupted malloc chains.
web/swat.c: John's changes to get rid of "ghost" table entries.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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?
|
|
|
|
|
|
| |
nmbd/nmbd.c: Someone (a "yank" no doubt :-) Changed instances of "initialise" to
"initialize". Someone get that man an *English* dictionary.... :-) :-).
Jeremy.
|
|
|
|
|
|
|
|
|
| |
reflects the real options. Removed '-S' option - couldn't see what
this was doing (seemed to have something to do with nt_domain_logon ?).
Luke please check if you needed this code (code is only #ifdef'ed out
and can be re-instated).
Did this to make writing of yodl smbclient man page possible :-).
Jeremy.
|
|
|
|
| |
don't seek unless absolutely necessary on files in do_put()
|
|
|
|
| |
do_get() call.
|
| |
|
| |
|
| |
|
|
|
|
| |
machine if WINSsupport configured
|
| |
|
|
|
|
|
|
| |
- cleaned up resolve_name() (split into separate functions for each resolver)
- if can't find local master then use #1B name
- support listing of foreign workgroups in /smb/
|
| |
|
| |
|
|
|
|
|
| |
Cleaned up a prototype warning message.
smbumount.c now compiles warning free.
|
|
|
|
| |
Jeremy.
|
|
|
|
| |
Jeremy
|
|
|
|
|
|
|
| |
uid_t, gid_t and vuid. Added sys_getgroups() to get
around the int * return problem. Set correct datatypes
for all uid, gid and vuid variables.
Jeremy.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
a WINS server if running on the WINS server. As suggested by
Andrew, we have a flag, in_client=False by default, and set it
to True in the client. loadparam.c checks this and sets
szWINSserver to 127.0.0.1 when in_client && bWINSsupport.
BTW, we seem to have picked up and unused value in some of
Luke's new code.
|
|
|
|
| |
Jeremy.
|
|
|
|
|
| |
These were the problems that still existed in the 2.0 branch.
Jeremy.
|
|
|
|
|
|
|
|
|
|
| |
Changes to get Samba to compile cleanly with the IRIX compiler
with the options : -fullwarn -woff 1209,1174 (the -woff options
are to turn off warnings about unused function parameters and
controlling loop expressions being constants).
Split prototype generation as we hit a limit in IRIX nawk.
Removed "." code in smbd/filename.c (yet again :-).
Jeremy.
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
dummy.in files are no longer needed, and new directories will be taken
care of automatically, at configure (or config.status --recheck) time
|
| |
|
|
|
|
|
|
| |
Now only two compilation warnings seem to be left.
Luke may want to check the changes I made.
|
|
|
|
|
|
| |
letting us change the date unless tar_real_noisy is True.
Also updated a few places where variables are declared but not set.
|
| |
|