1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
samba-mirror/source3/lib
Andrew Bartlett 583b104d4b s3-idmap: Rework idmap_cache to store ID_TYPE_BOTH values
This required that the lower level cache store a UID/GID and a type, and that
we operate on struct unixid rather than just uid/gid.

The ID_TYPE_BOTH is then handled as being a positive mapping for both
a UID and GID value.  Wrapper functions are provided so that callers are not
changed in this patch.

Andrew Bartlett

Signed-off-by: Michael Adam <obnox@samba.org>
2012-05-02 13:18:02 +02:00
..
dbwrap s3: Fix Coverity ID 2751: REVERSE_INULL 2012-04-24 13:28:50 +02:00
eventlog tdb_compat: Higher level API fixes. 2011-06-20 11:18:35 +02:00
netapi libndr: Rename policy_handle_equal to ndr_policy_handle_equal. 2012-03-20 13:54:07 +01:00
pthreadpool s3: Fix the pthreadpool build on OS/X 2012-04-09 18:05:02 +02:00
smbconf build: Remove sys_fopen wrapper 2012-04-05 02:39:08 +02:00
access.c
addrchange.c
addrchange.h s3:lib/addrchange.h: include libreplace headers before others 2011-10-25 17:58:33 +02:00
adt_tree.c adt_tree: Fix return types. 2012-03-24 17:11:11 +01:00
afs_settoken.c s3:afs make path argument to afs_syscall const 2011-07-21 14:55:08 +02:00
afs.c s3:lib/afs use stdbool types 2011-07-21 14:55:06 +02:00
audit.c
avahi.c
background.c s3: Fix Coverity ID 2743: CHECKED_RETURN 2012-04-19 17:37:38 +02:00
background.h s3: Add infrastructure for background jobs 2012-04-17 10:21:00 +02:00
cbuf.c s3:lib fix output of hex escapes > 0x7F with cbuf_print_quoted 2011-11-25 13:24:34 +01:00
cbuf.h
charcnv.c Fix a bunch of "unused variable" warnings. 2012-02-18 06:22:40 +01:00
conn_tdb.c s3: Add a "lock_order" argument to db_open 2012-01-18 14:48:04 +01:00
ctdb_conn.c s3: Add a second ctdb connect library 2012-04-17 10:21:01 +02:00
ctdb_conn.h s3: Add a second ctdb connect library 2012-04-17 10:21:01 +02:00
ctdb_packet.c s3: Remove an unnecessary include 2011-08-10 18:10:39 +02:00
ctdbd_conn.c s3: Make ctdbd_messaging_send_blob available in non-clustered mode 2012-04-17 10:21:02 +02:00
dmallocmsg.c
dummyparam.c s3:lib/dummyparam: remove unused conn_snum_used() dummy 2011-12-13 15:45:36 +01:00
dumpcore.c
errmap_unix.c s3:lib/errmap_unix: map EPIPE to NT_STATUS_CONNECTION_DISCONNECTED 2011-10-25 17:58:33 +02:00
events.c lib/util: Remove sys_poll as it is no longer needed 2012-02-16 15:49:21 -08:00
file_id.c s3-lib: Add file_id_string() 2012-04-18 12:05:00 +10:00
file_id.h s3-lib: Add file_id_string() 2012-04-18 12:05:00 +10:00
filename_util.c First part of fix for bug #8419 - Make VFS op "streaminfo" stackable. 2011-10-17 21:39:32 +02:00
fncall.c Change the signature of pthreadpool_finished_job() to return 0 2011-12-22 12:12:33 +01:00
fstring.c
g_lock.c s3-g_lock: Use dbwrap_record_watch_send/recv 2012-04-19 22:24:19 +02:00
gencache.c tdb2: tdb_parse_record() returns negative errors, not -1. 2011-06-20 11:18:35 +02:00
id_cache.c s3:id_cache: do not use the in-memory idmap cache (it is going to be removed) 2012-04-20 23:17:36 +02:00
id_cache.h s3:smbcontrol: let smbd pass the idmap msg to its children for convenience 2011-10-12 22:45:53 +02:00
idmap_cache.c s3-idmap: Rework idmap_cache to store ID_TYPE_BOTH values 2012-05-02 13:18:02 +02:00
idmap_cache.h s3-idmap: Rework idmap_cache to store ID_TYPE_BOTH values 2012-05-02 13:18:02 +02:00
interface.c
ldap_debug_handler.c
ldap_escape.c
memcache.c s3-talloc Change TALLOC_ZERO_P() to talloc_zero() 2011-06-09 12:40:08 +02:00
messages_ctdbd.c s3: Make messaging_ctdbd_connection available in non-clustered mode 2012-04-17 10:21:02 +02:00
messages_local.c s3: Add messaging_tdb_event() 2012-04-17 10:21:01 +02:00
messages.c s3: Fix a valgrind error 2012-03-29 15:50:13 +02:00
ms_fnmatch.c Second part of fix for bug 8310 - toupper_ascii() is broken on big-endian systems. 2011-07-19 23:48:05 +02:00
msg_channel.c s3: Fix msg_channel in the cluster case 2012-04-20 13:42:40 +02:00
msg_channel.h s3: Add msg_channel 2012-04-17 10:21:01 +02:00
namearray.c
pidfile.c build: Remove SMB_F* locking defines 2012-04-05 02:39:09 +02:00
popt_common.c build: Remove sys_open wrapper 2012-04-05 02:39:08 +02:00
privileges.c s3:privileges: convert privileges.c to use dbwrap wrapper functions. 2011-10-11 14:17:57 +02:00
privileges.h source3/lib/privileges.h: fix licence/copyright 2011-06-10 15:12:15 +02:00
recvfile.c build: Remove SMB_OFF_T, replace with off_t 2012-04-06 01:47:43 +02:00
sendfile.c build: Remove SMB_OFF_T, replace with off_t 2012-04-06 01:47:43 +02:00
server_contexts.c s3: Remove a bunch of calls to procid_self() 2011-12-12 21:50:25 +01:00
server_mutex.c tdb_wrap: Move to specific directory. 2012-03-10 23:13:01 +01:00
server_prefork_util.c s3-prefork: Fix code to retire children 2011-08-21 09:05:06 -04:00
server_prefork_util.h s3-prefork: add a few more utility functions 2011-08-21 09:05:05 -04:00
server_prefork.c lib/util: Remove obsolete sys_getpid() and sys_fork(). 2012-03-24 21:55:40 +01:00
server_prefork.h s3-prefork: Listening fds must be in non-blocking mode 2011-08-21 09:05:07 -04:00
serverid.c tdb_wrap: Move to specific directory. 2012-03-10 23:13:01 +01:00
sessionid_tdb.c s3: Add a "lock_order" argument to db_open 2012-01-18 14:48:04 +01:00
sharesec.c s3: Add a "lock_order" argument to db_open 2012-01-18 14:48:04 +01:00
smbd_shim.c s3: Move can_delete_directory to smbd/, remove shim 2011-12-13 19:00:37 +01:00
smbd_shim.h s3: Move can_delete_directory to smbd/, remove shim 2011-12-13 19:00:37 +01:00
smbldap.c lib/util: Remove obsolete sys_getpid() and sys_fork(). 2012-03-24 21:55:40 +01:00
smbrun.c build: Remove sys_lseek wrapper 2012-04-05 02:39:08 +02:00
sock_exec.c lib/util: Remove dummy wrappers for setpwent/getpwent/endpwent. 2012-03-24 15:23:02 +01:00
srprs.c
srprs.h
string_init.c
substitute_generic.c Finally remove all malloc()'s from the substitute code. Now totally 2012-01-27 03:43:21 +01:00
substitute.c lib/util: Remove obsolete sys_getpid() and sys_fork(). 2012-03-24 21:55:40 +01:00
sysacls.c
sysquotas_4A.c
sysquotas_linux.c
sysquotas_nfs.c
sysquotas_xfs.c
sysquotas.c
system_smbd.c
system.c build: Remove SMB_OFF_T, replace with off_t 2012-04-06 01:47:43 +02:00
talloc_dict.c s3:talloc_dict: change to only use dbwrap wrapper functions 2011-10-11 14:17:57 +02:00
tallocmsg.c
tdb_validate.c lib/util: Remove obsolete sys_getpid() and sys_fork(). 2012-03-24 21:55:40 +01:00
tdb_validate.h tdb_compat.h: divert every tdb build and includes to tdb_compat 2011-06-20 11:18:34 +02:00
tevent_barrier.c s3: Implement tevent_barrier 2012-04-17 10:21:02 +02:00
tevent_barrier.h s3: Implement tevent_barrier 2012-04-17 10:21:02 +02:00
time.c s3:lib: make_unix_date3() is the same as pull_dos_date3() 2011-10-26 09:42:04 +02:00
tldap_util.c s3: Fix some False/NULL hickups 2011-12-20 13:13:17 +01:00
tldap.c Use tevent_req_oom 2011-06-20 12:33:24 +02:00
username.c lib/util: Remove dummy wrapper for getpwnam(). 2012-03-24 15:24:15 +01:00
util_builtin.c s3:util add sid_check_is_wellknown_builtin() 2012-05-01 09:32:11 +02:00
util_cmdline.c s3-lib: Fix util_cmdline which doesn't use popt. 2012-02-01 21:54:21 +01:00
util_file.c
util_malloc.c util_malloc: Remove unused constant. 2012-03-24 15:44:33 +01:00
util_names.c s3-param Remove special case for global_myname(), rename to lp_netbios_name() 2011-06-09 12:40:09 +02:00
util_nscd.c
util_nttoken.c s3-talloc Change TALLOC_ZERO_P() to talloc_zero() 2011-06-09 12:40:08 +02:00
util_sec.c Include uid_wrapper correctly. 2011-10-27 13:32:02 +02:00
util_sid.c
util_sock.c util_sock: Avoid sys_connect. 2012-03-24 14:51:23 +01:00
util_str.c s3-auth remove sanitized_username from auth_serversupplied_info 2011-08-03 18:48:04 +10:00
util_tdb.c lib/util: Move map_nt_error_from_tdb to the top level 2012-04-18 12:04:59 +10:00
util_transfer_file.c build: Remove SMB_OFF_T, replace with off_t 2012-04-06 01:47:43 +02:00
util_tsock.c
util_unixsids.c lib/util: Remove dummy wrapper for getgrnam(). 2012-03-24 15:25:48 +01:00
util_wellknown.c security: add local authority well-known SIDs 2011-11-24 19:01:08 +01:00
util.c s3-lib Add a way to allocate the task_id value in server_id 2012-04-30 17:55:12 +10:00
version_test.c
version.c
winbind_util.c s3-talloc Change TALLOC_ARRAY() to talloc_array() 2011-06-09 12:40:08 +02:00
winbind_util.h
wins_srv.c param: Finish conversion from lp_wins_support() -> lp_we_are_a_wins_server() 2011-07-02 12:31:34 +10:00
xattr_tdb.c s3: Fix the build on FreeBSD 2012-04-19 19:13:45 +02:00
xattr_tdb.h s3-xattr_tdb: Be nice to xattr_tdb_getxattr callers, return the full blob 2012-04-18 12:05:00 +10:00