Re: x3270 scripting?
Scott, I have. I've got a couple of scripts that I use. I think I borrowed large chunks of them from examples from somewhere. One is a child process that starts when the session starts (via the script keyword in the hosts file) and waits on a pipe to receive instructions. The other is a script I run when I want to transfer a file and it send commands to the pipe. Maybe more than you want or need but hopefully they will be of some help. Attaching them here: (See attached file: pthvm1_child.bash)(See attached file: buildps) Not sure what the listserver will do to attachments so I've CCed you direct. I haven't looked at these in ages so I can't tell you too much more about them, but if you have any questions feel free to contact me. I'm sure I can resurrect the memories. Robert Hart 1060 Hay(Embedded image Streetmoved to file: pic07494.gif) z/VM West Perth, Development 6005 and Service Australia Australia Development Laboratory (ADL) IBM Systems Technology Group, Systems Software Development Phone: +61-8-9261-8560 Fax:+61-8-9261-8453 e-mail: pbch...@au1.ibm.com From: Scott Rohling scott.rohl...@gmail.com To: LINUX-390@vm.marist.edu, Date: 27/02/2013 07:20 Subject:x3270 scripting? Sent by:Linux on 390 Port LINUX-390@vm.marist.edu Anyone out there played with x3270 scripting? I'm specifically interested in scripting file transfers... and there is a 'transfer' action that should be able to be used in a script. I've tried a few things but can't seem to understand what's needed within a script.. x3270if transfer() ? I try going to actions and enter 'script /home/scott/test' to execute my script but get weird results. It also seems like the next time I try to perform any action after a failed script, x3270 crashes - which has made things even more frustrating. Anyway - thought this might be a good group to ask.. I'd really like to be able to do a bit more with x3270 on my Linux workstation. Scott Rohling -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For more information on Linux on System z, visit http://wiki.linuxvm.org/ -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For more information on Linux on System z, visit http://wiki.linuxvm.org/ pthvm1_child.bash Description: Binary data buildps Description: Binary data attachment: pic07494.gif
Test
Apologies. Just testing. Regards, Robert Hart Australia Development Laboratory (ADL), West Perth Western Australia Internet: pbch...@au1.ibm.com Telephone: 61-8-9261-8560 Tie-line: 701-18560 Fax: 61-8-9261-8453 -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For more information on Linux on System z, visit http://wiki.linuxvm.org/
Re: Question to LDAP/RACF
Florian, Not too familiar with dynamic groups but I'm wondering if your expectations are correct. You seem to be expecting that a dynamic group set up in LDAP will reflect in the output of the linux id and getent commands. I don't see why that should be the case - id and getent display information from the file system and databases on the linux machine, not from the LDAP server backend. Regards, Robert Hart Australia Development Laboratory (ADL), West Perth Western Australia Internet: pbch...@au1.ibm.com Telephone: 61-8-9261-8560 Tie-line: 701-18560 Fax: 61-8-9261-8453 - Message from Florian Bilek florian.bi...@gmail.com on Mon, 21 May 2012 22:57:21 +0200 - Subject: Question to LDAP/RACF Dear all, I am trying to enable z/VM LDAP/RACF configuration to consolidate to user administration into one directory. In principle the thing works fine however I have a question regarding the right configuration: LDAP allows for dynamic groups. Those groups are based on LDAP queries and avoid the need of adding/deleting manually users to such groups. I defined a dynamic group called users that would qualify all accounts that have the attribute uid. The memberURL is as follows: dn: cn=users,dc=xxx objectclass: posixGroup objectclass: top objectclass: ibm-dynamicGroup cn: users gidnumber: 100 memberurl: ldap:///dc=xxx??one?((objectClass=person)(uid=*)) When I login now with a user I see the following: $ id uid=11002(xbilek) gid=9(usrys) groups=9(usrys) but it should look like id=11002(xbilek) gid=9(usrys) groups=100(users), 9(usrys) The getent group command shows only the name of the groups but no members: getent group users shows only: users:x:100: getent group usrys: shows only: users:x:9: Maybe the posixGroup is not the best. Is there a howto describing the parameters that need to be checked in ldap.conf? Thank you very much in advance. -- Best regards Florian Bilek -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For more information on Linux on System z, visit http://wiki.linuxvm.org/ -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For more information on Linux on System z, visit http://wiki.linuxvm.org/