[Samba] How to smbmount a share on a domain

jlm17 jlm17 at lucent.com
Fri Mar 7 15:54:02 GMT 2003

Nevermind. The one I didn't try was:

smbmount //dd192/PM /h46/mvpen/jlm17/tmp -o username=jlm17/ATRIA

Which works.

jlm17 wrote:
> I'm running samba 2.2.5 on a RedHat 8 box. I need to mount a share from a PC
> that is on a domain that the linux box is not a part of. Normally with another
> PC you would specify your username as DOMAIN\user, how do I do this with
> smbmount? I've looked at the documentation, google, etc. I can't find anything.
> Is this even possible? Here's what I've tried:
> smbmount //dd192/PM /h46/mvpen/jlm17/tmp username=jlm17/ATRIA
> smbmount //dd192/PM /h46/mvpen/jlm17/tmp username=jlm17/ATRIA
> smbmount //dd192/PM /h46/mvpen/jlm17/tmp username=jlm17 netbiosname=ATRIA
> smbmount //dd192/PM /h46/mvpen/jlm17/tmp username=jlm17 netbiosname=ATRIA
> smbmount //dd192/PM /h46/mvpen/jlm17/tmp username=ATRIA\jlm17
> smbmount //dd192/PM /h46/mvpen/jlm17/tmp username=ATRIA\\jlm17
> smbmount //dd192/PM /h46/mvpen/jlm17/tmp username=ATRIA/jlm17
> smbmount //dd192/PM /h46/mvpen/jlm17/tmp -U ATRIA/jlm17
> smbmount //dd192/PM /h46/mvpen/jlm17/tmp -U jlm17
> smbmount //dd192/PM /h46/mvpen/jlm17/tmp username=jlm17/ATRIA workgroup=domain
> smbmount //dd192/PM /h46/mvpen/jlm17/tmp username=jlm17%ATRIA workgroup=domain
> smbmount //dd192/PM /h46/mvpen/jlm17/tmp username=jlm17%ATRIA
> smbmount //dd192/PM /h46/mvpen/jlm17/tmp username=ATRIA%jlm17
> smbmount //dd192/PM /h46/mvpen/jlm17/tmp -U ATRIA%jlm17
> All tries come back with the same error:
> 8351: session setup failed: ERRDOS - ERRnoaccess (Access denied.)
> SMB connection failed
> Those tries where I've used the -U also say:
> /h46/mvpen/jlm17/tmp: invalid option -- U
> This works trivially when logged into a PC locally just by supplying my username
> as ATRIA\jlm17.
> Any help would be appreciated.
> Thanks.
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba

Jason M'Sadoques
(978)960-3252 Phone
(888)422-3597 Pager
jlm17 at lucent.com

More information about the samba mailing list