amitay/samba.git
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)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

22 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 ... SAM delta type constants and BDC replication types from TNG.
(This used to be commit 73eeaadbe212989b5c1b2e494500e9618c3f3a5e)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

22 years agoIgnore locks of length zero as they mean different things in Win32
Jeremy Allison [Sun, 26 Aug 2001 19:39:40 +0000 (19:39 +0000)]
Ignore locks of length zero as they mean different things in Win32
and POSIX.
Jeremy.
(This used to be commit bd9cbf4c6883c1a39f28db8afa7cc0bd04b1b09f)

22 years agoDon't use CLEAR_IF_FIRST if opening read-only.
Jeremy Allison [Sun, 26 Aug 2001 19:27:18 +0000 (19:27 +0000)]
Don't use CLEAR_IF_FIRST if opening read-only.
Jeremy.
(This used to be commit f5ba19c12989dd1e996473869468afcfc5dce72e)

22 years agobzero is not used (deprecated) as it's a BSDism.
Jeremy Allison [Sun, 26 Aug 2001 19:11:33 +0000 (19:11 +0000)]
bzero is not used (deprecated) as it's a BSDism.
Syscalls must check for -1, not < 0 (POSIX).
Formating (tab) fixups.
Jeremy.
(This used to be commit 7263949584a5e01fd5316770861a7550bd3f1155)

22 years agoChange default 'name resolve order' to WINS before DNS.
Volker Lendecke [Sun, 26 Aug 2001 18:26:40 +0000 (18:26 +0000)]
Change default 'name resolve order' to WINS before DNS.

Volker
(This used to be commit 5fc8c51983f36b0b2bbb2704a522026dc64d0b65)

22 years agoSame as nmbd.c. These now test wins_srv_count() instead of lp_wins_server
Christopher R. Hertel [Sun, 26 Aug 2001 06:43:39 +0000 (06:43 +0000)]
Same as nmbd.c.  These now test wins_srv_count() instead of lp_wins_server
to determine whether the 'wins server' parameter is set.
(This used to be commit 5b975d3a9cea39e9992a9b556b8a6d9d3ec14807)

22 years agoInstead of checking lp_wins_server() to see if a WINS server was specified,
Christopher R. Hertel [Sun, 26 Aug 2001 06:24:03 +0000 (06:24 +0000)]
Instead of checking lp_wins_server() to see if a WINS server was specified,
nmbd now calls wins_srv_count().  This returns the number of WINS servers
specified in the 'wins server' parameter.  The return value will be zero if
'wins server' is not specified.

Quick change to make room for WINS failover.
(This used to be commit 0777ebc04b838b6b9036a5d0a6e0565bb0a65d9f)

22 years agoSmall changes to get ready for adding WINS failover to smbd and clients.
Christopher R. Hertel [Sun, 26 Aug 2001 06:01:46 +0000 (06:01 +0000)]
Small changes to get ready for adding WINS failover to smbd and clients.
My plan is to change the lp_wins_server() function to lp_wins_server_list().
My reason being: With WINS failover the 'wins server' parameter may take a
list of WINS server names/IPs instead of just one.  If it's a list, then
calling lp_wins_server() won't give you what you expect (that is, a single
WINS server name or IP).  Instead, the functions in wins_srv.c should be
used.  You can get either the name or IP of the 'current' working WINS
server in the list.

Chris -)-----
(This used to be commit efaa9ef5e72c3748d97e43bba38a0ba47ff3438d)

22 years agofixed typo
Gerald Carter [Sun, 26 Aug 2001 05:13:49 +0000 (05:13 +0000)]
fixed typo
(This used to be commit 3b1454691b1164493f1bee58a3d2e5eed0aa898e)

22 years agoFussing with debug lines in open_socket_in(). I cleaned up some slightly
Christopher R. Hertel [Sun, 26 Aug 2001 04:16:51 +0000 (04:16 +0000)]
Fussing with debug lines in open_socket_in().  I cleaned up some slightly
funky code that was simply setting a local int to 0 or 1 and also added
calls to strerror() in some of the debug lines.

The use of the dlevel parameter in this function is a little awkward.
There should probably be some comments about it in the source.
(This used to be commit 3031e7acdc4eac99a736f45161dee9bf81c1cc87)

22 years agowe now have all but the dreaded 0/0 lock working
Andrew Tridgell [Fri, 24 Aug 2001 21:09:38 +0000 (21:09 +0000)]
we now have all but the dreaded 0/0 lock working
(This used to be commit 98b6aef18c793187f392f944af516c8b9ebf86e9)

22 years agotypo
Gerald Carter [Fri, 24 Aug 2001 20:34:57 +0000 (20:34 +0000)]
typo
(This used to be commit 11605ea38ac699cec0d0e84b94eca3d8df2e03a7)

22 years agoget rid of compiler warnings
Herb Lewis [Fri, 24 Aug 2001 20:32:01 +0000 (20:32 +0000)]
get rid of compiler warnings
(This used to be commit 0768991d04ea03e774ca8662c9cae5e1951b88e0)

22 years agoMore status32 conversions.
Tim Potter [Fri, 24 Aug 2001 20:31:00 +0000 (20:31 +0000)]
More status32 conversions.
(This used to be commit 031a19639ce862bd01c1a72d8b5ff21b0eae99d2)

22 years agoRe-added readbraw call to test with smbtorture. This code not yet
Jeremy Allison [Fri, 24 Aug 2001 20:20:08 +0000 (20:20 +0000)]
Re-added readbraw call to test with smbtorture. This code not yet
tested...
Jeremy.
(This used to be commit fe85a19b4b9db5910ad8259890f94c9496e1aebf)

22 years agofixed level2 find first for unisys clients
Andrew Tridgell [Fri, 24 Aug 2001 20:11:26 +0000 (20:11 +0000)]
fixed level2 find first for unisys clients
(This used to be commit cb8b21f71dbacc7ee658bef7011cd147fbe34101)

22 years agofixed handling of 139/445 in clients
Andrew Tridgell [Fri, 24 Aug 2001 20:11:09 +0000 (20:11 +0000)]
fixed handling of 139/445 in clients
(This used to be commit 22b372f8a7996a19bebb8cdb411df999cffa32a4)

22 years ago/tmp/cvsVTEaY5
Gerald Carter [Fri, 24 Aug 2001 19:58:28 +0000 (19:58 +0000)]
/tmp/cvsVTEaY5
(This used to be commit 55f222236f3a80b2e0b7a1ec278d90d5cf57459f)

22 years agoFixed debug in cli_establish_connection() - print out the called name on
Tim Potter [Fri, 24 Aug 2001 19:52:01 +0000 (19:52 +0000)]
Fixed debug in cli_establish_connection() - print out the called name on
connection failure rather than the calling name.
(This used to be commit 946f6eb9320c9897942adee8b513d8caaa3232c0)

22 years agotests for 0 length locks
Andrew Tridgell [Fri, 24 Aug 2001 19:34:11 +0000 (19:34 +0000)]
tests for 0 length locks
(This used to be commit 8fbd1d0f978a349ec4fcc0d34fca55314d3dec31)

22 years agoProcess the SAM/UAS change notification message.
Tim Potter [Fri, 24 Aug 2001 19:28:08 +0000 (19:28 +0000)]
Process the SAM/UAS change notification message.
(This used to be commit efcbcfaa48d36063c974c20692ee2c38d09d2216)

22 years agoOnly register the #1b name if we are ROLE_DOMAIN_PDC rather than
Tim Potter [Fri, 24 Aug 2001 19:21:40 +0000 (19:21 +0000)]
Only register the #1b name if we are ROLE_DOMAIN_PDC rather than
lp_domain_master()
(This used to be commit b8fe147430fbceff5da8853e5240d251f2671d0e)

22 years agofixes big endian unistring problems. Need to check that it didn't
Herb Lewis [Fri, 24 Aug 2001 19:17:43 +0000 (19:17 +0000)]
fixes big endian unistring problems.  Need to check that it didn't
break little-endian machines.
(This used to be commit 0f08e79030419b778c1229712c98b839faaf734f)

22 years agoMake domain_client_validate return a status code instead of a boolean.
Tim Potter [Fri, 24 Aug 2001 19:09:37 +0000 (19:09 +0000)]
Make domain_client_validate return a status code instead of a boolean.
(This used to be commit b4e79ab34b7df4687966f4ca81b575dce8503775)

22 years agoFixed incorrect debug.
Tim Potter [Fri, 24 Aug 2001 18:55:56 +0000 (18:55 +0000)]
Fixed incorrect debug.
(This used to be commit cec051cf5fb93d9f45eca3f9cf462f78a7d7040d)

22 years agoFixed typo in debug message.
Tim Potter [Fri, 24 Aug 2001 18:37:06 +0000 (18:37 +0000)]
Fixed typo in debug message.
(This used to be commit ea8c0a75affe56f8fbcb987cd6f8cdcd24e8a537)

22 years agoadd a comment to make the code more readable
Simo Sorce [Fri, 24 Aug 2001 18:29:37 +0000 (18:29 +0000)]
add a comment to make the code more readable
(This used to be commit d6a33722168c64eb948c52e303cfb1cd4cfda7f9)

22 years agoSet secure channel type depending on server role.
Tim Potter [Fri, 24 Aug 2001 17:15:54 +0000 (17:15 +0000)]
Set secure channel type depending on server role.
(This used to be commit 7d5440a7ae4ef46103192000a19f2e69ecf02f21)

22 years agofix missing )
Herb Lewis [Fri, 24 Aug 2001 14:34:23 +0000 (14:34 +0000)]
fix missing )
(This used to be commit f3bc6b5d68bdb01b07b9d780f5ba81c05e22f48c)

22 years agolet admins also abort a shutdown
Simo Sorce [Fri, 24 Aug 2001 07:51:59 +0000 (07:51 +0000)]
let admins also abort a shutdown
(This used to be commit 3b40ec4f149a8813c1d68f184858e2ddd605d8fd)

22 years agoFixed malloc -> talloc problems pointed out by Simo.
Jeremy Allison [Fri, 24 Aug 2001 07:32:51 +0000 (07:32 +0000)]
Fixed malloc -> talloc problems pointed out by Simo.
Jeremy
(This used to be commit 0f5b187387fb536a6866d9109eff82411798f79e)

22 years agoallow for 0 range locks in locktest
Andrew Tridgell [Fri, 24 Aug 2001 04:57:13 +0000 (04:57 +0000)]
allow for 0 range locks in locktest
(This used to be commit c3b2d959a7461cf6f9574716c8a7b915c078b311)

22 years agoflush on a invalid fsp should give an error
Andrew Tridgell [Fri, 24 Aug 2001 04:56:33 +0000 (04:56 +0000)]
flush on a invalid fsp should give an error
(This used to be commit ef5f4866fbbfa6be07cdc3e612a8899967d48289)

22 years ago0 byte lock ranges ARE valid
Andrew Tridgell [Fri, 24 Aug 2001 04:55:28 +0000 (04:55 +0000)]
0 byte lock ranges ARE valid
(This used to be commit 5498da6664a457e4d64502d37fa887dabd9baaa0)

22 years agofixed shortname length in trans2 list
Andrew Tridgell [Fri, 24 Aug 2001 04:53:39 +0000 (04:53 +0000)]
fixed shortname length in trans2 list
(This used to be commit ae669720d8f434a23397deaea3371998ab6f1f54)

22 years agoget rid of old debug code and possible socket leak
Herb Lewis [Fri, 24 Aug 2001 01:49:23 +0000 (01:49 +0000)]
get rid of old debug code and possible socket leak
(This used to be commit f942397d6515402be0c7c1085fc2e6d48eb6928f)

22 years agoFix W2K profiles writing to a Samba PDC. Thanks to Microsoft for their help !
Jeremy Allison [Thu, 23 Aug 2001 23:37:40 +0000 (23:37 +0000)]
Fix W2K profiles writing to a Samba PDC. Thanks to Microsoft for their help !
Jeremy.
(This used to be commit faae7512e059456db2450f878c435fd402839146)

22 years agoso let admins shutdown their samba servers remotely if they want :-)
Simo Sorce [Thu, 23 Aug 2001 23:25:34 +0000 (23:25 +0000)]
so let admins shutdown their samba servers remotely if they want :-)
(This used to be commit 6391fd7bdab07c83e9eed02e761db09918e60302)

22 years agomore minor torture updates
Andrew Tridgell [Thu, 23 Aug 2001 23:16:42 +0000 (23:16 +0000)]
more minor torture updates
(This used to be commit 6513b94d19adab8f94bbd8044338658242188e7a)

22 years agouse 32 bit locking if client doesn't do 64 bit
Andrew Tridgell [Thu, 23 Aug 2001 23:15:18 +0000 (23:15 +0000)]
use 32 bit locking if client doesn't do 64 bit
(This used to be commit 759ca19f3223c28e3e3478b4001251d2cb0fbfd6)

22 years agoSome W2k info.
Jeremy Allison [Thu, 23 Aug 2001 22:58:24 +0000 (22:58 +0000)]
Some W2k info.
Jeremy.
(This used to be commit 04478786c364585bf0263dc00343a25af6fa0a89)

22 years agomerge from 2.2
Gerald Carter [Thu, 23 Aug 2001 22:58:00 +0000 (22:58 +0000)]
merge from 2.2
(This used to be commit 97b5499def99016b4baf97343597f1b218a69399)

22 years agoFix to only send the status32 error for status32 clients, not to other
Andrew Bartlett [Thu, 23 Aug 2001 20:45:23 +0000 (20:45 +0000)]
Fix to only send the status32 error for status32 clients, not to other
nt_smb clients.  As spotted by Thursby.
(This used to be commit 22de76a920671614144babac9f589419532d8671)

22 years agoFixed detection of CUPS. We need to check for the presence of the cups
Tim Potter [Thu, 23 Aug 2001 19:06:20 +0000 (19:06 +0000)]
Fixed detection of CUPS.  We need to check for the presence of the cups
header files as well as libcups.
(This used to be commit 2dbb41a7b88e7fad63579111aaab4a1cd28c54d5)

22 years agoFix up some unused variables and functions, fix up formatting
Andrew Bartlett [Thu, 23 Aug 2001 18:13:56 +0000 (18:13 +0000)]
Fix up some unused variables  and functions, fix up formatting
(This used to be commit bfce4ba7b6db261d981a60a7e262f2f690355f5c)

22 years agocompile fix
Simo Sorce [Thu, 23 Aug 2001 18:12:47 +0000 (18:12 +0000)]
compile fix
(This used to be commit c53c5eca157aae3cb48da9ef0157c153a65307da)

22 years agoFix for filers sending -1 for the maximum read request length on the
Tim Potter [Thu, 23 Aug 2001 18:05:44 +0000 (18:05 +0000)]
Fix for filers sending -1 for the maximum read request length on the
LSA pipe.
(This used to be commit 95307a5d3881803e57639431da967ee3872aacc4)

22 years agobetter error reporting for servers that don't do port 445
Andrew Tridgell [Thu, 23 Aug 2001 16:25:57 +0000 (16:25 +0000)]
better error reporting for servers that don't do port 445
(This used to be commit a896dc299eba12886d800e6c88309d534232cabc)

22 years agothe beginnings of a TRANS2 scanner
Andrew Tridgell [Thu, 23 Aug 2001 16:24:29 +0000 (16:24 +0000)]
the beginnings of a TRANS2 scanner
(This used to be commit 9c483987a5d136bf23018ade6ceecf603f8f1614)