LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-07-2015, 08:10 AM   #1
Stéphane Ascoët
Member
 
Registered: Feb 2004
Location: Fleury-les-Aubrais, 120 km south of Paris
Distribution: Devuan, Debian, Mandrake, Freeduc (the one I used to work on), Slackware, MacOS X
Posts: 251

Rep: Reputation: 49
Access shares that are on an Active Directory domain?


And do somebody know a very good and safe documentation to make a Linux station able to access shares that are on an Active Directory domain?
 
Old 08-07-2015, 09:08 AM   #2
mostlyharmless
Senior Member
 
Registered: Jan 2008
Distribution: Arch/Manjaro, might try Slackware again
Posts: 1,851
Blog Entries: 14

Rep: Reputation: 284Reputation: 284Reputation: 284
Have you looked at the samba website? It is very well documented.
 
Old 08-07-2015, 10:22 AM   #3
auge
Member
 
Registered: May 2002
Location: Germany
Distribution: CentOS, Debian, LFS
Posts: 100
Blog Entries: 1

Rep: Reputation: Disabled
you can use "mount -t cifs" for that and (hopefully installed) use fitting auth and options for the smb/cifs-connection, also just write it to fstab to get it connected all the time:

//192.168.123.123/pornshare /var/porn cifs username=stephane,passwd=iW84xxx,domain=accounting.mycompany.com 0 0
 
Old 08-24-2016, 07:01 AM   #4
ZTagr
LQ Newbie
 
Registered: Aug 2013
Posts: 22

Rep: Reputation: Disabled
Thumbs up

Hi;

I just wanted you to know that I was having problems trying to mount a share from one Ubuntu PC to another (both were Active Directory domain members), while I was able to mount the same share using my Windows 7 PC (also an AD domain member)...

I was trying to use the fstab file as I had before, but I kept getting "Error 13: Permission denied" whenever I tried "sudo mount -a" to mount the fstab shares.

Your post gave me the answer! For a Windows share, you don't need the "domain=" portion, but for a Linux-based share, I guess you do, because when I added the line:

domain=[MyDomainName]

to my credentials file, the share mounted without issue! Previously, my credentials file had only contained the standard "username" and "password" lines:

username=[my-username]
password=[my-password]

So, your posting saved me from pulling my hair out...thanks!

ZTagr.
 
Old 09-01-2016, 01:59 AM   #5
Stéphane Ascoët
Member
 
Registered: Feb 2004
Location: Fleury-les-Aubrais, 120 km south of Paris
Distribution: Devuan, Debian, Mandrake, Freeduc (the one I used to work on), Slackware, MacOS X
Posts: 251

Original Poster
Rep: Reputation: 49
It doesn't work with the mount command, but works graphically with PCManFM... It was the same thing at my old job...
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Samba and Active Directory: New Users unable to access shares, old users are fine Jelorian Linux - General 2 05-08-2014 06:35 PM
domain users can't access samba shares on domain member server noahbeach Linux - Server 1 11-24-2010 05:16 AM
VPN connection to windows Active Directory to get shares ItsJustLoco Linux - Networking 2 07-23-2010 08:14 PM
Using Active Directory Login on Ubuntu to access Windows Shares akafb Linux - Networking 1 12-18-2008 07:53 PM
Active Directory integration on Samba shares Ziggie Linux - Enterprise 7 10-22-2007 07:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:30 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
Open Source Consulting | Domain Registration