Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Accessing Windows Shares/Domain

Status
Not open for further replies.

skiflyer

Programmer
Sep 24, 2002
2,213
US
I want to setup one of my test boxes at work as a Linux dual boot system... but before I spend my own time getting this up and going, I need to know one critical thing...

We are a 99% windows shop, and many of the files I will be accessing are on a windows box, if I try to access this box from another windows box, it asks for my domain name/pwd.

Will I be able to set it up such that from my linux box I can work in these shares? Will I be able to do this fairly easily? Debian will be my distro of choice, assuming I can get them to let me through the firewall for apt-get.

Thanks,
Rob
 

You can setup most any approach to user auth you want. You can setup samba-only name/pwds, you can use the linux passwd file (local users), and you can *PROBABLY* use some sort of Active Directory lookup.

The short answer is that you can have authenticated access to your linux box as it provides Windows shares to Windows PCs. Precisely how is not my strong suit.

Final note, the distribution should probably only influence the filesystem location for the smb.conf and smbd.conf and other "config" files for Samba.



Surfinbox.com Business Internet Services - National Dialup, DSL, T-1 and more.
 
You should have no problems doing what you want to do. In fact it is very common. On a dual boot system, linux can read the Windows partition with no problem. If you set it up to automount, you will be able to use it like any other linux partition or directory. To share your linux files with windows, you will need to use Samba. Samba acts as both a server and client. It allows you to create "shares" that you want make available to your network. It also lets you sync your users, groups and passwords. So to make life a little easier, I'd get myself familiar with both mounting file systems and Samba. There is a program called SWAT that is supposed to make setting up Samba a lot easier.
 
Hmmm, seems like thedaver and I like to answer questions at the same time :)
 
Sorry, looks like I wasn't 100% clear.

I've done the dual boot, mount the windows system... I haven't played with Samba... but what I need to do, is mount a second computer's window shares with linux.

Is that still Samba's category? Do I need special software on the windows box? Can I just mount the windows share?

-Rob
 
I believe you use 'mount -t smbfs \\foo\bar /mnt/bar ....' and put a user\\password pair in the options (haven't done it in a good while, brain is rusty). I don't think you are intended to call 'smbmount' directly. No windows shares on my LAN here to test it on, sorry.

----
JBR
 
If you have no restrictions about who accesses your Linux box, and don't want to go throught the hassel of joining domains etc, you can setup your linux box to have "SHARE" level access. You can set this via SWAT under GLOBALS menu -> SECURITY option. SHARE level security automatically assumes everyone that connects is user GUEST or NOBODY.

BTW you can access SWAT (if installed) via you web browser by pointing to and loging on with root.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top