SUSE / ha-sap-terraform-deployments

Automated SAP/HA Deployments in Public/Private Clouds
GNU General Public License v3.0
120 stars 88 forks source link

update HANA and Netweaver/S4HANA password regex/docs #873

Closed melzer-b1 closed 2 years ago

melzer-b1 commented 2 years ago

update HANA and Netweaver/S4HANA password regex/docs for the following rules:

HANA:

Netweaver / S4HANA:

This PR will close #819

pirat013 commented 2 years ago

Hi, the NetWeaver documentation says officially at least 3 characters as min. https://help.sap.com/docs/SAP_NETWEAVER_750/c6e6d078ab99452db94ed7b3b7bbcccf/4ac3efb58c352470e10000000a42189c.html

But in general, your suggestion looks good to me. We may have to double-check if a long password with 20 digits or even longer would work with the SWPM. I still remember that it was not possible to use passwords longer than 16 digits.

yeoldegrove commented 2 years ago

the NetWeaver documentation says officially at least 3 characters as min. https://help.sap.com/docs/SAP_NETWEAVER_750/c6e6d078ab99452db94ed7b3b7bbcccf/4ac3efb58c352470e10000000a42189c.html

The doc we linked in the issues tells us 3-40 chars are possible but 6 chars are the default value. https://help.sap.com/docs/SAP_NETWEAVER_750/c6e6d078ab99452db94ed7b3b7bbcccf/4ac3f18f8c352470e10000000a42189c.html?locale=en-US So I guess we're fine here.

yeoldegrove commented 2 years ago

We may have to double-check if a long password with 20 digits or even longer would work with the SWPM. I still remember that it was not possible to use passwords longer than 16 digits.

That is definitively a check we should do before merging this.

s4g4rkr commented 2 years ago

Hi, the NetWeaver documentation says officially at least 3 characters as min. https://help.sap.com/docs/SAP_NETWEAVER_750/c6e6d078ab99452db94ed7b3b7bbcccf/4ac3efb58c352470e10000000a42189c.html

But in general, your suggestion looks good to me. We may have to double-check if a long password with 20 digits or even longer would work with the SWPM. I still remember that it was not possible to use passwords longer than 16 digits.

AFAIK - For NetWeaver/ASCS/PAS the allowed master passwd length is 10-14 by SWPM and for HANA with higher number is allowed. Choosing "Custom" over "Typical" Parameter settings while running SWPM allows setting passwd for individual user (like TSMADM, WEBADM, SecureStorage, DB-Schema etc)

Master Password Basic Password policy: https://help.sap.com/docs/SLTOOLSET/39c32e9783f6439e871410848f61544c/fe3f4554f82b1d5de10000000a44538d.html