summaryrefslogtreecommitdiffstats
path: root/source3/smbd/msg_idmap.c
Commit message (Collapse)AuthorAgeFilesLines
* s3:smbd: split ID_CACHE_* message handling into parent and child partsStefan Metzmacher2011-12-151-174/+0
| | | | metze
* s3:smbcontrol: let smbd pass the idmap msg to its children for convenienceGregor Beck2011-10-121-1/+34
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* s3: fix id_cache_kill to delete the the id-mappig from cachesGregor Beck2011-10-121-0/+1
| | | | | | | | The intendet and documented behavior of smbcontrol smbd idmap kill is to delete the mapping from caches and additionally kill the smbd if an affected id is in use. Signed-off-by: Michael Adam <obnox@samba.org>
* s3: Remove a reference to smbd_server_connVolker Lendecke2011-09-131-2/+10
|
* s3: Fix smbcontrol smbd idmap kill S-1-5-21-...Volker Lendecke2011-09-051-6/+20
| | | | | | | | | The calls to sid_to_gid and sid_to_uid create id mapping entries themselves, which makes it pretty difficult to reliably delete id mapping entries everywhere just using a SID. Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Mon Sep 5 16:30:41 CEST 2011 on sn-devel-104
* s3: Reformat msg_idmap.c to match Samba codingVolker Lendecke2011-09-051-13/+19
|
* s3-id_cache: Use better names for id cache management opsAndreas Schneider2011-08-211-3/+3
| | | | | | | The IDMAP term is normally associated with Winbind's idmap stuff. These functions deal with id caching not id mapping. Signed-off-by: Simo Sorce <idra@samba.org>
* s3-id_cache: Move id caches mgmt out of smbdAndreas Schneider2011-08-211-100/+10
| | | | | | | | | | We must leave the MSG_IDMAP_KILL operation in SMBD as it uses smbd specific internal globals and makes sense only in the context of a smbd daemon. The rest is moved under lib/ as we need to deal with id cache cleanups in other daemons too (like lsasd). Signed-off-by: Simo Sorce <idra@samba.org>
* s3: Adapt msg_idmap.c to Samba coding conventionsVolker Lendecke2011-08-101-5/+5
|
* s3-auth Use *unix_token rather than utok in struct auth3_session_infoAndrew Bartlett2011-07-201-5/+5
| | | | | | | | | | | | | | | | This brings this structure one step closer to the struct auth_session_info. A few SMB_ASSERT calls are added in some key places to ensure that this pointer is initialised, to make tracing any bugs here easier in future. NOTE: Many of the users of this structure should be reviewed, as unix and NT access checks are mixed in a way that should just be done using the NT ACL. This patch has not changed this behaviour however. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s3-build: remove some unused headers.Günther Deschner2011-04-291-2/+0
| | | | Guenther
* s3-messages: make ndr_messaging.h part of messages.h.Günther Deschner2011-03-301-1/+0
| | | | Guenther
* s3-messages: only include messages.h where needed.Günther Deschner2011-03-301-0/+1
| | | | Guenther
* s3-auth: smbd needs auth.hGünther Deschner2011-03-301-0/+1
| | | | Guenther
* s3: include smbd/smbd.h where needed.Günther Deschner2011-03-301-0/+1
| | | | Guenther
* s3-passdb: use passdb headers where needed.Günther Deschner2011-03-301-0/+1
| | | | Guenther
* s3: remove superfluous debug messages from msg_idmapGregor Beck2011-03-021-4/+0
| | | | | | | Signed-off-by: Michael Adam <obnox@samba.org> Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Wed Mar 2 00:30:41 CET 2011 on sn-devel-104
* s3-auth struct security_unix_token replaces UNIX_USER_TOKENAndrew Bartlett2011-03-011-1/+1
|
* s3:msg_idmap: The solaris cc compiler does not like unnamed unions as struct ↵Michael Adam2011-02-281-13/+13
| | | | | | | members - fix the build Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Mon Feb 28 16:39:15 CET 2011 on sn-devel-104
* s3: smbcontrol to notify smbd about idmap changesGregor Beck2011-02-281-0/+205
Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Mon Feb 28 14:07:23 CET 2011 on sn-devel-104