1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

mention how to set domain when using NTLM

This commit is contained in:
Daniel Stenberg 2005-11-11 08:52:29 +00:00
parent b7a673c6e2
commit 89024febde

View File

@ -420,6 +420,11 @@ find the a .netrc file in the current user's home directory. (Added in 7.10.9)
Pass a char * as parameter, which should be [user name]:[password] to use for Pass a char * as parameter, which should be [user name]:[password] to use for
the connection. Use \fICURLOPT_HTTPAUTH\fP to decide authentication method. the connection. Use \fICURLOPT_HTTPAUTH\fP to decide authentication method.
When using NTLM, you can set domain by prepending it to the user name and
separating the domain and name with a forward (/) or backward slash (\\). Like
this: "domain/user:password" or "domain\\user:password". Some HTTP servers (on
Windows) support this style even for Basic authentication.
When using HTTP and \fICURLOPT_FOLLOWLOCATION\fP, libcurl might perform When using HTTP and \fICURLOPT_FOLLOWLOCATION\fP, libcurl might perform
several requests to possibly different hosts. libcurl will only send this user several requests to possibly different hosts. libcurl will only send this user
and password information to hosts using the initial host name (unless and password information to hosts using the initial host name (unless