1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-14 01:57:53 +03:00

3674 Commits

Author SHA1 Message Date
Herb Lewis
f7089e3cba Fix for check_kernel_oplocks looking for the var directory
before it may need to be created.
Jeremy.
(This used to be commit 6bf74da8b84a22aaddb0fbb160f02621abba01ba)
2000-05-09 22:07:07 +00:00
Herb Lewis
4fb6ca6677 This is reall Jeremy commiting as Herb at SGI labs. Fix
for "socket operation on non-socket" error in log.smb
on HEAD branch startup (server_fd not initialized to -1).
Jeremy.
(This used to be commit ebb4f76550062b0ea2005a2b8842641a2c91f528)
2000-05-09 22:05:39 +00:00
Andrew Tridgell
4c061ca15c - use smb_gwtpwnam() in another couple of places
- don't call add/del user if the scripts are empty
(This used to be commit 43860215d4d16cb1bacdc77f1c46c54e4c54abd7)
2000-05-09 15:09:52 +00:00
Andrew Tridgell
6841ca0a07 fixed some winbind cache bugs
(This used to be commit 3cac3ccf047ce9a5c28916f9a2b1b3d38741e373)
2000-05-09 15:08:46 +00:00
Andrew Tridgell
c23e01d049 the beginnings of a new scheme I've working on to allow an easier
head/tng merge.

It goes something like this:

- headers from tng get copied over one at a time

- the old headers get renamed to *_old.h

- server side code that used the old headers gets a
  #define OLD_NTDOMAIN 1
  #undef OLD_NTDOMAIN
  at the start and end of the code

- mkproto.awk recognises these special defines and does magic stuff so
  that each .c file sees the right headers

- we start moving the rpc client libraries from tng to head.

if this goes OK then, in theory, we should be able to move the client
side rpc code from tng to head without disturbing the existing head
server side code. Then when that works we can consider merging the
server side.

it remains to be seen if this scheme will work. So far I've moved
rpc_samr.h and don't seem to have broken anything.

Note this this is still a very delicate operation, as at every step of
the way I want to keep head fully functional. Please don't take part
unless you discuss it with me first.
(This used to be commit f76c037255a6a79d11bec65e863e009a41a4f0fd)
2000-05-09 13:28:19 +00:00
Andrew Tridgell
fe7f54bc99 don't attempt to build rpcclient in the head branch
(This used to be commit 1b6d01e1152d1ac64e3b1f721227d06061982112)
2000-05-09 13:21:58 +00:00
Andrew Tridgell
17747d7614 brought across some rpc header files from tng
(This used to be commit db241a0b09fc38916db3b1a30aa493910d22567b)
2000-05-09 11:44:09 +00:00
Andrew Tridgell
32cb0660d2 brought the winbindd code into head
this does not yet compile, but I'm working on that.
(This used to be commit 3fb862531a4e78dca13d16d958517b16e5bdd4e2)
2000-05-09 11:43:00 +00:00
Andrew Tridgell
6bf1c3ac25 added some rules for winbindd and pam_winbind
(This used to be commit 6c5d139844334191f78257fbc9f01d0fa0c2bcf0)
2000-05-09 11:41:38 +00:00
Tim Potter
d4cd46557b Added tdb_store_by_string() and tdb_fetch_by_string() functions to store
data with null terminated string keys.
(This used to be commit d58146321b6fe50e1cc1a73da80c3d2e8c3412dc)
2000-05-09 06:22:12 +00:00
Andrew Tridgell
225fae135a the beginnings of a description of how to setup a Samba appliance
(This used to be commit ec2b77e97d8beaee9d2352411da01b302d0875c3)
2000-05-09 04:02:31 +00:00
Jeremy Allison
c33b0a6074 Fix for VMS platforms from "John E. Malmberg" <wb8tyw@qsl.net>
Jeremy.
(This used to be commit eb281324fa409296bb3f29c9b7c59b2337fadc0d)
2000-05-08 18:24:26 +00:00
Jeremy Allison
1684d534c8 Someone :-) forgot to add secrets.c to HEAD.
Jeremy.
(This used to be commit ac40971f30e00a93fc5e138bfd1afa05cd8dea4b)
2000-05-08 18:14:25 +00:00
Andrew Tridgell
2958dfcdf8 added secrets.tdb and changed storage of trust account password to use
it
(This used to be commit 88ad00b82acc4636ab57dfe710af08ea85b82ff1)
2000-05-08 10:42:21 +00:00
Tim Potter
722a4bfa9f Added winbindd parameters to smb.conf documentation.
(This used to be commit 1d3bd3c486bf9f6b6c9d5f6207f591f465517e1e)
2000-05-08 10:38:52 +00:00
Tim Potter
b9036654ca Initial version of winbindd manual page.
(This used to be commit dbe26556e70bf1b3d5770b4fd21e146650e82a91)
2000-05-08 10:00:02 +00:00
Andrew Tridgell
12a38a4632 added winbindd options in head branch, so it is possible to combine
branches
(This used to be commit cd5e2494279792f8516947a63bf313f8142a52c0)
2000-05-06 15:06:45 +00:00
Andrew Tridgell
2684f50849 fixed a vfs crash bug
(This used to be commit 76da586396c85b6614579b9234eec34f57c12ffe)
2000-05-06 15:00:49 +00:00
Andrew Tridgell
5612f6a2aa signed/unsigned fixes so we can handle a lock base close to 2^32
(This used to be commit 0ce2ca5ccdd0e2e7711dcbf66b72a183b2692cfe)
2000-05-06 01:36:59 +00:00
Jeremy Allison
6d9ce38306 Fix for uninitialized memory read in brlock code. brl_locktest now needs
to correctly set the fnum, as the brl_conflict code looks at it.
Jeremy.
(This used to be commit df87259a356b91989604a10b3691480dcd16cf3f)
2000-05-05 20:50:22 +00:00
Jeremy Allison
652d98c0bc Fix for dual unix_to_dos conversion in readdir from A.V.Shutko <AVShutko@mail.khstu.ru>
Jeremy.
(This used to be commit 1152f2ed008dbfa7e2b1cb9719d31575e7d05b89)
2000-05-05 19:57:02 +00:00
Herb Lewis
3f9fe64441 add new release notes chapter to samba for irix package
(This used to be commit e2de1cf2221f56a5ee3537664d211cdcdfe74785)
2000-05-05 14:31:36 +00:00
Tim Potter
c7ddaacd26 Fix for crash bug in OpenConfFile() if no smb.conf exists.
(This used to be commit b531ddb2657e9eac1c1e9f32344b67c3963ce30a)
2000-05-05 04:18:22 +00:00
Jeremy Allison
a12b2cd9e8 Fix for read_file() returning -1.
Jeremy.
(This used to be commit b899943658bee90994b416aa6caff0ee7cab5f28)
2000-05-05 02:39:02 +00:00
Jeremy Allison
091c970682 Two fixes. Added missong logic & case in lock split code.
Fixed range split into two, as DLIST_ADD has the wrong semantics...
Jeremy.
(This used to be commit 82681edda14dcc3d58bb303cfac5452072de67df)
2000-05-05 02:17:39 +00:00
Andrew Tridgell
044b569006 make debug easier to read
(This used to be commit c14a2616441b2f3357a081c6dbae7d5b677e5a12)
2000-05-05 01:26:52 +00:00
Andrew Tridgell
8ea45ac5ce make debug easier to read
(This used to be commit d64bb07f0ad0efa1a20015b620ae33fb082b1e44)
2000-05-05 01:20:25 +00:00
Andrew Tridgell
a6280d37c6 nasty hack to print posix locks
(This used to be commit efc9752f1e00b38abe3b5d3a98627a9fe6122bc4)
2000-05-05 01:11:23 +00:00
Andrew Tridgell
c7845863bb example of broken posix lock behaviour
(This used to be commit b3999f3b20d470b9c873b297e7aeb043da61588d)
2000-05-05 00:46:38 +00:00
Jeremy Allison
045469493c rpc_server/srv_lsa.c: Bring into sync with 2.0.x.
rpc_server/srv_pipe_hnd.c: Bring into sync with 2.0.x.
smbd/blocking.c: Improve blocking debug reporting.
utils/torture.c: Added check for NT locking bug.
Jeremy.
(This used to be commit e8ff6d3fb5537c39611a5784bf7216ae812acd27)
2000-05-04 21:57:28 +00:00
Jeremy Allison
fffeaf527d Updated to fix overlapping problem.
Jeremy.
(This used to be commit 9bdfe0f5023988962f8a8b4d847de7a0ee27f85c)
2000-05-04 19:01:14 +00:00
Andrew Tridgell
f6844e0b7e a minimal change to get appliance mode to work with winbindd
we needed to accept usernames of the form DOMAIN/user, which means we
needed to pass the domain to a getpwnam() like routine in certain
critical spots.

What I'd rather do is get rid of "char *user" everywhere and use the
new userdom_struct, but that will have to wait a few days.
(This used to be commit 8b7a10febead8be182e7d5b1d68259e31530b69c)
2000-05-04 16:01:47 +00:00
Andrew Tridgell
f74ea2b78b parameterize the lock timeout
(This used to be commit 98ad4095ccc8d0349d05e6e9223eaad057029626)
2000-05-04 09:32:21 +00:00
Andrew Tridgell
0236a14bac added a test for the NT byte range lock into smbtorture
(This used to be commit 7cfd45cc56e01a20a122c7742dc7e6a4ed59415f)
2000-05-04 09:31:57 +00:00
Andrew Tridgell
420d7e02dc an even simpler example of NT gettings its locking code wrong. This
one doesn't even need two connections to the box, just two file handles.

it is a very simple case actually, and one I think will happen quite a
lot in real life. I wonder how they haven't noticed it? I checked and
W2K has the same bug.
(This used to be commit 0b335e415818028ac0daad5f99c2fd9086a2a656)
2000-05-04 08:58:07 +00:00
Andrew Tridgell
f3a861e04e - use full_name instead of real_name
- got rid of guest map code in lpq parser
(This used to be commit 8e53f781d3cf6a7007764916a0d8e8f1abea1f66)
2000-05-04 07:59:34 +00:00
Andrew Tridgell
a7820eb9af need LOCKING_OBJ in locktest now
(This used to be commit 89e71994450f479a0f3839f192d868924626fc84)
2000-05-04 06:57:26 +00:00
Andrew Tridgell
876dd8d9aa more locktest improvements
the current preset tests show a very interesting NT bug - it sometimes
refuses a lock that it shouldn't.
(This used to be commit 85b5dc64cf7cc80567f9069a48c4d20c10ccec01)
2000-05-04 06:30:17 +00:00
Andrew Tridgell
9faf18a4b0 fixed message text
(This used to be commit 99e522023eae7cf1a88e5de50f2b09df3ea318d3)
2000-05-04 06:29:13 +00:00
Andrew Tridgell
6ed606cab4 if the stat cache is off then don't initialise it
(This used to be commit cd5dcd9e659a7255f03eb496c0202986375e73a6)
2000-05-04 06:28:38 +00:00
Andrew Tridgell
a5da647e10 added -A analyze mode to locktest - it can now automatically prune
the list of locks that cause a failure
(This used to be commit 0beee59432f17f90a1c4c2c68a7ea6022b5d0908)
2000-05-04 04:14:23 +00:00
Andrew Tridgell
e6bc1dd64d found a much simpler case that kills the posix locking
(This used to be commit b703cecf81dc62234171eaaa4c0cae448f144e1f)
2000-05-04 02:12:33 +00:00
Andrew Tridgell
1246072d99 fixed a uninit memory read that insure found
(This used to be commit 43fe5b98b4514d59e1c4bbc54a628cfbd771fc4f)
2000-05-04 02:01:48 +00:00
Andrew Tridgell
82e6018ad8 added ability to present lock tests
(This used to be commit 3fc6a467fc3dfd2a59d4509ec52172d2dd048c80)
2000-05-04 01:40:51 +00:00
Jeremy Allison
05a28f1dfd Fix for debug statement crash.
Jeremy.
(This used to be commit 57bf92d90147b207664152d44ce4bfb5235dc7d8)
2000-05-04 00:29:50 +00:00
Herb Lewis
7de6b0474b unicode code pages are detected as compiler intermediate file so set to
nostrip
(This used to be commit 5e7bc9c3e705cfaa12bd0071a873c79e2097a5a0)
2000-05-03 22:29:54 +00:00
Jeremy Allison
8c19fa8f7a Fix based on Elrond's code to reduce the store size on removing dead records.
Jeremy.
(This used to be commit 09e92a61a966d09f543ba541ddb3240cc4718579)
2000-05-03 20:33:25 +00:00
Jeremy Allison
756798d000 Fixed the bug locktest.c found, it was an off-by-one error in the non-overlap
case.
Jeremy.
(This used to be commit 65150c408a5254215de89c8c774c33c4d011c2c0)
2000-05-03 19:37:47 +00:00
Jeremy Allison
0d917c6cd6 Fixed silly bug where I wasn't checking for matching fd's in closing a file.
This caused smbd crashes on SIGKILL.
Jeremy.
(This used to be commit d4dcefd12d14df112f083c312acbea0196bc5c23)
2000-05-03 18:57:21 +00:00
Jeremy Allison
f6bcf3d324 Added range info to the panic message to track down the bug with
locktest.
Jeremy.
(This used to be commit 91f038356b7efa04cf4bfa5e6afd8b144b6b4ad5)
2000-05-03 17:50:42 +00:00