1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00
samba-mirror/source3/lib
Jeremy Allison 17dcd9a834 Started to canonicalize our handling of uid -> sid code in order to
get ready and fix se_access_check().
Added cannonical lookup_name(), lookup_sid(), uid_to_sid(), gid_to_sid()
functions that look via winbind first the fall back on local lookup.

All Samba should use these rather than trying to call winbindd code
directly.

Added NT_USER_TOKEN struct in user_struct, contains list of NT sids
associated with this user.

se_access_check() should use this (cached) value rather than attempting
to do the same thing itself when given a uid/gid pair.

More work needs to be done to preserve these things accross security
context changes (especially with the tricky pipe problem) but I'm
beginning to see how this will be done..... probably by registering
a new vuid for an authenticated RPC pipe and not treating the
pipe calls specially.

More thoughts needed - but we're almost there...

Jeremy.
(This used to be commit 5e5cc6efe2)
2000-08-02 02:11:55 +00:00
..
.cvsignore - fixed cast warnings 1998-10-05 12:35:30 +00:00
access.c finally got sick of the "extern int Client" code and the stupid 2000-04-11 13:55:53 +00:00
bitmap.c first pass at updating head branch to be to be the same as the SAMBA_2_0 branch 1999-12-13 13:27:58 +00:00
charcnv.c Fixes for Eastern Europe code page. 2000-02-18 03:11:22 +00:00
charset.c use open() not fopen() on codepage files. 2000-04-15 02:52:51 +00:00
cmd_interp.c Tidyup removing many of the 0xC0000000 | NT_STATUS_XXX stuff (only need NT_STATUS_XXX). 2000-08-01 18:32:34 +00:00
crc32.c first pass at updating head branch to be to be the same as the SAMBA_2_0 branch 1999-12-13 13:27:58 +00:00
debug.c totally rewrote the async signal, notification and oplock notification 2000-06-12 15:53:31 +00:00
domain_namemap.c Unicode conversion fix in Japanese environment from Motonobu TAKAHASHI. 1999-12-13 19:17:40 +00:00
doscalls.c Comments to use vfs_* functions instead of dos_* unless really 2000-02-03 05:10:09 +00:00
fault.c Added sys_fork() and sys_getpid() functions to stop the overhead 2000-05-02 02:23:41 +00:00
fsusage.c split fsusage() into a separate module (to fix linking problems with 2000-04-19 08:23:13 +00:00
genrand.c Added sys_fork() and sys_getpid() functions to stop the overhead 2000-05-02 02:23:41 +00:00
getsmbpass.c Small tidyups for gcc in 'preen' mode.... 1998-10-17 17:41:13 +00:00
hash.c Fix from Elrond for hash table corruption. Should fix stat cache bug (I 2000-06-09 18:54:41 +00:00
interface.c we don't need fnmatch.c any more 2000-04-30 11:15:27 +00:00
interfaces.c Added "inherit permissions" patch. 2000-01-14 01:41:04 +00:00
kanji.c Second set of inline optimisation fixes from Ying Chen <ying@almaden.ibm.com>. 2000-01-26 00:12:35 +00:00
md4.c first pass at updating head branch to be to be the same as the SAMBA_2_0 branch 1999-12-13 13:27:58 +00:00
ms_fnmatch.c Added sys_fork() and sys_getpid() functions to stop the overhead 2000-05-02 02:23:41 +00:00
msrpc_use.c more merging voodoo 2000-05-10 10:41:59 +00:00
msrpc-client.c Ok - this is a *BIG* change - but it fixes the problems with static strings 2000-07-27 00:47:19 +00:00
netatalk.c Ok - this is the 64 bit widening check in. It changes the configure 1998-09-03 18:40:31 +00:00
pidfile.c getting and setting security descriptors on printers now works 2000-05-27 09:53:11 +00:00
replace.c Added replacement functions sys_popen and sys_pclose. These are based 2000-02-15 19:36:47 +00:00
select.c fixed two minor bugs in new sys_select() 2000-06-21 12:14:51 +00:00
signal.c fixed a bug in BlockSignals() for systems that don't have 2000-06-12 06:09:39 +00:00
slprintf.c added fdprintf() 2000-04-16 09:40:02 +00:00
smbrun.c clean up oplock capability code ready for Linux code 2000-06-09 06:58:06 +00:00
snprintf.c Bracked unbracketed macro arguments while looking for another bug. 2000-07-06 01:30:41 +00:00
substitute.c do some standard_sub_advanced() in api_net_sam_logon on lp_logon_xxx(). 2000-06-09 14:13:11 +00:00
system.c totally rewrote the async signal, notification and oplock notification 2000-06-12 15:53:31 +00:00
talloc.c Ok - this is a *BIG* change - but it fixes the problems with static strings 2000-07-27 00:47:19 +00:00
time.c acconfig.h configure configure.in: Added check for UT_SYSLEN for utmp code. 2000-03-22 19:03:12 +00:00
ufc.c Small tidyups for gcc in 'preen' mode.... 1998-10-17 17:41:13 +00:00
username.c don't return a passwd struct for usernames that don't 2000-05-29 01:08:18 +00:00
util_array.c simple mods to add msrpc pipe redirection. default behaviour: fall back 2000-01-03 19:19:48 +00:00
util_file.c - added some error checking 2000-04-30 15:13:15 +00:00
util_list.c I really didn't like the way generic arrays (lists) were 2000-07-18 05:12:49 +00:00
util_seaccess.c Started to canonicalize our handling of uid -> sid code in order to 2000-08-02 02:11:55 +00:00
util_sec.c Moved over lib/util_sec (with added fixes) as the HEAD source 2000-02-08 11:32:43 +00:00
util_sid.c if the sids are not the same pointer and either of the sids are NULL 2000-07-25 20:26:50 +00:00
util_sock.c Linux kernel oplocks now seem to work, but need a _lot_ of testing 2000-06-11 05:57:58 +00:00
util_str.c Merged parse_domain_user() from TNG. 2000-06-14 09:57:51 +00:00
util_unistr.c More rpcclient merge issues: 2000-07-07 06:20:46 +00:00
util.c Linux kernel oplocks now seem to work, but need a _lot_ of testing 2000-06-11 05:57:58 +00:00
wins_srv.c Instead of handing back a string (which might be a DNS name or an IP 2000-07-19 05:32:43 +00:00