Discussion:
finding windows-unix file transfer protocol
(too old to reply)
happytoday
2009-11-12 14:17:51 UTC
Permalink
Dear all,
I am searching a protocol for transffrring files other than ftp
between windows and Solaris 10.
I search command line like rcp but , rcp is between unix platforms
only .
If non exist . Can I put ftp commands in a shell script as non-
interactive command.
Thanks
h***@bofh.ca
2009-11-12 14:46:56 UTC
Permalink
Post by happytoday
I search command line like rcp but , rcp is between unix platforms
only .
Look for Putty. It's a Win32 SSH client, which includes "pscp.exe",
which is scp.
--
Brandon Hume - hume -> BOFH.Ca, http://WWW.BOFH.Ca/
Peter Klewinghaus
2009-11-12 15:55:12 UTC
Permalink
Post by happytoday
Dear all,
I am searching a protocol for transffrring files other than ftp
between windows and Solaris 10.
I search command line like rcp but , rcp is between unix platforms
only .
If non exist . Can I put ftp commands in a shell script as non-
interactive command.
Thanks
rsync, also has delta mirroring features and works cross platform
http://en.wikipedia.org/wiki/Rsync
Winston
2009-11-12 16:06:03 UTC
Permalink
Post by happytoday
I am searching a protocol for transffrring files other than ftp
between windows and Solaris 10.
There's also NFS and SAMBA, exporting some file structure from one system
and mounting it on the other, and then just "cp -p"ing the file.
-WBE
Canuck57
2009-11-14 16:39:03 UTC
Permalink
Post by Winston
Post by happytoday
I am searching a protocol for transffrring files other than ftp
between windows and Solaris 10.
There's also NFS and SAMBA, exporting some file structure from one system
and mounting it on the other, and then just "cp -p"ing the file.
-WBE
When interfacing with Windoze, best not to use NFS. So insecure. You
have to export the NFS shares with zero security in mind to make it
work. And pretty easy to hack into systems that do this.

Best to stick with Samba. While Solaris can export a SMB/CIFS share, I
know Linux can also mount them. Put the insecurity on Windoze where it
started, export the share and have Linux mount it. Then all the xNIX
tools work great.

Can Solaris mount shares from Windoze yet?
Cydrome Leader
2009-11-12 16:20:14 UTC
Permalink
Post by happytoday
Dear all,
I am searching a protocol for transffrring files other than ftp
between windows and Solaris 10.
I search command line like rcp but , rcp is between unix platforms
only .
If non exist . Can I put ftp commands in a shell script as non-
interactive command.
Thanks
scp or sftp works if you just want to manually move some stuff around
from time to time. There are various SCP and SFTP clients for windows.

for things more like real file sharing, there is samba (garbage product)
or NFS. pcnfs is required for this, and while sun doesn't talk about it
anymore, it can still be compiled easily for solaris 10. I posted the
steps somewhere on the sun developer website.

NFS on windows requires a NFS client, there are no free NFS clients that
actually work correctly. Attachmate/ WRQ seems to write the only
functional on there is these days.

It sounds complex, but is still less of a hassle then fucking around with
samba.
ITguy
2009-11-12 23:20:38 UTC
Permalink
Post by Cydrome Leader
for things more like real file sharing, there is samba (garbage product)
Samba is garbage? I've always rather liked it for cross platform file
sharing...
Cydrome Leader
2009-11-13 19:25:18 UTC
Permalink
Post by ITguy
Post by Cydrome Leader
for things more like real file sharing, there is samba (garbage product)
Samba is garbage? I've always rather liked it for cross platform file
sharing...
some people like methamphetamines too.
Dave
2009-11-12 23:28:49 UTC
Permalink
Post by Cydrome Leader
for things more like real file sharing, there is samba (garbage product)
or NFS. pcnfs is required for this, and while sun doesn't talk about it
anymore, it can still be compiled easily for solaris 10. I posted the
steps somewhere on the sun developer website.
What's garbage about Samba? I've used it successfully for years.
--
I respectfully request that this message is not archived by companies as
unscrupulous as 'Experts Exchange' . In case you are unaware,
'Experts Exchange' take questions posted on the web and try to find
idiots stupid enough to pay for the answers, which were posted freely
by others. They are leeches.
Canuck57
2009-11-14 16:52:07 UTC
Permalink
Post by Dave
Post by Cydrome Leader
for things more like real file sharing, there is samba (garbage
product) or NFS. pcnfs is required for this, and while sun doesn't
talk about it anymore, it can still be compiled easily for solaris 10.
I posted the steps somewhere on the sun developer website.
What's garbage about Samba? I've used it successfully for years.
I have too. Works great. Real problem is some people don't bother
reading the manual.
Gary R. Schmidt
2009-11-13 11:17:59 UTC
Permalink
Post by Cydrome Leader
Post by happytoday
Dear all,
I am searching a protocol for transffrring files other than ftp
between windows and Solaris 10.
I search command line like rcp but , rcp is between unix platforms
only .
If non exist . Can I put ftp commands in a shell script as non-
interactive command.
Thanks
scp or sftp works if you just want to manually move some stuff around
from time to time. There are various SCP and SFTP clients for windows.
And the sshd that is in Cygwin <http://www.cygwin.com> works very well.
Post by Cydrome Leader
for things more like real file sharing, there is samba (garbage product)
^^^^Huh?
Post by Cydrome Leader
or NFS. pcnfs is required for this, and while sun doesn't talk about it
anymore, it can still be compiled easily for solaris 10. I posted the
steps somewhere on the sun developer website.
Build pcnfs on Solaris 10?!?!?! Sounds wrong, somehow.
Post by Cydrome Leader
NFS on windows requires a NFS client, there are no free NFS clients that
actually work correctly.
The one that comes in MS Services For UNIX works perfectly adequately.
Post by Cydrome Leader
Attachmate/ WRQ seems to write the only
functional on there is these days.
What's the cost per seat these days?
Post by Cydrome Leader
It sounds complex, but is still less of a hassle then fucking around with
samba.
Oh, I see, you must be one of the people who sold a Samba-alike product
to various people at Sun - who, when Tridge and co. wandered into your
server via an open-to-the-internet NFS port and found that you were just
re-packaging Samba and calling it your own - thought that running a
script over the code that just re-named all the variables and functions
would avoid any illegality[1] - IOW an idiot.

Cheers,
Gary B-)

1 - True story, BTW.
Cydrome Leader
2009-11-13 19:29:56 UTC
Permalink
Post by Gary R. Schmidt
Post by Cydrome Leader
Post by happytoday
Dear all,
I am searching a protocol for transffrring files other than ftp
between windows and Solaris 10.
I search command line like rcp but , rcp is between unix platforms
only .
If non exist . Can I put ftp commands in a shell script as non-
interactive command.
Thanks
scp or sftp works if you just want to manually move some stuff around
from time to time. There are various SCP and SFTP clients for windows.
And the sshd that is in Cygwin <http://www.cygwin.com> works very well.
Post by Cydrome Leader
for things more like real file sharing, there is samba (garbage product)
^^^^Huh?
Post by Cydrome Leader
or NFS. pcnfs is required for this, and while sun doesn't talk about it
anymore, it can still be compiled easily for solaris 10. I posted the
steps somewhere on the sun developer website.
Build pcnfs on Solaris 10?!?!?! Sounds wrong, somehow.
Can you elaborate on "somehow"?
Post by Gary R. Schmidt
Post by Cydrome Leader
NFS on windows requires a NFS client, there are no free NFS clients that
actually work correctly.
The one that comes in MS Services For UNIX works perfectly adequately.
No it doesn't, or you only use 3 files of 4Kb and access them once every
few hours. The MS services for unix client is really flakey.
Post by Gary R. Schmidt
Post by Cydrome Leader
Attachmate/ WRQ seems to write the only
functional on there is these days.
What's the cost per seat these days?
retail was $130 for the box, it's obviously less if you license more than
one machine.
Post by Gary R. Schmidt
Post by Cydrome Leader
It sounds complex, but is still less of a hassle then fucking around with
samba.
Oh, I see, you must be one of the people who sold a Samba-alike product
to various people at Sun - who, when Tridge and co. wandered into your
server via an open-to-the-internet NFS port and found that you were just
re-packaging Samba and calling it your own - thought that running a
script over the code that just re-named all the variables and functions
would avoid any illegality[1] - IOW an idiot.
I'm not following what you're trying to say here.
Canuck57
2009-11-14 16:54:19 UTC
Permalink
Post by Gary R. Schmidt
Post by Cydrome Leader
Post by happytoday
Dear all,
I am searching a protocol for transffrring files other than ftp
between windows and Solaris 10.
I search command line like rcp but , rcp is between unix platforms
only .
If non exist . Can I put ftp commands in a shell script as non-
interactive command.
Thanks
scp or sftp works if you just want to manually move some stuff around
from time to time. There are various SCP and SFTP clients for windows.
And the sshd that is in Cygwin <http://www.cygwin.com> works very well.
Post by Cydrome Leader
for things more like real file sharing, there is samba (garbage product)
^^^^Huh?
Post by Cydrome Leader
or NFS. pcnfs is required for this, and while sun doesn't talk about
it anymore, it can still be compiled easily for solaris 10. I posted
the steps somewhere on the sun developer website.
Build pcnfs on Solaris 10?!?!?! Sounds wrong, somehow.
Post by Cydrome Leader
NFS on windows requires a NFS client, there are no free NFS clients
that actually work correctly.
The one that comes in MS Services For UNIX works perfectly adequately.
Post by Cydrome Leader
Attachmate/ WRQ seems to write the only functional on there is these
days.
What's the cost per seat these days?
Post by Cydrome Leader
It sounds complex, but is still less of a hassle then fucking around
with samba.
Oh, I see, you must be one of the people who sold a Samba-alike product
to various people at Sun - who, when Tridge and co. wandered into your
server via an open-to-the-internet NFS port and found that you were just
re-packaging Samba and calling it your own - thought that running a
script over the code that just re-named all the variables and functions
would avoid any illegality[1] - IOW an idiot.
Cheers,
Gary B-)
1 - True story, BTW.
That is true for almost every NAS product that works with Windoze.
Samab inside. Oh, they may polish it, put a different web front end on
it, or whatever but it is based on Samaba.
Canuck57
2009-11-14 16:50:43 UTC
Permalink
Post by Cydrome Leader
Post by happytoday
Dear all,
I am searching a protocol for transffrring files other than ftp
between windows and Solaris 10.
I search command line like rcp but , rcp is between unix platforms
only .
If non exist . Can I put ftp commands in a shell script as non-
interactive command.
Thanks
scp or sftp works if you just want to manually move some stuff around
from time to time. There are various SCP and SFTP clients for windows.
for things more like real file sharing, there is samba (garbage product)
or NFS. pcnfs is required for this, and while sun doesn't talk about it
anymore, it can still be compiled easily for solaris 10. I posted the
steps somewhere on the sun developer website.
NFS on windows requires a NFS client, there are no free NFS clients that
actually work correctly. Attachmate/ WRQ seems to write the only
functional on there is these days.
It sounds complex, but is still less of a hassle then fucking around with
samba.
You are obviously a Windoze home boy. Not only is Samba more capable to
be more secure it is also faster than what you suggest. Benchmarks of
Samba show Samab to be a better CIFS server than Windoze and in fact
almost all commercial vendors products are based on it's works somehow.

NFS to Windblows is INSECURABLE. I can't tell you how many times I have
ethically hacked both Windows and UNIX this way. Oh, our site is
secure, and I find NFS to Windows and I smile as I am minutes away from
proving them dead wrong.

scp/sftp is about the most secure but not always the easiest to use.

As for WRQ, piece of over priced crap. Load a VM like VirtualBox or
VMWare, run a Linux in there and it can access both at the same time.
That is, mount the local Windows and the UNIX via NFS, and use NIS+ or
something for file ownerships. As that is where NFS by itself falls
apart. With NFS only, your files invariable wind up root 0777 and 3777
is often possible.
Cydrome Leader
2009-11-14 22:34:46 UTC
Permalink
Post by Canuck57
Post by Cydrome Leader
Post by happytoday
Dear all,
I am searching a protocol for transffrring files other than ftp
between windows and Solaris 10.
I search command line like rcp but , rcp is between unix platforms
only .
If non exist . Can I put ftp commands in a shell script as non-
interactive command.
Thanks
scp or sftp works if you just want to manually move some stuff around
from time to time. There are various SCP and SFTP clients for windows.
for things more like real file sharing, there is samba (garbage product)
or NFS. pcnfs is required for this, and while sun doesn't talk about it
anymore, it can still be compiled easily for solaris 10. I posted the
steps somewhere on the sun developer website.
NFS on windows requires a NFS client, there are no free NFS clients that
actually work correctly. Attachmate/ WRQ seems to write the only
functional on there is these days.
It sounds complex, but is still less of a hassle then fucking around with
samba.
You are obviously a Windoze home boy. Not only is Samba more capable to
A windows home boy that says samba sucks and uses NFS? You're kidding,
right?
Post by Canuck57
be more secure it is also faster than what you suggest. Benchmarks of
Samba show Samab to be a better CIFS server than Windoze and in fact
almost all commercial vendors products are based on it's works somehow.
Got it, you grabbed a real windows server that's part of AD and installed
samba on it, shut off windows shares and found better performance as well
as 100% drop in compatibility.
Post by Canuck57
NFS to Windblows is INSECURABLE. I can't tell you how many times I have
I can't help you if you live in flat 1980s network.
Post by Canuck57
ethically hacked both Windows and UNIX this way. Oh, our site is
Ha, you're an "ethical hacker" now, whatever the hell that's supposed to
mean. Did you read about that on Wired or see it on cnn?
Post by Canuck57
secure, and I find NFS to Windows and I smile as I am minutes away from
proving them dead wrong.
scp/sftp is about the most secure but not always the easiest to use.
Plus it's way slow, but hey, who am I to challenge an ethical hacker who
saw a benchmark somewhere and can call out a windows fan that's a
proponent of NFS.
Post by Canuck57
As for WRQ, piece of over priced crap. Load a VM like VirtualBox or
VMWare, run a Linux in there and it can access both at the same time.
That is, mount the local Windows and the UNIX via NFS, and use NIS+ or
something for file ownerships. As that is where NFS by itself falls
apart. With NFS only, your files invariable wind up root 0777 and 3777
is often possible.
Talk about complicated hack job to see a few files. Let me guess, the
original poster should do all this from virtual PC on his mac, right?

Also, I can't wait to "run a linux in there" and all those other technical
things. Nothing like rolling back time with some NIS+ too.

Did you already forget the original poster is running solaris?

So, they're supposed to install linux, or windows, then vmware or virtual
PC, then reinstall their solaris inside that to share files?

Or did I get that wrong? Maybe they should install linux, then vmware then
move their windows over into at VM there.

Awesome.

I need a systems architect for some upcoming projects that need to cost
too much and end up too complex to ever complete. Are you for hire?
Ian Collins
2009-11-14 22:51:07 UTC
Permalink
Post by Cydrome Leader
Post by Canuck57
Post by Cydrome Leader
It sounds complex, but is still less of a hassle then fucking around with
samba.
You are obviously a Windoze home boy. Not only is Samba more capable to
A windows home boy that says samba sucks and uses NFS? You're kidding,
right?
While Samba can be a pig to configure correctly, one only has to do it
once, on the server.

When your (Solaris 10) server has to coexist with windoze servers and
provide file and print services to 100s of XP desktops, there isn't
really a viable alternative.

Most desktop systems can access SMB shares without additional software,
so it offers the path of least resistance.
--
Ian Collins
Canuck57
2009-11-15 15:44:38 UTC
Permalink
Post by Cydrome Leader
Post by Canuck57
Post by Cydrome Leader
It sounds complex, but is still less of a hassle then fucking around with
samba.
You are obviously a Windoze home boy. Not only is Samba more capable to
A windows home boy that says samba sucks and uses NFS? You're kidding,
right?
Most Windoze boys are not as smart as their xNIX counterparts. So you
are forgiven.

Did you even know that CIFS operatesmore like FTP? login, get, put, dir
etc. Get into it and it is a clear adatation of using FTP for file
systems. A hack actually.

Did you know NFS is 1/2 of a secure share and relies on NIS, NIS+, files
or LDAP for the security part focusing only on the file service process
directly? So to make it work with windoze you have to insecurely export it?

Since a Windozes boxen has no clue of a standard like POSIX, those NFS
clients often ship using the ID of 0 on the client. Because you have a
arrogant and clueless windoze admin, they get irked when the UA doesn't
want root access to the NFS. Conflict arrises and windoze admin is a
clueless idiot about it. And for the rare clients that can use NIS, no
self respecting UA is going to export NIS to a windozes boxen.

Use Samba. While you still have to trust the exports, at least a weak
authententication can be enforced with windoze.

And the best part about Samba is no special software required on the
windoze client to confuse support. And it scales big time. I actually
had a case where the organization needed a open share, so we used samba
because it can make the default user something else other than
admin/root. Some 10,000 PCs used it. Scales really well.

And never been easier to use out of the box.

It even comes with Solaris.

svcadm enable svc:/network/swat:default
svcadm enable svc:/network/samba:default
svcadm enable svc:/network/winbind:default
svcadm enable svc:/network/wins:default

Then surf to port 901 on the host to configure it.

And no windoze client putzing required.

Be carfull where you can set the NTLM domain os level, leave it alone as
the defaults are good. It is possible to have the UNIX system BE the
domain controller and hijack the windows NT domain. Mind you, if you
want Solaris to be a NT domain controller for the PC, set it high.

If you like hacking into windoze, Samba is a must have. But also makes
a really nice first rate file share device. It even transfers files
faster to from Samba on my Vista than does Vista to Vista, try it out!
Cydrome Leader
2009-11-15 19:13:29 UTC
Permalink
Post by Canuck57
Post by Cydrome Leader
Post by Canuck57
Post by Cydrome Leader
It sounds complex, but is still less of a hassle then fucking around with
samba.
You are obviously a Windoze home boy. Not only is Samba more capable to
A windows home boy that says samba sucks and uses NFS? You're kidding,
right?
Most Windoze boys are not as smart as their xNIX counterparts. So you
are forgiven.
Did you even know that CIFS operatesmore like FTP? login, get, put, dir
etc. Get into it and it is a clear adatation of using FTP for file
systems. A hack actually.
got it, logging, doing stuff then stopping is a complete hack. Databases
are a hack, HTTP is a hack, it's all a hack. but somehow, samba which
really is a bad attempt at reverse engineering this "hack" called CIFS is
awesome.
Post by Canuck57
Did you know NFS is 1/2 of a secure share and relies on NIS, NIS+, files
or LDAP for the security part focusing only on the file service process
directly? So to make it work with windoze you have to insecurely export it?
I know your Lacie storage NAS just crashed and you lost all your data, but
do you remember the original post at all?
Post by Canuck57
Since a Windozes boxen has no clue of a standard like POSIX, those NFS
clients often ship using the ID of 0 on the client. Because you have a
arrogant and clueless windoze admin, they get irked when the UA doesn't
Now it's clear you don't even know what NFS stands for, or anything about
it, or how it works.

Name one NFS client that ships using "ID" (see in unix we call it a UID) 0
on the client.
Post by Canuck57
want root access to the NFS. Conflict arrises and windoze admin is a
clueless idiot about it. And for the rare clients that can use NIS, no
self respecting UA is going to export NIS to a windozes boxen.
you need to move on, NIS is done, and is not needed at all for mounting a
NFS share.
Post by Canuck57
Use Samba. While you still have to trust the exports, at least a weak
authententication can be enforced with windoze.
And the best part about Samba is no special software required on the
windoze client to confuse support. And it scales big time. I actually
had a case where the organization needed a open share, so we used samba
because it can make the default user something else other than
admin/root. Some 10,000 PCs used it. Scales really well.
great war story you fraud.
Canuck57
2009-11-16 00:50:21 UTC
Permalink
Post by Cydrome Leader
Name one NFS client that ships using "ID" (see in unix we call it a UID) 0
on the client.
WRQ.
Post by Cydrome Leader
Post by Canuck57
want root access to the NFS. Conflict arrises and windoze admin is a
clueless idiot about it. And for the rare clients that can use NIS, no
self respecting UA is going to export NIS to a windozes boxen.
you need to move on, NIS is done, and is not needed at all for mounting a
NFS share.
Agreed, but you missed my point. Obviously a windowze troll. Without
the identity part the uid/gid often ends up root. Not good.

Yes, most people should be off of NIS and onto NIS+ or LDAP by now.
Post by Cydrome Leader
Post by Canuck57
Use Samba. While you still have to trust the exports, at least a weak
authententication can be enforced with windoze.
And the best part about Samba is no special software required on the
windoze client to confuse support. And it scales big time. I actually
had a case where the organization needed a open share, so we used samba
because it can make the default user something else other than
admin/root. Some 10,000 PCs used it. Scales really well.
great war story you fraud.
Actual story. And about 10 years ago now. This isn't new. Anyone
wanting to move files interactively between a POSIX OS and Windoze
really aught to take a long look at Samba.

For batch and script, I prefer SSH and keys but Samba works great here too.

net use T: \\somehost\someshare
copy somefile T:

If he uses rcp with Windoze...he is nuts. Not even included in Win7 or
Vista, besides also being insecure. Anyone still use that method?
ITguy
2009-11-16 03:05:37 UTC
Permalink
For batch and script, I prefer SSH and keys...
Rsync also works well through an SSH tunnel. Look up "DeltaCopy" for
Windows. It's a little app that provides a Windows interface to
underlying rsync and ssh services.
Cydrome Leader
2009-11-17 16:06:45 UTC
Permalink
Post by ITguy
For batch and script, I prefer SSH and keys...
Rsync also works well through an SSH tunnel. Look up "DeltaCopy" for
Windows. It's a little app that provides a Windows interface to
underlying rsync and ssh services.
rsync (or anything) over ssh is slow, plus it's doesn't catch all file changes.
Canuck57
2009-11-18 02:47:09 UTC
Permalink
Post by ITguy
For batch and script, I prefer SSH and keys...
Rsync also works well through an SSH tunnel. Look up "DeltaCopy" for
Windows. It's a little app that provides a Windows interface to
underlying rsync and ssh services.
Yep, used that too. Works well. Especially if you have multiple hosts
to do.
Knoblauch
2009-12-02 15:53:45 UTC
Permalink
For batch and script, I prefer SSH and keys...
Rsync also works well through an SSH tunnel.  Look up "DeltaCopy" for
Windows.  It's a little app that provides a Windows interface to
underlying rsync and ssh services.
Yep, used that too.  Works well.  Especially if you have multiple hosts
to do.
The DeltaCopy user guide does not give information about setting up
the tunnel. Any suggestions on where to find documentation in
configuring a unix-based client connecting to DeltaCopy on a Windows
machine? How do I get DeltaCopy to listen via SSH?
ITguy
2009-12-03 01:09:19 UTC
Permalink
Post by Knoblauch
Rsync also works well through an SSH tunnel.  Look up "DeltaCopy" for
Windows.  It's a little app that provides a Windows interface to
underlying rsync and ssh services.
The DeltaCopy user guide does not give information about setting up
the tunnel.  Any suggestions on where to find documentation in
configuring a unix-based client connecting to DeltaCopy on a Windows
machine?  How do I get DeltaCopy to listen via SSH?
DeltaCopy does not listen via SSH. It should be possible though to
install a separate SSH service on Windows and use rsync over an SSH
tunnel initiated from a *NIX host.

happytoday
2009-11-19 18:10:32 UTC
Permalink
Post by Cydrome Leader
Name one NFS client that ships using "ID" (see in unix we call it a UID) 0
on the client.
WRQ.
Post by Cydrome Leader
want root access to the NFS.  Conflict arrises and windoze admin is a
clueless idiot about it.  And for the rare clients that can use NIS, no
self respecting UA is going to export NIS to a windozes boxen.
you need to move on, NIS is done, and is not needed at all for mounting a
NFS share.
Agreed, but you missed my point.  Obviously a windowze troll.  Without
the identity part the uid/gid often ends up root.  Not good.
Yes, most people should be off of NIS and onto NIS+ or LDAP by now.
Post by Cydrome Leader
Use Samba.  While you still have to trust the exports, at least a weak
authententication can be enforced with windoze.
And the best part about Samba is no special software required on the
windoze client to confuse support.  And it scales big time.  I actually
had a case where the organization needed a open share, so we used samba
because it can make the default user something else other than
admin/root.  Some 10,000 PCs used it.  Scales really well.
great war story you fraud.
Actual story.  And about 10 years ago now.  This isn't new.  Anyone
wanting to move files interactively between a POSIX OS and Windoze
really aught to take a long look at Samba.
For batch and script, I prefer SSH and keys but Samba works great here too.
   net use T: \\somehost\someshare
If he uses rcp with Windoze...he is nuts.  Not even included in Win7 or
Vista, besides also being insecure.  Anyone still use that method?
I am still working on old platforms and operating systems of sun .
Please specify some solutions that far away from complications. Just
simple as simple as a one line command inside a script .
Thanks
Canuck57
2009-11-20 00:40:47 UTC
Permalink
Post by happytoday
Post by Canuck57
Post by Cydrome Leader
Name one NFS client that ships using "ID" (see in unix we call it a UID) 0
on the client.
WRQ.
Post by Cydrome Leader
Post by Canuck57
want root access to the NFS. Conflict arrises and windoze admin is a
clueless idiot about it. And for the rare clients that can use NIS, no
self respecting UA is going to export NIS to a windozes boxen.
you need to move on, NIS is done, and is not needed at all for mounting a
NFS share.
Agreed, but you missed my point. Obviously a windowze troll. Without
the identity part the uid/gid often ends up root. Not good.
Yes, most people should be off of NIS and onto NIS+ or LDAP by now.
Post by Cydrome Leader
Post by Canuck57
Use Samba. While you still have to trust the exports, at least a weak
authententication can be enforced with windoze.
And the best part about Samba is no special software required on the
windoze client to confuse support. And it scales big time. I actually
had a case where the organization needed a open share, so we used samba
because it can make the default user something else other than
admin/root. Some 10,000 PCs used it. Scales really well.
great war story you fraud.
Actual story. And about 10 years ago now. This isn't new. Anyone
wanting to move files interactively between a POSIX OS and Windoze
really aught to take a long look at Samba.
For batch and script, I prefer SSH and keys but Samba works great here too.
net use T: \\somehost\someshare
If he uses rcp with Windoze...he is nuts. Not even included in Win7 or
Vista, besides also being insecure. Anyone still use that method?
I am still working on old platforms and operating systems of sun .
Please specify some solutions that far away from complications. Just
simple as simple as a one line command inside a script .
Thanks
I have used samba and ssh on Solaris 7 and up. Not too complex at all.
Canuck57
2009-11-15 16:28:49 UTC
Permalink
Post by Cydrome Leader
Post by Canuck57
Post by Cydrome Leader
Post by happytoday
Dear all,
I am searching a protocol for transffrring files other than ftp
between windows and Solaris 10.
I search command line like rcp but , rcp is between unix platforms
only .
If non exist . Can I put ftp commands in a shell script as non-
interactive command.
Thanks
scp or sftp works if you just want to manually move some stuff around
from time to time. There are various SCP and SFTP clients for windows.
for things more like real file sharing, there is samba (garbage product)
or NFS. pcnfs is required for this, and while sun doesn't talk about it
anymore, it can still be compiled easily for solaris 10. I posted the
steps somewhere on the sun developer website.
NFS on windows requires a NFS client, there are no free NFS clients that
actually work correctly. Attachmate/ WRQ seems to write the only
functional on there is these days.
It sounds complex, but is still less of a hassle then fucking around with
samba.
You are obviously a Windoze home boy. Not only is Samba more capable to
A windows home boy that says samba sucks and uses NFS? You're kidding,
right?
Post by Canuck57
be more secure it is also faster than what you suggest. Benchmarks of
Samba show Samab to be a better CIFS server than Windoze and in fact
almost all commercial vendors products are based on it's works somehow.
Got it, you grabbed a real windows server that's part of AD and installed
samba on it, shut off windows shares and found better performance as well
as 100% drop in compatibility.
Post by Canuck57
NFS to Windblows is INSECURABLE. I can't tell you how many times I have
I can't help you if you live in flat 1980s network.
Post by Canuck57
ethically hacked both Windows and UNIX this way. Oh, our site is
Ha, you're an "ethical hacker" now, whatever the hell that's supposed to
mean. Did you read about that on Wired or see it on cnn?
Post by Canuck57
secure, and I find NFS to Windows and I smile as I am minutes away from
proving them dead wrong.
scp/sftp is about the most secure but not always the easiest to use.
Plus it's way slow, but hey, who am I to challenge an ethical hacker who
saw a benchmark somewhere and can call out a windows fan that's a
proponent of NFS.
Post by Canuck57
As for WRQ, piece of over priced crap. Load a VM like VirtualBox or
VMWare, run a Linux in there and it can access both at the same time.
That is, mount the local Windows and the UNIX via NFS, and use NIS+ or
something for file ownerships. As that is where NFS by itself falls
apart. With NFS only, your files invariable wind up root 0777 and 3777
is often possible.
Talk about complicated hack job to see a few files. Let me guess, the
original poster should do all this from virtual PC on his mac, right?
Probably could, although I don't own a Mac, I don't see why one could not.

The example I gave was real but for the VM. A sole Linux box. The
organization had a real problem getting files too and from various
systems including Novell, HP-UX, Solaris, AIX, MS-Windows and Linux.

Solution was to have Linux setup with connections to them all and shares
to MS-Windows boxes. Each day users dropped files into known shares
where cron scripts would pick them up for processing and spin of the
needed files for various platforms. Since the scripts could see Novell
storage, copy of the results to multiple places became trivial.

For example, Sama can export an NFS share. Say a file was for Solaris.
Have a share called /ForSolaris/ - User sends to ti Linux, which puts
in on a Solaris boxen over NFS, one step on one well known well
supported gateway.

Linux was chosen as it can actually mount a NTFS/CIFS share. So if a
daily file gets generated on HP-UX or Solaris it can be sent to
MS-Windboze quite easily. It was the grease between the systems for
files and didn't need 5000 users to learn FTP, load WRQ or anything.
Just natvely map a drive.
Post by Cydrome Leader
Also, I can't wait to "run a linux in there" and all those other technical
things. Nothing like rolling back time with some NIS+ too.
I am not an OS bigot and believe run the right OS for the job. But
MS-Windows is often far too oversold as a server. Scales like
CE+ME+ME+NT and now Vista slow.
Post by Cydrome Leader
Did you already forget the original poster is running solaris?
Nope. Except for mounting a MS-Windows drive directly to the Solaris
file system, it should work. Could be someone has added this too. But
nothing to stop MS-Windows clients fom doing the same with Solaris.
Post by Cydrome Leader
So, they're supposed to install linux, or windows, then vmware or virtual
PC, then reinstall their solaris inside that to share files?
Not necessarily. I just exemplied it. Many shows run stuff in VMs for
application seperation, and some IIS server idling away all day is kind
of stupid not to VM it. Similarily low use Linux or Solaris apps. Not
every host has a 20TB DB crunching around the clock. A VM or two should
be in every IT skillset today.

Unless you are an OS bigot that is. On one VM or host or another I have
Solaris 9, 10, Linux RH, Fedora, Suse, Ubuntu, OpenBSD, XP, W2003,
Vista. I don't run AIX or HP-UX as I am not going to buy vendor sloted
hardware any more.
Post by Cydrome Leader
Or did I get that wrong? Maybe they should install linux, then vmware then
move their windows over into at VM there.
Lots of shops do. Run Linux/VM as the host. Then have Linux, varieties
of Windows and even Solaris in the VMs. Makes backing up and recovery a
trivial excercise. Take snapshots at 11:30pm, backup just the VM. Some
just copy it off into an offsite system where it is backed up.
Post by Cydrome Leader
Awesome.
Truly, but one needs to think "enterprise" and be open to use the best
tools that fit the situation. But far too many zealots slot themselves
into myopic thinking and declare themselves a "<insert vendor> shop".

I really embarased a Microsoft sales type once. Claimed Linux was junk
and useless. So I asked him if he liked his cell phone, and at home if
he used wireless. And how many PCs he had.

I looked it up, his cell was Linux as was his WAP (busybox based). He
had only one laptop. So the next time we met I pointed this out right
after his next Linux chirp that he ran more instances of Linux than
MS-Windows. I think he felt 1" tall.

There is more open source and Linux everywhere than people will admit.
Post by Cydrome Leader
I need a systems architect for some upcoming projects that need to cost
too much and end up too complex to ever complete. Are you for hire?
LOL. I don't think you need me, the above only took 50 days to rock
solid and I did it as a side to the HP-UX, Solaris and Firewall/DNS
stuff. I am busy until next spring and no shortage of work. But who
knows, after I finish a current rollout which is going smoothly ... if
someone offered me work at home.... I am getting tired of the traveling
part. I don't cost too much, just that I get results when others that
cost less don't. You get what you pay for if the person isn't a liar
about their past. Lots of that in this business.
TiGuCo
2009-11-13 11:24:44 UTC
Permalink
Post by happytoday
Dear all,
I am searching a protocol for transffrring files other than ftp
between windows and Solaris 10.
I search command line like rcp but , rcp is between unix platforms
only .
If non exist . Can I put ftp commands in a shell script as non-
interactive command.
Thanks
You can use Perl ftp modules to make scripts that transfer files from
WIndows to Unix and from Unix to Windows ( if you have Perl installed
in both machines). You can install a NFS server in Solaris and use
"Windows Services for Unix" to mount NFS shares in windows. If the
script will run only in Windows, you can use a Windows feature to
associate a drive letter to a ftp site. But you can, also, put ftp
commands in a shell script as non-interactive command, if you wish.
But I think that Perl scripts are more efficient and elegant.
Tiago
Cydrome Leader
2009-11-13 19:30:35 UTC
Permalink
Post by TiGuCo
Post by happytoday
Dear all,
I am searching a protocol for transffrring files other than ftp
between windows and Solaris 10.
I search command line like rcp but , rcp is between unix platforms
only .
If non exist . Can I put ftp commands in a shell script as non-
interactive command.
Thanks
You can use Perl ftp modules to make scripts that transfer files from
WIndows to Unix and from Unix to Windows ( if you have Perl installed
in both machines). You can install a NFS server in Solaris and use
"Windows Services for Unix" to mount NFS shares in windows. If the
script will run only in Windows, you can use a Windows feature to
associate a drive letter to a ftp site. But you can, also, put ftp
commands in a shell script as non-interactive command, if you wish.
But I think that Perl scripts are more efficient and elegant.
Tiago
perl is about as antielegant as things come.
ITguy
2009-11-13 22:22:32 UTC
Permalink
Post by Cydrome Leader
perl is about as antielegant as things come.
So Samba is garbage, perl is "antielegant", MS SFU is flaky, and
you're advocating PCNFS as an alternative? Really??
Post by Cydrome Leader
Perhaps this is compared to the in-kernel support for CIFS?
I'd stick with Samba over Solaris kernel CIFS for another year or so
just to let it mature. I've seen a few cases of misbehavior on the
Nevada builds.
Wolfgang
2009-11-13 22:18:53 UTC
Permalink
Post by happytoday
Dear all,
I am searching a protocol for transffrring files other than ftp
between windows and Solaris 10.
I search command line like rcp but , rcp is between unix platforms
only .
If non exist . Can I put ftp commands in a shell script as non-
interactive command.
Thanks
openFT, but it needs a license and is not cheap.
Loading...