1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-11 16:58:40 +03:00

6719 Commits

Author SHA1 Message Date
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
Gerald Carter
59daf552d9 new Win2k spoolss rpc opnum (unknown right now).
(This used to be commit d636e73295343e5f3e44cbf61a63edaff8a243d1)
2001-11-13 04:10:40 +00:00
Jeremy Allison
b00b04ebc6 Formatting fixes only.
Jeremy.
(This used to be commit 27081355a97550b26c870907a471352a11921ffc)
2001-11-13 01:35:20 +00:00
Steve French
3ea2fd3a96 Minor fixes to help display, and domain enumeration , and also preparation for new command option
(This used to be commit 3623fbb4f0182b201d62491fa0680c29a4fd68e3)
2001-11-12 22:50:48 +00:00
Tim Potter
e5bd418963 Spelling fixes.
(This used to be commit 5c486bd28a5d4194b7cd50fd0fe3430d0d2eaa9b)
2001-11-12 20:14:18 +00:00
Jeremy Allison
a32754589a Don't check space on every extend if strict allocate not set.
Jeremy
(This used to be commit 9391efb38ef1847ed2c3b2734c1177830d64a247)
2001-11-12 02:03:44 +00:00
Simo Sorce
25f51f49b1 messed up with patches, this should be the right one,
sorry
(This used to be commit 023514a0b6170b1907696a2147ee44dc3aa4589d)
2001-11-12 01:31:43 +00:00
Jeremy Allison
22afba62c9 Fixed allocation bug in database prog. Some format fixes.
Jeremy.
(This used to be commit 9ff6b0c20cc88ef0bcd62a596fcb96f898b5b29d)
2001-11-12 01:00:54 +00:00
Simo Sorce
8424424471 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)
2001-11-12 00:53:34 +00:00
Andrew Bartlett
5abe3932cc Code duplication is bad. So add an add_signiture() function and just refernce
that.
(This used to be commit a82c8638576b2c2164eaf046aa529e233ffb71d6)
2001-11-12 00:08:30 +00:00
Andrew Bartlett
3d6154599a 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)
2001-11-11 12:42:39 +00:00
Andrew Bartlett
989e0409ba Fix up some DEBUG()s
Add and fix comments

Add 'const' to some more input paramaters.
(This used to be commit 0c7eefcb5c5db63294d0584029e0d32cd1523e80)
2001-11-11 11:34:46 +00:00
Andrew Bartlett
5edc597786 Add back the not null checks in a better place.
Check the pdb_init_sam() for failure.
(This used to be commit 1808cd5210258bddc349f13a7bcf20a3f46aa672)
2001-11-11 11:18:45 +00:00
Andrew Bartlett
63a8a2ebe8 make sam_account_ok static.
remove rudundent  not null checks

fix indenting
(This used to be commit 3eada888fddb1f0cb7c0ed7037eb1c60e7988ad9)
2001-11-11 11:15:28 +00:00
Andrew Bartlett
2d07327a95 This extra check isn't needed, we can only get here if secuirty=domain
(This used to be commit 600d83e43f61eb138115731ce089ba42d63e0924)
2001-11-11 11:11:56 +00:00