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.
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@lucent.com 211e1
Jim, Try this combination: mount -t smbfs //server/share /mount/point -o username="domain\user",password=password This works for me. Thanks, Kevin L. Collins, MCSE Systems Manager Nesbitt Engineering, Inc. (859) 233-3111 x24> 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 >