J
JeffJ
I have simple "Hello World" web service created by web service wizard.
I have put it onto IIS server. Remove Anonymous access.
Call it via a windows .net app:
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
Dim x As New WindowsApplication1.hellow.Service1
Dim cache = New System.Net.CredentialCache
cache.Add(New Uri(x.Url), "Negotiate", _
New System.Net.NetworkCredential("user", "pword", "domain"))
x.Credentials = cache
TextBox1.Text = x.HelloWorld
End Sub
Works great until I set password must be reset on next logon. Then get 401:
Access Denied.
I have PasswordChangeFlags set 1.
I have IISadmpwd up and working in IIS.
So my question is. Is there a way to get web services to work with
PasswordChangedFlags and IISADMPWD?
We need to be able to force periodic password changes for use of our
webservice.
Thanks,
Jeff
I have put it onto IIS server. Remove Anonymous access.
Call it via a windows .net app:
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
Dim x As New WindowsApplication1.hellow.Service1
Dim cache = New System.Net.CredentialCache
cache.Add(New Uri(x.Url), "Negotiate", _
New System.Net.NetworkCredential("user", "pword", "domain"))
x.Credentials = cache
TextBox1.Text = x.HelloWorld
End Sub
Works great until I set password must be reset on next logon. Then get 401:
Access Denied.
I have PasswordChangeFlags set 1.
I have IISadmpwd up and working in IIS.
So my question is. Is there a way to get web services to work with
PasswordChangedFlags and IISADMPWD?
We need to be able to force periodic password changes for use of our
webservice.
Thanks,
Jeff