Configuring IWA on Linux

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Configuring IWA on Linux

Chalitha Waldeniyage
Hi All,

I'm trying to configure kerberos server (AD)  in order to configure IWA on linux. As per the instruction in [1] [2], I have tried the steps and under step 6, it's required to register WSO2 IS as a service principal in Active Directory. But when i try to execute these commands as below, those commands are not recognized and execution didn't happen. I have followed all the steps in [2] in order to resolve this. but still it's not helping. Any idea how to resolve this ?

Commands:

setspn -A HTTP/windows-2012-ad.wso2.test is_linux
setspn -A HTTP/windows-2012-ad is_linux


AD domain
wso2.test

DNS host mapping
Windows-2012-ad.wso2.test

Windows version
Windows 2012 R2

_______________________________________________
Dev mailing list
[hidden email]
http://wso2.org/cgi-bin/mailman/listinfo/dev
Reply | Threaded
Open this post in threaded view
|

Re: Configuring IWA on Linux

Farasath Ahamed
Hi,

What was the output when you tried to register the SPN?

On Monday, December 18, 2017, Chalitha Waldeniyage <[hidden email]> wrote:
Hi All,

I'm trying to configure kerberos server (AD)  in order to configure IWA on linux. As per the instruction in [1] [2], I have tried the steps and under step 6, it's required to register WSO2 IS as a service principal in Active Directory. But when i try to execute these commands as below, those commands are not recognized and execution didn't happen. I have followed all the steps in [2] in order to resolve this. but still it's not helping. Any idea how to resolve this ?

Commands:

setspn -A HTTP/windows-2012-ad.wso2.test is_linux
setspn -A HTTP/windows-2012-ad is_linux


AD domain
wso2.test

DNS host mapping
Windows-2012-ad.wso2.test

Windows version
Windows 2012 R2


--
Farasath Ahamed
Senior Software Engineer, WSO2 Inc.; http://wso2.com
Mobile: <a href="tel:%2B94777603866" value="+94713149860" style="font-size:12.8px;color:rgb(17,85,204)" target="_blank">+94777603866
Twitter: @farazath619






_______________________________________________
Dev mailing list
[hidden email]
http://wso2.org/cgi-bin/mailman/listinfo/dev
Reply | Threaded
Open this post in threaded view
|

Re: Configuring IWA on Linux

Chalitha Waldeniyage
Hi Farasath,

This was the output of the command prompt.  cmd is ran as the administrator. (attached a screenshot as well)

'setspn' is not recognized as an internal or external command,
operable program or batch file
.





On Mon, Dec 18, 2017 at 7:49 PM, Farasath Ahamed <[hidden email]> wrote:
Hi,

What was the output when you tried to register the SPN?


On Monday, December 18, 2017, Chalitha Waldeniyage <[hidden email]> wrote:
Hi All,

I'm trying to configure kerberos server (AD)  in order to configure IWA on linux. As per the instruction in [1] [2], I have tried the steps and under step 6, it's required to register WSO2 IS as a service principal in Active Directory. But when i try to execute these commands as below, those commands are not recognized and execution didn't happen. I have followed all the steps in [2] in order to resolve this. but still it's not helping. Any idea how to resolve this ?

Commands:

setspn -A HTTP/windows-2012-ad.wso2.test is_linux
setspn -A HTTP/windows-2012-ad is_linux


AD domain
wso2.test

DNS host mapping
Windows-2012-ad.wso2.test

Windows version
Windows 2012 R2


[1] https://docs.wso2.com/display/IS540/Configuring+IWA+on+Linux

[2] https://medium.com/@farasath/integrated-windows-authentication-with-kerberos-and-wso2-identity-server-ffcd8263a0f1

[2] https://technet.microsoft.com/en-us/library/ff646952(v=ws.10).aspx


Thank you,
Chalitha.
--
Chalitha Maheshwari
Software Engineer-QA, 
WSO2 Inc.

Mobile: <a href="tel:+94%2071%20041%201112" value="+94710411112" target="_blank">+94710 411 112


--
Farasath Ahamed
Senior Software Engineer, WSO2 Inc.; http://wso2.com
Mobile: <a href="tel:%2B94777603866" value="+94713149860" style="font-size:12.8px;color:rgb(17,85,204)" target="_blank">+94777603866
Twitter: @farazath619








--
Chalitha Maheshwari
Software Engineer-QA, 
WSO2 Inc.

Mobile: +94710 411 112

_______________________________________________
Dev mailing list
[hidden email]
http://wso2.org/cgi-bin/mailman/listinfo/dev

IWA.png (8K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Configuring IWA on Linux

Farasath Ahamed
Can you try the same command from Powershell?

On Monday, December 18, 2017, Chalitha Waldeniyage <[hidden email]> wrote:
Hi Farasath,

This was the output of the command prompt.  cmd is ran as the administrator. (attached a screenshot as well)

'setspn' is not recognized as an internal or external command,
operable program or batch file
.





On Mon, Dec 18, 2017 at 7:49 PM, Farasath Ahamed <[hidden email]> wrote:
Hi,

What was the output when you tried to register the SPN?


On Monday, December 18, 2017, Chalitha Waldeniyage <[hidden email]> wrote:
Hi All,

I'm trying to configure kerberos server (AD)  in order to configure IWA on linux. As per the instruction in [1] [2], I have tried the steps and under step 6, it's required to register WSO2 IS as a service principal in Active Directory. But when i try to execute these commands as below, those commands are not recognized and execution didn't happen. I have followed all the steps in [2] in order to resolve this. but still it's not helping. Any idea how to resolve this ?

Commands:

setspn -A HTTP/windows-2012-ad.wso2.test is_linux
setspn -A HTTP/windows-2012-ad is_linux


AD domain
wso2.test

DNS host mapping
Windows-2012-ad.wso2.test

Windows version
Windows 2012 R2


[1] https://docs.wso2.com/display/IS540/Configuring+IWA+on+Linux

[2] https://medium.com/@farasath/integrated-windows-authentication-with-kerberos-and-wso2-identity-server-ffcd8263a0f1

[2] https://technet.microsoft.com/en-us/library/ff646952(v=ws.10).aspx


Thank you,
Chalitha.
--
Chalitha Maheshwari
Software Engineer-QA, 
WSO2 Inc.

Mobile: <a href="tel:+94%2071%20041%201112" value="+94710411112" target="_blank">+94710 411 112


--
Farasath Ahamed
Senior Software Engineer, WSO2 Inc.; http://wso2.com
Mobile: <a href="tel:%2B94777603866" value="+94713149860" style="font-size:12.8px;color:rgb(17,85,204)" target="_blank">+94777603866
Twitter: @farazath619








--
Chalitha Maheshwari
Software Engineer-QA, 
WSO2 Inc.

Mobile: +94710 411 112


--
Farasath Ahamed
Senior Software Engineer, WSO2 Inc.; http://wso2.com
Mobile: <a href="tel:%2B94777603866" value="+94713149860" style="font-size:12.8px;color:rgb(17,85,204)" target="_blank">+94777603866
Twitter: @farazath619






_______________________________________________
Dev mailing list
[hidden email]
http://wso2.org/cgi-bin/mailman/listinfo/dev
Reply | Threaded
Open this post in threaded view
|

Re: Configuring IWA on Linux

Chalitha Waldeniyage
Similar to the previous output in powershell as well.

On Mon, Dec 18, 2017 at 11:41 PM, Farasath Ahamed <[hidden email]> wrote:
Can you try the same command from Powershell?

On Monday, December 18, 2017, Chalitha Waldeniyage <[hidden email]> wrote:
Hi Farasath,

This was the output of the command prompt.  cmd is ran as the administrator. (attached a screenshot as well)

'setspn' is not recognized as an internal or external command,
operable program or batch file
.





On Mon, Dec 18, 2017 at 7:49 PM, Farasath Ahamed <[hidden email]> wrote:
Hi,

What was the output when you tried to register the SPN?


On Monday, December 18, 2017, Chalitha Waldeniyage <[hidden email]> wrote:
Hi All,

I'm trying to configure kerberos server (AD)  in order to configure IWA on linux. As per the instruction in [1] [2], I have tried the steps and under step 6, it's required to register WSO2 IS as a service principal in Active Directory. But when i try to execute these commands as below, those commands are not recognized and execution didn't happen. I have followed all the steps in [2] in order to resolve this. but still it's not helping. Any idea how to resolve this ?

Commands:

setspn -A HTTP/windows-2012-ad.wso2.test is_linux
setspn -A HTTP/windows-2012-ad is_linux


AD domain
wso2.test

DNS host mapping
Windows-2012-ad.wso2.test

Windows version
Windows 2012 R2


[1] https://docs.wso2.com/display/IS540/Configuring+IWA+on+Linux

[2] https://medium.com/@farasath/integrated-windows-authentication-with-kerberos-and-wso2-identity-server-ffcd8263a0f1

[2] https://technet.microsoft.com/en-us/library/ff646952(v=ws.10).aspx


Thank you,
Chalitha.
--
Chalitha Maheshwari
Software Engineer-QA, 
WSO2 Inc.

Mobile: <a href="tel:+94%2071%20041%201112" value="+94710411112" target="_blank">+94710 411 112


--
Farasath Ahamed
Senior Software Engineer, WSO2 Inc.; http://wso2.com
Mobile: <a href="tel:%2B94777603866" value="+94713149860" style="font-size:12.8px;color:rgb(17,85,204)" target="_blank">+94777603866
Twitter: @farazath619








--
Chalitha Maheshwari
Software Engineer-QA, 
WSO2 Inc.

Mobile: <a href="tel:+94%2071%20041%201112" value="+94710411112" target="_blank">+94710 411 112


--
Farasath Ahamed
Senior Software Engineer, WSO2 Inc.; http://wso2.com
Mobile: <a href="tel:%2B94777603866" value="+94713149860" style="font-size:12.8px;color:rgb(17,85,204)" target="_blank">+94777603866
Twitter: @farazath619








--
Chalitha Maheshwari
Software Engineer-QA, 
WSO2 Inc.

Mobile: +94710 411 112

_______________________________________________
Dev mailing list
[hidden email]
http://wso2.org/cgi-bin/mailman/listinfo/dev

powershell.png (12K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Configuring IWA on Linux

Chalitha Waldeniyage
Hi Farasath,

I was able to resolved the issue by following [1] as you pointed.
Thank you for the help.

[1] https://helpdeskgeek.com/how-to/fix-not-recognized-as-an-internal-or-external-command/

Thank you,
Chalitha.

On Tue, Dec 19, 2017 at 1:36 PM, Chalitha Waldeniyage <[hidden email]> wrote:
Similar to the previous output in powershell as well.

On Mon, Dec 18, 2017 at 11:41 PM, Farasath Ahamed <[hidden email]> wrote:
Can you try the same command from Powershell?

On Monday, December 18, 2017, Chalitha Waldeniyage <[hidden email]> wrote:
Hi Farasath,

This was the output of the command prompt.  cmd is ran as the administrator. (attached a screenshot as well)

'setspn' is not recognized as an internal or external command,
operable program or batch file
.





On Mon, Dec 18, 2017 at 7:49 PM, Farasath Ahamed <[hidden email]> wrote:
Hi,

What was the output when you tried to register the SPN?


On Monday, December 18, 2017, Chalitha Waldeniyage <[hidden email]> wrote:
Hi All,

I'm trying to configure kerberos server (AD)  in order to configure IWA on linux. As per the instruction in [1] [2], I have tried the steps and under step 6, it's required to register WSO2 IS as a service principal in Active Directory. But when i try to execute these commands as below, those commands are not recognized and execution didn't happen. I have followed all the steps in [2] in order to resolve this. but still it's not helping. Any idea how to resolve this ?

Commands:

setspn -A HTTP/windows-2012-ad.wso2.test is_linux
setspn -A HTTP/windows-2012-ad is_linux


AD domain
wso2.test

DNS host mapping
Windows-2012-ad.wso2.test

Windows version
Windows 2012 R2


[1] https://docs.wso2.com/display/IS540/Configuring+IWA+on+Linux

[2] https://medium.com/@farasath/integrated-windows-authentication-with-kerberos-and-wso2-identity-server-ffcd8263a0f1

[2] https://technet.microsoft.com/en-us/library/ff646952(v=ws.10).aspx


Thank you,
Chalitha.
--
Chalitha Maheshwari
Software Engineer-QA, 
WSO2 Inc.

Mobile: <a href="tel:+94%2071%20041%201112" value="+94710411112" target="_blank">+94710 411 112


--
Farasath Ahamed
Senior Software Engineer, WSO2 Inc.; http://wso2.com
Mobile: <a href="tel:%2B94777603866" value="+94713149860" style="font-size:12.8px;color:rgb(17,85,204)" target="_blank">+94777603866
Twitter: @farazath619








--
Chalitha Maheshwari
Software Engineer-QA, 
WSO2 Inc.

Mobile: <a href="tel:+94%2071%20041%201112" value="+94710411112" target="_blank">+94710 411 112


--
Farasath Ahamed
Senior Software Engineer, WSO2 Inc.; http://wso2.com
Mobile: <a href="tel:%2B94777603866" value="+94713149860" style="font-size:12.8px;color:rgb(17,85,204)" target="_blank">+94777603866
Twitter: @farazath619








--
Chalitha Maheshwari
Software Engineer-QA, 
WSO2 Inc.

Mobile: <a href="tel:+94%2071%20041%201112" value="+94710411112" target="_blank">+94710 411 112



--
Chalitha Maheshwari
Software Engineer-QA, 
WSO2 Inc.

Mobile: +94710 411 112

_______________________________________________
Dev mailing list
[hidden email]
http://wso2.org/cgi-bin/mailman/listinfo/dev