1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-10 12:58:35 +03:00

6783 Commits

Author SHA1 Message Date
Richard Sharpe
15ca82215e Fix problems with lp_workgroup() being passed to routines that will modify
it and fix smb://<IP-addr>.
(This used to be commit ac2562a0fb7eafd94d53a2c36d33e8f5236d60ff)
2001-11-17 07:30:19 +00:00
Jeremy Allison
02eda2e251 Tidyups when I was doing the big merge...
Jeremy.
(This used to be commit 9148bb9eaa67de60c3b0b4709a9c05a840c20c66)
2001-11-17 03:19:17 +00:00
Jeremy Allison
355124adaf Fixed detection of RedHat headers. Removed another file !
Jeremy.
(This used to be commit d70674312d8b98367ccdbbc12fe880f9f539d258)
2001-11-16 23:22:49 +00:00
Jeremy Allison
b0518da076 Removed SMBD_RPC_CLIENT_OBJ temporary I was using.
Jeremy.
(This used to be commit c17bfe7c365de19193dcf9ace8728866e344d7aa)
2001-11-16 18:54:26 +00:00
Jeremy Allison
e74c51dfeb 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)
2001-11-16 18:32:32 +00:00
Martin Pool
f6f04b5a44 Make CodingSuggestions show up in the Doxygen pages.
(This used to be commit b3e34ad3207f53310b2d59c07a4cec765a0f81bf)
2001-11-16 07:28:23 +00:00
Martin Pool
fc9b7a8bc6 Ignore generated HTML and mkid output.
(This used to be commit 03e489a405a81bd70534ad7c0e2f424436e1c683)
2001-11-16 07:04:27 +00:00
Jeremy Allison
2c6f0fa510 Tidyups in the merge process.
Jeremy.
(This used to be commit a7b45bfb713adaaad0dca3dc13139ee5a909a383)
2001-11-15 21:50:29 +00:00
Jeremy Allison
186726b7f8 Tidyups and things I discovered during the merge...
Jeremy.
(This used to be commit 9c8439f25b90d80adcd7161bfed3664af6256940)
2001-11-15 21:06:41 +00:00
Gerald Carter
decc9a8985 more Win2k RPC opnums (EnumPrinterKey() and DeletePrinterDriverEx())
(This used to be commit 08df688b284c5589718f954187c4cb44086b9c19)
2001-11-15 20:52:30 +00:00
Jeremy Allison
3a50f1fde7 No longer used.
Jeremy.
(This used to be commit be7323163bec9367e7457d7b6a4792fd00aa8ef5)
2001-11-15 20:28:38 +00:00
Gerald Carter
09463a4a01 SETPRINTERDATAEX is 0x4d (not 0x50). My mistake.
(This used to be commit 27c6e1242d311cc24e758281890872694e083b67)
2001-11-15 20:09:40 +00:00
Jeremy Allison
8220662c13 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)
2001-11-15 19:40:00 +00:00
Tim Potter
c32b4b6161 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)
2001-11-15 06:55:56 +00:00
Tim Potter
1539c2f34b 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)
2001-11-15 06:53:47 +00:00
Martin Pool
451f7c1ac4 Don't include the treeview -- for Samba it is too big and can lock up
browsers.
(This used to be commit 4e6c57fefa25036877a93b9056d06c725a5964cc)
2001-11-15 06:14:28 +00:00
Martin Pool
ea40fa55f0 Doxygen demo for Tim.
(This used to be commit 5c892badbcad43b8a2e002d1a42483c402f2d3e9)
2001-11-15 06:03:22 +00:00
Martin Pool
05903e9f8c Leave doc comments in code listings for the web.
(This used to be commit 9f9d4cae1d19d930e8d8a6a879899560c089b878)
2001-11-15 06:02:53 +00:00
Martin Pool
dbccf2ce27 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)
2001-11-15 05:31:27 +00:00
Tim Potter
06ff349e21 FALSE -> False
(This used to be commit 7c6529c081abe051055be5fbf3016fbea2474752)
2001-11-15 05:26:22 +00:00
Tim Potter
c5ceae9dc9 Added free_domain_info() function.
Get list of trusted domains if we haven't fetched them yet.
(This used to be commit ed16aa88a422e759d27dbfae39afc72250c80e8d)
2001-11-15 03:34:27 +00:00
Tim Potter
6121a6c9e4 Added free_domain_info() function.
(This used to be commit 1a9a36159104e1d6248254e1efd9925fc1c956d3)
2001-11-15 03:33:56 +00:00
Tim Potter
69a6bf3edd 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)
2001-11-15 03:33:12 +00:00
Tim Potter
2fbd75210b Get list of trusted domains if we haven't fetched them yet.
(This used to be commit 187663210055ecd7b717b3894e3189ca3aaa0ed2)
2001-11-15 03:29:00 +00:00
Tim Potter
0d252203a7 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)
2001-11-15 03:28:24 +00:00
Tim Potter
17ce9c5281 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)
2001-11-15 03:23:15 +00:00
Jeremy Allison
5302dc1218 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)
2001-11-15 01:18:10 +00:00
Jeremy Allison
50005ee3ad Fix compile on RedHat 7.2 systems with broken system headers.
Jeremy.
(This used to be commit b14ac75666939b4f98213719ce7bc72fa9d37ce4)
2001-11-14 23:00:37 +00:00
Jeremy Allison
b30f0baf7a 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)
2001-11-14 21:49:30 +00:00
Jeremy Allison
5d97ab9df8 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)
2001-11-14 20:02:02 +00:00
Tim Potter
b7f6113c2d 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)
2001-11-14 06:18:13 +00:00
Martin Pool
68893d4a2f Give sensible defaults to some variables that are set by the build
farm but not present in Make.
(This used to be commit 0d6d0c31f9aecf1e35487ad26cc2f2c4c7d732f0)
2001-11-14 06:07:21 +00:00
Tim Potter
641f3070ab 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)
2001-11-14 05:58:51 +00:00
Martin Pool
e1f24ab628 Clean up message.
(This used to be commit f07915072fef1d79549da7b92775c5aaf3c552da)
2001-11-14 05:46:24 +00:00
Martin Pool
e6093a12a1 #ifdef'd out suggestion for tim on making the winbindd protocol more
robust.
(This used to be commit 8952f8763e16339e58bc65943387a00fc89dc200)
2001-11-14 05:33:55 +00:00
Martin Pool
0b5cea7fc2 Little note about what's happening with Satyr.
(This used to be commit b6745ccd33544cfae5811ecdff7c1aea9d454eed)
2001-11-14 05:19:53 +00:00
Martin Pool
da0128e566 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)
2001-11-14 05:12:03 +00:00
Jeremy Allison
413fa03cd6 Added needed debugs...
Jeremy.
(This used to be commit 804f232398b734228256e3361ec6df4ba5cf480c)
2001-11-14 04:44:36 +00:00
Jeremy Allison
742dc2313c Removed the "reestablish" code. Tridge - scream if this was needed....
Jeremy.
(This used to be commit e6afe40f85d7dbe79322c82dac735d901e7e71df)
2001-11-14 04:15:36 +00:00
Martin Pool
4e71905d85 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)
2001-11-14 04:03:49 +00:00
Jeremy Allison
1b579da9dd Fix from Herb. mincount/maxcount need to be ssize_t for comparisons.
Jeremy.
(This used to be commit 60983782ed078593d122e0c0bc6b4e17c3e56e63)
2001-11-14 02:35:56 +00:00
Tim Potter
31b91bfe4e Removed unused variable.
(This used to be commit c8c7da237dc17d9b785bc15b9b569caeeb6d283e)
2001-11-14 01:38:01 +00:00
Tim Potter
dc6688ab95 Reformatted to 75 columns.
Converted from DOS CRLF format (hmm).

Added suggestion about C vs C++ comments.
(This used to be commit 104899391cf75017ef8d14416e4558e81723d702)
2001-11-14 01:34:34 +00:00
Martin Pool
6bf5caff8b 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)
2001-11-14 01:23:59 +00:00
Martin Pool
6654c29138 Cosmetic fix for libpopt-checking test.
(This used to be commit 87d27265a501da2aab04f655a6a086f2eead000d)
2001-11-14 01:18:41 +00:00
Jeremy Allison
35da7fae5e Look for DOMAIN\group in group lists and ask winbind.
Jeremy.
(This used to be commit 763fd1c78757ea640dd50ac72caf5ebbb465b3b9)
2001-11-13 22:49:50 +00:00
Jeremy Allison
c51f7bd4d0 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)
2001-11-13 21:28:31 +00:00
Steve French
0675d01a11 List of coding suggestions for submitters
(This used to be commit 98b9ff2dd89d2a12178b08f86f846b0875c7c150)
2001-11-13 19:23:29 +00:00
Gerald Carter
8061f8ae53 verified two new win2k rpc's EnumPrinterDataEx() and DeletePrinterdataEx()
(This used to be commit 253c5eadc21cdf2ea5a4c237d3b48e9df04c66a2)
2001-11-13 18:22:36 +00:00
Martin Pool
ec08b265de Fix typo.
(This used to be commit 33904decbcf858a5cf799429c17330b0fafd1da4)
2001-11-13 05:32:48 +00:00