samba questions

Carl Parrish plug-discuss@lists.plug.phoenix.az.us
Mon, 21 Oct 2002 17:22:15 -0400


Thanks, 
This worked for me. 
mount -t smbfs -o username=Carl //windowsBox/shareName /targetDir -o username=Carl

Thanks for your help I wouldn't have thought to use -o without it. 

Carl P. 
============================================================
From: Matt Alexander <m@netpro.to>
Date: 2002/10/21 Mon PM 05:06:57 EDT
To: <plug-discuss@lists.plug.phoenix.az.us>
Subject: Re: samba questions

smbmount //windowsBox/shareName /targetDir -o username=carl


On Mon, 21 Oct 2002, Carl Parrish wrote:

> Okay I'm getting better at this samba stuff but still have a few issues. I want to mount a windows share on this box. I don't want typical users to be able to mound devices on this box. So only root can mount a dev. I need to change to another username however to access the share. if I was using smbmount directly I would do something like
> /usr/sbin/smbmount //windowsBox/shareName username=Carl
>
> however smbmount doesn't seem to be working and I think someone on the list showed me that I should be using mount -t smbfs anyways so I tried something like
>
> mount -t smbfs //windowsBox/shareName /targetDir username=Carl
>
> But that's not working either. Anyone know what syntax I should be using to change the username used to access the box.
>
> btw smbclient is working fine with
> smbclient //windowsBox/shareName -U Carl
>
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
> To subscribe, unsubscribe, or to change  you mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change  you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
============================================================