kai/samba.git
22 years agoFixed typo.
Tim Potter [Wed, 12 Sep 2001 07:22:55 +0000 (07:22 +0000)]
Fixed typo.
(This used to be commit 2138c4461921b8ac3141231169af1eaa6e85f9ba)

22 years agoSome patches to authentication:
Tim Potter [Wed, 12 Sep 2001 06:39:50 +0000 (06:39 +0000)]
Some patches to authentication:

 - the usersupplied_info now contains a smb_username (as it comes across on
   the wire) and a unix_username (after being passed through mapping
   functions)

 - when doing security={server,domain} use the smb_username, otherwise use
   the unix_username
(This used to be commit d34fd8ec0716127c7a68eeb8e77d1ae8cc07b547)

22 years ago- enable MSDFS by default, there seems no reason not to have it enabled
Andrew Tridgell [Wed, 12 Sep 2001 03:08:51 +0000 (03:08 +0000)]
- enable MSDFS by default, there seems no reason not to have it enabled
  by default in Samba 3.x

- got rid of some unused parameters in Makefile.in

- declare DEBUGLEVEL in debug.h rather than in each file
(This used to be commit b8651acb9c0d7248a6a2e82c33b1e43633fd83fd)

22 years agoHmm - needs to be converted to pull/push unistr routines. But at least it
Tim Potter [Wed, 12 Sep 2001 01:15:24 +0000 (01:15 +0000)]
Hmm - needs to be converted to pull/push unistr routines.  But at least it
compiles now which should keep the build farm happy.
(This used to be commit 5686a2cfe874e8b30bcb2781fa4bfe7ae0cefb17)

22 years agoConverted DFS error returns to WERROR instead of uint32.
Tim Potter [Wed, 12 Sep 2001 01:14:03 +0000 (01:14 +0000)]
Converted DFS error returns to WERROR instead of uint32.
(This used to be commit 97286570ef6f9151b5fe0be32aa4b294e7db9ab8)

22 years agoMoved and renamed DFS error constants from include/rpc_dfs.h to doserr.h to
Tim Potter [Wed, 12 Sep 2001 01:11:43 +0000 (01:11 +0000)]
Moved and renamed DFS error constants from include/rpc_dfs.h to doserr.h to
fit in with new error reporting subsystem.
(This used to be commit dbfd50d447e4166a4233034885666d985ca6beb8)

22 years agoUpdate from sgml source.
Tim Potter [Tue, 11 Sep 2001 05:28:56 +0000 (05:28 +0000)]
Update from sgml source.
(This used to be commit e101e945b78fbe53b6bdcf6ddaa9355547af09fd)

22 years agoFixed some bad markup.
Tim Potter [Tue, 11 Sep 2001 05:26:44 +0000 (05:26 +0000)]
Fixed some bad markup.
(This used to be commit f66899965ea3d9677ba75dff56df2319b3e4b7c0)

22 years agoStandardised on 'var = value' when referencing smb.conf parameters, rather
Tim Potter [Tue, 11 Sep 2001 05:19:10 +0000 (05:19 +0000)]
Standardised on 'var = value' when referencing smb.conf parameters, rather
than 'var=value'.

Fixed up some dodgy quoting on the way.
(This used to be commit 0606c194d6e3aba0c1aac883fe04e0c6e9e9a578)

22 years agoTweak the building rules under Solaris with CC.
Richard Sharpe [Tue, 11 Sep 2001 04:29:25 +0000 (04:29 +0000)]
Tweak the building rules under Solaris with CC.
(This used to be commit d3758404d43b1b4be0b980a4fe078cab458e6d21)

22 years agoAdded a string for NT_STATUS_OK, m'kay?
Tim Potter [Tue, 11 Sep 2001 04:14:26 +0000 (04:14 +0000)]
Added a string for NT_STATUS_OK, m'kay?
(This used to be commit ff149308349fbf80399d9d541659f3c1d668306a)

22 years agoMake sure to commit configure
Richard Sharpe [Tue, 11 Sep 2001 03:11:06 +0000 (03:11 +0000)]
Make sure to commit configure
(This used to be commit a3f5139beb774163f811d9e68839742b4d938e87)

22 years agoSome small changes to configure to remove things like -X4 etc on compiles.
Richard Sharpe [Tue, 11 Sep 2001 03:10:29 +0000 (03:10 +0000)]
Some small changes to configure to remove things like -X4 etc on compiles.
(This used to be commit ec6c5da124bc0f090d8aef40247acd44aa2850f9)

22 years agofix typo
Herb Lewis [Tue, 11 Sep 2001 00:22:33 +0000 (00:22 +0000)]
fix typo
(This used to be commit 51795ca3509d9f1a076fae902211ebad02897c72)

22 years agoFix for second logic bug when handing oplock breaks and client messages
Jeremy Allison [Mon, 10 Sep 2001 23:03:14 +0000 (23:03 +0000)]
Fix for second logic bug when handing oplock breaks and client messages
simultaneously.
Jeremy.
(This used to be commit 227325b2d63dad55cbcda9608fba676fb6ce5584)

22 years agoleft out {
Herb Lewis [Mon, 10 Sep 2001 22:40:15 +0000 (22:40 +0000)]
left out {
(This used to be commit 70bd17473a2106ef41b5d921595ce537ec1871cb)

22 years agoprevent segv by not calling tdb_traverse and tdb_close if tdb_open_log
Herb Lewis [Mon, 10 Sep 2001 22:31:59 +0000 (22:31 +0000)]
prevent segv by not calling tdb_traverse and tdb_close if tdb_open_log
returns NULL.
(This used to be commit afdf93836b59d5d9ede2ac0f3298d99471872829)

22 years agocut-n-paste error
Gerald Carter [Mon, 10 Sep 2001 19:30:34 +0000 (19:30 +0000)]
cut-n-paste error
(This used to be commit b2ed211df0cad2013fd8ff67f48bf73962cc1d39)

22 years agomerge from APPLIANCE_HEAD
Gerald Carter [Mon, 10 Sep 2001 19:29:00 +0000 (19:29 +0000)]
merge from APPLIANCE_HEAD
(This used to be commit 55bd514c4576a273dac1ac5c37207a96b41f6572)

22 years agoconvert more code to use XFILE
Andrew Tridgell [Mon, 10 Sep 2001 13:09:54 +0000 (13:09 +0000)]
convert more code to use XFILE
(This used to be commit fd24265c06f6d2b636c1863941a33029dd9f3828)

22 years agoconvert more code to use XFILE
Andrew Tridgell [Mon, 10 Sep 2001 12:46:42 +0000 (12:46 +0000)]
convert more code to use XFILE
(This used to be commit fe6679dffba9a92bb35933ad52172c9be0e9ef90)

22 years agodeclare dbf in one spot
Andrew Tridgell [Mon, 10 Sep 2001 12:14:18 +0000 (12:14 +0000)]
declare dbf in one spot
(This used to be commit f41c3bb80f1e498a9d27f6e236b0ff3a742764c9)

22 years agomore static/dead fns
Andrew Tridgell [Mon, 10 Sep 2001 11:45:09 +0000 (11:45 +0000)]
more static/dead fns
(This used to be commit f59826c0c9ba283c25faeec2cbdc7e19cca7aa04)

22 years agokill a dead fn and make a local one static
Andrew Tridgell [Mon, 10 Sep 2001 11:34:32 +0000 (11:34 +0000)]
kill a dead fn and make a local one static
(This used to be commit 1e9815105e235ad1141b899b03d3de756d217d49)

22 years agomade a couple of local fns static
Andrew Tridgell [Mon, 10 Sep 2001 11:23:41 +0000 (11:23 +0000)]
made a couple of local fns static
(This used to be commit f0851202a852bed28fbd2446b44ce2b977ddacd8)

22 years agopassdb/smbpassfile ain't needed any more - it only provided migration from an ancient...
Andrew Tridgell [Mon, 10 Sep 2001 11:16:18 +0000 (11:16 +0000)]
passdb/smbpassfile ain't needed any more - it only provided migration from an ancient file format, not relevant for Samba 3.0
(This used to be commit 954adb630d7c41a45de3a0d656d03499e20727b6)

22 years agoadded xfile
Andrew Tridgell [Mon, 10 Sep 2001 11:09:36 +0000 (11:09 +0000)]
added xfile
(This used to be commit 7c2fe172c3322433571e73a0bef5c67168dd7c80)

22 years agoreplaced stdio in many parts of samba with a XFILE. XFILE is a cut-down
Andrew Tridgell [Mon, 10 Sep 2001 11:08:57 +0000 (11:08 +0000)]
replaced stdio in many parts of samba with a XFILE. XFILE is a cut-down
replacemnt of stdio that doesn't suffer from the 8-bit filedescriptor
limit that we hit with nasty consequences on some systems

I would eventually prefer us to have a configure test to see if we need
to replace stdio, but for now this code needs to be tested widely so
I'm enabling it by default.
(This used to be commit 1af8bf34f1caa3e7ec312d8109c07d32a945a448)

22 years agoMake sure that if there are no interfaces, name_register_wins does not
Richard Sharpe [Sun, 9 Sep 2001 09:59:33 +0000 (09:59 +0000)]
Make sure that if there are no interfaces, name_register_wins does not
segfault.
(This used to be commit a7842fac94a3f772da0e6ddf14044df24af798a9)

22 years agoTypo fix per Vance on IRC.
Christopher R. Hertel [Sun, 9 Sep 2001 04:21:12 +0000 (04:21 +0000)]
Typo fix per Vance on IRC.
(This used to be commit 6f388502622fe77ae13ac2b0ae8f39b2e77ba455)

22 years agofixed typo
Andrew Tridgell [Sun, 9 Sep 2001 03:18:23 +0000 (03:18 +0000)]
fixed typo
(This used to be commit 160906b57de8d1f8f76e716e0691223f743e07eb)

22 years agoremoved pointless parameter from readfile()
Andrew Tridgell [Sun, 9 Sep 2001 02:43:30 +0000 (02:43 +0000)]
removed pointless parameter from readfile()
(This used to be commit 0742342ec496bec7246e067280737cd507465b50)

22 years agofixed missing const on d_printf declaration
Andrew Tridgell [Sun, 9 Sep 2001 02:37:10 +0000 (02:37 +0000)]
fixed missing const on d_printf declaration
(This used to be commit 865e0507e6e6ad6a71d833c4f2a0f57362637719)

22 years agoconvert more code to using d_printf
Andrew Tridgell [Sat, 8 Sep 2001 02:59:23 +0000 (02:59 +0000)]
convert more code to using d_printf
(This used to be commit 60d297303488ed583537ca2853828fccd6da2ade)

22 years agoChange the description on --with-pam_smbpass to make it clearer - some peope
Andrew Bartlett [Fri, 7 Sep 2001 23:56:54 +0000 (23:56 +0000)]
Change the description on --with-pam_smbpass to make it clearer - some peope
seem to think you need this module for normal samba/PAM operation.

rerun autoconf
rerun autoheader

(Note that --with-pam_smbpass still doesn't build, but at least when it does
again only people who actually need it will select it).
(This used to be commit bbda3dd7422a434f19ca8968dab8f9f210254c2f)

22 years agoDon't fail if no owner/group owner set. Use existing owners.
Jeremy Allison [Fri, 7 Sep 2001 20:08:16 +0000 (20:08 +0000)]
Don't fail if no owner/group owner set. Use existing owners.
Jeremy.
(This used to be commit 9961c4c1a3b2dbf8d1062bc1fa103488c0d0ba79)

22 years ago#ifdef out function when not used.
Jeremy Allison [Fri, 7 Sep 2001 20:01:19 +0000 (20:01 +0000)]
#ifdef out function when not used.
Jeremy.
(This used to be commit fa8d626a2773569a454451e77ea56c707b33b69e)

22 years agoFixed paragraph about byte range locking. Jerry, could you make a pdf of this?
Volker Lendecke [Fri, 7 Sep 2001 15:35:26 +0000 (15:35 +0000)]
Fixed paragraph about byte range locking. Jerry, could you make a pdf of this?

Thanks,

Volker
(This used to be commit 3811b6a9eba8c5567b4df01c86cc4fe33b0a8079)

22 years agoadded "display charset" option in smb.conf, along with d_printf()
Andrew Tridgell [Fri, 7 Sep 2001 14:14:57 +0000 (14:14 +0000)]
added "display charset" option in smb.conf, along with d_printf()
which should now be used instead of DEBUG(0) or printf() for
interactive messages

I have only converted client.c to use d_printf(), and the code hasn't
had much testing yet. Eventually we want all interactive code to use
d_printf(), plus SWAT
(This used to be commit 266d8e67669adb329f25676c4bc4d4c50f223428)

22 years agoFix the 62bit locking onto 32 bit NFS mounts problem generically for HPUX.
Jeremy Allison [Thu, 6 Sep 2001 22:43:21 +0000 (22:43 +0000)]
Fix the 62bit locking onto 32 bit NFS mounts problem generically for HPUX.
Don. please check this out.
Jeremy.
(This used to be commit ce9f95996498f7795aaef069e1443ea1c7d524b3)

22 years agogot rid of USE_TDB_MMAP_FLAG as its not needed any more
Andrew Tridgell [Thu, 6 Sep 2001 22:08:19 +0000 (22:08 +0000)]
got rid of USE_TDB_MMAP_FLAG as its not needed any more
(This used to be commit c26e0d3f27a05ecc8bd2390f9aab7f9451524e47)

22 years agoFixed O(N^2) talloc loop when allocating printer name memory - fix from
Jeremy Allison [Thu, 6 Sep 2001 15:48:29 +0000 (15:48 +0000)]
Fixed O(N^2) talloc loop when allocating printer name memory - fix from
Richard Bollinger <rabollinger@home.com>.
Jeremy.
(This used to be commit 408c0595bbeafca87795e5278656471fbe0540e8)

22 years ago- fixed proto.h build on systems using a parallel make
Andrew Tridgell [Thu, 6 Sep 2001 10:37:21 +0000 (10:37 +0000)]
- fixed proto.h build on systems using a parallel make

- changed DENY1 and DENY2 tests to only report errors
(This used to be commit 9341e5534d0786e6ad7980e5fd1a0b35d77a2806)

22 years agoConverted to NTSTATUS return codes.
Tim Potter [Thu, 6 Sep 2001 09:15:57 +0000 (09:15 +0000)]
Converted to NTSTATUS return codes.

Started on producing smbpasswd output from user account information.
Doesn't work yet.

Added -U option so samsync can be run interactively.
(This used to be commit 842fcd94fa847f71d828a46b092f5837743ffcde)

22 years agoStarted a cleanup of smbpasswd related stuff. I've created a new file
Tim Potter [Thu, 6 Sep 2001 09:10:26 +0000 (09:10 +0000)]
Started a cleanup of smbpasswd related stuff.  I've created a new file
lib/smbpasswd.c which will contain routines related to manipulating
smbpasswd entries.

 - renamed and moved pdb_{get,set}hexpwd() functions
 - renamed and moved pdb_{decode,encode}acct_ctrl() functions
 - started hiding references to the cruftalicious
   NEW_PW_FORMAT_SPACE_PADDED_LEN constant
 - started gradual rename of references to acct_ctrl to acb_info which is
   the nomenclature used in MSDN and header files

There's still more work to be done.  Currently there are several places
where smbpasswd entries are iterated etc.  Ideally this should all happen
through the passdb system.
(This used to be commit 4a01e240305fb6fead973beef4937a016b15d744)

22 years agoRemoved 18 duplicate #undef entries.
Tim Potter [Thu, 6 Sep 2001 08:57:41 +0000 (08:57 +0000)]
Removed 18 duplicate #undef entries.
(This used to be commit 7a7b13940efbbf15dfcf45f89389e2728527f1e2)

22 years agoAnnotated definition of NEW_PW_FORMAT_SPACE_PADDED_LEN constant.
Tim Potter [Thu, 6 Sep 2001 08:56:30 +0000 (08:56 +0000)]
Annotated definition of NEW_PW_FORMAT_SPACE_PADDED_LEN constant.
(This used to be commit e3ec6197ede4a37113567c2ab406937c6ca80e9d)

22 years agoflush stdout in test logging fns
Andrew Tridgell [Thu, 6 Sep 2001 05:59:32 +0000 (05:59 +0000)]
flush stdout in test logging fns
(This used to be commit d32ac363a5b4c6978077b1d695c503e22c5782ca)

22 years agouse a different test tdb name for tdbtest and tdbtorture
Andrew Tridgell [Thu, 6 Sep 2001 05:58:05 +0000 (05:58 +0000)]
use a different test tdb name for tdbtest and tdbtorture
(This used to be commit 931bded1c92c812d6aae101a40f453c925054627)

22 years agoactually obey the "use mmap" smb.conf option
Andrew Tridgell [Thu, 6 Sep 2001 05:45:07 +0000 (05:45 +0000)]
actually obey the "use mmap" smb.conf option
(This used to be commit b36c98036bcbaa5545c9637cb632361122033cfd)

22 years agoLogon workstation checks from Toomas Soome <tsoome@ut.ee>
Tim Potter [Thu, 6 Sep 2001 05:24:37 +0000 (05:24 +0000)]
Logon workstation checks from Toomas Soome <tsoome@ut.ee>

Fixed compile warning.
(This used to be commit 3eee66516596835c70c8d652ca633d2e1158fbb7)

22 years agoenable strict locking by default. This will be slow, so now we just
Andrew Tridgell [Thu, 6 Sep 2001 01:22:17 +0000 (01:22 +0000)]
enable strict locking by default. This will be slow, so now we just
need to fiind a way to make it fast
(This used to be commit 42b147d1f26093c45110077a309c5e0d3010a28d)

22 years agoit turns out that XP agrees with the samba head branch over the right
Andrew Tridgell [Thu, 6 Sep 2001 01:21:09 +0000 (01:21 +0000)]
it turns out that XP agrees with the samba head branch over the right
error codes for locking, so fix the test rather than fixing samba
(This used to be commit a583af3c2f5d1962495a0f18b671e34d6ff43511)

22 years agouse NTSTATUS not BOOL in do_lock()
Andrew Tridgell [Thu, 6 Sep 2001 01:19:35 +0000 (01:19 +0000)]
use NTSTATUS not BOOL in do_lock()
(This used to be commit b1b2a5fa5d084dad8ae47777419ab75db1e51eff)

22 years agoRemoved unneeded set of delete on close in fsp->share_mode.
Jeremy Allison [Wed, 5 Sep 2001 23:34:41 +0000 (23:34 +0000)]
Removed unneeded set of delete on close in fsp->share_mode.
Jeremy.
(This used to be commit 7816f79075132350c910f75f9b757477a319bbae)

22 years agoFix I think for the fcntl spinning problem. Re-prioritize so
Jeremy Allison [Wed, 5 Sep 2001 22:45:48 +0000 (22:45 +0000)]
Fix I think for the fcntl spinning problem. Re-prioritize so
that oplock break messages get priority over incoming client messages.
Jeremy.
(This used to be commit 1779f6a223dad87c3b8451d09b9808b46495a8b6)

22 years ago2nd DELETE_ON_CLOSE_FLAG fix ...
Andrew Tridgell [Wed, 5 Sep 2001 21:39:43 +0000 (21:39 +0000)]
2nd DELETE_ON_CLOSE_FLAG fix ...

we set the DELETE_ON_CLOSE_FLAG on all share modes on the file, which
means the share mode in the fsp will not match the one in the tdb when
we come to close for other file handles, which means we end up with
share modes on files after all handles are closed

fixed by making the comparison function that says if two shares modes
are equal ignore the DELETE_ON_CLOSE_FLAG
(This used to be commit 7b39c4c59897669106d7129bad8af3d592d25838)

22 years agowhen you update the share mode in the db you must also update
Andrew Tridgell [Wed, 5 Sep 2001 21:13:58 +0000 (21:13 +0000)]
when you update the share mode in the db you must also update
fsp->share_mode otherwise the check to see if the fsp share mode
matches the one in the db will fail when you come to delete it,
thus leaving us with a share mode on a file that isn't even open!
(This used to be commit 2020738b889d8d508cf787e5c5d380af817b92f9)

22 years agofixed formatting to make the code vaguely readable. It's still a dogs
Andrew Tridgell [Wed, 5 Sep 2001 21:11:52 +0000 (21:11 +0000)]
fixed formatting to make the code vaguely readable. It's still a dogs
breakfast, but at least you can follow the indents
(This used to be commit 9955ea0aaa299c6c946b4e7b7e98017c39b60bc8)

22 years agoadd PROFILE_OBJ to nmbd now
Herb Lewis [Wed, 5 Sep 2001 20:06:33 +0000 (20:06 +0000)]
add PROFILE_OBJ to nmbd now
(This used to be commit 99b773217c001b8b89e72561f3ece46bb4ea553e)

22 years agomerge profile data changes from 2.2
Herb Lewis [Wed, 5 Sep 2001 18:43:55 +0000 (18:43 +0000)]
merge profile data changes from 2.2
(This used to be commit c105859304e93297fa29f346e9cbd1af0c95048b)

22 years agoalways include profile support so you do not need a different binary of
Herb Lewis [Wed, 5 Sep 2001 18:01:48 +0000 (18:01 +0000)]
always include profile support so you do not need a different binary of
smbstatus to dump profile stats.
(This used to be commit fc048955b8af05779992bc111f9bd690b8a8faf2)

22 years agoadd profiling stats from 2.2
Herb Lewis [Wed, 5 Sep 2001 17:58:24 +0000 (17:58 +0000)]
add profiling stats from 2.2
(This used to be commit 6c333e9d922b3a7443db829277b8a209cce2d350)

22 years agovariable name changed to --with-profiling-data
Herb Lewis [Wed, 5 Sep 2001 17:39:51 +0000 (17:39 +0000)]
variable name changed to --with-profiling-data
(This used to be commit 28fba1ba4883e5eaa97247e933da9311c53c41df)

22 years agoWhen sending a message via a tdb, it must be open read/write.
Jeremy Allison [Wed, 5 Sep 2001 17:23:51 +0000 (17:23 +0000)]
When sending a message via a tdb, it must be open read/write.
Jeremy.
(This used to be commit f35887c7d40ced750596b87bf37f7aae1df68c7a)

22 years agouse cli_is_error() instead of looking in smb_rcls, otherwise NT status
Andrew Tridgell [Wed, 5 Sep 2001 11:32:59 +0000 (11:32 +0000)]
use cli_is_error() instead of looking in smb_rcls, otherwise NT status
codes don't work correctly
(This used to be commit 55d5828e608671f070a9e96938be0d16d50aeb26)

22 years agoadded filename to error_packet()
Andrew Tridgell [Wed, 5 Sep 2001 10:18:58 +0000 (10:18 +0000)]
added filename to error_packet()
(This used to be commit 2c424788dec2fd6e44c243ea115d66689dfae6c0)

22 years agofixed some compilation errors in cli_netlogon.c - tim, you need to rerun configure...
Andrew Tridgell [Wed, 5 Sep 2001 08:54:04 +0000 (08:54 +0000)]
fixed some compilation errors in cli_netlogon.c - tim, you need to rerun configure to get the new NTSTATUS stuff right
(This used to be commit 9bae57cfe30825174536d11983bb3434498e3f03)

22 years agomore warning fixes on solaris
Andrew Tridgell [Wed, 5 Sep 2001 08:11:17 +0000 (08:11 +0000)]
more warning fixes on solaris
(This used to be commit c04c67fec85b1c81ef0b3cebacde304a1de0d854)

22 years agofixed a bunch of compilation errors on Solaris, mostly people getting NSS_STATUS...
Andrew Tridgell [Wed, 5 Sep 2001 07:55:54 +0000 (07:55 +0000)]
fixed a bunch of compilation errors on Solaris, mostly people getting NSS_STATUS and WINBINDD error codes mixed up
(This used to be commit 66698d6b841df809a8654012a8385bffacb9dc4a)

22 years agoMerged cli_net_req_chal() and cli_net_auth2() from rpc_client/cli_login.c
Tim Potter [Wed, 5 Sep 2001 04:46:21 +0000 (04:46 +0000)]
Merged cli_net_req_chal() and cli_net_auth2() from rpc_client/cli_login.c
except they are called new_cli_net_req_chal() and new_cli_net_auth2()
until they are working properly.
(This used to be commit 4ca085f253fc39de60115edc049e91d5c95735ef)

22 years agooh foo
Tim Potter [Wed, 5 Sep 2001 04:33:25 +0000 (04:33 +0000)]
oh foo
(This used to be commit 66c7bb9467c1acaf7e5b310a2ebc753f455b18c9)

22 years agoDon't crash if run with no command line arguments. (-:
Tim Potter [Wed, 5 Sep 2001 04:30:53 +0000 (04:30 +0000)]
Don't crash if run with no command line arguments.  (-:
(This used to be commit a46e9cc3a1a247fba8fe9b4cdfa16954071b4a35)

22 years agoNFS v2 can return ENOLCK when greater than 31 bit offsets are used.
Jeremy Allison [Wed, 5 Sep 2001 00:05:07 +0000 (00:05 +0000)]
NFS v2 can return ENOLCK when greater than 31 bit offsets are used.
Treat this the same as an EFBIG error.
Jeremy
(This used to be commit 8fad5177701c1738a7f5bdd7c0082ef23a00b876)

22 years agodon't do pointer arithmetic on void* (some compilers can't do it)
Andrew Tridgell [Tue, 4 Sep 2001 20:34:02 +0000 (20:34 +0000)]
don't do pointer arithmetic on void* (some compilers can't do it)
(This used to be commit c65e8db7ae765f844f8b0adb1e5de3651561ad96)

22 years agoFixes to ensure invalid vuids cannot stop oplock breaks.
Jeremy Allison [Tue, 4 Sep 2001 19:58:01 +0000 (19:58 +0000)]
Fixes to ensure invalid vuids cannot stop oplock breaks.
This may have bearing on the Solaris fcntl spin bug.
Jeremy.
(This used to be commit 0f676202529cbfead629d2c228b7d5abc2dff7d6)

22 years agoMerge of transfer file code from 2.2, fix for readbraw.
Jeremy Allison [Tue, 4 Sep 2001 19:10:30 +0000 (19:10 +0000)]
Merge ... transfer file code from 2.2, fix for readbraw.
Jeremy.
(This used to be commit c05e79453655abb67fd47a2d3dba88b4c5377e35)

22 years agofixed compilation of torture
Andrew Tridgell [Tue, 4 Sep 2001 11:52:42 +0000 (11:52 +0000)]
fixed compilation of torture
(This used to be commit aaf538a83057150cc35e9032aff7a78e8f0c4dc2)

22 years agocope with pam being off
Andrew Tridgell [Tue, 4 Sep 2001 11:39:57 +0000 (11:39 +0000)]
cope with pam being off
(This used to be commit 5f6e7bbce76c85571ee10a3f8b5bbbd0beadb632)

22 years agoa fix for fussy compilers
Andrew Tridgell [Tue, 4 Sep 2001 11:18:50 +0000 (11:18 +0000)]
a fix for fussy compilers
(This used to be commit 78f437b5073207606b23be42960e2b10f785a148)

22 years agoit now all compiles - so try enabling it by default and see what explodes on the...
Andrew Tridgell [Tue, 4 Sep 2001 10:57:29 +0000 (10:57 +0000)]
it now all compiles - so try enabling it by default and see what explodes on the build farm
(This used to be commit 5bb7e4f0f65edf1db20245f403cbe81833134240)

22 years agoDon't overwrite an existing /etc/xinetd.d/swat on install file since we
Tim Potter [Tue, 4 Sep 2001 07:43:50 +0000 (07:43 +0000)]
Don't overwrite an existing /etc/xinetd.d/swat on install file since we
don't overwrite it on upgrade.

Does this make sense?
(This used to be commit 90b3dccfd421bac6516c298f85fcccc857c57989)

22 years agoWelcome to tpot's exploit world!
Tim Potter [Tue, 4 Sep 2001 07:24:13 +0000 (07:24 +0000)]
Welcome to tpot's exploit world!

- put in checks for return values in rpc parsing routines

- replace a bunch of stupid &(foo->bar) with &foo->bar

- fixed bug in net_io_sam_alias_mem_info where there are zero members in
the alias
(This used to be commit eecdba2b015ed48d7dd88daea2af466f28cd2ff7)

22 years agothe next stage in the NTSTATUS/WERROR change. smbd and nmbd now compile, but the...
Andrew Tridgell [Tue, 4 Sep 2001 07:13:01 +0000 (07:13 +0000)]
the next stage in the NTSTATUS/WERROR change. smbd and nmbd now compile, but the client code still needs some work
(This used to be commit dcd6e735f709a9231860ceb9682db40ff26c9a66)

22 years agoFixed some compiler warnings.
Tim Potter [Tue, 4 Sep 2001 06:16:01 +0000 (06:16 +0000)]
Fixed some compiler warnings.
(This used to be commit 06608971ed95c02188a1b2bf7b1f9a2845e04022)

22 years agomore NTSTATUS/WERROR conversion
Andrew Tridgell [Mon, 3 Sep 2001 10:38:13 +0000 (10:38 +0000)]
more NTSTATUS/WERROR conversion
(This used to be commit ad648c5cd8ebe4be8304379117f403d7673dcbc8)

22 years agotidied up some unused vars in JFs new fns
Andrew Tridgell [Mon, 3 Sep 2001 08:54:24 +0000 (08:54 +0000)]
tidied up some unused vars in JFs new fns
(This used to be commit e26502b1f840cd0fafd700c9756b610b38709ce2)

22 years agothe next step in our error code handling change
Andrew Tridgell [Mon, 3 Sep 2001 08:50:59 +0000 (08:50 +0000)]
the next step in our error code handling change

- added WERROR for win32 error codes
- added a configure test for immediate structures

still lots to do, so its not enabled by default, but the main
structure is there
(This used to be commit 24f9ab683dec52587ee56717e821b49c0fa3d70f)

22 years agoupdated copyright for Michael Sweet
Andrew Tridgell [Sun, 2 Sep 2001 22:39:03 +0000 (22:39 +0000)]
updated copyright for Michael Sweet
(This used to be commit 9d53473f302f172c10854b8df3000552918d0637)

22 years agouse a name not a number for ERRinsufficientbuffer
Andrew Tridgell [Sat, 1 Sep 2001 23:08:08 +0000 (23:08 +0000)]
use a name not a number for ERRinsufficientbuffer
(This used to be commit 8e70666fccde1025d77e4db51b5b63e5142d98ec)

22 years agomore NTSTATUS changes
Andrew Tridgell [Sat, 1 Sep 2001 23:06:57 +0000 (23:06 +0000)]
more NTSTATUS changes
(This used to be commit 8a49b2f7df46b2c990a980758fe1f3871e8b578e)

22 years agoSet acb_info to ACB_SVRTRUST if we are joining the domain as a BDC without
Tim Potter [Fri, 31 Aug 2001 05:48:37 +0000 (05:48 +0000)]
Set acb_info to ACB_SVRTRUST if we are joining the domain as a BDC without
going through the server manager.
(This used to be commit 52f5abae4667d841be7ca8f5ff0f25ba6d027067)

22 years agoFix up some compile issues. We can't have C99 comments and add a smattering
Andrew Bartlett [Fri, 31 Aug 2001 03:38:48 +0000 (03:38 +0000)]
Fix up some compile issues.  We can't have C99 comments and add a smattering
of const.
(This used to be commit af53e774d754d72b01d9840e8b45d27bc394e33d)

22 years agoAdded samsync binary to list of ignored files.
Tim Potter [Fri, 31 Aug 2001 02:32:57 +0000 (02:32 +0000)]
Added samsync binary to list of ignored files.
(This used to be commit 604468c6eedfa7a8ac62800cf7cf73cbd969ae45)

22 years agochanged the data format in the tdb, as the time fields were not
Simo Sorce [Fri, 31 Aug 2001 01:29:53 +0000 (01:29 +0000)]
changed the data format in the tdb, as the time fields were not
managed correctly.
this mean you need to rebuild your passdb.tdb file.
(This used to be commit 57b8d3bb84e261e55febdde88e45684455f0a294)

22 years agoFix crash bug with indirecting through null pointer on recursive delete.
Jeremy Allison [Thu, 30 Aug 2001 22:20:02 +0000 (22:20 +0000)]
Fix crash bug with indirecting through null pointer on recursive delete.
Jeremy.
(This used to be commit a6f04d16613a06c1aafa89d7373d1e4b4a5fb45b)

22 years agoFixed silly typo.
Jeremy Allison [Thu, 30 Aug 2001 20:09:49 +0000 (20:09 +0000)]
Fixed silly typo.
Jeremy.
(This used to be commit 6ee2b41429e43f6a9a58eba3cb01b952be3d5ca5)

22 years agoFix from Paul Green to set correct lengths.
Jeremy Allison [Thu, 30 Aug 2001 19:16:56 +0000 (19:16 +0000)]
Fix from Paul Green to set correct lengths.
Jeremy.
(This used to be commit 52b9b6d519c38b2a3e524d098a09fb996e8a2047)

22 years agoif no ACL elements then use chmod - fixes ability to set read-only bit
Herb Lewis [Thu, 30 Aug 2001 18:56:35 +0000 (18:56 +0000)]
if no ACL elements then use chmod - fixes ability to set read-only bit
on files that do not have an ACL
(This used to be commit 65ea13420c78cf0a8c01f14c08815e4b44ca4abc)

22 years agothis was a stupid typo,
Simo Sorce [Thu, 30 Aug 2001 08:14:16 +0000 (08:14 +0000)]
this was a stupid typo,
thanks to Jochen Dolze (dolze@epcnet.de) for pointing out.
(This used to be commit a554d5a99a03e6e8df7e946e5636f5ee80b21969)