Lines Matching refs:sid
28 #define SSS_SID_KEY "sid"
88 char *sid = NULL;
96 ret = sss_nss_getsidbyname(name, &sid, &id_type);
99 PyUnicode_FromString(sid), PYNUMBER_FROMLONG(id_type));
101 free(sid);
109 const char *sid;
113 sid = py_string_or_unicode_as_string(py_sid);
114 if (sid == NULL) {
118 ret = sss_nss_getnamebysid(sid, &name, &id_type);
133 char *sid = NULL;
160 ret = sss_nss_getsidbyid((uint32_t) id, &sid, &id_type);
163 PyUnicode_FromString(sid), PYNUMBER_FROMLONG(id_type));
165 free(sid);
194 const char *sid;
199 sid = py_string_or_unicode_as_string(py_sid);
200 if (sid == NULL) {
204 ret = sss_nss_getidbysid(sid, &id, &id_type);
338 "getnamebysid(sid or list/tuple of sid) -> dict(sid => dict(results))\n\
353 "getidbysid(sid) -> POSIX ID\n\
356 "getidbysid(sid or list/tuple of sid) -> dict(sid => dict(results))\n\
369 "getnamebycert(sid or list/tuple of certificates) -> dict(sid => dict(results))\n\