i am new at the coderanch and i have a question about groovy on grails consuming a webservice with cxf-client and NTLM authentication.
I have an test-project witch is consuming a webservice without any authentication and all works fine. If i have to consume a webservice with NTLM password authentication, i am getting an "jcifs.smb.SmbException" that says "The parameter is incorrect.", but no information witch parameter is incorrect. Is there somewhere a configuration example for jcifs? On the grails website i only can find, that i have to use "jcifs" for NTLM authentication but there isnt a good configuration sample. I dont know, what i have to do in the configuration to fix the error with the incorrect parameter. I am using the grails plugin "ntlm-auth:0.6" for this authentication.
Here is my configuration sample:
http.domainController = 'xxx.xxx.xxx.xxx' // ... or use jcifs.netbios.wins
smb.netbios.wins = 'xxx.xxx.xxx.xxx'
smb.client.domain = 'DOMAIN NAME' //for www.example.de its EXAMPLE correct? smb.client.username = 'username'
smb.client.password = 'password'
Do i have to set the Domain-Address "xxx.xxx.xxx.xxx" twice?
Someone knows a good example to test NTLM authentication? Please help me.