Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
10-11-2005, 03:05 AM
|
#1
|
LQ Newbie
Registered: Oct 2005
Posts: 4
Rep:
|
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.
|
|
|
10-11-2005, 08:52 AM
|
#2
|
Member
Registered: Sep 2004
Distribution: Slack!
Posts: 150
Rep:
|
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.
|
|
|
10-11-2005, 01:22 PM
|
#3
|
Member
Registered: May 2004
Distribution: Slackware
Posts: 69
Rep:
|
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.
|
|
|
10-11-2005, 01:28 PM
|
#4
|
Member
Registered: Dec 2004
Location: Netherlands
Distribution: Slackware
Posts: 173
Rep:
|
mount -t smbfs -o username=your_username,password=your_password //192.168.x.x/your_share /mnt/your_mountpoint
|
|
|
10-11-2005, 01:50 PM
|
#5
|
Member
Registered: Aug 2004
Location: Aguascalientes, AGS. Mexico.
Distribution: Slackware 13.0 kernel 2.6.29.6
Posts: 816
Rep:
|
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 
|
|
|
10-11-2005, 02:11 PM
|
#6
|
Member
Registered: Dec 2004
Location: Netherlands
Distribution: Slackware
Posts: 173
Rep:
|
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 
|
|
|
10-11-2005, 02:19 PM
|
#7
|
Member
Registered: Aug 2004
Location: Aguascalientes, AGS. Mexico.
Distribution: Slackware 13.0 kernel 2.6.29.6
Posts: 816
Rep:
|
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
|
|
|
10-18-2005, 11:03 AM
|
#8
|
Member
Registered: Aug 2004
Distribution: Linux from Scratch
Posts: 69
Rep:
|
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.
|
|
|
10-20-2005, 03:35 AM
|
#9
|
LQ Newbie
Registered: Oct 2004
Location: Shanghai
Distribution: Slackware 10.2
Posts: 25
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 03:08 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|