Discussion:
CVS update: samba/source/param
(too old to reply)
tridge at samba.anu.edu.au ()
2003-12-02 20:08:45 UTC
Permalink
Date: Sunday August 9, 1998 @ 21:24
Author: tridge

Update of /data/cvs/samba/source/param
In directory samba:/data/people/tridge/samba/samba/source/param

Added Files:
dummy.in
Log Message:
these dummy files are needed for autoconf processing
tridge at samba.anu.edu.au ()
2003-12-02 20:08:45 UTC
Permalink
Date: Sunday August 9, 1998 @ 21:25
Author: tridge

Update of /data/cvs/samba/source/param
In directory samba:/data/people/tridge/samba/samba/source/param

Added Files:
.cvsignore
Log Message:
added ignore rules for the dummy files
tridge at samba.anu.edu.au ()
2003-12-02 20:08:46 UTC
Permalink
Date: Monday August 10, 1998 @ 15:22
Author: tridge

Update of /data/cvs/samba/source/param
In directory samba:/tmp/cvs-serv20742

Modified Files:
loadparm.c
Log Message:
moved username.c into lib/ so we no longer $(PASSDB_OBJ) in most
utilities
tridge at samba.anu.edu.au ()
2003-12-02 20:08:47 UTC
Permalink
Date: Saturday August 15, 1998 @ 3:35
Author: tridge

Update of /data/cvs/samba/source/param
In directory samba:/tmp/cvs-serv21991

Modified Files:
loadparm.c
Log Message:
this is the bug change to using connection_struct* instead of cnum.
Connections[] is now a local array in server.c

I might have broken something with this change. In particular the
oplock code is suspect and some .dll files aren't being oplocked when
I expected them to be. I'll look at it after I've got some sleep.
tridge at samba.anu.edu.au ()
2003-12-02 20:08:49 UTC
Permalink
Date: Friday August 21, 1998 @ 21:37
Author: tridge

Update of /data/cvs/samba/source/param
In directory samba:/tmp/cvs-serv1809

Modified Files:
loadparm.c
Log Message:
added new smb.conf option "panic action". see my samba-technical
explanation.
jra at samba.anu.edu.au ()
2003-12-02 20:08:49 UTC
Permalink
Date: Tuesday August 25, 1998 @ 7:49
Author: jra

Update of /data/cvs/samba/source/param
In directory samba:/tmp/cvs-serv23364/param

Modified Files:
loadparm.c
Log Message:
Changed ASSERT macros to SMB_ASSERT macros as some systems already
have an ASSERT macro defined.
Jeremy.
tridge at samba.anu.edu.au ()
2003-12-02 20:08:49 UTC
Permalink
Date: Tuesday August 25, 1998 @ 16:40
Author: tridge

Update of /data/cvs/samba/source/param
In directory samba:/tmp/cvs-serv28189

Modified Files:
loadparm.c
Log Message:
changed the default permissions code to do this:

if ((sbuf->st_mode & S_IWUSR) == 0)
result |= aRONLY;

rather than the very complex user/group permissions checks we do
currently. This is equivalent ot setting "alternate permissions = yes"
in the old code. The change is motivated by three main reasons:

1) it's basically impossible to second guess whether a file is
writeable without trying to open it for writing. ACLs, root squash etc
just make it too hard.

2) setting it not RONLY if the owner can write is closer to what NT
does (eg. look at a cdrom - files are not marked read only).

3) it prevents the silly problem of copying files from a read only
share to a writeable share and then finding you can't write to them as
windows preserves the RONLY flag. Lots of people get bitten by this
when they drag a folder from a Samba drive. It also hurts some install
programs.

I have also added a new flag type for loadparm.c called
FLAG_DEPRECATED which I've set for "alternate permissions". I'll soon
add code to testparm to give a warning about deprecated options.
tridge at samba.anu.edu.au ()
2003-12-02 20:08:50 UTC
Permalink
Date: Wednesday August 26, 1998 @ 11:57
Author: tridge

Update of /data/cvs/samba/source/param
In directory samba:/tmp/cvs-serv25253

Modified Files:
loadparm.c
Log Message:
added a warning when loading a parameter that is deprecated
jra at samba.anu.edu.au ()
2003-12-02 20:08:50 UTC
Permalink
Date: Saturday August 29, 1998 @ 7:46
Author: jra

Update of /data/cvs/samba/source/param
In directory samba:/tmp/cvs-serv24611/param

Modified Files:
loadparm.c
Log Message:
This checking fixes the statcache bug that stopped NetBench from running
correctly. Added new parameter "stat cache size" - set to 50 by default.

I now declare the statcache code officially "open" for business :-).
It gets a hit rate of 97% with a NetBench run and seems to make
using a case insensitive run as efficient as a case sensitive run.

Also tidied up our sys_select usage - added a maxfd parameter and
also added an implementation of select in terms of poll(), for systems
where poll() is much faster. This is disabled by default.

Jeremy.
jra at samba.anu.edu.au ()
2003-12-02 20:08:52 UTC
Permalink
Date: Saturday September 5, 1998 @ 13:14
Author: jra

Update of /data/cvs/samba/source/param
In directory samba:/tmp/cvs-serv13242/param

Modified Files:
loadparm.c
Log Message:
Bugfix for leak in reference counted file struct.
Added "nt smb support" parameter to allow NT SMB's to be turned off.
Jeremy.
tridge at samba.anu.edu.au ()
2003-12-02 20:08:52 UTC
Permalink
Date: Saturday September 5, 1998 @ 15:03
Author: tridge

Update of /data/cvs/samba/source/param
In directory samba:/tmp/cvs-serv11223

Modified Files:
loadparm.c
Log Message:
tridge the destroyer returns!

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?
tridge at samba.anu.edu.au ()
2003-12-02 20:08:52 UTC
Permalink
Date: Sunday September 6, 1998 @ 11:37
Author: tridge

Update of /data/cvs/samba/source/param
In directory samba:/tmp/cvs-serv7035

Modified Files:
loadparm.c
Log Message:
add a "stat cache" boolean smb.conf option. (defaults to on)

I think we need this so we can rule out stat cache bugs when dealing
with bug reports. If we ask a user to disable the stat cache and the
problem persists then we know it isn't a stat cache bug. The stat
cache code is sufficiently complicated that it can be pretty hard to
tell if it is causing problems or not.
jra at samba.anu.edu.au ()
2003-12-02 20:08:52 UTC
Permalink
Date: Wednesday September 9, 1998 @ 5:21
Author: jra

Update of /data/cvs/samba/source/param
In directory samba:/tmp/cvs-serv1958/param

Modified Files:
loadparm.c
Log Message:
Added back groupname map stuff removed by Andrew's "slash 'n' burn"
tactics :-). Protected by #ifdef until used.

Fixed bug in fd_attempt_close() where a pointer to potentially
free'd memory was returned. I hate that.

Added "blocking locks" as a per-share option for performance testing.

Changed is_mangled() so it will return true if called with a pathname
and any component of the pathname was mangled (it was already attempting
to do this, but not checking for a '/' as end-of-mangle).

This should be a better fix for the wierd stat cache bug Andrew identified.

Jeremy.
jra at samba.anu.edu.au ()
2003-12-02 20:08:53 UTC
Permalink
Date: Friday September 18, 1998 @ 5:16
Author: jra

Update of /data/cvs/samba/source/param
In directory samba:/tmp/cvs-serv27142/param

Modified Files:
loadparm.c
Log Message:
configure configure.in: Added tests for fseek64 and ftell64.
config.h.in: Added fseek64 and ftell64.
includes.h: Added definition of SMB_BIG_INTEGER.
smb.h: Changed (*getsmbpwpos) and (*setsmbpwpos) to use SMB_BIG_INTEGER.
access.c: Tidyup of dbug statement.
system.c: Added sys_fseek and sys_ftell. Changed mode calls to use mode_t.
asyncdns.c: Tidyup of comment.
loadparm.c: Tidyup of set_default_server_announce_type() function definition.
ldap.c: Changed (*getsmbpwpos) and (*setsmbpwpos) to use SMB_BIG_INTEGER.
nispass.c: Changed (*getsmbpwpos) and (*setsmbpwpos) to use SMB_BIG_INTEGER.
smbpass.c: Changed (*getsmbpwpos) and (*setsmbpwpos) to use SMB_BIG_INTEGER.
smbpassfile.c: Use sys_fseek().
chgpasswd.c: Tidyup of debug statement.
dosmode.c: Changed mode calls to use mode_t.
ipc.c: Removal of dead code.
nttrans.c: Changed mode calls to use mode_t.
open.c: Changed mode calls to use mode_t.
pipes.c: Removal of dead code.
reply.c: Removal of dead code.
trans2.c: Removal of dead code. Changed mode calls to use mode_t.
Jeremy.
jra at samba.anu.edu.au ()
2003-12-02 20:08:53 UTC
Permalink
Date: Friday September 18, 1998 @ 9:06
Author: jra

Update of /data/cvs/samba/source/param
In directory samba:/tmp/cvs-serv13363/param

Modified Files:
loadparm.c
Log Message:
configure configure.in: Added checks for statvfs64. Last bit of 64 bit widening (I hope :-).
include/config.h.in: Added #undef STAT_STATVFS64.
include/includes.h: Added SMB_STRUCT_STATVFS type, Changed SMB_BIG_INTEGER to
SMB_BIG_UINT and SMB_BIG_INT types.
include/smb.h: Added flag defines from CIFS spec.
lib/debug.c: Fixed one more mode_t issue.
lib/system.c: Added sys_statvfs wrapper.
lib/util.c: Changed trim_string to use size_t.
param/loadparm.c: Moved "blocking locks" into locking section. Alphabetised
locking options. Question - shuld we do this for all options ?
passdb/ldap.c: Changed SMB_BIG_INTEGER to SMB_BIG_UINT.
passdb/nispass.c: Changed SMB_BIG_INTEGER to SMB_BIG_UINT.
passdb/smbpass.c: Changed SMB_BIG_INTEGER to SMB_BIG_UINT.
smbd/dfree.c: Changed to use 64 bit types if available. Moved to use unsigned
types.
smbd/dosmode.c: Fixed one more mode_t issue.
smbd/negprot.c: Changed literals to be FLAG_ #defines.
smbd/nttrans.c: Removed dead code.
smbd/open.c: Changed disk_free call.
smbd/process.c: Changed literals to be FLAG_ #defines.
smbd/reply.c: Changed disk_free call.
smbd/trans2.c: Fixed but in SMB_QUERY_FS_VOLUME_INFO call. Was using
UNICODE - should use ascii.
tests/summary.c: Added STAT_STATVFS64 check.
Jeremy.
jra at samba.anu.edu.au ()
2003-12-02 20:08:53 UTC
Permalink
Date: Saturday September 19, 1998 @ 3:50
Author: jra

Update of /data/cvs/samba/source/param
In directory samba:/tmp/cvs-serv16882/param

Modified Files:
loadparm.c
Log Message:
configure configure.in include/config.h.in include/includes.h

Fixed bugs in readline autoconf.

param/loadparm.c smbd/open.c smbd/oplock.c: Started on kernel oplock
code - checking forced by above issue. Should not be used
currently.

Jeremy.
tridge at samba.anu.edu.au ()
2003-12-02 20:08:54 UTC
Permalink
Date: Monday September 21, 1998 @ 1:40
Author: tridge

Update of /data/cvs/samba/source/param
In directory samba:/tmp/cvs-serv27

Modified Files:
loadparm.c
Log Message:
added a per-share parameter "fstype" that allows you to select the
filesystem type that will be reported to the client. If unspecified
then it defaults to FSTYPE_STRING (currently "Samba").

This is useful for cdroms where you want to set the fs type to CDFS.
oliva at samba.anu.edu.au ()
2003-12-02 20:08:54 UTC
Permalink
Date: Monday September 21, 1998 @ 19:07
Author: oliva

Update of /data/cvs/samba/source/param
In directory samba:/tmp/cvs-serv17619/source/param

Modified Files:
dummy.in
Log Message:
major autoconf clean-up
fix problems in builds with srcdir!=builddir
Luke Kenneth Casson Leighton
2003-12-02 20:08:54 UTC
Permalink
Post by tridge at samba.anu.edu.au ()
Author: tridge
Update of /data/cvs/samba/source/param
In directory samba:/tmp/cvs-serv27
loadparm.c
added a per-share parameter "fstype" that allows you to select the
filesystem type that will be reported to the client. If unspecified
then it defaults to FSTYPE_STRING (currently "Samba").
reporting "Samba" is the samba as reporting "FAT". the default should
really be "NTFS".

luke
jra at samba.anu.edu.au ()
2003-12-02 20:08:54 UTC
Permalink
Date: Wednesday September 23, 1998 @ 11:48
Author: jra

Update of /data/cvs/samba/source/param
In directory samba:/tmp/cvs-serv26346/param

Modified Files:
loadparm.c
Log Message:
First cut at kernel oplocks. This should have no effect unless runnin
on a machine that supports them in autoconf.

Move various functions out of lib/util.c into smbd/process.c
and smbd/oplock.c where they belong.

Jeremy.

Continue reading on narkive:
Loading...