summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2003-04-19 15:29:39 +0000
committerSimo Sorce <idra@samba.org>2003-04-19 15:29:39 +0000
commit84728c340001e4355f8c0cd668eb157090722c80 (patch)
tree20830a00a1cab00105c9d959c8e859400e983cb9 /source3/smbd
parentee88b8214e8ac65a0e60aca244486db78c950ece (diff)
downloadsamba-84728c340001e4355f8c0cd668eb157090722c80.tar.gz
samba-84728c340001e4355f8c0cd668eb157090722c80.tar.bz2
samba-84728c340001e4355f8c0cd668eb157090722c80.zip
fixes
fix debug, add "idmap" string to the list of classes fix idmap, check init failures, and enhance debugging fix idmap_tdb, _do_ init uid and gid low,high states (too bad I missed that before) fix smbd/uid.c, use gid_t for gids and uid_t for uids (This used to be commit bc95de4ebb014080bc70173e7df94c672cea8df6)
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/uid.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/smbd/uid.c b/source3/smbd/uid.c
index 0fa65f47ca..0b67b53c71 100644
--- a/source3/smbd/uid.c
+++ b/source3/smbd/uid.c
@@ -873,6 +873,8 @@ BOOL sid_to_uid(const DOM_SID *psid, uid_t *puid, enum SID_NAME_USE *sidtype)
if (sid_compare_domain(get_global_sam_sid(), psid) == 0) {
BOOL result;
+
+ DEBUG(10,("sid_to_uid: sid is local [%s]\n", sid_string_static(get_global_sam_sid())));
become_root();
result = local_sid_to_uid(puid, psid, sidtype);
unbecome_root();