Click to See Complete Forum and Search --> : SAMBA ACCESS to a Domain Share on a server?


jblaha
02-19-2003, 03:15 PM
Hello All:

In Windows 2000 and XP I can pass a username to a server that’s from a NT domain account.

e.g when I map a network drive in windows I pass

\\ServerName\ShareName
User Name : DomainName\UserName
Password: xxxx

Can I do this with SAMBA in Linux?

What would the syntax be at the shell prompt?

Can I do this through Nautilus?

Regards,
James Blaha

jblaha
02-20-2003, 08:42 AM
Anyone Anyone...

Regards,
James Blaha

jblaha
02-20-2003, 09:27 AM
More info for clarification:

Here it is:

In both Windows 2000 and XP for a machine that's not a member of a domain on a network I can pass a domain name with its username and password to a server where that server is in a NT domain within the same network.

e.g when I would map a network drive in windows 2000 I pass right click on "My Computer" and map a drive and put in the following information.

\\ServerName\ShareName
User Name : DomainName\UserName
Password: xxxx

Can I do this with SAMBA in Linux with out having my linux computer inside the domain?

What would the syntax be at the shell prompt?

Can I do this through Nautilus?

Is there anything out there like Netowork Neighborhood in Windows to use that's the best option to choose for a GUI based browse in Linux?

Regards,
James Blaha

Hayl
02-20-2003, 09:38 AM
man smbmount

use the workgroup= for the domain

if you want this to be automatic then put it into your /etc/fstab

if you want to browse a SMB network then you should look into LinNeighborhood

jblaha
02-20-2003, 10:03 AM
Hayl,

Thanks for the reply. Sorry I’m a new to Linux. I need a little more clarification.

Do I type this at the shell prompt?

man smbmount

Does this go in my SAMBA configuration file? If it does do I have to do this everytime I want to access that domain. Another words I want to be in workgroup = A but the domain is B is there a way to stay in A and access B?

use the workgroup= for the domain

What is this?

if you want this to be automatic then put it into your /etc/fstab

Do you have a URL for this?

if you want to browse a SMB network then you should look into LinNeighborhood

Thank you so much!

Regards,
James Blaha

cowanrl
02-21-2003, 02:47 PM
Here's an old post shat should provide you with the information you are looking for on passing the username and password when mounting Windows shares from Linux:

http://www.justlinux.com/forum/showthread.php?s=&threadid=42967&highlight=smbmount

jblaha
02-21-2003, 03:20 PM
cowanrl,

I looked but I shouldnt see the spot for passing the user id and password for the domain I'm trying to log into.

Thanks for the link.

Regards,
JB

cowanrl
02-21-2003, 03:28 PM
About half way down that post, there is a response from me that describes using the -o username,password options to smbmount(or mount -t smbfs; the same thing) or using the -o credentials option.