LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General > LQ Articles Discussion
User Name
Password
LQ Articles Discussion This forum is for the discussion of content posted to the Articles and Editorials section.

Notices


Reply
  Search this Thread
Old 07-17-2007, 05:44 AM   #1
satishssquid
LQ Newbie
 
Registered: May 2005
Location: India
Distribution: redhat,suse,freebsd,mandrake.fedora
Posts: 6

Rep: Reputation: 0
ntlm_auth command line usage


Hello,

How to use the ntlm_auth command line usage .

more interested in these parameters

--challenge=STRING challenge (HEX encoded)
--lm-response=STRING LM Response to the challenge
(HEX encoded)
--nt-response=STRING NT or NTLMv2 Response to the
challenge (HEX encoded)
 
Old 07-17-2007, 05:47 AM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
From the manpage.
Quote:
This utility is only indended (sic) to be used by other programs (currently Squid and
mod_ntlm_winbind)
 
Old 07-17-2007, 05:58 AM   #3
satishssquid
LQ Newbie
 
Registered: May 2005
Location: India
Distribution: redhat,suse,freebsd,mandrake.fedora
Posts: 6

Original Poster
Rep: Reputation: 0
Hello,

I have got success integrating with squid but just curious to know how it works as a command line
 
Old 07-17-2007, 07:42 AM   #4
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
It will return either a 0 or a 1 so if you use it in a script, you would use is as part of a test.

/usr/bin/ntlm_auth --username=satish --domain=satdomain && echo authenticated || echo failure

As far as I know you would need to be using a domain and wins and run the command as root. Maybe this could be useful: /usr/bin/ntlm_auth --username=satish --domain=satdomain --dianostics

Last edited by jschiwal; 07-17-2007 at 07:44 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to find max memory usage for process in Linux by command line kashameni Linux - Newbie 9 06-01-2007 01:39 AM
is there a way to see network usage on command line ginda Linux - Networking 3 04-27-2007 10:35 AM
sendmail usage in command line Belghouth Slackware 1 12-08-2004 10:55 AM
Sendmail command line usage Belghouth Debian 1 12-08-2004 10:54 AM
checking memory usage from command line wrepti Linux - General 2 06-16-2004 10:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General > LQ Articles Discussion

All times are GMT -5. The time now is 02:56 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration