Searched defs:cred (Results 1 - 7 of 7) sorted by relevance

/dovecot/src/imap-urlauth/
H A Dimap-urlauth-login.c47 struct net_unix_cred cred; local
87 if (net_getunixcred(client->fd, &cred) == 0 &&
88 cred.pid != (pid_t)-1 && pid != cred.pid) {
91 (long)pid, (long)cred.pid, (long)cred.uid);
H A Dimap-urlauth.c137 struct net_unix_cred cred; local
145 if (reply.uid != (uid_t)-1 && net_getunixcred(client->fd, &cred) == 0 &&
146 reply.uid != cred.uid) {
149 (long)cred.uid, (long)reply.uid);
/dovecot/src/lib-ldap/
H A Dldap-private.h62 BerValue cred; /* needed for SASL */ member in struct:ldap_connection
/dovecot/src/auth/
H A Dauth-master-connection.c707 struct net_unix_cred cred; local
720 if (net_getunixcred(conn->fd, &cred) < 0) {
725 if (cred.uid == st->st_uid || cred.gid == st->st_gid) {
731 conn->userdb_restricted_uid = cred.uid;
H A Dauth-request-handler.c776 struct net_unix_cred cred; local
804 net_getunixcred(master->fd, &cred) == 0 &&
805 cred.pid != (pid_t)-1 && request->session_pid != cred.pid) {
810 (long)cred.pid, (long)cred.uid);
/dovecot/src/lib-http/
H A Dhttp-server-connection.c1080 struct net_unix_cred cred; local
1082 if (net_getunixcred(fd_in, &cred) < 0) {
1084 } else if (cred.pid == (pid_t)-1) {
1085 name = t_strdup_printf("unix:uid=%ld [%u]", (long)cred.uid, id);
1088 ("unix:pid=%ld,uid=%ld [%u]", (long)cred.pid, (long)cred.uid, id);
/dovecot/src/lib-smtp/
H A Dsmtp-server-connection.c850 struct net_unix_cred cred; local
854 if (net_getunixcred(fd_in, &cred) >= 0) {
855 conn->remote_pid = cred.pid;
856 conn->remote_uid = cred.uid;

Completed in 18 milliseconds