10-27-2015
How to communicate with the server is your choice, and depends a great deal on the Windows server. File shares is a common method to bridge Windows and UNIX but Windows must export the relevant folders for UNIX to be able to access them.
Whether it's safe to enable telnet depends entirely on what you do with it.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I have a .sh script which was running fine on all the UNIX Servers (AIX, SunSolaris). The script requires two mandatory parameters and many optional parameters. Now at a different client place who are on a Windows Server, when I try to execute the script through MKS Toolkit, there are couple of... (5 Replies)
Discussion started by: madhunk
5 Replies
2. Shell Programming and Scripting
Hi,
Below is the script which ftps the file from unix server and putting in a different directory(but on unix server)
How can i ftp the files from unix server and to place in a secure location on windows server? what changes needs to be done to the below script?
How can this be... (1 Reply)
Discussion started by: venkatesht
1 Replies
3. Shell Programming and Scripting
I'm trying to write a Perl script where a file from a UNIX server box connects to a Windows server box and copies that file into the Window box.
The main problem I have right now is that whenever I try to connect to the Windows box, the connection is refused.
The error message that always pops... (2 Replies)
Discussion started by: kooshi
2 Replies
4. Shell Programming and Scripting
Can anybody please help me on how to code for the below requirement:
I need to write a shell script (on different unix server) to copy files from multiple folders (ex. BRN-000001) from one windows server (\\boldls-mwe-dev4)to a different windows server(\\rrwin-ewhd04.ecomad.int). This shell... (4 Replies)
Discussion started by: SravsJaya
4 Replies
5. Programming
I have a Perl script that worked fine before moving it to justhost.com. It was on a Windows/Apache server. Just host is using UNIX. Other Perl scripts on other sites that were also moved work fine so I know Perl is functioning.
The script is called cwrmail.pl and is located in my cgi-bin.
When I... (9 Replies)
Discussion started by: BigBobbyB
9 Replies
6. Shell Programming and Scripting
hi
i need to transfer some files from windows server to unix server using SFTP. but before transferring the files, i need to check the
existence of a particular file in the remote directory (say r_dir1). if the file is present, then SFTP all the files.
after SFTPing the files from the remote... (1 Reply)
Discussion started by: vinit raj
1 Replies
7. Shell Programming and Scripting
hi guys,
i need a script to sftp the file from windows to unix server ....(before that i have to check whether the file exists in the windows server or not
and again i have to reverse sftp the files from unix to windows server.....
regards,
Vasa Saikumar. (13 Replies)
Discussion started by: hemanthsaikumar
13 Replies
8. Solaris
I need to transfer files from a Windows server to the Unix server and have to run some shell script on it to get the required output.
Is it possible to transfer files from Windows server to unix server through any shell script?
If so can you please help me with the details.
Thanks in... (8 Replies)
Discussion started by: ssk250
8 Replies
9. Shell Programming and Scripting
Hi Team,
I had a requirement to write a shell script which automatically transfer the files from unix server to windows server. I can able to unix to unix using Scp command. I am not sure how to do unix to windows.
I am very new on this concept.
Could you please help me or guide in... (4 Replies)
Discussion started by: gvkumar25
4 Replies
10. Shell Programming and Scripting
Hi All
I need to transfer a file from a UNIX server to a windows server.
I saw that it is possible to do this using scp command by looking at the forum listed below:
... (2 Replies)
Discussion started by: vx04
2 Replies
LEARN ABOUT REDHAT
cupsaddsmb
cupsaddsmb(8) Easy Software Products cupsaddsmb(8)
NAME
cupsaddsmb - export printers to samba for windows clients
SYNOPSIS
cupsaddsmb [ -H samba-server ] [ -U samba-user ] [ -h cups-server ] [ -v ] -a
cupsaddsmb [ -H samba-server ] [ -U samba-user ] [ -h cups-server ] [ -v ] printer [ ... printer ]
DESCRIPTION
cupsaddsmb exports printers to the SAMBA software (version 2.2.0 or higher) for use with Windows clients. Depending on the SAMBA configura-
tion, you may need to provide a password to export the printers. This program requires the CUPS or Adobe PostScript printer driver files
described below.
The -H option specifies the SAMBA server which defaults to the CUPS server.
The -U option specifies the SAMBA print admin username which defaults to your current username.
The -a option exports all known printers. Otherwise only the named printers are exported.
The -h option specifies a different CUPS server to use.
The -v option specifies that verbose information should be shown and is useful for debugging SAMBA configuration problems.
SAMBA CONFIGURATION
cupsaddsmb uses the new RPC-based printing support in SAMBA 2.2.x to provide printer drivers and PPD files to Windows client machines. In
order to use this functionality, you must first configure SAMBA (via the smb.conf file) to support printing through CUPS and provide a
printer driver download share, as follows:
[global]
load printers = yes
printing = cups
printcap name = cups
[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
public = yes
guest ok = yes
writable = no
printable = yes
printer admin = root
[print$]
comment = Printer Drivers
path = /etc/samba/drivers
browseable = yes
guest ok = no
read only = yes
write list = root
This configuration assumes a FHS-compliant installation of SAMBA; adjust the [printers] and [print$] share paths accordingly on your system
as needed.
CUPS POSTSCRIPT DRIVERS FOR WINDOWS
cupsaddsmb can use the CUPS PostScript printer drivers for Windows, which are available for download from the CUPS web site.
The CUPS printer drivers are preferred over the Adobe drivers since they support page accounting, banner pages, and page labels on all
printers. However, currently only Windows NT, 2000, and XP are supported by the CUPS drivers, so you will also need to get the Adobe
driver to support Windows 95, 98, and Me clients.
Once you have extracted the driver files, create a "drivers" directory in the CUPS data directory (usually /usr/share/cups) and copy the
CUPS files using lowercase filenames, as follows:
[Windows NT, 2000, and XP]
cups.hlp
cupsdrvr.dll
cupsui.dll
ADOBE POSTSCRIPT DRIVERS FOR WINDOWS
cupsaddsmb can use the Adobe PostScript printer drivers for Windows, which are available for download from the Adobe web site
(http://www.adobe.com).
The CUPS printer drivers are preferred over the Adobe drivers since they support page accounting, banner pages, and page labels on all
printers.
Once you have extracted the driver files, create a "drivers" directory in the CUPS data directory (usually /usr/share/cups) and copy the
Adobe files using UPPERCASE filenames, as follows:
[Windows 95, 98, and Me]
ADFONTS.MFM
ADOBEPS4.DRV
ADOBEPS4.HLP
DEFPRTR2.PPD
ICONLIB.DLL
PSMON.DLL
[Windows NT, 2000, and XP]
ADOBEPS5.DLL
ADOBEPSU.DLL
ADOBEPSU.HLP
You can download and copy either set of driver files independently, and use the CUPS drivers for Windows NT, 2000, and XP while using the
Adobe drivers for the Windows 95, 98, and Me clients.
SEE ALSO
CUPS Software Administrators Manual, http://localhost:631/documentation.html
COPYRIGHT
Copyright 1993-2002 by Easy Software Products, All Rights Reserved.
27 September 2002 Common UNIX Printing System cupsaddsmb(8)