search for: authbuf

Displaying 5 results from an estimated 5 matches for "authbuf".

2003 May 14
0
Basic HTTP Proxy Authentication: patch update
...asic" + * proxy authorization protocol **/ -static int establish_proxy_connection(int fd, char *host, int port) +static int establish_proxy_connection(int fd, char *host, int port, + char *proxy_user, char *proxy_pass) { char buffer[1024]; + char authbuf[1024]; + size_t authlen; char *cp; - snprintf(buffer, sizeof(buffer), "CONNECT %s:%d HTTP/1.0\r\n\r\n", host, port); + /* use the proxy_user and proxy_pass + * variables to determine authentication string */ + if ((proxy_user != NULL) && + (proxy_pass != NULL)) { +...
2002 Apr 04
1
[patch] Basic HTTP Proxy Authentication
...proxy_user and proxy_pass are not NULL, + * they are used to authenticate to the proxy using the "Basic" + * proxy authorization protocol */ +static int establish_proxy_connection(int fd, char *host, int port, + char *proxy_user, char *proxy_pass) { char buffer[1024]; + char authbuf[1024]; + size_t authlen; char *cp; - snprintf(buffer, sizeof(buffer), "CONNECT %s:%d HTTP/1.0\r\n\r\n", host, port); + /* use the proxy_user and proxy_pass + * variables to determine authentication string */ + if ((proxy_user != NULL) && + (proxy_pass != NULL)) { + /* co...
2012 Aug 22
0
Winbind/AD/NFSv4: can't `ls/cd` private directory?
...OK]/[OK]/[OK] [4] rpc.idmapd debug output when listing /mnt--same results when mounted -o sec=none/-o sec=krb5/i/p: Aug 17 11:28:30 nfsserver rpc.idmapd[1484]: Server : (user) id "56055" -> name "joeuser at ad.example.com" Aug 17 11:28:30 nfsserver rpc.idmapd[1484]: nfsdcb: authbuf=199.60.0.0/255.255.240.0 authtype=group Aug 17 11:28:30 nfsserver rpc.idmapd[1484]: nfs4_gid_to_name: calling nsswitch->gid_to_name Aug 17 11:28:30 nfsserver rpc.idmapd[1484]: nfs4_gid_to_name: nsswitch->gid_to_name returned 0 Aug 17 11:28:30 nfsserver rpc.idmapd[1484]: nfs4_gid_to_name: fina...
2016 Aug 02
2
FW: kerberos nfs4's principals and root access
...t; > > rpc.gssd: libnfsidmap: loaded plugin > > > /lib/x86_64-linux-gnu/libnfsidmap/nsswitch.so for method nsswitch > > > rpc.gssd: Expiration time is 600 seconds. > > > ... > > > nfsidmap: nfsdcb: authbuf=gss/krb5 authtype=user > > > nfsidmap: nfs4_uid_to_name: calling nsswitch->uid_to_name > > > nfsidmap: nfs4_uid_to_name: nsswitch->uid_to_name returned 0 > > > nfsidmap: nfs4_uid_to_name: final return value is 0 > >...
2015 Oct 09
5
kerberos nfs4's principals and root access
Hai Batiste, Ok, thanks for these, i'll test that also. And the "why" is a bit more explained here. http://www.citi.umich.edu/projects/nfsv4/crossrealm/libnfsidmap_config.html and per example, http://www.citi.umich.edu/projects/nfsv4/crossrealm/ldap_server_setup.html First my work here, but this is a good one which i also need to adjust in my scripts, so thank you for asking