92 Commits

Author SHA1 Message Date
Luiz Costa
8736b8b2d2 mais debug 2023-10-22 23:53:43 +01:00
Luiz Costa
8ffe110be0 add debug 2023-10-22 23:45:25 +01:00
Luiz Costa
965428a9ca tenta extrair server challenge 2023-10-22 23:41:27 +01:00
Luiz Costa
60862656b0 tenta corrigir o valor das variaveis 2023-10-22 23:32:06 +01:00
Luiz Costa
332c64ca10 fix syntax 2023-10-22 23:23:18 +01:00
Luiz Costa
2cf334bd14 tenta usar valores corretos 2023-10-22 23:20:38 +01:00
Luiz Costa
7ac042d69a test variables 2023-10-22 23:11:35 +01:00
Luiz Costa
121142af03 tenta alterar a forma como chama e muda a ordem 2023-10-22 15:23:42 +01:00
Luiz Costa
89738a42b3 add ntlm_auth and debug init 2023-10-22 15:14:09 +01:00
Luiz Costa
4872a0799e more debug v0.0.5 2023-10-21 23:36:58 +01:00
Luiz Costa
e12a8cb87b try show user info v0.0.4 2023-10-21 23:25:13 +01:00
Luiz Costa
5ffde248d6 add check over ldap v0.0.3 2023-10-21 21:59:46 +01:00
Luiz Costa
82a12e48f9 add debug password v0.0.2 2023-10-21 21:39:49 +01:00
Luiz Costa
4ce9d89d0e more debug visual v0.0.1 2023-10-21 21:32:36 +01:00
Luiz Costa
b50e42c8e9 add log debug 2023-10-21 21:12:55 +01:00
Luiz Costa
d44785b406 update url 2023-10-21 20:56:02 +01:00
Görkem Meydan
b05d65ad37
Add Workstation to the User Info
Add Workstation to the User Info
2023-08-17 14:30:07 +03:00
Gorkem Meydan
46c9fb1e95 add workstation to the user info 2023-08-16 14:52:27 +03:00
vadimi
e7f1485eee unify ntlm versions 2021-05-05 22:14:24 -04:00
Vadim
ad847b4c56
add some basic ntlm challenge validation (#2)
* add some basic ntlm challenge validation

* add some unit tests
2021-05-03 21:48:19 -04:00
Vadim
ec337d51d2
Update README.md 2020-07-20 22:26:52 -04:00
Vadim
0d5f5e4432
Update README.md 2020-07-20 22:26:35 -04:00
Vadim
a3410e5aec
Feature/extended session security (#1)
* some parsing fixes:

- make TargetInfo optional
- make Version optional
- make sure extended session security is only used when negotiated
- remove obsolete assumptions from the code
2020-07-20 20:58:20 -04:00
vadimi
f36cde2feb remove unneeded files 2020-06-13 22:33:59 -04:00
vadimi
24f09f722f relax go requirement version 2020-06-13 22:25:07 -04:00
vadimi
0b76e99be3 get rid of the old library name 2020-06-13 21:31:51 -04:00
Charlie Monzillo
cf23bd1ecf
Update README.md 2018-11-30 12:11:25 -05:00
Charlie Monzillo
51f51a355c
Merge pull request #12 from rsc/for-vgo
fixes for Go 1.10 and setup for vgo + Go 1.11
2018-06-04 16:11:43 -04:00
Charlie Monzillo
4ed67641c7
Merge branch 'master' into for-vgo 2018-06-04 16:10:31 -04:00
Charlie Monzillo
c86eb07cb1
Merge pull request #11 from QuLogic/format-errors
Fix errors in test failure messages.
2018-06-04 16:09:17 -04:00
Elliott Sales de Andrade
48a741f106 Fix errors in test failure messages. 2018-06-04 16:07:57 -04:00
Charlie Monzillo
ff14e82ec6
Merge pull request #13 from larsxschneider/patch-1
Fix accidentally committed merge conflict
2018-05-31 16:24:23 -04:00
Lars Schneider
fb351f8b8a
Fix accidentally committed merge conflict 2018-05-31 21:55:10 +02:00
Russ Cox
c5fd2d4d2b go-ntlm: add go.mod
This file is used by vgo (go get -u golang.org/x/vgo)
and will be understood by Go 1.11 and later too.

Normally a go.mod file lists required dependencies
of a module (think repository), but this module has
no required dependencies, so the file only gives the
module path.

Defining the module path ensures that clients import
the package under its canonical name, not under
alternate casings such as

	import "github.com/thomsonREUTERSeIkOn/go-ntlm"

which would otherwise work (since GitHub answers to that path).

Having a go.mod file also makes it possible to work on
this repository outside GOPATH when using vgo or Go 1.11.
That is, the go.mod file makes it possible to

	git clone https://github.com/ThomsonReutersEikon/go-ntlm
	cd go-ntlm
	vgo build ./...
	vgo test ./...

from anywhere, not just inside GOPATH.
2018-05-24 23:04:54 -04:00
Russ Cox
63466d3e78 ntlm: fix two test print format bugs
Go 1.10 now catches mistakes like these as part of "go test".
These were making "go test" fail.
2018-05-24 23:04:54 -04:00
Russ Cox
7b9c9198d5 utils: make repo safe for "go build ./..."
This directory contains two separate helper programs
that can be run with "go run". It's not possible to cd into
the directory and run "go build", because there are two
different Go source files defining main.main.

The canonical way to indicate this is to put a "// +build ignore"
build tag at the top of such helper programs.
Then they can still be run by

	go run decode_auth.go
	go run test_auth.go

but will not be considered by "cd utils; go build" nor by
commands like "go build ./..." or "go test ./..." in the
root of the repo.
2018-05-24 22:55:54 -04:00
Brian Cully
2a7c173f9e
Merge pull request #10 from EdwardBetts/spelling
correct spelling mistake
2017-10-30 09:35:01 -06:00
Edward Betts
10ef9c442c correct spelling mistake 2017-09-01 16:10:43 +01:00
Brian Cully
b00ec39bbd Use golang's log, so we don't need log4go. 2015-10-30 00:47:37 +00:00
Kamil Kisiel
52b7efa603 Merge pull request #6 from jbussdieker/master
Fix typo in README.md
2014-08-22 11:32:25 -07:00
Joshua Bussdieker
dc6ca4b498 Fix typo in README.md 2014-08-22 10:37:12 -07:00
Matthew Kanwisher
bd2d606526 ugh sometimes you have to patch things 2014-01-30 23:52:25 +07:00
Matthew Kanwisher
c8a3b75c07 swap out log libraries 2013-12-16 17:55:30 -05:00
Matthew Kanwisher
fa838c58b1 fix import 2013-12-16 17:54:40 -05:00
Matthew Kanwisher
2c41892430 ugh tracking down a nil pointer problem 2013-12-16 17:52:44 -05:00
Matthew Kanwisher
f19ccd5e15 Changed license to BSD license 2013-07-26 12:44:48 -04:00
Matthew Kanwisher
aeba978d32 Merge pull request #4 from ThomsonReutersEikon/refactor_messages
Refactor messages
2013-07-23 18:01:07 -07:00
Conor Hunt
6783d408ba rename Authenticate/Challenge/Negotiate to *Message 2013-07-23 15:35:16 -05:00
Conor Hunt
af256c1a87 move messages out of unecessary messages package and in to ntlm package 2013-07-23 15:27:25 -05:00
Conor Hunt
e3fb7332f7 fix issue where NTLMv1 with extended session security would always authenticate with any password 2013-07-23 14:55:12 -05:00