LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-15-2009, 09:20 AM   #1
jrlowry
LQ Newbie
 
Registered: Apr 2009
Distribution: SUSE Enterprise server
Posts: 2

Rep: Reputation: 0
I need help joining a SUSE box to a Windows AD environment.


Hi,
i'm a new linux user and need to join a SUSE Enterprise server to a Windows AD environment. Do I need to install Samba for this to be successful? Thanks.
 
Old 04-15-2009, 10:41 AM   #2
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,397
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
Depends what you mean by 'join'. Most peoples' needs fall in one of two categories:
1. One or more Linux hosts on a network with one or more Windows hosts. Hosts can use network shares provided by other OS.
1a. Linux hosts needs to access shares on a Windows host (Linux is SMB/CIFS client)
1b. Windows host needs to access shares on Linux server (Linux host is Samba server)
2. A single host is configured to boot either Windows or Linux, and when Linux is running, it needs to be able to access the local files from the installed Windows OS filesystem.
Of course, you may require a combination of these scenarios, and this, too, is possible. Please clarify what your requirements are.
--- rod.
 
Old 04-15-2009, 11:20 AM   #3
jrlowry
LQ Newbie
 
Registered: Apr 2009
Distribution: SUSE Enterprise server
Posts: 2

Original Poster
Rep: Reputation: 0
The SLES box will be a client on the Windows network. It will need to access shares on the network but won't contain shares to be accessed by other users/clients.
 
Old 04-15-2009, 11:43 AM   #4
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,397
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
Okay then.
The usual procedure would be to mount the network share as a directory on the local filesystem. For this you will use (as root) the mount command. Unfortunately for you, the client component is presently in a transition state, and your system may have either the SMB client or the newer CIFS client.
Code:
mount -t SMB -o username=UserSpecifiedByWindowsShareIfNeccessary,uid=localUsernameToOwnTheMount,gid=localGroupNameToOwnTheMount //WindowsHostName/sharename /local/mount/point/directory
The /local/mount/point/directory must exist, and should be empty. There are a few conventions for what to use as mountpoints. I like to use things like '/mnt/Winhostname/sharename'. The choice is fairly arbitrary, and you can use whatever you like. If your system uses CIFS, you can locate the equivalent options from the mount.cifs manpage (also see the mount.smb manpage for more options if using SMB). The remote files should be visible in the specified mountpoint directory tree. Ownership and permissions can be modified according to your needs, using mount options.
Having accomplished this, you may wish to make the mount happen automatically upon each reboot. To do so, you can add the appropriate entry to /etc/fstab. Ask here if you require assistance with this.
--- rod.

Last edited by theNbomr; 04-15-2009 at 11:54 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting up a network with a Suse box & a Windows box flatstan SUSE / openSUSE 21 03-15-2007 07:11 AM
Compatibility, using Windows programs in a Suse environment agentchange Linux - Newbie 4 05-30-2006 07:28 AM
Problem Joining Windows XP Clients to Suse PDC Domain dula Linux - Networking 2 04-07-2006 08:28 AM
Joining my Linux box to my XP/98 home network cbjhawks Linux - Networking 2 09-08-2005 11:17 AM
Trouble with XP box joining samba domain Jason_25 Linux - Networking 2 05-09-2002 03:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:44 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration