LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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
 
LinkBack 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
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654
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
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654
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
Trackbacks are Off
Pingbacks are On
Refbacks are 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


All times are GMT -5. The time now is 05:02 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration