Lines Matching defs:uid
106 * uid/zoneid/username/domainname.
118 * The nodes are added sorted on the uid/zoneid/domainname/username
120 * Compare uid's. The owner who stored the node gets access.
125 if (pa->uid < pb->uid)
127 if (pa->uid > pb->uid)
149 * Initialization of the code that deals with uid and passwords.
209 uid_t uid;
212 uid = pk->pk_uid;
213 if (uid == (uid_t)-1)
214 uid = crgetruid(cr);
216 if (secpolicy_smbfs_login(cr, uid))
219 tmp->uid = uid;
236 * based on uid. We go through all the nodes and
237 * delete the nodes whereever the uid matches.
239 * Also implements "delete all" when uid == -1.
241 * You must have privilege to use any uid other
242 * than your real uid.
257 ioc_uid == tmp->uid) {
282 uid_t uid;
284 uid = pk->pk_uid;
285 if (uid == (uid_t)-1)
286 uid = crgetruid(cr);
288 if (secpolicy_smbfs_login(cr, uid))
292 cpid->uid = uid;
326 * Determine if a node with uid,zoneid, uname & dname exists in the tree
336 uid_t uid;
338 uid = pk->pk_uid;
339 if (uid == (uid_t)-1)
340 uid = crgetruid(cr);
342 if (secpolicy_smbfs_login(cr, uid))
346 cpid->uid = uid;
370 uid_t uid;
407 uid = crgetruid(cr);
408 err = smb_pkey_deluid(uid, cr);
412 uid = (uid_t)-1;
413 err = smb_pkey_deluid(uid, cr);