• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/samba-3.0.25b/source/passdb/

Lines Matching refs:uid

336 	pstr_sprintf(filter, "(&%s%s)", "(uid=%u)", 
538 if (!smbldap_get_single_pstring(priv2ld(ldap_state), entry, "uid",
540 DEBUG(1, ("init_sam_from_ldap: No uid attribute found for "
890 /* We've got a uid, feed the cache */
891 uid_t uid = strtoul(temp, NULL, 10);
892 store_uid_sid_cache(pdb_get_user_sid(sampass), uid);
963 "uid", pdb_get_username(sampass));
1271 pstr_sprintf( filter, "(&%s%s)", "(uid=%u)",
1823 DEBUG(2, ("ldapsam_update_sam_account: successfully modified uid = %s in the LDAP database\n",
1967 pstrcpy( filter, "(uid=%u)" );
1981 DEBUG (0, ("ldapsam_add_sam_account: More than one user with that uid exists: bailing out!\n"));
2069 slprintf (dn, sizeof (dn) - 1, "uid=%s,%s", escape_username, lp_ldap_machine_suffix ());
2071 slprintf (dn, sizeof (dn) - 1, "uid=%s,%s", escape_username, lp_ldap_user_suffix ());
2106 DEBUG(0,("ldapsam_add_sam_account: failed to modify/add user with uid = %s (dn = %s)\n",
2112 DEBUG(2,("ldapsam_add_sam_account: added: uid == %s in the LDAP database\n", pdb_get_username(newpwd)));
2441 filter = talloc_asprintf_append(filter, "(uid=%s)", escape_memberuid);
2491 DEBUG(0, ("Inconsistent SAM -- group member uid not "
2589 "(&(objectClass=%s)(uid=%s))",
3741 const char *ldap_attrs[] = { "uid", "sambaSid", NULL };
3777 name = smbldap_talloc_single_attribute(ld, entry, "uid",
3780 DEBUG(2, ("Could not retrieve uid attribute\n"));
3916 "(uid=%u)");
4157 vals = ldap_get_values(ld, entry, "uid");
4159 DEBUG(5, ("\"uid\" not found\n"));
4243 state->attrs = talloc_attrs(search->mem_ctx, "uid", "sambaSid",
4641 id->uid = strtoul(value, NULL, 10);
4661 * The uid is allocated by winbindd.
4686 uid_t uid = -1;
4698 filter = talloc_asprintf(tmp_ctx, "(&(uid=%s)(objectClass=%s))",
4814 if (!winbind_allocate_uid(&uid)) {
4822 homedir = talloc_sub_specified(tmp_ctx, lp_template_homedir(), "SMB_workstations_home", ldap_state->domain_name, uid, gid);
4825 homedir = talloc_sub_specified(tmp_ctx, lp_template_homedir(), name, ldap_state->domain_name, uid, gid);
4826 shell = talloc_sub_specified(tmp_ctx, lp_template_shell(), name, ldap_state->domain_name, uid, gid);
4828 uidstr = talloc_asprintf(tmp_ctx, "%d", uid);
4838 dn = talloc_asprintf(tmp_ctx, "uid=%s,%s", escape_name, lp_ldap_machine_suffix ());
4840 dn = talloc_asprintf(tmp_ctx, "uid=%s,%s", escape_name, lp_ldap_user_suffix ());
4892 "(&(uid=%s)"
5245 /* get the member uid */
5294 /* here it is, retrieve the uid for later use */
5295 uidstr = smbldap_talloc_single_attribute(priv2ld(ldap_state), entry, "uid", tmp_ctx);
5410 "(&(uid=%s)"