Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

SNC requierd for this connection

Former Member
0 Kudos

Dear all,

We need to change the standar passwords for SAP users in client 066, we are trying to login into this client in order to perform the change but when trying to logon the SAPGUI interface is showing the following error, without allowing the access to SAP and enabling only the exit button:

SNC requierd for this connection

Any help would be appreciated.

Best regards,

1 ACCEPTED SOLUTION

Former Member
0 Kudos

if SNC is enabled and insecure login is not allowed per setting in RZ10 parameters, then you need to put SNC name and use that option for login in SAP logon pad........

i am not sure if SAP will allow that for standard SAP users..........

16 REPLIES 16

Former Member
0 Kudos

Hi,

Is this happening with all the 3 IDs. (SAP*, DDIC, and EARLYWATCH)??

Are you trying with the default passwords?

Check RSUSR003 report to identify if the passwords are trivial. If yes, they will display the standard passwords with which you can login.

Rgds,

Raghu

Edited by: Raghu Boddu on Nov 10, 2010 9:44 PM

0 Kudos

Check RSUSR003 report to identify if the passwords are trivial. If yes, they will display the standard passwords with which you can login.

-


Hi Raghu,

We don't know specifically what are the users that have set the standar passwords in which specific client, we need to change the passwords according to the recommendations of the EarlyWatch Alert.

We ran report RSUSR003 according to your recommendation but as result we are not receiving what are the specific users and client that have the standar passwords, we receivie the following result including the current configuration for some login* parameters.

Number of Selected Standard Users: 10

System:

BWI

Instance: ASSBWARCA02BF_BWO_00

User: support

Date: 11.11.2010

Time: 10:01:46

Selection Criteria:

+Display Profile Parameters X

Profile Parameters:

login/accept_sso2_ticket 1+

....

is there any way to check what are the users and their corresponding clients so we can update their password?

With regards to SNC, how can we know how to disable the configuration so we can connect to the client and change the password? Can you please let us know what is the parameter related with this configuration?

Thanks and kind regards

0 Kudos

Hi,

RSUSR003 should work. When you execute the program, uncheck the checkbox which is for the profile parameters and click execute again, which will show the users and their status.

Regarding the SNC parameter, try snc/accept_insecure_gui. Set the option to 1 so that it will allow the users to login from GUI too. If this value is set to 0, users will be authenticated from SSO only.

Regards,

Raghu

0 Kudos

Hi Raghu

Thanks for the information, can you please let us know if do we need to perform a reboot of the system once we set the parameter to 1? I'm checking and right now the parameter has been set with the value 'U'

Regarding the SNC parameter, try snc/accept_insecure_gui. Set the option to 1 so that it will allow the users to login from GUI too. If this value is set to 0, users will be authenticated from SSO only.

Thanks and best regards,

0 Kudos

Hi,

Yes. The parameter changes require a system restart.

Also, just to clarify. Did you opted for SNC while creating the new entry in SAP Logon pad?? (The 2nd screen while adding a new system). You can check the same by selecting the item, click Change item button, and goto Network tab. If the SNC is checked, uncheck it and try logging in again.

If not, you have to go with the 1st option.

Warm Regards,

Raghu

0 Kudos

Hi Rudolfo,

I think the issue could be with the saplogon pad than the user itself. I agree with Raghu. Please check that. I had a similar issue and this was with the saplogon pad entries only.

0 Kudos

Hi Raghu

With regards to SAPGUI the SNC is not enabled in the Network tab, we'll try to change the recommended parameter and login using the standar SAP* user in client 066

Also, just to clarify. Did you opted for SNC while creating the new entry in SAP Logon pad??
 (The 2nd screen while adding a new system). You can check the same by selecting the item, 
click Change item button, and goto Network tab. If the SNC is checked, uncheck it and try logging in again.

With regards to SNC I was checking under SU01 -> <USER-ID> -> Display -> SNC -> SNC Name and I found all the users have included a string with the following information:

p:<DOMAIN>\<USER-ID>

I think this information could be related with the account they have created in the DOMAIN.

Thanks and regards,

0 Kudos

Hi,

Don't you find an option to take SNC for that specific user in SNC? All the user SNC irelated nformation is maintained in table USRACLEXT. You may manually need to remove the SNC for the specific user by maintaining the table USRACLEXT from SM30.

Hope this helps!!

Rgds,

Raghu

0 Kudos

Yep, seen this one before.

Ok, to set a productive password for an account you need to log into the client using an SNC connection; SAP documents this requirement. I don't know if this is necessary if you are setting an initial password, but it wouldn't surprise me if it were, and in any case that wouldn't affect us as we always use Kerberos authentication via SNC.

We actually wrote a small Ruby script (<100 lines) that uses the sapnwrfc interface to set a working password in a targeted list of accounts. It calls a BAPI to change basic account information, here the productive password for the target account(s). This is a fairly common problem here, as company policies require password changes every 30 days. By coincidence, we always establish a communication channel using SNC whenever we want to do some kind of identity management in a landscape.

Note: you'll want to establish an account on the destination client with SNC settings for the identity you use to change the password. Be sure this account has sufficient authorizations to change the password of another account on that client. You may need to install some notes to permit the setting of a productive password; obviously, the type of destination account (Service, Communication, or Dialog) affects what happens.

If anyone wants the code we use to accomplish this, let me know and I'll be happy to post it.

Bill Bormann

Purdue University

0 Kudos

Note that the logon data parameters of the BAPI are not documented and not released, so using them is actually just a trick and not a solution.

The ability to set a productive password for a dialog user came much later with IdM and to my knowledge is not a released BAPI either.

Anyway, I think we need to know how the system is configured first (globally as intention) before speculating about workarounds for individual use (cases).

@ OP: What are the snc* and login* parameter settings?

Cheers,

Julius

0 Kudos

Check out:

[SAP Identity Management APIs|http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/668e6629-0701-0010-7ca0-994cb7dec5a3]

for the published documentation. Obviously, to make use of the information you should be very cautious, but this document is a good starting point (SE37 and BAPI are your friends).

Of course, you are correct that there is a lot of information still needed here to solve this particular problem.

Bill Bormann

Purdue University

0 Kudos

Yes, you are correct: As of 7.00 SP19 it is documented and released, but only for SNC protected callers who also have authority for user admin.

Generally, the correct approach is to delete SAP* and reboot the system for login/no_automatic_user_sapstar to become active.

Sometimes it is easier to recover a "lock out" once you are already on "the inside" and an admin(!) to use the search help for users in SM21 to find a user NE a standard one, and then transport (client independently) an authorization for trusted RFC into the system for a role already assigned (if not existing in authorizations already). Then set up an SM59 connection as "trusted" into the client for that user and perform a remote login (within the same SID -> to the logical system 066).

Tcode SNC1 is also of type report, so you could create a system variant and schedule it in Sm37 to map the SNC name for you to one of the users, if you have batch admin access.

Deleting SAP* should only really be necessary for lockout of all users in all clients with no SNC and no trust anywhere.

Cheers,

Julius

Former Member
0 Kudos

Hi,

Note that no special user is created in client 066.

The two special users in the SAP System are as follows SAP* and DDIC.

As these users are not present in the client you need no worry about changing the default/standard

password.

Please refer:

http://help.sap.com/saphelp_nw04/helpdata/en/52/671785439b11d1896f0000e8322d00/content.htm

Regards,

Rohan.

0 Kudos

Hi Rohan,

The EARLYWATCH user ID comes with the installation and should be protected. Please check the link again:

The user EarlyWatch is delivered in client 066 and is protected using the password SUPPORT. The SAP EarlyWatch experts use this user which should not be deleted. Change the password. This user should only be used for EarlyWatch functions (monitoring and performance).

However, Using SNC with SAP GUI you'll always disable the (ABAP) password authentication; the ABAP system demands that the user is authenticated via SNC (SSO).

Hope this is helps!!

Rgds,

Raghu

Former Member
0 Kudos

if SNC is enabled and insecure login is not allowed per setting in RZ10 parameters, then you need to put SNC name and use that option for login in SAP logon pad........

i am not sure if SAP will allow that for standard SAP users..........

Former Member
0 Kudos

hai

we cannotl ogin to 066 client.only sap providers will login to that if we haveany issue.we need rfc connection to contact sap providers