[Samba] Re: New user seeking information
Steve Williams
swilliams at rinax.com
Tue Feb 25 17:16:53 GMT 2003
Hi,
I doubt if HPUX supports smbmount... if it does, then that is your
solution.
If it doesn't, I have done exactly what you are referring to (except on
AIX) by using "smbclient" to push the files over to a share on a pc.
It's basically an FTP client that talks the Windows networking protocol.
Two disadvantages...
1) the file still has to be created on the Unix system first, then
copied over to Windows. I do not believe that it can "streamed".
2) For it to work un-attended
a) the permissions on the windows share have to be liberal... ****OR****
b) the password to access the windows share has to be hard coded
into a shell script
eg: smbclient //some_server/some_share -Usamba%rocks -c"cd daily; put
report_file"
(note, the above is untested...)
Cheers,
Steve
Chris de Vidal wrote:
>--- lewis.holcombe at dot.state.fl.us wrote:
>
>
>>I run an application on an HPUX 11.0 system that
>>creates report files daily
>>and I am wanting to have those files placed on a W2K
>>server instead of the
>>local drive during creation. Can I do this w/
>>Samba? Thanks for your
>>time.
>>
>>
>
>I don't see why not. Install Samba, join your NT/AD
>domain (if you have one), put a mountpoint in
>/etc/fstab for your W2K server, mount it, modify your
>app to use the new mountpoint.
>
>Specifics of this can be found in man smbmount,
>/usr/share/doc/samba-X.X.X (might be different in HP
>UX), Samba.org in Documentation, on Google, or in good
>books (I like "Using Samba 2.0" (O'Reilly) out this
>month or "Teach Yourself Samba in 24 Hours" (Sams).
>
>Also you can search this mailing list at
>marc.theaimsgroup.com.
>
>/dev/idal
>
>__________________________________________________
>Do you Yahoo!?
>Yahoo! Tax Center - forms, calculators, tips, more
>http://taxes.yahoo.com/
>
>
More information about the samba
mailing list