]> git.ipfire.org Git - thirdparty/samba.git/log
thirdparty/samba.git
23 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)

23 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)

23 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)

23 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)

23 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)

23 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)

23 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)

23 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)

23 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)

23 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)

23 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)

23 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)

23 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)

23 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)

23 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)

23 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)

23 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)

23 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)

23 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)

23 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)

23 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)

23 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)

23 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)

23 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)

23 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)

23 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)

23 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)

23 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)

23 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)

23 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)

23 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)

23 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)

23 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)

23 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)

23 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)

23 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)

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

23 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)

23 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)

23 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)

23 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)

23 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 of transfer file code from 2.2, fix for readbraw.
Jeremy.
(This used to be commit c05e79453655abb67fd47a2d3dba88b4c5377e35)

23 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)

23 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)

23 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)

23 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)

23 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)

23 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)

23 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)

23 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)

23 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)

23 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)

23 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)

23 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)

23 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)

23 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)

23 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)

23 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)

23 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)

23 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)

23 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)

23 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)

23 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)

23 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)

23 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)

23 years agomerge from 2.2
Gerald Carter [Thu, 30 Aug 2001 05:54:41 +0000 (05:54 +0000)] 
merge from 2.2
(This used to be commit d31e1b63b5a13ec585da18971e85c9eaa941ed33)

23 years agomerge from 2.2
Gerald Carter [Thu, 30 Aug 2001 00:47:21 +0000 (00:47 +0000)] 
merge from 2.2
(This used to be commit 3e8ccb420260591f362fa8a9d1221481449f8ef7)

23 years agomerge from APPLIANCE_TNG
Gerald Carter [Thu, 30 Aug 2001 00:41:51 +0000 (00:41 +0000)] 
merge from APPLIANCE_TNG
(This used to be commit 2af0a65e4c56e9361ee03286edcf26b5926b39e4)

23 years agomerge from APPLIANCE_TNG
Gerald Carter [Thu, 30 Aug 2001 00:13:55 +0000 (00:13 +0000)] 
merge from APPLIANCE_TNG
(This used to be commit aff66993e47dc14371c15e75de11ff2c15d226f3)

23 years agoRenamed rwlock_t type to tdb_rwlock_t to avoid conflict with Solaris 8
Tim Potter [Wed, 29 Aug 2001 23:49:26 +0000 (23:49 +0000)] 
Renamed rwlock_t type to tdb_rwlock_t to avoid conflict with Solaris 8
header files.
(This used to be commit 888c852f01cec89b380fdf2564444b86d396c442)

23 years agoFix uninitialised variables. Spotted by "Esh, Andrew" <AEsh@tricord.com>
Tim Potter [Wed, 29 Aug 2001 22:47:59 +0000 (22:47 +0000)] 
Fix uninitialised variables.  Spotted by "Esh, Andrew" <AEsh@tricord.com>
(This used to be commit 9081af4fe584d222c00587d6d3c81e12d6611222)

23 years agoFuss, fuss, fuss...
Christopher R. Hertel [Wed, 29 Aug 2001 04:26:27 +0000 (04:26 +0000)] 
Fuss, fuss, fuss...

Function name_status_query() performs a node status query, so it really
should be called "node_status_query()" just to be consistent.

Yeah, minor... but it's looking as though an overhaul of namequery.c is in
order and I am trying to do the tiny changes that impact other stuff first.

Chris -)-----
(This used to be commit 3af2de7ed26e5a26a273be2dcd9c5565c586fe47)

23 years agoShould be dbgtext, not dbg_text.
Tim Potter [Wed, 29 Aug 2001 04:11:11 +0000 (04:11 +0000)] 
Should be dbgtext, not dbg_text.
(This used to be commit 7a68236c42acc72e500e120906230a637305f418)

23 years agoPatched to ensure that it won't break HEAD.
Christopher R. Hertel [Wed, 29 Aug 2001 03:30:52 +0000 (03:30 +0000)] 
Patched to ensure that it won't break HEAD.

This isn't the final version, of course, I still need to get WINS failover
working.  This is just patched so it won't need lp_wins_server() (which I
renamed to lp_wins_server_list()).

I can't compile just now as something else is broken in HEAD.  Let me know
if this version of namequery.c causes trouble down the line.  Shouldn't,
as the changes are very small, but I've been known to rock the boat
before.

Chris -)-----
(This used to be commit 29c6efc9564e51dc28e8434bdc86079c6502d73d)

23 years agolp_wins_server() is now lp_wins_server_list().
Christopher R. Hertel [Wed, 29 Aug 2001 02:49:14 +0000 (02:49 +0000)] 
lp_wins_server() is now lp_wins_server_list().

This should make it clear that the meaning of the parameter value has
changed.  It no longer represents *the* WINS server, but a list of WINS
servers.

I have made other changes in the code such that the lp_wins_server()
function is no longer necessary.  Whenever smb.conf is reloaded the list
managed by lib/wins_srv.c is refreshed.  The wins_srv_count() function
returns the number of entries in the list so, if the list is empty, it
will return 0 (which can be interpreted as "false" in an if() statement).

Chris -)-----
(This used to be commit 968c947e8bb35cf2441f3ebbb234429f5c1733c6)

23 years agoOuch ! I didn't think I would have to do that: add 2 new rap calls !
Jean-François Micouleau [Tue, 28 Aug 2001 16:05:55 +0000 (16:05 +0000)] 
Ouch ! I didn't think I would have to do that: add 2 new rap calls !

It's a quick and ugly hack as a proof of concept: the dell powervault 705
works with a samba PDC.

I'll do a correct user enumeration later.

J.F.
(This used to be commit 9ec6a8735682c7dfe9f8573f063da7625d425d8a)

23 years agoAdded additional objects to rpcclient for sam sync/repl support.
Tim Potter [Tue, 28 Aug 2001 06:46:28 +0000 (06:46 +0000)] 
Added additional objects to rpcclient for sam sync/repl support.

Added bin/samsync target.
(This used to be commit 9c8276dfec2872ed4250a84f48dbb60907aefc4b)

23 years agoStart of samsync program invoked by smbd to perform sam synchronisation and
Tim Potter [Tue, 28 Aug 2001 06:44:54 +0000 (06:44 +0000)] 
Start of samsync program invoked by smbd to perform sam synchronisation and
sam replication.  It doesn't work yet.  (-:
(This used to be commit c96aae613dfe97808dedffc836c5d4cc9ae52185)

23 years agoMerge of sam sync code from TNG.
Tim Potter [Tue, 28 Aug 2001 06:43:43 +0000 (06:43 +0000)] 
Merge of sam sync code from TNG.

Reverse-engineered the sam replication protocol from staring at hex dumps
for a while.  It's pretty similar to the sam sync protocol with a couple of
different delta header types.

I wasn't able to figure out the format of the privilege stuff - needs more
time and a whiteboard.  (-:

The impressive bit is that the sam sync stuff from tng basically just
worked thanks mainly to Luke Leighton's efforts in this area.
(This used to be commit 3a60cb44f22d5f3f8c78a56ed8f5ea4794cd7ab3)

23 years agoAdded samsync and samrepl (untested) message types to smbcontrol.
Tim Potter [Tue, 28 Aug 2001 06:38:11 +0000 (06:38 +0000)] 
Added samsync and samrepl (untested) message types to smbcontrol.
(This used to be commit b0c8090396ca02d06669d6e20a1c715fc83ff887)

23 years agoAdded dummy handlers for SAM_SYNC and SAM_REPL messages.
Tim Potter [Tue, 28 Aug 2001 06:34:53 +0000 (06:34 +0000)] 
Added dummy handlers for SAM_SYNC and SAM_REPL messages.
(This used to be commit 08e05f1b3c2d5767e8f8f0343fc0ea90c786eac0)

23 years agoSend a MSG_SMB_SAM_SYNC when a netlogon_ctrl2 message is received.
Tim Potter [Tue, 28 Aug 2001 06:34:08 +0000 (06:34 +0000)] 
Send a MSG_SMB_SAM_SYNC when a netlogon_ctrl2 message is received.
(This used to be commit 73e1b708d0ab7a6e612f8910c5815a6ab6de66cd)

23 years agoMerge of SAM delta type constants and BDC replication types from TNG.
Tim Potter [Tue, 28 Aug 2001 06:09:31 +0000 (06:09 +0000)] 
Merge of SAM delta type constants and BDC replication types from TNG.
(This used to be commit 73eeaadbe212989b5c1b2e494500e9618c3f3a5e)

23 years agoSend a MSG_SMB_SAM_REPL when a UAS/SAM change netlogon message is
Tim Potter [Tue, 28 Aug 2001 06:08:31 +0000 (06:08 +0000)] 
Send a MSG_SMB_SAM_REPL when a UAS/SAM change netlogon message is
received.
(This used to be commit b7cf14bf84a19da8a5b8fe9895ce78f138b5379c)

23 years agoAdded sam sync and sam replication smbd message constants.
Tim Potter [Tue, 28 Aug 2001 06:03:38 +0000 (06:03 +0000)] 
Added sam sync and sam replication smbd message constants.
(This used to be commit 406cafc0efebc9f331e810d651888b551725af1a)

23 years agoFixed typo in comment.
Tim Potter [Tue, 28 Aug 2001 06:02:51 +0000 (06:02 +0000)] 
Fixed typo in comment.
(This used to be commit b10ad789d6d412ef1d2e0d8b47fc233225861bf9)

23 years agoMerge from TNG - function to initialise NTTIME structure.
Tim Potter [Tue, 28 Aug 2001 06:02:18 +0000 (06:02 +0000)] 
Merge from TNG - function to initialise NTTIME structure.
(This used to be commit 14bc8283f26fb80633575e471de4a15a492113c6)

23 years agoAdded copyright header (taken from include/doserr.h)
Tim Potter [Tue, 28 Aug 2001 05:56:00 +0000 (05:56 +0000)] 
Added copyright header (taken from include/doserr.h)

Added include file guards.

Converted constants to hex - hooray!
(This used to be commit 21a394c749d0282cb6403ee6239efa1a6310abb0)

23 years agoFixed description in file header.
Tim Potter [Tue, 28 Aug 2001 05:35:05 +0000 (05:35 +0000)] 
Fixed description in file header.
(This used to be commit ed42dcf7846d487b73fc41c7b3f2feef8fd392e3)

23 years agoFix for make proto when srcdir != cwd.
Tim Potter [Tue, 28 Aug 2001 04:16:56 +0000 (04:16 +0000)] 
Fix for make proto when srcdir != cwd.
(This used to be commit e6c0fb75755240e0d14452e421d965617d761507)

23 years agofixed typo
Andrew Tridgell [Tue, 28 Aug 2001 01:28:01 +0000 (01:28 +0000)] 
fixed typo
(This used to be commit 2d1829dfd041336a587443435d8dccab365a2b56)

23 years agoConvert to NTSTATUS.
Tim Potter [Mon, 27 Aug 2001 21:32:54 +0000 (21:32 +0000)] 
Convert to NTSTATUS.
(This used to be commit 9e69f59d6c4ec4e0474c594ada3a05ecc2bc806b)

23 years agoFix bug in usage().
Tim Potter [Mon, 27 Aug 2001 21:32:06 +0000 (21:32 +0000)] 
Fix bug in usage().

Allow user to invoke with \\ or // in front of server name.
(This used to be commit c292b63ff60ca80c0f1804fbfb28d582c3308014)

23 years agoconverted another bunch of stuff to NTSTATUS
Andrew Tridgell [Mon, 27 Aug 2001 19:46:22 +0000 (19:46 +0000)] 
converted another bunch of stuff to NTSTATUS
(This used to be commit 1d36250e338ae0ff9fbbf86019809205dd97d05e)

23 years agonew logs use abbreviated month names. Add this to date conversion
Herb Lewis [Mon, 27 Aug 2001 18:24:04 +0000 (18:24 +0000)] 
new logs use abbreviated month names. Add this to date conversion
(This used to be commit 8021669b167053b5500f035c9c50d1327d73c232)

23 years agoforgot to commit the scanner code
Andrew Tridgell [Mon, 27 Aug 2001 18:01:05 +0000 (18:01 +0000)] 
forgot to commit the scanner code
(This used to be commit 591308f3881e44750b48602fd05362f1f5c6477a)

23 years agostarted converting NTSTATUS to be a structure on systems with gcc in order to make...
Andrew Tridgell [Mon, 27 Aug 2001 17:52:23 +0000 (17:52 +0000)] 
started converting NTSTATUS to be a structure on systems with gcc in order to make it type incompatible with BOOL so we catch errors sooner. This has already found a number of bugs
(This used to be commit 1b778bc7d22efff3f90dc450eb12baa1241cf68f)

23 years agoconverted smbd to use NTSTATUS by default
Andrew Tridgell [Mon, 27 Aug 2001 08:19:43 +0000 (08:19 +0000)] 
converted smbd to use NTSTATUS by default
major changes include:

- added NSTATUS type
- added automatic mapping between dos and nt error codes
- changed all ERROR() calls to ERROR_DOS() and many to ERROR_NT()
  these calls auto-translate to the client error code system
- got rid of the cached error code and the writebmpx code

We eventually will need to also:
- get rid of BOOL, so we don't lose error info
- replace all ERROR_DOS() calls with ERROR_NT() calls

but that is too much for one night
(This used to be commit 83d9896c1ea8be796192b51a4678c2a3b87f7518)

23 years agoAs per plug-fest discussions this paramater no longer defaults to the value
Andrew Bartlett [Mon, 27 Aug 2001 03:56:09 +0000 (03:56 +0000)] 
As per plug-fest discussions this paramater no longer defaults to the value
of add user script.
(This used to be commit 9e0c9a99f6ca01cd6a0ee3084f85e1c36b11d7c3)

23 years agoSpaces -> Tabs.
Jeremy Allison [Sun, 26 Aug 2001 20:05:33 +0000 (20:05 +0000)] 
Spaces -> Tabs.
Jeremy.
(This used to be commit 5b665122f5a785f858f75c0a3c181ae193e2c503)