LinuxQuestions.org
Help answer threads with 0 replies.
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, 06: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, 06:47 AM   #2
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 655Reputation: 655Reputation: 655Reputation: 655Reputation: 655Reputation: 655
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, 06: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, 08:42 AM   #4
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 655Reputation: 655Reputation: 655Reputation: 655Reputation: 655Reputation: 655
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 08: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 02:39 AM
is there a way to see network usage on command line ginda Linux - Networking 3 04-27-2007 11:35 AM
sendmail usage in command line Belghouth Slackware 1 12-08-2004 11:55 AM
Sendmail command line usage Belghouth Debian 1 12-08-2004 11:54 AM
checking memory usage from command line wrepti Linux - General 2 06-16-2004 11:24 PM


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

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