diff options
author | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2013-10-03 17:51:46 +0200 |
---|---|---|
committer | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2013-10-03 17:55:35 +0200 |
commit | e55d7447df63f3f6d34fcedf99dd840b3c1ff8bd (patch) | |
tree | 1614ba469ea8565c0946742c9b9b9a09971e08c0 | |
parent | 932106714b2d95e2e907720631dee9624c04b45d (diff) | |
download | cifs_idmap_sss-e55d7447df63f3f6d34fcedf99dd840b3c1ff8bd.tar.gz cifs_idmap_sss-e55d7447df63f3f6d34fcedf99dd840b3c1ff8bd.tar.bz2 cifs_idmap_sss-e55d7447df63f3f6d34fcedf99dd840b3c1ff8bd.zip |
Remove dead code
-rw-r--r-- | cifs_idmap_sss.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/cifs_idmap_sss.c b/cifs_idmap_sss.c index 8831ab1..d1c6b0a 100644 --- a/cifs_idmap_sss.c +++ b/cifs_idmap_sss.c @@ -164,7 +164,7 @@ int cifs_idmap_str_to_sid(void *handle, const char *name, } } - // TODO: Map name==Everyone to WOLD_SID | + /* TODO: Map name==Everyone to WOLD_SID? */ idmap_err = sss_idmap_sid_to_bin_sid(ctx->idmap, str_sid, &bin_sid, &length); @@ -230,12 +230,8 @@ int cifs_idmap_sids_to_ids(void *handle, const struct cifs_sid *sid, cuxid[i].id.uid = 0; cuxid[i].type = CIFS_UXID_TYPE_GID; } else { -#if 0 - cuxid[i].id.uid = 99; - cuxid[i].type = CIFS_UXID_TYPE_BOTH; -#else + /* FIXME: Make this generic and handle all possible ids */ continue; -#endif } debug("setting uid of %s to %d", str_sid, cuxid[i].id.uid); } |