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?
|
Have you looked at the samba website? It is very well documented.
|
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 |
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. |
It doesn't work with the mount command, but works graphically with PCManFM... It was the same thing at my old job...
|
All times are GMT -5. The time now is 01:15 AM. |