ira/wip.git
19 years agoFixed bug in canned results list for checking the error code of wbinfo.
Tim Potter [Fri, 23 Nov 2001 03:24:36 +0000 (03:24 +0000)]
Fixed bug in canned results list for checking the error code of wbinfo.

Made test names more verbose.
(This used to be commit 87955fcf303d82d38ae543e7986c59fd086dc2db)

19 years agoDon't initialise static pointers to NULL.
Tim Potter [Fri, 23 Nov 2001 01:00:54 +0000 (01:00 +0000)]
Don't initialise static pointers to NULL.
(This used to be commit 039ea0a0b94be2d70164616f448c0e29fed071cf)

19 years agoRemoved TimeInit() call from every client program (except for one place
Tim Potter [Fri, 23 Nov 2001 00:52:29 +0000 (00:52 +0000)]
Removed TimeInit() call from every client program (except for one place
in smbd/process.c where the timezone is reinitialised.  Was replaced with
check for a static is_initialised boolean.
(This used to be commit 8fc772c9e5770cd3a8857670214dcff033ebae32)

19 years agoFixed check machine account function.
Tim Potter [Fri, 23 Nov 2001 00:14:04 +0000 (00:14 +0000)]
Fixed check machine account function.
(This used to be commit 8f01a8b07883d18f44da665cbc8e5fba04d3bc91)

19 years agoIgnore *.po files.
Tim Potter [Fri, 23 Nov 2001 00:08:12 +0000 (00:08 +0000)]
Ignore *.po files.
(This used to be commit 5d343b40650464ae70037fd6e3fd96a9865fa611)

19 years agoRename $pwd to $test_root to avoid future confusion.
Martin Pool [Thu, 22 Nov 2001 23:59:48 +0000 (23:59 +0000)]
Rename $pwd to $test_root to avoid future confusion.
(This used to be commit fa7367a9731bc139ff4611f2781f3ca9bc7f89a7)

19 years agoadded lsa_enum_sids to rpcclient
Jean-François Micouleau [Thu, 22 Nov 2001 23:50:16 +0000 (23:50 +0000)]
added lsa_enum_sids to rpcclient
fixed lsa_enum_rpivs server code. This time it works as W2K.
fixed smbgroupedit to compile and work.

J.F.
(This used to be commit 646651018a2736833e49e76f6ca735a4647d9746)

19 years agoRemoved unused variable.
Tim Potter [Thu, 22 Nov 2001 23:38:37 +0000 (23:38 +0000)]
Removed unused variable.
(This used to be commit d1dee2d0323fe6fc498e50201535b1718a88abaf)

19 years agoOops - opening wrong pipe name in cli_lsa_initialise() helper function.
Tim Potter [Thu, 22 Nov 2001 22:45:52 +0000 (22:45 +0000)]
Oops - opening wrong pipe name in cli_lsa_initialise() helper function.
(This used to be commit d2034bc5f7dc9b5b9d5e4f17ee8e468307dcb2d5)

19 years agofixing enum_privs and get_dispname server code.
Jean-François Micouleau [Thu, 22 Nov 2001 17:19:59 +0000 (17:19 +0000)]
fixing enum_privs and get_dispname server code.
That works as expected now.

J.F.
(This used to be commit f2766932d693fc601b2c3e7853e61f751435ec3c)

19 years agoadd another command to rpcclient: getdispname. Show the full description
Jean-François Micouleau [Thu, 22 Nov 2001 16:54:48 +0000 (16:54 +0000)]
add another command to rpcclient: getdispname. Show the full description
of a privilege.

J.F.
(This used to be commit 84035ae72f422edadd9fa7e493c3d8176bb6a53d)

19 years agoadd a command to rpcclient: enumprivs
Jean-François Micouleau [Thu, 22 Nov 2001 16:12:43 +0000 (16:12 +0000)]
add a command to rpcclient: enumprivs

J.F.
(This used to be commit fa63cb78e326040f68d858d593ba98e06c26c92e)

19 years agoGot positive and negative name caching working correctly with lookupname/lookupsid.
Jeremy Allison [Thu, 22 Nov 2001 08:31:50 +0000 (08:31 +0000)]
Got positive and negative name caching working correctly with lookupname/lookupsid.
There was a bug in cli_lsa_lookup_name/lookup_sid where NT_STATUS_NONE_MAPPED was
being mapped to NT_STATUS_OK, and also the *wrong* number of entries mapped
was being returned. The correct field is mapped_count, *NOT* num_entries.
Jeremy.
(This used to be commit 9f8c644abc455510c06dbd5dbac49c6270746560)

19 years agoFixed +ve caching. Still problems with -ve caching.
Jeremy Allison [Thu, 22 Nov 2001 07:48:57 +0000 (07:48 +0000)]
Fixed +ve caching. Still problems with -ve caching.
Jeremy.
(This used to be commit 7883a2288a6e3198e10ab4e02ed4585e7bb313f6)

19 years agoFixed caching of lookupname/lookupsid. Error in check of success !
Jeremy Allison [Thu, 22 Nov 2001 07:32:48 +0000 (07:32 +0000)]
Fixed caching of lookupname/lookupsid. Error in check of success !
Jeremy.
(This used to be commit d039d4fa507a7284e7e1cada0026c63863fe0a2d)

19 years agoAdded debugs to track down sequence lookup problems.
Jeremy Allison [Thu, 22 Nov 2001 07:24:07 +0000 (07:24 +0000)]
Added debugs to track down sequence lookup problems.
Jeremy.
(This used to be commit d3f5d5a4aca0d5bc8c4db7dfa8b766b7cda808eb)

19 years agoremove unused variables
Gerald Carter [Thu, 22 Nov 2001 06:44:05 +0000 (06:44 +0000)]
remove unused variables
(This used to be commit 90ed3d47e16a511161532f75b98db3f4b10ba685)

19 years agomerge oops fix from 2.2
Gerald Carter [Thu, 22 Nov 2001 06:23:49 +0000 (06:23 +0000)]
merge oops fix from 2.2
(This used to be commit 48f2da440f973047faa7ecf031be66bc30d4a985)

19 years agosync up with 2.2
Gerald Carter [Thu, 22 Nov 2001 06:12:54 +0000 (06:12 +0000)]
sync up with 2.2
(This used to be commit 0c0f3223731cfb46a0e3b8e289c13c8f908e0cf2)

19 years agomerge from 2.2
Gerald Carter [Thu, 22 Nov 2001 05:56:09 +0000 (05:56 +0000)]
merge from 2.2
(This used to be commit 96b3a65a73d403a41bf1b3aba79bd743698344ac)

19 years ago--with-msdfs wsa removed
Gerald Carter [Thu, 22 Nov 2001 05:29:33 +0000 (05:29 +0000)]
--with-msdfs wsa removed
(This used to be commit f1143cd02c24f7c56b2e4ec70f77f22dbc01b113)

19 years agoWITH_MSDFS is not define anywhere. It's built by default.
Gerald Carter [Thu, 22 Nov 2001 05:29:04 +0000 (05:29 +0000)]
WITH_MSDFS is not define anywhere.  It's built by default.
(This used to be commit b51e5b07d9f7719180b28215236efc3fa09d8bea)

19 years agoMade a libsmbclient doxygen group and moved all the libsmbclient groups
Tim Potter [Thu, 22 Nov 2001 04:29:10 +0000 (04:29 +0000)]
Made a libsmbclient doxygen group and moved all the libsmbclient groups
under it.
(This used to be commit 43c496598f8e1aedc9c80222e60bb8e7b3027e03)

19 years agosamr_querydom_info level 1: found the meaning of the unknow fields. And
Jean-François Micouleau [Wed, 21 Nov 2001 23:25:30 +0000 (23:25 +0000)]
samr_querydom_info level 1: found the meaning of the unknow fields. And
discovered that our reply is short by 4 bytes since day 1 of this code.

Added a decode function to rpcclient too.

splitted the STRING2 fields filling while trying to understand the win9x
userlist bug. (didn't fix the bug, but the reply looks closer to NT).

        J.F.
(This used to be commit bfbe7f377e5fcb09e87bfc866196dfc51a8fe64d)

19 years agoW2K doesn't seem to respond to *#0 names in node status. Ensure name
Jeremy Allison [Wed, 21 Nov 2001 23:00:59 +0000 (23:00 +0000)]
W2K doesn't seem to respond to *#0 names in node status. Ensure name
lookup uses password server parameter when looking for PDCs.
Jeremy.
(This used to be commit 54c968913d6553c6d834b068234ab176917075eb)

19 years agoMore spelling fixes, comment reformatting.
Tim Potter [Wed, 21 Nov 2001 21:10:13 +0000 (21:10 +0000)]
More spelling fixes, comment reformatting.
(This used to be commit edb556b47446f75dc4987eee15276661eb6cec8d)

19 years agoSpelling fix, reformatted comment.
Tim Potter [Wed, 21 Nov 2001 20:14:25 +0000 (20:14 +0000)]
Spelling fix, reformatted comment.
(This used to be commit 096868bd35b374f97e570676fc23c006b6c7a1d3)

19 years agoOne more patch from Tom Jansen. Hope I didn't break the tree :-)
Richard Sharpe [Wed, 21 Nov 2001 11:04:49 +0000 (11:04 +0000)]
One more patch from Tom Jansen. Hope I didn't break the tree :-)
(This used to be commit 6d7c0f0bb4cbfdcd9a83416345432e07556f6cfc)

19 years agoAdded transparent +ve caching for lookupname/lookupsid. -ve caching can
Jeremy Allison [Wed, 21 Nov 2001 09:59:15 +0000 (09:59 +0000)]
Added transparent +ve caching for lookupname/lookupsid. -ve caching can
be easily added (a one liner) once we know the correct error codes returned
by a W2K DC.
All other winbindd calls should go through a similar transparent caching layer
(and will soon).
Jeremy.
(This used to be commit b16bb21d371772816a4331f5011c151be0e083d5)

19 years agoPreparing to implement +ve and -ve caching for lookupname/lookupsid calls.
Jeremy Allison [Wed, 21 Nov 2001 08:36:43 +0000 (08:36 +0000)]
Preparing to implement +ve and -ve caching for lookupname/lookupsid calls.
Jeremy.
(This used to be commit 1f6cc536b2db0c36feee45cfd6ac1ad5ee8fb05a)

19 years agoFix up the build again...
Andrew Bartlett [Wed, 21 Nov 2001 05:19:13 +0000 (05:19 +0000)]
Fix up the build again...

Andrew Bartlett
(This used to be commit a34c07377b1de61e145f699047474a82962ccd5b)

19 years agoDon't scan locking db on closedown.
Jeremy Allison [Wed, 21 Nov 2001 04:00:35 +0000 (04:00 +0000)]
Don't scan locking db on closedown.
Jeremy.
(This used to be commit 59cfcd8a6c510204ac059a0d2fddc2fa17199f82)

19 years agoFix up libsmbclient in head.
Richard Sharpe [Wed, 21 Nov 2001 03:55:59 +0000 (03:55 +0000)]
Fix up libsmbclient in head.

Apply the patches from Tom Jansen, get rid of fprintfs and change them to
DEBUGs, etc ...
(This used to be commit 7ac404c85303c9c3fbd48054fc4876bd4bc1567b)

19 years agoFixed sizeof vs array length bug in make_user_info_winbind_crap()
Tim Potter [Tue, 20 Nov 2001 23:20:00 +0000 (23:20 +0000)]
Fixed sizeof vs array length bug in make_user_info_winbind_crap()

Spelling fix.
(This used to be commit 3d87c1a2444c3b9267e0dda7a2da77657fba143e)

19 years agoMerged in JohnR's ping messaging extension.
Jeremy Allison [Tue, 20 Nov 2001 22:55:46 +0000 (22:55 +0000)]
Merged in JohnR's ping messaging extension.
Jeremy.
(This used to be commit 694372b2c4d7713fe228114730027175f7b4e9b6)

19 years agoforgot this file
Andrew Tridgell [Tue, 20 Nov 2001 11:32:16 +0000 (11:32 +0000)]
forgot this file
(This used to be commit 1dd255b06d4c8669d839a387d4c63ff3475ab1ab)

19 years agoadded the beginnings of ADS support in smbd
Andrew Tridgell [Tue, 20 Nov 2001 08:54:15 +0000 (08:54 +0000)]
added the beginnings of ADS support in smbd
(This used to be commit c7f611691941ca92f57665e19d6e46b161599427)

19 years agoadded ANS1 integer define
Andrew Tridgell [Tue, 20 Nov 2001 08:51:22 +0000 (08:51 +0000)]
added ANS1 integer define
(This used to be commit 1e833f3564be439cd778e517e6689cea61e02a2b)

19 years agoadded strlcpy() and strlcat()
Andrew Tridgell [Tue, 20 Nov 2001 08:50:57 +0000 (08:50 +0000)]
added strlcpy() and strlcat()
(This used to be commit 233fe71fbbb98fe1563f69565e16da1856360a26)

19 years agoadd a hook to save the krb5 PAC
Andrew Tridgell [Tue, 20 Nov 2001 08:50:04 +0000 (08:50 +0000)]
add a hook to save the krb5 PAC
(This used to be commit 1cbc18ae732671d9a60528f8300ca7609e124d11)

19 years agofix maxfd test to start deleting at right file
Andrew Tridgell [Tue, 20 Nov 2001 08:49:16 +0000 (08:49 +0000)]
fix maxfd test to start deleting at right file
(This used to be commit e4fb073af02846309c3efb0675006433052bb1ce)

19 years agofix locktest default parameters
Andrew Tridgell [Tue, 20 Nov 2001 08:48:46 +0000 (08:48 +0000)]
fix locktest default parameters
(This used to be commit f6a4b00aab9ca01d8dfed33252f3d5c5349d13b0)

19 years agoadd asn1 integer handling ready for the ldap netjoin code
Andrew Tridgell [Tue, 20 Nov 2001 08:46:02 +0000 (08:46 +0000)]
add asn1 integer handling ready for the ldap netjoin code
(This used to be commit 74303b75e43856bfb127c143d27e5c5fdcf32c91)

19 years ago- make sure we use a non-zero session id so we can have multiple conns
Andrew Tridgell [Tue, 20 Nov 2001 08:45:22 +0000 (08:45 +0000)]
- make sure we use a non-zero session id so we can have multiple conns
open to w2k

- fix the string handling in the device name to match NT and smbd

- don't pull the domain from negprot if CAP_EXTENDED_SECURITY is set
(This used to be commit 618989b386b5564ba140afdc17ce7a07040c3c4e)

19 years agoWe don't actually use the horror that was lib/util_array.c :-).
Jeremy Allison [Tue, 20 Nov 2001 08:14:24 +0000 (08:14 +0000)]
We don't actually use the horror that was lib/util_array.c :-).
More deleted code - hurrah !
Jeremy.
(This used to be commit 48a848f748fb0961c67f17401e294ebf18fdcf1b)

19 years agoRename xmalloc, xmemdup, xstrdup to smb_$1 to avoid conflicts with the
Martin Pool [Tue, 20 Nov 2001 06:38:09 +0000 (06:38 +0000)]
Rename xmalloc, xmemdup, xstrdup to smb_$1 to avoid conflicts with the
versions defined by libreadline on SCO (!).
(This used to be commit 32480d7aff21ce1c14991e242aaf8a4e14ec6f2a)

19 years agoBack out the change in 1.11 that set the poorly-named $pwd variable --
Martin Pool [Tue, 20 Nov 2001 06:21:33 +0000 (06:21 +0000)]
Back out the change in 1.11 that set the poorly-named $pwd variable --
for the build farm this is actually the root directory for building,
or something like that.  Thanks a.b.
(This used to be commit 309b718842dc36cd0b74c4c735684cd4613fff01)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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