Sponsored Content
Top Forums Shell Programming and Scripting Authentication using Curl command Post 302483798 by DGPickett on Tuesday 28th of December 2010 01:07:40 PM
Old 12-28-2010
I expect, like the interactive versions, only on secure conection protocol sites: HTTPS, FTPS, SCP, SFTP

There is a digest example here, and the man page says digest is good, too: http://www.samanage.com/api/

Last edited by DGPickett; 12-28-2010 at 02:14 PM..
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Curl command

Hello, I try to take out of the command curl the info of the time... time curl --write \"Downloaded %{time total}\" -o ...... but having some problem. (1 Reply)
Discussion started by: protocomm
1 Replies

2. UNIX for Dummies Questions & Answers

curl command with web pages

I can't quite seem to understand what the curl command does with a web address. I tried this: curl O'Reilly Media: Tech Books, Conferences, Courses, News but I just got the first few lines of a web page, and it's nowhere on my machine. Can someone elaborate? (2 Replies)
Discussion started by: Straitsfan
2 Replies

3. Shell Programming and Scripting

Is curl command secure

Can any one confirm that posting username and password using curl command to "https" site is secure or not. Thanks, (1 Reply)
Discussion started by: Anjan1
1 Replies

4. HP-UX

CURL command in HPUX

Hi, I do not find curl command in HPUX. I used to use curl command in solaris to download files onto the server using the below command. /opt/boksm/lib/curl http://mymachine.net:9191/faci/TSDM\$dm-orbeon/artifact/my-ear.zip -o my-ear.zip If not curl how can the same be achived... (4 Replies)
Discussion started by: mohtashims
4 Replies

5. Shell Programming and Scripting

Help with curl command

HI I am trying to write a script where i can enter a dvd's bar code at the cli and return the price sites will pay for the dvd. the bard code im using for testing is this site is through use of httpfox i have found some info whic i need to use with curl ctl00$ScriptManager1... (4 Replies)
Discussion started by: dunryc
4 Replies

6. Shell Programming and Scripting

Curl command

Hi All, I am using below curl commad and getting output data correctly curl -k -u AASSDD:PPOOII -d "output_mode=csv" --data-urlencode search='search source=*/AASSDDFF/PPOOLLKK**/94.0*ASD-RST* "Caused by" OR "Error: LISTENER WILL BE DISABLED" OR java.lang.reflect.InvocationTargetException |... (1 Reply)
Discussion started by: rakeshtomar82
1 Replies

7. Shell Programming and Scripting

Need help in wget or curl command in UNIX shell

Hi, I need help in wget or curl command to invoke a REST client services. This is the format i need to send request wget -H "tokenId: F6" -H "Authorization: Basic <64 bit encoded username:password>" -H "https://example.com" -H "Accept: application/Json" -o download.xml... (1 Reply)
Discussion started by: zen01234
1 Replies

8. Shell Programming and Scripting

Curl command to post headers

I am trying post SOAP header from file to curl command. The curl command is curl -vk -H "$(cat curl-test1.txt)" -X POST https://xvcfvusdgfsd.sdfjd.gf/cmsws/CMSService The contet of curl file is POST: https://cmsuat.chrysler.com/cmsusws/CMSService HTTP/1.1 SOAPAction:... (1 Reply)
Discussion started by: dineshaila
1 Replies

9. Shell Programming and Scripting

Alternative command/method to curl

is there a different way to do the following: curl -k -H "Content-Type:application/json" -X POST -d'{"api_token": "33blah526c-6bla71-441b-491b-0blahca08"}' https://10.10.10.10/api/1.4/auth/session -c /tmp/myhost01.myhost.com im seeking to use a different method because i'm running into TLS... (1 Reply)
Discussion started by: SkySmart
1 Replies

10. Web Development

Curl Command Error

Good afternnon. I need your help please to understand the basics of curl command to test web services. Ive heard i can test a web service using this command,so: curl http://glb_osb_fs.nh.inet:7110/serverglobal/services/StrategicPlanning/NotifyMNPAction_v1 it yields some errors, i would... (5 Replies)
Discussion started by: alexcol
5 Replies
KRB5_DIGEST(3)						   BSD Library Functions Manual 					    KRB5_DIGEST(3)

NAME
krb5_digest, krb5_digest_alloc, krb5_digest_free, krb5_digest_set_server_cb, krb5_digest_set_type, krb5_digest_set_hostname, krb5_digest_get_server_nonce, krb5_digest_set_server_nonce, krb5_digest_get_opaque, krb5_digest_set_opaque, krb5_digest_get_identifier, krb5_digest_set_identifier, krb5_digest_init_request, krb5_digest_set_client_nonce, krb5_digest_set_digest, krb5_digest_set_username, krb5_digest_set_authid, krb5_digest_set_authentication_user, krb5_digest_set_realm, krb5_digest_set_method, krb5_digest_set_uri, krb5_digest_set_nonceCount, krb5_digest_set_qop, krb5_digest_request, krb5_digest_get_responseData, krb5_digest_get_rsp, krb5_digest_get_tickets, krb5_digest_get_client_binding, krb5_digest_get_a1_hash -- remote digest (HTTP-DIGEST, SASL, CHAP) suppport LIBRARY
Kerberos 5 Library (libkrb5, -lkrb5) SYNOPSIS
#include <krb5.h> typedef struct krb5_digest *krb5_digest; krb5_error_code krb5_digest_alloc(krb5_context context, krb5_digest *digest); void krb5_digest_free(krb5_digest digest); krb5_error_code krb5_digest_set_type(krb5_context context, krb5_digest digest, const char *type); krb5_error_code krb5_digest_set_server_cb(krb5_context context, krb5_digest digest, const char *type, const char *binding); krb5_error_code krb5_digest_set_hostname(krb5_context context, krb5_digest digest, const char *hostname); const char * krb5_digest_get_server_nonce(krb5_context context, krb5_digest digest); krb5_error_code krb5_digest_set_server_nonce(krb5_context context, krb5_digest digest, const char *nonce); const char * krb5_digest_get_opaque(krb5_context context, krb5_digest digest); krb5_error_code krb5_digest_set_opaque(krb5_context context, krb5_digest digest, const char *opaque); const char * krb5_digest_get_identifier(krb5_context context, krb5_digest digest); krb5_error_code krb5_digest_set_identifier(krb5_context context, krb5_digest digest, const char *id); krb5_error_code krb5_digest_init_request(krb5_context context, krb5_digest digest, krb5_realm realm, krb5_ccache ccache); krb5_error_code krb5_digest_set_client_nonce(krb5_context context, krb5_digest digest, const char *nonce); krb5_error_code krb5_digest_set_digest(krb5_context context, krb5_digest digest, const char *dgst); krb5_error_code krb5_digest_set_username(krb5_context context, krb5_digest digest, const char *username); krb5_error_code krb5_digest_set_authid(krb5_context context, krb5_digest digest, const char *authid); krb5_error_code krb5_digest_set_authentication_user(krb5_context context, krb5_digest digest, krb5_principal authentication_user); krb5_error_code krb5_digest_set_realm(krb5_context context, krb5_digest digest, const char *realm); krb5_error_code krb5_digest_set_method(krb5_context context, krb5_digest digest, const char *method); krb5_error_code krb5_digest_set_uri(krb5_context context, krb5_digest digest, const char *uri); krb5_error_code krb5_digest_set_nonceCount(krb5_context context, krb5_digest digest, const char *nonce_count); krb5_error_code krb5_digest_set_qop(krb5_context context, krb5_digest digest, const char *qop); krb5_error_code krb5_digest_request(krb5_context context, krb5_digest digest, krb5_realm realm, krb5_ccache ccache); const char * krb5_digest_get_responseData(krb5_context context, krb5_digest digest); const char * krb5_digest_get_rsp(krb5_context context, krb5_digest digest); krb5_error_code krb5_digest_get_tickets(krb5_context context, krb5_digest digest, Ticket **tickets); krb5_error_code krb5_digest_get_client_binding(krb5_context context, krb5_digest digest, char **type, char **binding); krb5_error_code krb5_digest_get_a1_hash(krb5_context context, krb5_digest digest, krb5_data *data); DESCRIPTION
The krb5_digest_alloc() function allocatates the digest structure. The structure should be freed with krb5_digest_free() when it is no longer being used. krb5_digest_alloc() returns 0 to indicate success. Otherwise an kerberos code is returned and the pointer that digest points to is set to NULL. krb5_digest_free() free the structure digest. SEE ALSO
krb5(3), kerberos(8) HEIMDAL
February 18, 2007 HEIMDAL
All times are GMT -4. The time now is 01:57 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy