Buenos días a todos, Hace unos meses cambiamos de servidor windows (2012 server) y empezamos a tener problemas con unos procesos que ejecutamos desde el iseries contra el servidor con runrmtcmd.
Después de una dura lucha, hemos conseguido que prácticamente funcione todo, pero nos queda un fleco pendiente. Antes de ejecutar los procesos, lanzamos en el servidor windows el mandato cwblogon a través de runrmtcmd pero con el psexec para poder saltarnos los problemas de que ya no se puede interactuar con el escritorio en remoto. Cualquier otro proceso que lanzamos con este procedimiento funciona correctamente, pero por alguna razón, cuando el servidor reinicia, el cwblogon no es capaz de hacer el login y se queda parado. Llevamos dándole vueltas a la parte de windows de este proceso un tiempo y estamos en un callejón sin salida. Ya no sabemos que más hacerle, y se nos ha ocurrido que quizá haya alguna manera de dejar guardado el usuario y la contraseña para el client access. El usuario y la contraseña con el que se deben loguear no es el mismo que se usa en windows. Y en ibm encontramos lo que os anexo debajo. En definitiva, ¿Alguien ha conseguido guardar el usuario y la contraseña de acceso de client access de manera que cuando el equipo reinicie no haya que volver a meterla? Quizá exista una clave de registro o algo similar... O quizá estemos haciendo alguna salvajada para lanzar procesos desde el iseries a Windows 2012 server y es mucho más sencillo que todo lo que hemos montado... Estamos abiertas a sugerencias. Signon security The connection properties for each configured AS/400 system has settings for handling the user ID and password when you connect to the system. These settings can be viewed and changed from Operations Navigator by right-clicking on the desired AS/400 system, clicking *Properties*, then selecting the *Connection* tab. The available three settings are: - *Use Windows user name and password, no prompting*: This setting automatically uses your Windows user name and password when connecting to the AS/400. No AS/400 signon prompt is displayed to the user. In order to use this option, your Windows user name and password must be the same as your AS/400 user name and password. Once the user signs on to the Windows workstation, no security prompting will occur when accessing AS/400 resources and data. Proper workstation security planning should be in place before implementing the use of this option. The No Prompt setting is only available when you sign on to Windows. If you cancel the Windows signon prompt, you cannot use this setting. - *Use default user ID, prompt as needed*: This setting causes Client Access to use the specified user ID for signing on. If the password is in the Client Access password cache, the system will automatically connect to the AS/400. The system uses the saved password value and does not prompt the user for it. The system saves passwords in the Client Access password cache when a successful connection is made to an AS/400. It deletes them when the user logs off the Windows workstation. In this option, the user enters their password the first time they connect to the AS/400 during a Windows session. The user does not have to provide their password for subsequent connections during the same Windows session. Windows 95/98 operating system provides an additional level of password caching. This provides the ability to save passwords across sessions and even restarts of Windows. To activate this ability, use the *Save Password* check box on the Client Access signon dialog. This option is also available on the Client Access tab of the passwords properties in the Windows Control Panel. When *Save Password* is checked, you provide your password only once for each AS/400. You will not have to provide it again at the beginning of each Windows session. For information on simulating password caching, see Password Caching on NT Using CWBLOGON <http://as400bks.rochester.ibm.com/html/as400/v4r5/ic2924/info/RZAIICWBLOGON.HTM#HDRCWBLOGON>. You may need to simulate password caching on Windows NT/2000. Proper workstation security planning should be in place before implementing the use of this option. - *Prompt every time*: This setting prompts for signon information every time an application connects to an AS/400 system. Muchas gracias por vuestra ayuda. ------------------------------ -- Estela
____________________________________________________ Únete a Recursos AS400, nuestra Comunidad ( http://bit.ly/db68dd ) Forum.Help400 © Publicaciones Help400, S.L.