[Samba] Access Windows AD share From Linux

Kenneth R Leach kleach2 at csc.com
Mon Jun 11 14:20:32 GMT 2007


Josh,

Well, I wanted to give "cifs" a try but it looks like it is not turned on 
in the current kernel. Therefore, I will have to see about recompiling the 
kernel with "cifs" support.

Thanks.

Kenneth R. Leach
Computer Sciences Corporation
100 Decadon Dr.
Egg Harbor Township, NJ 08234
kleach2 at csc.com


--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
This is a PRIVATE message. If you are not the intended recipient, please 
delete without copying and kindly advise us by e-mail of the mistake in 
delivery. NOTE: Regardless of content, this e-mail shall not operate to 
bind CSC to any order or other contract unless pursuant to explicit 
written agreement or government initiative expressly permitting the use of 
e-mail for such purpose.
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------




"Josh Kelley" <joshkel at gmail.com> 
06/11/2007 10:04 AM

To
Kenneth R Leach/CIV/CSC at CSC
cc
samba at lists.samba.org
Subject
Re: [Samba] Access Windows AD share From Linux






On 6/11/07, Kenneth R Leach <kleach2 at csc.com> wrote:
> I was successful in mounting the share, using the following:
>
> mount -t smbfs -o username=<myid>,password=<mypassword> //<AD
> Server>/<Share> /mnt/app1
>
> However, when I "cd" into the "/mnt/app1" directory and try to list the
> contents I get a "Permission Denied" error.

smbfs is generally deprecated in favor of cifs.  Try "mount -t cifs" 
instead.

I'm certain that you've already checked this, but just to make sure,
I'm assuming that you checked the Linux permissions on the mounted
filesystem to make sure that you have read access as far as Linux is
concerned?  mount.cifs supports uid, gid, file_mode, and dir_mode
options to use different Linux permissions on mounted filesystems.

Josh Kelley



More information about the samba mailing list