Specify user to samba

Simon Hyde shyde at poboxes.com
Wed Feb 11 19:29:51 GMT 1998

On Thu, 12 Feb 1998 05:07:15 +1100, you wrote:

>I need to use a color laser printer located on an SCO server. My samba
>server is a Solaris box. So I need to do remote printing using rcp to
>copy the file and then rsh to execute lp on the solaris box. My problem
>is that I need to use the same user on both machines on order to have
>success with the rcp and rsh via the .rhosts file.
>My question is: How can I specify samba which a user it must use to
>execute the commands?

Try setting the 'force user=' parameter in the relevant share.

Simon Hyde
With a PC, I always felt limited by the software available.
On Unix, I am limited only by my knowledge.

More information about the samba mailing list