jra/samba/.git
17 years agoAlso show $tree in diagnostics.
Martin Pool [Mon, 19 Nov 2001 08:27:32 +0000 (08:27 +0000)]
Also show $tree in diagnostics.
(This used to be commit af65a01d0d80a86f405439ed5c46cf71026a5eb8)

17 years agoMake the smbpasswd options/usage message a little less bizarre: it now
Martin Pool [Mon, 19 Nov 2001 08:12:06 +0000 (08:12 +0000)]
Make the smbpasswd options/usage message a little less bizarre: it now
shows all the available options, but explains that you must be root to
use them.  Surely this is less confusing?
(This used to be commit 19f5f813995d1cf3874df705ab5e71aa5eb14ae6)

17 years agoDo satyr work against a copy of the build farm scripts so as not to
Martin Pool [Mon, 19 Nov 2001 08:00:55 +0000 (08:00 +0000)]
Do satyr work against a copy of the build farm scripts so as not to
break them.

installcheck has to find smbd in SBINDIR, not BINDIR.
(This used to be commit 1be6139e148d752ec3619468ee1cca7f61ee16e1)

17 years agoFix typo.
Martin Pool [Mon, 19 Nov 2001 07:39:35 +0000 (07:39 +0000)]
Fix typo.
(This used to be commit 2c1e68d4ce45c7862fbc79a83eb36ee5b077251e)

17 years agoMove all other paths into dynconfig
Martin Pool [Mon, 19 Nov 2001 05:49:20 +0000 (05:49 +0000)]
Move all other paths into dynconfig
(This used to be commit d51ef6bfa3d194b58c3ee7706a7d475ef042676d)

17 years agoMerge from 2.2.
Tim Potter [Mon, 19 Nov 2001 05:23:59 +0000 (05:23 +0000)]
Merge from 2.2.
(This used to be commit ebd46aebf921c0026791ffb0afdcffaecb496e8c)

17 years agoCosmetic fix for debug statement.
Tim Potter [Mon, 19 Nov 2001 04:35:00 +0000 (04:35 +0000)]
Cosmetic fix for debug statement.
(This used to be commit 507ef80f48a8fca762e41be5cdb80ce86544da3f)

17 years agoFix obvious typo.
Martin Pool [Mon, 19 Nov 2001 04:29:24 +0000 (04:29 +0000)]
Fix obvious typo.
(This used to be commit d761a3860ba7b11b446d3a9865ddfeff8e2f658d)

17 years agoDon't resolve the hostname in smbd as we can pause for a long time while
Tim Potter [Mon, 19 Nov 2001 04:27:39 +0000 (04:27 +0000)]
Don't resolve the hostname in smbd as we can pause for a long time while
waiting for DNS timeouts to occur.  The correct place to do this is in the
code that displays the session information.
(This used to be commit 2e89165f22d9e9c1fa749ae54957d0ec84a1497d)

17 years agoDetect libreadline>=4.0, and set HAVE_NEW_LIBREADLINE. At the moment
Martin Pool [Mon, 19 Nov 2001 04:18:45 +0000 (04:18 +0000)]
Detect libreadline>=4.0, and set HAVE_NEW_LIBREADLINE.  At the moment
this is only to get the cast right, but it might help with other parts
of the API that changed later.
(This used to be commit b792c9317ab62fe407de34ed811cc883a7652cc4)

17 years agoIgnore .po files.
Martin Pool [Mon, 19 Nov 2001 04:13:47 +0000 (04:13 +0000)]
Ignore .po files.
(This used to be commit 4b7c0c9928f649887edc4aac093cb0cfbf51ef4a)

17 years agodyn_LOCKDIR should be const because it's never modified directly --
Martin Pool [Mon, 19 Nov 2001 03:52:09 +0000 (03:52 +0000)]
dyn_LOCKDIR should be const because it's never modified directly --
it's just copied in to the parameter table and optionally overridden
there.
(This used to be commit 988fe772a39e08dec738b045021cd6e06b4e59c8)

17 years agoAdded comment about why not to cast the assignment of
Tim Potter [Mon, 19 Nov 2001 03:44:19 +0000 (03:44 +0000)]
Added comment about why not to cast the assignment of
rl_attempted_completion_function to rl_completion_function_t.
(This used to be commit dfaafcd6221412613f9e4eccdaaa2e84253def81)

17 years agooopsum.
Martin Pool [Mon, 19 Nov 2001 03:38:57 +0000 (03:38 +0000)]
oopsum.
(This used to be commit 9b6667aa19c479fb27f557ca24129592bf94cbb7)

17 years agoLIBDIR and LOCKDIR are dynamically configured too.
Martin Pool [Mon, 19 Nov 2001 03:35:27 +0000 (03:35 +0000)]
LIBDIR and LOCKDIR are dynamically configured too.
(This used to be commit 868999ad3c82ad72f11d5b3208b0e42b1ed95096)

17 years agoOops, Tim says rl_completion_func_t doesn't exist in all versions of
Martin Pool [Mon, 19 Nov 2001 03:34:45 +0000 (03:34 +0000)]
Oops, Tim says rl_completion_func_t doesn't exist in all versions of
readline.
(This used to be commit c4b44cfc3f15f9e85a36981867e534792ccb724e)

17 years agoLMHOSTSFILE is now dynamically configured too.
Martin Pool [Mon, 19 Nov 2001 03:12:10 +0000 (03:12 +0000)]
LMHOSTSFILE is now dynamically configured too.
(This used to be commit a779710fff5fddcbf65a8ddc8e9169b586b85481)

17 years agoQuieten compiler warnings about a callback function prototype that has
Martin Pool [Mon, 19 Nov 2001 03:11:28 +0000 (03:11 +0000)]
Quieten compiler warnings about a callback function prototype that has
changed in recent versions of Readline.
(This used to be commit d0a0d27caa04029a814d942e35fb5382bb9a492c)

17 years agoDisable "installcheck" -- it's still too likely to clobber somebody's
Martin Pool [Mon, 19 Nov 2001 02:52:33 +0000 (02:52 +0000)]
Disable "installcheck" -- it's still too likely to clobber somebody's
installation.
(This used to be commit 10022753d1d7114eadbe5a83183a6176eff1d7ff)

17 years agoStore some path names in global variables initialized to configure
Martin Pool [Mon, 19 Nov 2001 02:49:53 +0000 (02:49 +0000)]
Store some path names in global variables initialized to configure
default, rather than in preprocessor macros.
(This used to be commit 79ec88f0da40faebe1e587f1b3e87b5f2b184f58)

17 years agoFix const warning. Doxyfy comment.
Martin Pool [Mon, 19 Nov 2001 02:48:23 +0000 (02:48 +0000)]
Fix const warning.  Doxyfy comment.
(This used to be commit 91e07a7fdc47b2baf42fc06e77d1e1d883111668)

17 years agoIgnore *.po objects, test tmpdirs, and ID files.
Martin Pool [Mon, 19 Nov 2001 02:46:48 +0000 (02:46 +0000)]
Ignore *.po objects, test tmpdirs, and ID files.
(This used to be commit cdad7ad8691e98e69742e829aa21140161ffb245)

17 years agoSource file defining global variables for configuration paths. This
Martin Pool [Mon, 19 Nov 2001 02:24:05 +0000 (02:24 +0000)]
Source file defining global variables for configuration paths.  This
has two purposes:

 - If ./configure is re-run to configure Samba for a new set of path
   or prefix, then when Samba is re-built it really will use the new
   paths.

 - This is a step towards making sure all programs can be consistently
   told to use a different configuration file or prefix directory,
   which is required for testing.  Possibly not true at the moment.
(This used to be commit f54c64babd31abf9f5bbf960316d4b9502b9477d)

17 years agofixed some bugs.
Simo Sorce [Sun, 18 Nov 2001 16:12:11 +0000 (16:12 +0000)]
fixed some bugs.
(This used to be commit 37edaeddce09193450b18b1b85aa41960cb39741)

17 years agoFix problems with lp_workgroup() being passed to routines that will modify
Richard Sharpe [Sat, 17 Nov 2001 07:30:19 +0000 (07:30 +0000)]
Fix problems with lp_workgroup() being passed to routines that will modify
it and fix smb://<IP-addr>.
(This used to be commit ac2562a0fb7eafd94d53a2c36d33e8f5236d60ff)

17 years agoTidyups when I was doing the big merge...
Jeremy Allison [Sat, 17 Nov 2001 03:19:17 +0000 (03:19 +0000)]
Tidyups when I was doing the big merge...
Jeremy.
(This used to be commit 9148bb9eaa67de60c3b0b4709a9c05a840c20c66)

17 years agoFixed detection of RedHat headers. Removed another file !
Jeremy Allison [Fri, 16 Nov 2001 23:22:49 +0000 (23:22 +0000)]
Fixed detection of RedHat headers. Removed another file !
Jeremy.
(This used to be commit d70674312d8b98367ccdbbc12fe880f9f539d258)

17 years agoRemoved SMBD_RPC_CLIENT_OBJ temporary I was using.
Jeremy Allison [Fri, 16 Nov 2001 18:54:26 +0000 (18:54 +0000)]
Removed SMBD_RPC_CLIENT_OBJ temporary I was using.
Jeremy.
(This used to be commit c17bfe7c365de19193dcf9ace8728866e344d7aa)

17 years agoI *love* removing code :-). Removed 4 files that weren't being used.
Jeremy Allison [Fri, 16 Nov 2001 18:32:32 +0000 (18:32 +0000)]
I *love* removing code :-). Removed 4 files that weren't being used.
All this stuff was being pulled in due to *one* unneeded call to
fetch a domain SID which smbpasswd already puts in the database...
Jeremy.
(This used to be commit 6bf2505cce7db770fd4db5b19999a78588e96b58)

17 years agoMake CodingSuggestions show up in the Doxygen pages.
Martin Pool [Fri, 16 Nov 2001 07:28:23 +0000 (07:28 +0000)]
Make CodingSuggestions show up in the Doxygen pages.
(This used to be commit b3e34ad3207f53310b2d59c07a4cec765a0f81bf)

17 years agoIgnore generated HTML and mkid output.
Martin Pool [Fri, 16 Nov 2001 07:04:27 +0000 (07:04 +0000)]
Ignore generated HTML and mkid output.
(This used to be commit 03e489a405a81bd70534ad7c0e2f424436e1c683)

17 years agoTidyups in the merge process.
Jeremy Allison [Thu, 15 Nov 2001 21:50:29 +0000 (21:50 +0000)]
Tidyups in the merge process.
Jeremy.
(This used to be commit a7b45bfb713adaaad0dca3dc13139ee5a909a383)

17 years agoTidyups and things I discovered during the merge...
Jeremy Allison [Thu, 15 Nov 2001 21:06:41 +0000 (21:06 +0000)]
Tidyups and things I discovered during the merge...
Jeremy.
(This used to be commit 9c8439f25b90d80adcd7161bfed3664af6256940)

17 years agomore Win2k RPC opnums (EnumPrinterKey() and DeletePrinterDriverEx())
Gerald Carter [Thu, 15 Nov 2001 20:52:30 +0000 (20:52 +0000)]
more Win2k RPC opnums (EnumPrinterKey() and DeletePrinterDriverEx())
(This used to be commit 08df688b284c5589718f954187c4cb44086b9c19)

17 years agoNo longer used.
Jeremy Allison [Thu, 15 Nov 2001 20:28:38 +0000 (20:28 +0000)]
No longer used.
Jeremy.
(This used to be commit be7323163bec9367e7457d7b6a4792fd00aa8ef5)

17 years agoSETPRINTERDATAEX is 0x4d (not 0x50). My mistake.
Gerald Carter [Thu, 15 Nov 2001 20:09:40 +0000 (20:09 +0000)]
SETPRINTERDATAEX is 0x4d (not 0x50).  My mistake.
(This used to be commit 27c6e1242d311cc24e758281890872694e083b67)

17 years agoTidyup formatting a bit (spaces->tabs) whilst reading new code to understand
Jeremy Allison [Thu, 15 Nov 2001 19:40:00 +0000 (19:40 +0000)]
Tidyup formatting a bit (spaces->tabs) whilst reading new code to understand
connection caching. Getting ready for back-merge to 2.2.3.
Jeremy.
(This used to be commit 5e8df83ba9924adf9df6827c06ed1a2adbe36edf)

17 years agoCaching user, group and domain sam handles was a stupid idea.
Tim Potter [Thu, 15 Nov 2001 06:55:56 +0000 (06:55 +0000)]
Caching user, group and domain sam handles was a stupid idea.

Now we just keep a record of the open pipes.
(This used to be commit 77c287e9460eed7bde7004c7e6c8cb0099c6ba6f)

17 years agoJeremy, I'm not sure what you were trying to do with the process activity
Tim Potter [Thu, 15 Nov 2001 06:53:47 +0000 (06:53 +0000)]
Jeremy, I'm not sure what you were trying to do with the process activity
loop in winbindd but it didn't work.
(This used to be commit 3ac32af83849e93c83cd1bb48dc7d23e47ccac59)

17 years agoDon't include the treeview -- for Samba it is too big and can lock up
Martin Pool [Thu, 15 Nov 2001 06:14:28 +0000 (06:14 +0000)]
Don't include the treeview -- for Samba it is too big and can lock up
browsers.
(This used to be commit 4e6c57fefa25036877a93b9056d06c725a5964cc)

17 years agoDoxygen demo for Tim.
Martin Pool [Thu, 15 Nov 2001 06:03:22 +0000 (06:03 +0000)]
Doxygen demo for Tim.
(This used to be commit 5c892badbcad43b8a2e002d1a42483c402f2d3e9)

17 years agoLeave doc comments in code listings for the web.
Martin Pool [Thu, 15 Nov 2001 06:02:53 +0000 (06:02 +0000)]
Leave doc comments in code listings for the web.
(This used to be commit 9f9d4cae1d19d930e8d8a6a879899560c089b878)

17 years agoConfiguration file to run the Doxygen API documentation tool. A few
Martin Pool [Thu, 15 Nov 2001 05:31:27 +0000 (05:31 +0000)]
Configuration file to run the Doxygen API documentation tool.  A few
files already have Doxygen markup.  Instructions on inserting tags
into new code can be found at http://doxygen.org/.  Output is
(currently) at http://samba.org/~mbp/samba-dox/
(This used to be commit 71e14a858166d85bc3209f068aabc7b1e2b41d73)

17 years agoFALSE -> False
Tim Potter [Thu, 15 Nov 2001 05:26:22 +0000 (05:26 +0000)]
FALSE -> False
(This used to be commit 7c6529c081abe051055be5fbf3016fbea2474752)

17 years agoAdded free_domain_info() function.
Tim Potter [Thu, 15 Nov 2001 03:34:27 +0000 (03:34 +0000)]
Added free_domain_info() function.

Get list of trusted domains if we haven't fetched them yet.
(This used to be commit ed16aa88a422e759d27dbfae39afc72250c80e8d)

17 years agoAdded free_domain_info() function.
Tim Potter [Thu, 15 Nov 2001 03:33:56 +0000 (03:33 +0000)]
Added free_domain_info() function.
(This used to be commit 1a9a36159104e1d6248254e1efd9925fc1c956d3)

17 years agoCache positive and negative name domain controller lookups.
Tim Potter [Thu, 15 Nov 2001 03:33:12 +0000 (03:33 +0000)]
Cache positive and negative name domain controller lookups.

Cache negative connection attempt lookups.

Fixed loginc bug in connection_ok()
(This used to be commit e07bcfcccd6d4a29f188d978b2c34a7b18ff21fa)

17 years agoGet list of trusted domains if we haven't fetched them yet.
Tim Potter [Thu, 15 Nov 2001 03:29:00 +0000 (03:29 +0000)]
Get list of trusted domains if we haven't fetched them yet.
(This used to be commit 187663210055ecd7b717b3894e3189ca3aaa0ed2)

17 years agoFixed display of uninitialised buffer in debug.
Tim Potter [Thu, 15 Nov 2001 03:28:24 +0000 (03:28 +0000)]
Fixed display of uninitialised buffer in debug.

Get list of trusted domains if we haven't fetched them yet.
(This used to be commit a7ef2d20b1bb4bdb1b9a2769b5c654bd0be791b3)

17 years agoBit of a cleanup of signal handling code.
Tim Potter [Thu, 15 Nov 2001 03:23:15 +0000 (03:23 +0000)]
Bit of a cleanup of signal handling code.

Ignore the SIGUSR1 signal before we install a handler for it as glibc (?)
seems to just print out "User defined signal 1" and exit if no handler
is installed.
(This used to be commit 1212591095dfe65b5e708bee32be5d57b9f33bc8)

17 years agoFix detection of RedHat 7.2.
Jeremy Allison [Thu, 15 Nov 2001 01:18:10 +0000 (01:18 +0000)]
Fix detection of RedHat 7.2.
Remove unused old file.
Test 42 byte reply to SMBntcreate (W2K does this).
Jeremy.
(This used to be commit a55a63a4ca55602ad9221af17c0bc8e185536433)

17 years agoFix compile on RedHat 7.2 systems with broken system headers.
Jeremy Allison [Wed, 14 Nov 2001 23:00:37 +0000 (23:00 +0000)]
Fix compile on RedHat 7.2 systems with broken system headers.
Jeremy.
(This used to be commit b14ac75666939b4f98213719ce7bc72fa9d37ce4)

17 years agoMake signal handling safer (handle EINTR on read/write/accept), don't
Jeremy Allison [Wed, 14 Nov 2001 21:49:30 +0000 (21:49 +0000)]
Make signal handling safer (handle EINTR on read/write/accept), don't
call slprintf within a signal handler.
Jeremy.
(This used to be commit a9f7974cb8e266ce87d2979fa107bf7ebbb98b70)

17 years agoGot ready to implement Martin's idea, but request doesn't have a length
Jeremy Allison [Wed, 14 Nov 2001 20:02:02 +0000 (20:02 +0000)]
Got ready to implement Martin's idea, but request doesn't have a length
field.... well, now at least the code is there when it does :-).
Jeremy.
(This used to be commit 22e323ca47325482b6ae527070509ed9c6cbccee)

17 years agoRandom connection robustness related fixes. Display some debugs about
Tim Potter [Wed, 14 Nov 2001 06:18:13 +0000 (06:18 +0000)]
Random connection robustness related fixes.  Display some debugs about
the currently open connections when winbindd receives a USR1 signal.

Hmm - I've just realised this will conflict with the messaging code
but we don't use that yet.
(This used to be commit caef54e40081477609a824185949ddf6db6ba363)

17 years agoGive sensible defaults to some variables that are set by the build
Martin Pool [Wed, 14 Nov 2001 06:07:21 +0000 (06:07 +0000)]
Give sensible defaults to some variables that are set by the build
farm but not present in Make.
(This used to be commit 0d6d0c31f9aecf1e35487ad26cc2f2c4c7d732f0)

17 years agoClose the socket and set the file descriptor to -1 if there was a socket
Tim Potter [Wed, 14 Nov 2001 05:58:51 +0000 (05:58 +0000)]
Close the socket and set the file descriptor to -1 if there was a socket
error in cli_receive_smb() and cli_send_smb().
(This used to be commit bedd9c821521dad46df50e8b31e4a58bb0a9a604)

17 years agoClean up message.
Martin Pool [Wed, 14 Nov 2001 05:46:24 +0000 (05:46 +0000)]
Clean up message.
(This used to be commit f07915072fef1d79549da7b92775c5aaf3c552da)

17 years ago#ifdef'd out suggestion for tim on making the winbindd protocol more
Martin Pool [Wed, 14 Nov 2001 05:33:55 +0000 (05:33 +0000)]
#ifdef'd out suggestion for tim on making the winbindd protocol more
 robust.
(This used to be commit 8952f8763e16339e58bc65943387a00fc89dc200)

17 years agoLittle note about what's happening with Satyr.
Martin Pool [Wed, 14 Nov 2001 05:19:53 +0000 (05:19 +0000)]
Little note about what's happening with Satyr.
(This used to be commit b6745ccd33544cfae5811ecdff7c1aea9d454eed)

17 years agoDoc.
Martin Pool [Wed, 14 Nov 2001 05:12:03 +0000 (05:12 +0000)]
Doc.

Try not to run tests if the user specified --prefix=/usr* or something
similar, because it would not be nice(!) to clobber their
configuration file and passwords.  Eventually I think we want to run
the installed versions, but specify different paths for everything.
(This used to be commit b18703fc8e15244dd840d1a1e9455a114e3f0408)

17 years agoAdded needed debugs...
Jeremy Allison [Wed, 14 Nov 2001 04:44:36 +0000 (04:44 +0000)]
Added needed debugs...
Jeremy.
(This used to be commit 804f232398b734228256e3361ec6df4ba5cf480c)

17 years agoRemoved the "reestablish" code. Tridge - scream if this was needed....
Jeremy Allison [Wed, 14 Nov 2001 04:15:36 +0000 (04:15 +0000)]
Removed the "reestablish" code. Tridge - scream if this was needed....
Jeremy.
(This used to be commit e6afe40f85d7dbe79322c82dac735d901e7e71df)

17 years agoToo much of samba depends on finding files in their installed
Martin Pool [Wed, 14 Nov 2001 04:03:49 +0000 (04:03 +0000)]
Too much of samba depends on finding files in their installed
locations, so we can't do "make check" yet, only "make installcheck".
(This used to be commit 7d8610c4fed555bf478dad793c84fbaf5b3c86ff)

17 years agoFix from Herb. mincount/maxcount need to be ssize_t for comparisons.
Jeremy Allison [Wed, 14 Nov 2001 02:35:56 +0000 (02:35 +0000)]
Fix from Herb. mincount/maxcount need to be ssize_t for comparisons.
Jeremy.
(This used to be commit 60983782ed078593d122e0c0bc6b4e17c3e56e63)

17 years agoRemoved unused variable.
Tim Potter [Wed, 14 Nov 2001 01:38:01 +0000 (01:38 +0000)]
Removed unused variable.
(This used to be commit c8c7da237dc17d9b785bc15b9b569caeeb6d283e)

17 years agoReformatted to 75 columns.
Tim Potter [Wed, 14 Nov 2001 01:34:34 +0000 (01:34 +0000)]
Reformatted to 75 columns.

Converted from DOS CRLF format (hmm).

Added suggestion about C vs C++ comments.
(This used to be commit 104899391cf75017ef8d14416e4558e81723d702)

17 years agoAdd basic "make check" and "make installcheck" targets, using the
Martin Pool [Wed, 14 Nov 2001 01:23:59 +0000 (01:23 +0000)]
Add basic "make check" and "make installcheck" targets, using the
Satyr framework from the buildfarm.  This will eventually be copied
into the Samba source tree, but it is not yet.   See
cvs://samba.org:/data/cvs/satyr

Add "make showlayout" target to show where installation will put
things.
(This used to be commit 7b5b5693f4e374522a333e609b319b9c75bb4501)

17 years agoCosmetic fix for libpopt-checking test.
Martin Pool [Wed, 14 Nov 2001 01:18:41 +0000 (01:18 +0000)]
Cosmetic fix for libpopt-checking test.
(This used to be commit 87d27265a501da2aab04f655a6a086f2eead000d)

17 years agoLook for DOMAIN\group in group lists and ask winbind.
Jeremy Allison [Tue, 13 Nov 2001 22:49:50 +0000 (22:49 +0000)]
Look for DOMAIN\group in group lists and ask winbind.
Jeremy.
(This used to be commit 763fd1c78757ea640dd50ac72caf5ebbb465b3b9)

17 years agoFix winbind client code so that winbind calls are not made if the
Jeremy Allison [Tue, 13 Nov 2001 21:28:31 +0000 (21:28 +0000)]
Fix winbind client code so that winbind calls are not made if the
requested name does not have a winbind separator character. This
makes the intent explicit. Tim, contact me if this is not what
you indended.
Jeremy.
(This used to be commit 86b7cf7f85840316052ff29115bf55c04dc17486)

17 years agoList of coding suggestions for submitters
Steve French [Tue, 13 Nov 2001 19:23:29 +0000 (19:23 +0000)]
List of coding suggestions for submitters
(This used to be commit 98b9ff2dd89d2a12178b08f86f846b0875c7c150)

17 years agoverified two new win2k rpc's EnumPrinterDataEx() and DeletePrinterdataEx()
Gerald Carter [Tue, 13 Nov 2001 18:22:36 +0000 (18:22 +0000)]
verified two new win2k rpc's EnumPrinterDataEx() and DeletePrinterdataEx()
(This used to be commit 253c5eadc21cdf2ea5a4c237d3b48e9df04c66a2)

17 years agoFix typo.
Martin Pool [Tue, 13 Nov 2001 05:32:48 +0000 (05:32 +0000)]
Fix typo.
(This used to be commit 33904decbcf858a5cf799429c17330b0fafd1da4)

17 years agonew Win2k spoolss rpc opnum (unknown right now).
Gerald Carter [Tue, 13 Nov 2001 04:10:40 +0000 (04:10 +0000)]
new Win2k spoolss rpc opnum (unknown right now).
(This used to be commit d636e73295343e5f3e44cbf61a63edaff8a243d1)

17 years agoFormatting fixes only.
Jeremy Allison [Tue, 13 Nov 2001 01:35:20 +0000 (01:35 +0000)]
Formatting fixes only.
Jeremy.
(This used to be commit 27081355a97550b26c870907a471352a11921ffc)

17 years agoMinor fixes to help display, and domain enumeration , and also preparation for new...
Steve French [Mon, 12 Nov 2001 22:50:48 +0000 (22:50 +0000)]
Minor fixes to help display, and domain enumeration , and also preparation for new command option
(This used to be commit 3623fbb4f0182b201d62491fa0680c29a4fd68e3)

17 years agoSpelling fixes.
Tim Potter [Mon, 12 Nov 2001 20:14:18 +0000 (20:14 +0000)]
Spelling fixes.
(This used to be commit 5c486bd28a5d4194b7cd50fd0fe3430d0d2eaa9b)

17 years agoDon't check space on every extend if strict allocate not set.
Jeremy Allison [Mon, 12 Nov 2001 02:03:44 +0000 (02:03 +0000)]
Don't check space on every extend if strict allocate not set.
Jeremy
(This used to be commit 9391efb38ef1847ed2c3b2734c1177830d64a247)

17 years agomessed up with patches, this should be the right one,
Simo Sorce [Mon, 12 Nov 2001 01:31:43 +0000 (01:31 +0000)]
messed up with patches, this should be the right one,
sorry
(This used to be commit 023514a0b6170b1907696a2147ee44dc3aa4589d)

17 years agoFixed allocation bug in database prog. Some format fixes.
Jeremy Allison [Mon, 12 Nov 2001 01:00:54 +0000 (01:00 +0000)]
Fixed allocation bug in database prog. Some format fixes.
Jeremy.
(This used to be commit 9ff6b0c20cc88ef0bcd62a596fcb96f898b5b29d)

17 years agosome bugfix and new functions,
Simo Sorce [Mon, 12 Nov 2001 00:53:34 +0000 (00:53 +0000)]
some bugfix and new functions,
modified mangle.c to use mosltly acnv_????() functions.
this should make also build farm happy
(This used to be commit 8bb5cb27c2012b8967482255d48a1b48d3acd9db)

17 years agoCode duplication is bad. So add an add_signiture() function and just refernce
Andrew Bartlett [Mon, 12 Nov 2001 00:08:30 +0000 (00:08 +0000)]
Code duplication is bad.  So add an add_signiture() function and just refernce
that.
(This used to be commit a82c8638576b2c2164eaf046aa529e233ffb71d6)

17 years agoKill off 'restrict anonymous' becouse it is useless in its current form.
Andrew Bartlett [Sun, 11 Nov 2001 12:42:39 +0000 (12:42 +0000)]
Kill off 'restrict anonymous' becouse it is useless in its current form.

To be replaced with a real restriction in consultation with jra.  (Hence why
I've not touched loadparm.c).

Andrew Bartlett
(This used to be commit 95901449158a4ef7f95f75b22f63f6f8d43a01fe)

17 years agoFix up some DEBUG()s
Andrew Bartlett [Sun, 11 Nov 2001 11:34:46 +0000 (11:34 +0000)]
Fix up some DEBUG()s

Add and fix comments

Add 'const' to some more input paramaters.
(This used to be commit 0c7eefcb5c5db63294d0584029e0d32cd1523e80)

17 years agoAdd back the not null checks in a better place.
Andrew Bartlett [Sun, 11 Nov 2001 11:18:45 +0000 (11:18 +0000)]
Add back the not null checks in a better place.

Check the pdb_init_sam() for failure.
(This used to be commit 1808cd5210258bddc349f13a7bcf20a3f46aa672)

17 years agomake sam_account_ok static.
Andrew Bartlett [Sun, 11 Nov 2001 11:15:28 +0000 (11:15 +0000)]
make sam_account_ok static.

remove rudundent  not null checks

fix indenting
(This used to be commit 3eada888fddb1f0cb7c0ed7037eb1c60e7988ad9)

17 years agoThis extra check isn't needed, we can only get here if secuirty=domain
Andrew Bartlett [Sun, 11 Nov 2001 11:11:56 +0000 (11:11 +0000)]
This extra check isn't needed, we can only get here if secuirty=domain
(This used to be commit 600d83e43f61eb138115731ce089ba42d63e0924)

17 years agoMinor updates. A small dose of const.
Andrew Bartlett [Sun, 11 Nov 2001 11:00:38 +0000 (11:00 +0000)]
Minor updates.  A small dose of const.
(This used to be commit 80667cb0dd1a2cdef17711c8580af9f524971cea)

17 years agoautoconf
Andrew Bartlett [Sun, 11 Nov 2001 10:42:41 +0000 (10:42 +0000)]
autoconf
(This used to be commit 1a60305f7a368bce16c9d6d989942670186dec72)

17 years agoRemove built-in support for clear-text kerberos authentication.
Andrew Bartlett [Sun, 11 Nov 2001 10:42:07 +0000 (10:42 +0000)]
Remove built-in support for clear-text kerberos authentication.

This should remove some confusion from the ./configure, but does not affect the
'real' kerberos support currently residing in smbd/sesssetup.c.

This code is vunerable to a spoofed KDC, and is best replaced by --with-pam and
the pam_krb5 module.  This module includes measures to prevent such spoofing.

Andrew Bartlett
(This used to be commit 3235880b41ee5dd5ef171195489fb9254f5d89b0)

17 years agofixed, moved and added some functions
Simo Sorce [Sat, 10 Nov 2001 15:21:54 +0000 (15:21 +0000)]
fixed, moved and added some functions
note the useful acnv_uxu2 and acnv_u2ux functions in charcnv.c
(This used to be commit 64dde3b64fc091cda95fc4ed145595b5d79b2e01)

17 years agoUse defined constants not integers.
Jeremy Allison [Sat, 10 Nov 2001 01:49:50 +0000 (01:49 +0000)]
Use defined constants not integers.
Jeremy.
(This used to be commit d20949fe509c1496bc434f0fbf403f0b69ab9954)

17 years agoAs pdb_ldap.c does not compile in HEAD anyway, a not-compiled merge
Volker Lendecke [Fri, 9 Nov 2001 22:15:33 +0000 (22:15 +0000)]
As pdb_ldap.c does not compile in HEAD anyway, a not-compiled merge
from 2_2.

Volker
(This used to be commit 7d70b30dbdf06de126b78879fc89708ca335f91e)

17 years agoFixed a few typos and added the opnum for ADDPRINTERDRIVEREX to the
Gerald Carter [Fri, 9 Nov 2001 20:59:18 +0000 (20:59 +0000)]
Fixed a few typos and added the opnum for ADDPRINTERDRIVEREX to the
rpc_spoolss.h header file.
(This used to be commit d4cafc076be99a66d0660f695995801b4f1d7bfd)

17 years agoFixup __LPID -> _LPID.
Jeremy Allison [Fri, 9 Nov 2001 20:34:12 +0000 (20:34 +0000)]
Fixup __LPID -> _LPID.
Jeremy.
(This used to be commit ab607cdf153d9187fe50af3377ece5a9fafde1b1)

17 years agoThis change updates lp_guestaccount() to be a *global* paramater, rather than
Andrew Bartlett [Fri, 9 Nov 2001 11:16:06 +0000 (11:16 +0000)]
This change updates lp_guestaccount() to be a *global* paramater, rather than
per-share.  I beleive that almost all the things that this could have done on
a per-share basis can be done with other tools, like 'force user'.

Almost all the user's of this paramater used it as a global anyway...

While this is one step at a time, I hope it will allow me to considerably
simplfy the make_connection() code, particularly for the user-level security
case.

This already removes an absolute truckload of extra attempted password lookups
on the guest account.

Andrew Bartlett
(This used to be commit 8e708332eded210c1d1fe0cebca3c9c19f054b71)

17 years agofix the tree so it compiles again
Andrew Tridgell [Fri, 9 Nov 2001 02:44:49 +0000 (02:44 +0000)]
fix the tree so it compiles again

  grumble, mumble, ...
(This used to be commit 72c1af6f8d9893dd5b8b4d105b301d8c621749c6)

17 years agoRemoved #ifdef TDB_DEBUG around tdb_dump_all() and tdb_printfreelist()
Tim Potter [Fri, 9 Nov 2001 01:26:13 +0000 (01:26 +0000)]
Removed #ifdef TDB_DEBUG around tdb_dump_all() and tdb_printfreelist()
so that tdbtool can be compiled without having to make clean.
(This used to be commit dad688d8c6b3c98173a846ad833599a4016d2e1a)

17 years agoChange to guest logon code.
Andrew Bartlett [Thu, 8 Nov 2001 22:19:01 +0000 (22:19 +0000)]
Change to guest logon code.

This changes the way we process guest logons - we now treat them as normal
logons, but set the 'guest' flag.  In particular this is needed becouse Win2k
will do an NTLMSSP login with username "", therefore missing our previous guest
connection code - this is getting a pain to do as a special case all over the
shop.

Tridge:  We don't seem to be setting a guest bit for NTLMSSP, in either the
anonymous or authenticated case, can you take a look at this?

Also some cleanups in the check_password() code that should make some of the
debugs clearer.

Various other minor cleanups:

 - change the session code to just take a vuser, rather than having to do a
   vuid lookup on vuser.vuid

 - Change some of the global_client_caps linking

 - Better debug in authorise_login(): show the vuid.

Andrew Bartlett
(This used to be commit 62f4e4bd0aef9ade653b3f8d575d2864c166ab4d)