PDA

View Full Version : Access Client Solutions Cached Credentials



kkirnbauer
27-09-16, 14:10
Hallo,

bin gerade dabei, meine Kollegen auf den Java Client umzustellen.

Nun sind wir auf das Problem gestoßen, dass die Kennwörter nicht mehr automatisch nach einem Neustart gespeichert werden. (Cached Credentials) Menüpunkt Standardbenutzer verwenden, einmal für jedes System anfordern.

Gibt es da eine Lösung, dass diese Logindaten gespeichert bleiben, so wie es auch im alten Client der Fall waR?

Danke

lg

TARASIK
27-09-16, 21:03
Hallo,
ich vermute dies kann helfen:

9.11 Using Credentials from a netrc File

To enable the usage of a .netrc file (Linux and Mac) or a _netrc file (Windows), go to the IBM i Access Client Solutions main GUI and from the menu bar, select
Edit->Preferences
General tab
Check the box: Read netrc file for login information
Click the Apply button
Restart IBM i Access Client Solutions

The standard format of a netrc file is:

machine <system> login <user-id> password <password>

The netrc file must be stored in the user's home directory and the system name and user-id must match System Configurations. From IBM i Access Client Solutions:
Select System Configurations
Select and then Edit the system
Connections tab
Select Use default user name to prompt once for each system
Fill in the user-id for: Default user name
Select OK

When the system name and Default user name match the contents of the netrc file, a connection to the system will be made using the password from the netrc file without prompting the user.

DKSPROFI
28-09-16, 05:24
Moin,

@TARASIK

kannst Du mir sagen wo man diese Datei findet, bzw. wo diese gespeichert werden muss?

mfg

DKSPROI

kkirnbauer
28-09-16, 06:38
Folgendes in eine .bat geben:

ECHO OFF
SET /P _machine=Bitte Maschinenname eingeben:
SET /P _user=Bitte Benutzer fuer das System eingeben:
SET /P _password=Bitte Passwort fuer das ungarische System eingeben:
echo machine %_machine% login %_user% password %_password% > %USERPROFILE%\_netrc
attrib %USERPROFILE%\_netrc +h


Scheint so zu funktionieren vielen lieben Dank!!!!