Lines Matching +defs:s +defs:db

42  * the first %s in _F_XXX_SSD. If no SSD is defined then the regular
49 #define _F_GETPWNAM "(&(objectClass=posixAccount)(uid=%s))"
50 #define _F_GETPWNAM_SSD "(&(%%s)(uid=%s))"
58 "(&(objectClass=posixAccount)(|(%s=%s)(%1$s=BUILTIN\\5c%2$s)))"
59 #define _F_GETPWWNAMWK_SSD "(&(%%s)(|(%s=%s)(%1$s=BUILTIN\\5c%2$s)))"
63 "(&(objectClass=posixAccount)(|(%s=%s@%s)(%1$s=%3$s\\5c%2$s)))"
64 #define _F_GETPWWNAMDOM_SSD "(&(%%s)(|(%s=%s@%s)(%1$s=%3$s\\5c%2$s)))"
68 #define _F_GETPWUID_SSD "(&(%%s)(uidNumber=%u))"
71 #define _F_GETGRNAM "(&(objectClass=posixGroup)(cn=%s))"
72 #define _F_GETGRNAM_SSD "(&(%%s)(cn=%s))"
76 "(&(objectClass=posixGroup)(|(%s=%s)(%1$s=BUILTIN\\5c%2$s)))"
77 #define _F_GETGRWNAMWK_SSD "(&(%%s)(|(%s=%s)(%1$s=BUILTIN\\5c%2$s)))"
81 "(&(objectClass=posixGroup)(|(%s=%s@%s)(%1$s=%3$s\\5c%2$s)))"
82 #define _F_GETGRWNAMDOM_SSD "(&(%%s)(|(%s=%s@%s)(%1$s=%3$s\\5c%2$s)))"
86 #define _F_GETGRGID_SSD "(&(%%s)(gidNumber=%u))"
130 * routine expects userdata to contain a format string with a single %s
139 * example the userdata will contain the filter "(&(%s)(cn=xy1234))".
159 /* Parameter check. We only want one %s here, otherwise bail. */
160 len = 0; /* Reuse 'len' as "Number of %s hits"... */
165 if (len > 0 || *(checker + 1) != 's')
167 len++; /* Got our %s. */
197 * it's \hh where hh are the two hexadecimal digits representing the ASCII
279 idmap_nldap_query_state_t *s;
281 s = calloc(1, sizeof (*s) +
283 if (s == NULL)
285 if (__ns_ldap_list_batch_start(&s->batch) != NS_LDAP_SUCCESS) {
286 free(s);
289 s->nqueries = nqueries;
290 s->flag = NS_LDAP_KEEP_CONN;
291 *qs = s;
306 const char *db, *filter, *udata;
324 db = "passwd";
340 db = "group";
419 q->lrc = __ns_ldap_list_batch_add(qs->batch, db, q->filter,
447 const char *db, *filter, *udata;
464 db = "passwd";
470 db = "group";
493 q->lrc = __ns_ldap_list_batch_add(qs->batch, db, q->filter,
513 const char *db, *filter, *udata;
531 db = "passwd";
537 db = "group";
573 q->lrc = __ns_ldap_list_batch_add(qs->batch, db, q->filter,
692 * We choose the first '\\' if it's in NT4 style and
693 * the last '@' if it's in AD-style for the split.
710 "winname (%s) found in Native LDAP", *val);