LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 10-11-2005, 03:05 AM   #1
CalibraTeam
LQ Newbie
 
Registered: Oct 2005
Posts: 4

Rep: Reputation: 0
Join linux to Windows domain


How to join Slackware to Windows domain? I configured my Ethernet card and now I can use intranet and ping another computers in local network. But I need to connect my linux to Windows domain because I have to get access to the shared network directories and internet. Thank you.
 
Old 10-11-2005, 08:52 AM   #2
Gort32
Member
 
Registered: Sep 2004
Distribution: Slack!
Posts: 150

Rep: Reputation: 15
Samba is going to be your new best friend. It isn't the easiest service to set up but it is pretty cool when it works.

You are going to have to modify your /etc/samba/smb.conf file. Notable requirements:

workgroup = YOUR_WINDOWS_DOMAIN
encrypted passwords = yes
password server = YOUR_DOMAIN_CONTROLLER
security = domain
unix password sync = yes
netbios name = YOUR_COMPUTER_NAME

For the rest of the file, just make what changes look good (logging, etc). Make sure that your rc.samba script is executable so that samba will start on boot # chmod 755 /etc/rc.d/rc.samba and run that script.
On your Windows domain, add a new computer account with the same name that you set the netbios name. Finally, back on your Linux box, run # net join YOUR_WINDOWS_DOMAIN If all goes well it will respond that you have joined the domain. You can then use
mount -t smbfs -o username=YOUR_WINDOWS_USERNAME,workgroup=YOUR_WINDOWS_DOMAIN //SERVER/SHARE /mnt/MOUNTPOINT
to mount a remote share.
 
Old 10-11-2005, 01:22 PM   #3
lukameen
Member
 
Registered: May 2004
Distribution: Slackware
Posts: 50

Rep: Reputation: 19
If you just want access to your shares on the windows network from slackware you don't need to run the samba service or configure samba. There's a nifty little program called smb4k that works great for accessing windows shares. If you want your windows network to access shares from slackware then you will need samba.
 
Old 10-11-2005, 01:28 PM   #4
nukey
Member
 
Registered: Dec 2004
Location: Netherlands
Distribution: Slackware
Posts: 173

Rep: Reputation: 30
mount -t smbfs -o username=your_username,password=your_password //192.168.x.x/your_share /mnt/your_mountpoint
 
Old 10-11-2005, 01:50 PM   #5
raska
Member
 
Registered: Aug 2004
Location: Aguascalientes, AGS. Mexico.
Distribution: Slackware 13.0 kernel 2.6.29.6
Posts: 816

Rep: Reputation: 30
Quote:
Originally posted by nukey
mount -t smbfs -o username=your_username,password=your_password //192.168.x.x/your_share /mnt/your_mountpoint
sometimes this doesn't work for me, because of differences in the kerberos protocol... at least that's what I could understand... stupid Active Directory DNS server

In KDE (3.4.2) I type in the address bar smb://<host_or_ip/
it asks me for the user in the domain and the password and then I can see the shared resources (even those 'hidden' which finish with a $ symbol) and files according to my privileges. I have my computer in the same domain as any other in the network, but... it has slackware muaaajajajajajajaja
 
Old 10-11-2005, 02:11 PM   #6
nukey
Member
 
Registered: Dec 2004
Location: Netherlands
Distribution: Slackware
Posts: 173

Rep: Reputation: 30
Sometimes not you say, tried by IP ?

When you try to access the machine by hostname it will use kerberos, if you try by IP the system will lower down to NTLM.

I have 1 slackware box and 2 windows boxes over here. Every evening the slackware box mounts a share on those windows boxes and makes a backup of the files in these shares, never fails
 
Old 10-11-2005, 02:19 PM   #7
raska
Member
 
Registered: Aug 2004
Location: Aguascalientes, AGS. Mexico.
Distribution: Slackware 13.0 kernel 2.6.29.6
Posts: 816

Rep: Reputation: 30
Quote:
Originally posted by nukey
Sometimes not you say, tried by IP ?
I just tried it to calm down my overwhelming curiosity and it... didn't work
 
Old 10-18-2005, 11:03 AM   #8
Drunkalot
Member
 
Registered: Aug 2004
Distribution: Linux from Scratch
Posts: 69

Rep: Reputation: 15
My distro doen't have the net program, what package I need to install???

Last edited by Drunkalot; 10-18-2005 at 11:13 AM.
 
Old 10-20-2005, 03:35 AM   #9
crnchyfrog
LQ Newbie
 
Registered: Oct 2004
Location: Shanghai
Distribution: Slackware 10.2
Posts: 25

Rep: Reputation: 15
Quote:
Originally posted by raska
sometimes this doesn't work for me, because of differences in the kerberos protocol... at least that's what I could understand... stupid Active Directory DNS server

In KDE (3.4.2) I type in the address bar smb://<host_or_ip/
it asks me for the user in the domain and the password and then I can see the shared resources (even those 'hidden' which finish with a $ symbol) and files according to my privileges. I have my computer in the same domain as any other in the network, but... it has slackware muaaajajajajajajaja

That worked amazingly well. I was running Knoppix and wanted to access shared files on a windows domain. I typed that into Konqueror and I was able to read and write to the windows share.

I tried running lisa and linNeighborhood and I was able to see the computers, but when i mounted the drives, I couldn't see all of the folders...

The only problem is that it can't find some of the folders and filenames that are written in chinese, but i think that's a browser encoding problem.
 
  


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
Help using 'net join' to join a windows domain Wapo Linux - Networking 1 04-28-2006 03:30 AM
windows 2003 can't join linux domain niggersak Linux - Networking 1 08-10-2005 07:25 AM
How join a Linux PC to a domain in Windows spurs_adr Linux - Networking 5 07-18-2005 05:11 PM
Making a Linux PC join a Windows 2003 domain leo_linux Linux - Networking 4 05-19-2005 05:23 AM
Can linux join (as a client) Windows 2000 domain?? halo14 Red Hat 2 11-01-2004 08:40 PM


All times are GMT -5. The time now is 08:49 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration