07-12-2013
10 More Discussions You Might Find Interesting
1. HP-UX
Our system is an HP RP5470 11.11. We have had remote printing working for over 6 years. We use NetManage ViewNow software on our Windows client as the LPD. We had no problems with remote printing for any HP printer except for the HP LAserJet 1000. Nothing prints. I sent all the files in the... (2 Replies)
Discussion started by: Stabia
2 Replies
2. UNIX for Dummies Questions & Answers
Hi,
I am writing a shell script to pull a file from a remote server (Let say its a windows based remote server). One of my criteria is to pull a file only if it is not empty.
We have done a similar script to push a file from our end to a remote server and before pushing it we check for the... (2 Replies)
Discussion started by: sashankkrk
2 Replies
3. Shell Programming and Scripting
Hi,
Im creating a script that is supposed to run commands on remote server using sftp.
My script is as below:
#!/bin/ksh
sftp remote_server
mypassword
cd /u08/mydir/allfiles
mget *
..
But this is what I got when I runned the script:
Connecting to remote server...... (3 Replies)
Discussion started by: luna_soleil
3 Replies
4. Shell Programming and Scripting
Hi all,
Iam looking out for a script which pulls archive logs from Server A to Server B. At the same time we donot want the archives to be deleted from Server A.
Request you to please help me on this.
Thanks,
Vivek (1 Reply)
Discussion started by: vivi.raghav
1 Replies
5. Shell Programming and Scripting
Hi all,
Iam looking out for a shell script which pulls archive from Server A to Server B.
And at the same time, we dont want the archives which are already pulled in Server B to be removed from Server A.
Please help me on this, I have been trying on this for a quiet few time.
... (3 Replies)
Discussion started by: vivi.raghav
3 Replies
6. Shell Programming and Scripting
Hi All,
I am having an abc.txt , which contains some digits
Eg:abc.txt
145
566
355
I want write shellscript in suchway that if any digit is greter than 1000 then it shuld display " text files contain digit, which is greater than 1000"
Please help me to do so
Thanks.. (8 Replies)
Discussion started by: pspriyanka
8 Replies
7. Solaris
Hi,
I am trying to automate the process of fetching files from remote server to local server through sftp. I have the username and password for the remote solaris server. But I need to give password manually everytime i run the script.
Can anyone help me in automating the script such that it... (3 Replies)
Discussion started by: ssk250
3 Replies
8. Shell Programming and Scripting
Hi guys,
So i am in server1 and i have to login to server 2, 3,4 and run some script there(logging script) and output its result. What i am doing is running the script in server2 and outputting it to a file in server 2 and then Scp'ing the file to server1. Similarly i am doing this for other... (5 Replies)
Discussion started by: srkmish
5 Replies
9. Shell Programming and Scripting
Hello All,
I need help writing a bash script that will run on 500 LINUX servers and do the following:
1. Capture the ipa_server name from /etc/sssd/sssd.conf on a list of 500 servers in the ipahosts file.
2. Write to a file outputing only server name and IPA server name.
Root ssh keys... (3 Replies)
Discussion started by: vtowntechy
3 Replies
10. Shell Programming and Scripting
I have a script, which connecting to remote server and first checks, if the files are there by timestamp. If not I want the script exit without error. Below is a code
TARFILE=${NAME}.tar
TARGZFILE=${NAME}.tar.gz
ssh ${DESTSERVNAME} 'cd /export/home/iciprod/download/let/monthly;... (3 Replies)
Discussion started by: digioleg54
3 Replies
LEARN ABOUT OSX
idmap_rid
IDMAP_RID(8) IDMAP_RID(8)
NAME
idmap_rid - Samba's idmap_rid Backend for Winbind
DESCRIPTION
The idmap_rid backend provides a way to use an algorithmic mapping scheme to map UIDs/GIDs and SIDs. No database is required in this case
as the mapping is deterministic.
IDMAP OPTIONS
range = low - high
Defines the available matching uid and gid range for which the backend is authoritative. Note that the range acts as a filter. If algo-
rithmically determined UID or GID fall outside the range, they are ignored and the corresponding map is discarded. It is intended as a
way to avoid accidental UID/GID overlaps between local and remotely defined IDs.
base_rid = INTEGER
Defines the base integer used to build SIDs out of an UID or a GID, and to rebase the UID or GID to be obtained from a SID. User RIDs by
default start at 1000 (512 hexadecimal), this means a good value for base_rid can be 1000 as the resulting ID is calculated this way: ID
= RID - BASE_RID + LOW RANGE ID.
EXAMPLES
This example shows how to configure 2 domains with idmap_rid
[global]
idmap domains = MAIN TRUSTED1
idmap config MAIN:backend = rid
idmap config MAIN:base_rid = 1000
idmap config MAIN:range = 10000 - 49999
idmap config TRUSTED1:backend = rid
idmap config TRUSTED1:base_rid = 1000
idmap config TRUSTED1:range = 50000 - 99999
AUTHOR
The original Samba software and related utilities were created by Andrew Tridgell. Samba is now developed by the Samba Team as an Open
Source project similar to the way the Linux kernel is developed.
IDMAP_RID(8)