Sponsored Content
Top Forums Web Development Automization for realm windows security Alert User name and password Post 302727635 by ksreddi on Tuesday 6th of November 2012 02:16:54 PM
Old 11-06-2012
Automization for realm windows security Alert User name and password

I am hitting application Direct URL's(dev servers) from windows7 desktop. I got the popup window to enter credentials.


"the server at default realm requires a username and password".

devserver is unix server. I have 10 applications need to hit 40 directl urls. I dont like to enter unser name and password everytime. what are the options for me to make it automize.
 

5 More Discussions You Might Find Interesting

1. Windows & DOS: Issues & Discussions

How to find windows user without any password

How to find windows users without any password.. (0 Replies)
Discussion started by: RPG
0 Replies

2. Shell Programming and Scripting

Automization of unix shell script

Hi all I want to run one shell script in my system at every morning 9 am. Kindly suggest me possible ways. My system is sun solaris. Thanks in advance. (3 Replies)
Discussion started by: jaydeep_sadaria
3 Replies

3. UNIX for Advanced & Expert Users

password verification verify password of a user for only first 8 characters

Helo , I m using linux pam library for user and its password authentication. I m creating new user and giving its password.I m giving password of 10 characters.now when I login in as that newly created user its ask me $ su - ram Password: You are required to change your password immediately... (12 Replies)
Discussion started by: amitpansuria
12 Replies

4. Red Hat

Password warning alert

Hi Guys, I am using RHEL 5 and I want to construct the script to warn me when the user passwords are about to expire. Lets say 6 days before the expire date I should get a warning. I do see these message when I logging to my server: Password: Warning: your password will expire in 6... (2 Replies)
Discussion started by: Phuti
2 Replies

5. Shell Programming and Scripting

Http-auth with basic realm name

Hello, I am running nmap and I wish to see basic realm name when I run a query. For example, I wish to enter application_name for map query. when I nmap an ip, the result I expect to get is: : Port: 33234 HTTP/1.1 401 Unauthorized Server: Apache/2.4.7 (Ubuntu) Cache-Control: no-cache... (0 Replies)
Discussion started by: baris35
0 Replies
NE_SET_SERVER_AUTH(3)						neon API reference					     NE_SET_SERVER_AUTH(3)

NAME
ne_set_server_auth, ne_set_proxy_auth, ne_forget_auth - register authentication callbacks SYNOPSIS
#include <ne_auth.h> typedef int (*ne_auth_creds)(void *userdata, const char *realm, int attempt, char *username, char *password); void ne_set_server_auth(ne_session *session, ne_auth_creds callback, void *userdata); void ne_set_proxy_auth(ne_session *session, ne_auth_creds callback, void *userdata); void ne_forget_auth(ne_session *session); DESCRIPTION
The ne_auth_creds function type defines a callback which is invoked when a server or proxy server requires user authentication for a particular request. The realm string is supplied by the server. The attempt is a counter giving the number of times the request has been retried with different authentication credentials. The first time the callback is invoked for a particular request, attempt will be zero. To retry the request using new authentication credentials, the callback should return zero, and the username and password buffers must contain NUL-terminated strings. The NE_ABUFSIZ constant gives the size of these buffers. Tip If you only wish to allow the user one attempt to enter credentials, use the value of the attempt parameter as the return value of the callback. To abort the request, the callback should return a non-zero value; in which case the contents of the username and password buffers are ignored. The ne_forget_auth function can be used to discard the cached authentication credentials. EXAMPLES
/* Function which prompts for a line of user input: */ extern char *prompt_for(const char *prompt); static int my_auth(void *userdata, const char *realm, int attempts, char *username, char *password) { strncpy(username, prompt_for("Username: "), NE_ABUFSIZ); strncpy(password, prompt_for("Password: "), NE_ABUFSIZ); return attempts; } int main(...) { ne_session *sess = ne_session_create(...); ne_set_server_auth(sess, my_auth, NULL); /* ... */ } AUTHOR
Joe Orton <neon@lists.manyfish.co.uk> Author. COPYRIGHT
neon 0.29.6 3 May 2011 NE_SET_SERVER_AUTH(3)
All times are GMT -4. The time now is 09:32 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy