1824937 Members
3943 Online
109678 Solutions
New Discussion юеВ

connect direct ...

 
SOLVED
Go to solution
Manuales
Super Advisor

connect direct ...

anybody of you knows connect direct ?
6 REPLIES 6
Dave La Mar
Honored Contributor
Solution

Re: connect direct ...

Marketed by Sterling Sotware. Common in IBM mainframe environments.
We are using the client on a 11.0 box to send files via sftp to another sites unix box.

See attached document.

Regards,

dl
"I'm not dumb. I just have a command of thoroughly useless information."
Manuales
Super Advisor

Re: connect direct ...

Dave...
i need migrate user x by z, i mean , change user x by z,
i can not use user x in the application and now it is configured so.


Initially softwaere was installed in:
/home/x/cdunix/

I have changed owner x by z below all folder:
/home/x/cdunix/

I have changed owner in the place where are located scripts , they are run to send information form A server to B server.

User x and z has same variable NDMAPICFG in .profile

I have changed permissions rws-r-xr-x (chmod 4755) to ndmauths and ndmauthc (they are modified when i use chmod -R in /../cdunix/)

i have changed owner and permissions to files named keys.* located in /home/.../security/

I have restart processes ndm with new user named "z" : cdpmgr and cdstatm ... now they are running with z userid.

My userfile.cfg contains:
Ccccc@111.222.333.444:\ #remote server and #user used in pnodeid
:local.id=hhhhh:\
:pstmt.upload=y:\
:pstmt.upload_dir=:\
:pstmt.download=y:\
:pstmt.download_dir=:\
:pstmt.run_dir=:\
:pstmt.submit_dir=:\
:descrip=:

hhhhh@aaaaa:\ #local server
:local.id=hhhhh:\
:pstmt.upload=y:\
:pstmt.upload_dir=:\
:pstmt.download=y:\
:pstmt.download_dir=:\
:pstmt.run_dir=:\
:pstmt.submit_dir=:\
:descrip=:

hhhhh:\
:admin.auth=y:\
:pstmt.copy.ulimit=y:\
:pstmt.upload=y:\
:pstmt.upload_dir=:\
:pstmt.download=y:\
:pstmt.download_dir=:\
:pstmt.run_dir=:\
:pstmt.submit_dir=:\
:name=:\
:phone=:\
:descrip=:

ttt:\ #user used in pnodeid
:admin.auth=y:\
:pstmt.copy.ulimit=y:\
:pstmt.upload=y:\
:pstmt.upload_dir=:\
:pstmt.download=y:\
:pstmt.download_dir=:\
:pstmt.run_dir=:\
:pstmt.submit_dir=:\
:name=:\
:phone=:\
:descrip=:

Into netmap it has configured ipadress remote server.

If i run a script as follows:
ndmcli -x <submit PROD process snode=mmmmmmm
pnodeid=(ttt,pppp)
snodeid=(Ccccc,55555)
step01
copy from (file = /home/books/book_uno.txt
pnode
)
ckpt = 5k
compress = extended
to (file = \\homeremote\book_uno.txt
snode
disp = new
)
EOJ


The result is message: XCMM009I
mod.name=NUCMSU00
short.text=No permission to exec cmd. Cmd=&CMDNAME.
long.text=User does not have permission to execute this CD command or submitter= was issued for a userid different from the user's. The user was authorized only to operate on the user's own processes or statistics information.
SYSTEM ACTION->None.
RESPONSE-> Check the user authorization file to see if you have the permission to execute this command. Consult with your CD administrator to get permission.

WHY !!!!! ???????

what else do i must change ?
i need it workw with "z" userid instead of user "x"!!!!

I need your help !!

and ... do you know if Keys.* files are generated with information user which is going to be running the aplication??

Thanks, Manuales.

Manuales
Super Advisor

Re: connect direct ...

Help please !!!
Dave La Mar
Honored Contributor

Re: connect direct ...

Manuales -
I'm not exactly sure what you are asking, but here is what I see on our machine.

1. All files are owned by one user, let's say user A.
2. User A is not the one initiating the ftp job. That designation is from the remote end.
Thus, if you are trying to log into the remote machine, the authentication is whatever the remote end issued you for a login.

Am I getting close to what you are asking?

-dl
"I'm not dumb. I just have a command of thoroughly useless information."
Manuales
Super Advisor

Re: connect direct ...

but ...
well..
actually system in local machine is under user "x" and need change userid for other named "z".

I have done changes above indicated ...

but... it appears a message about authentication ..
do you know if i need some another update?
or
do i change something in remote machine?

local machine is a unix server.
Remote machine i think is a window machine ..


Thanks ....
Dave La Mar
Honored Contributor

Re: connect direct ...

Based on what you say on the "authentication", my guess would be that you are attempting to change the user actually performing the ftp process. As noted, the remote system normally would issue you a login and password. That said, if this is what you wish to change, the remote end would have to grant these changes there as well.

Hang in there.

Regards,

dl
"I'm not dumb. I just have a command of thoroughly useless information."