1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-04 05:18:06 +03:00
Commit Graph

4015 Commits

Author SHA1 Message Date
Andrew Tridgell
a9a512192d continued the split of the kernel level oplocks code into a more
modular form. In this pass I added oplock_irix.c and added a "struct
kernel_oplocks" that describes a kernel oplock implementation.

I also removed the maintainence mode from the Makefile. It was causing
too much trouble. If someone really likes it they can keep a patch
around to enable it themselves.
(This used to be commit fbeb980434)
2000-06-10 13:35:20 +00:00
Jeremy Allison
891bdd0d3e (Correct) fix for desired_access being zero in map_share_mode().
Jeremy.
(This used to be commit cc447fbe3c)
2000-06-09 19:41:48 +00:00
Jeremy Allison
eab8f3c940 Fix from Elrond for hash table corruption. Should fix stat cache bug (I
sincerely hope :-). Thanks elrond !
Jeremy.
(This used to be commit 0d59e8c6bf)
2000-06-09 18:54:41 +00:00
Jeremy Allison
03e0164270 Luke, I am moving the code back into passdb/passdb.c, this the correct
place to do this, not in smbd/passwd.c

Please don't change this without asking first, I have run this past
Andrew so talk to him (I'm on vacation next week).

I also removed the g_newXXX macros. There are essentially a private C extension,
not used anywhere else in the code, and add no functionality over malloc(XX)
and make the code harder to understand (everyone knows what malloc does).

Jeremy.
(This used to be commit e1b1b6fb67)
2000-06-09 18:45:31 +00:00
Jean-François Micouleau
e58682eb07 do some standard_sub_advanced() in api_net_sam_logon on lp_logon_xxx().
and if you have unix realname=yes, you get the gecos name when locking the
station.

	J.F.
(This used to be commit b5ad24ae0b)
2000-06-09 14:13:11 +00:00
Jean-François Micouleau
0288a641e7 untiltime should be 0 by default to cover the whole 24 hours.
J.F.
(This used to be commit 53aff484a6)
2000-06-09 14:08:03 +00:00
Andrew Tridgell
15cf0e8470 clean up oplock capability code ready for Linux code
(This used to be commit 70dcc791b4)
2000-06-09 06:58:06 +00:00
Andrew Tridgell
844d3b512d the Linux F_GETLEASE value has changed
(This used to be commit 2a3c994a96)
2000-06-09 06:55:25 +00:00
Andrew Tridgell
698d2e873e some templates needed for the new aparser stuff
(This used to be commit e13089b040)
2000-06-09 04:22:31 +00:00
Andrew Tridgell
09ea9eac69 split some of the irix kernel oplocks code into a function
(This used to be commit 6b888d600d)
2000-06-09 04:22:02 +00:00
Luke Leighton
979f509e74 free NET_USER_INFO_3 gids when vuser invalidated.
(This used to be commit 2f056c2aad)
2000-06-09 03:30:54 +00:00
Luke Leighton
ad98207f54 dynamic allocation of NET_USER_INFO_3 gids.
jeremy, the intent is to call se_access_check() with usr-sid, grp-sid,
array-of-group-rids (but array-of-group-sids would do).

please do look at smbd/lanman.c's api_NetWkstaGetInfo, it will show you
that we really do need to store the entire NET_USER_INFO_3 structure.

then again, api_NetWkstaGetInfo is only used by win9x so who cares :)
(This used to be commit bd34f65239)
2000-06-09 03:00:34 +00:00
Andrew Tridgell
eee003da6a started adding support for relative, plus options for autoalignment
so the same parser generator can be uses for cifs and rpc
(This used to be commit c7829fa0d8)
2000-06-09 02:59:50 +00:00
Luke Leighton
c3487b00dd reverted jeremy's changes that removed NET_USER_INFO_3. will you please
not just undercut work in progress, thank you.
(This used to be commit 86d440a88c)
2000-06-09 01:26:42 +00:00
Jeremy Allison
a62d17dc61 Change from "David S. Chappell" <David.Chappell@mail.cc.trincoll.edu>
to make "printer driver file" a share parameter. This fits better with
the new NT printing subsystem.
Jeremy.
(This used to be commit 7afb68461f)
2000-06-08 22:24:13 +00:00
Jeremy Allison
f5a4d08d9e Fix for map_share_mode to allow desired access of zero map to stat open.
Jeremy.
(This used to be commit b0242080fe)
2000-06-08 21:54:50 +00:00
Jeremy Allison
28555ec92e include/smb.h: Removed NET_USER_3 struct from user struct. It doesn't belong there (yet)
as there is no infrastructure for it. Replaced it with a dynamic array
				of group SIDs plus a user.
passdb/passdb.c: Added setup_user_sids() function. This is where the lookup should be done,
				eventually calling winbind.
smbd/password.c: Changed to call setup_user_sids(). Removed spurious DEBUG(0) statements.
smbd/reply.c: Removed extra parameter to register_vuid().

Jeremy.
(This used to be commit 425f4ad9a5)
2000-06-08 17:50:19 +00:00
Christopher R. Hertel
ce17aace99 Again, just syncronizing. The a function name was changed in the sll
module but none of Samba uses it directly.  The macros are used instead
so the change is hidden.  Good.
(This used to be commit c5d7ee506d)
2000-06-08 17:42:20 +00:00
Christopher R. Hertel
1be87441fe Bringing these up to date with what I've got on my site. The fixes include
the change that prevents 'insure' from becomming confused and issuing leak
reports.  Some minor speed fixes.  That sort of thing.

Chris -)-----
(This used to be commit 164cc91d81)
2000-06-08 17:29:05 +00:00
Luke Leighton
84d40095e1 added a NET_USER_INFO_3 struct to user_struct.
register_vuid fills it with constructed info.
(This used to be commit b1889e4334)
2000-06-08 13:56:07 +00:00
Luke Leighton
1bdbb4e601 added se_access_check.
(This used to be commit 6de329f6bf)
2000-06-08 08:41:28 +00:00
Luke Leighton
6ac5383233 make_sec_acl was passed pointer to static array ace[2], oops.
(This used to be commit f3502d846c)
2000-06-08 07:55:24 +00:00
Andrew Tridgell
bda48b3824 - changed HAVE_KERNEL_OPLOCKS to HAVE_KERNEL_OPLOCKS_IRIX
- added autoconf test for HAVE_KERNEL_OPLOCKS_LINUX
(This used to be commit 0368f68529)
2000-06-08 07:40:55 +00:00
Jeremy Allison
6d38ba721c Moved tdb functions that access parse structs into parse_prs.c
to prevent builkd breaking.
Jeremy.
(This used to be commit 6c7adeab0f)
2000-06-08 01:16:42 +00:00
Jeremy Allison
b2eef912cf Cause printer SD's to be displayed correctly (full control).
Jeremy.
(This used to be commit 341d07c516)
2000-06-08 00:17:05 +00:00
Jeremy Allison
0164047afb Fixing get/set of security descriptors.
Removed ugly hack for NT printing.
Fixed up tdb parse stuff memory leaks.
Jeremy.
(This used to be commit 8ef41f31c5)
2000-06-07 01:49:23 +00:00
Jeremy Allison
d253db1b9a Memory leak fixes.
Jeremy.
(This used to be commit 34b63896ab)
2000-06-06 20:44:58 +00:00
Andrew Tridgell
798670db20 fixed sizeof() typo
(This used to be commit 1da9c5531a)
2000-06-06 01:53:05 +00:00
Andrew Tridgell
ad53b64641 fixed!!
yipee!

the damn "device settings cannot be displayed" error is gone. We
needed to supply a default set of forms. I've added A4 and Letter by
default.
(This used to be commit 36f1189be1)
2000-06-06 01:47:11 +00:00
Jeremy Allison
84aa9ad049 Create elements in default, not in read.
Jeremy.
(This used to be commit 0d681ea252)
2000-06-06 01:34:20 +00:00
Jeremy Allison
6d8c131f50 Some tidyup fixes (memory leaks etc.). Still no progress with the
"no driver" issue. I'm banging my head against comparitive packet
dumps right now...
Jeremy.
(This used to be commit 03cd4aa144)
2000-06-05 20:55:57 +00:00
Andrew Tridgell
f87246df62 simple increment bug in uniarray_2_dosarray
(This used to be commit 6506e6f470)
2000-06-05 14:06:13 +00:00
Andrew Tridgell
2db93dcc0f don't ue nasty /proc/locks hack by default
(This used to be commit 62d72dd67b)
2000-06-05 13:54:26 +00:00
Andrew Tridgell
7df31cb494 added locktest2
this uses 16 open file descriptors on 2 servers, with each server
accessed both via POSIX call and SMB calls. The idea is to test
NFS/SMB locking interaction.

Unfortunately the NT NFS locking implementation is so badly broken
that we don't have anything to test against
(This used to be commit 581498fe6b)
2000-06-05 13:53:56 +00:00
Tim Potter
6c178b3859 Forgot attr entry for private dir.
(This used to be commit df69027331)
2000-06-05 13:02:09 +00:00
Tim Potter
bf302c5447 Updated samba appliance example.
(This used to be commit e42f2fc397)
2000-06-05 12:58:47 +00:00
Andrew Tridgell
c35ea64561 fixed a off by one bug in ntforms read from the database
(This used to be commit 1c5f708219)
2000-06-05 11:45:56 +00:00
Tim Potter
55e0505d84 Copied across NT_Security documentation from 2.0
(This used to be commit 6f07da3b91)
2000-06-05 11:35:26 +00:00
Tim Potter
def5fee959 Someone wrote a man page for smbspool - how nice!
(This used to be commit bac7a72f47)
2000-06-05 10:44:56 +00:00
Andrew Tridgell
92972280af added -O (use oplocks) option to locktest
(This used to be commit 56ba49382f)
2000-06-05 09:40:58 +00:00
Andrew Tridgell
dcecbc52a9 we no longer need the code to cope with setprinter having corrupted
data
(This used to be commit c602b703a0)
2000-06-04 23:44:33 +00:00
Andrew Tridgell
d48c727c97 no space was being reserved for the security descriptor in the parse
buffer
(This used to be commit 417a88fc6a)
2000-06-04 23:34:55 +00:00
Andrew Tridgell
3ca34cc49f sec_desc_size() needs to handle a null secdesc
(This used to be commit b152d75ea6)
2000-06-04 23:34:11 +00:00
Andrew Tridgell
7ed09de569 some printer parameters are getting corrupted, possibly by the client
possibly by smbd. Reset them so printing at least works while I try to
figure out what is going on.
(This used to be commit 70476d6767)
2000-06-04 04:17:59 +00:00
Andrew Tridgell
0090b4ee11 added some debug code to track down pack/unpack problems
(This used to be commit ac9cdab33c)
2000-06-04 02:29:45 +00:00
Andrew Tridgell
ad267718dd fixed the pack/unpack of the devicemode
we were being bitten by uint16/uint32 mixups
(This used to be commit 1d37f76953)
2000-06-04 02:29:00 +00:00
Andrew Tridgell
dbf004bdab added a MANGLE_DRIVER_PATH define to chooose whether we stuff with the
driver path do a rename etc.

I turned it off by default as it is causing me no end of problems. The
client will *cache* this path, and that screws things up badly as the
temp directory is no longer there when it is needed.
(This used to be commit 46f5f41c88)
2000-06-04 00:26:08 +00:00
Andrew Tridgell
5a0d520723 someone forgot a !
(This used to be commit 29fa2e1d99)
2000-06-04 00:08:50 +00:00
Andrew Tridgell
bca956d078 new protos
(This used to be commit e00c162f72)
2000-06-03 07:20:57 +00:00
Andrew Tridgell
2a24646c50 fixed some ptr declarations
(This used to be commit 7a670f5f3b)
2000-06-03 07:20:44 +00:00