Re: Automount CIFS share in CentOS 5.1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Wed, 2008-03-26 at 08:20 -0400, Rick Barnes wrote:
> Joseph L. Casale wrote:
> > I am looking online trying to find a procedure to automount a CIFS
> > share but need to use username/domain/pass in the credential file
> > thats referenced in fstab. Its not working, anyone know of a resource
> > that works in CentOS5.1?
> > 
> > If it matters, the unc has a dash and a $ in it, and the password has
> > special characters in it.
> 
> This works for me using a credentials file:
> 
> username=<DOMAIN>\<hostname>
> password=<password>
> 
> I know the $ doesn't make a difference because I mount my AD homedir 
> that has a $ at the end, I don't think the dash would make a difference 
> but I'm not a 100% positive.
> 
> Rick

Are you trying to do this from Windows or CentOS. Windows will easily
AutoMount the Shares. CentOS is a lil Different. From (fstab or
automount)??? see wiki.centos.org for CentOS. For CentOS you may need to
change the globle perms in the Samba conf file.

Windows it is Right Click | Add a Network Drive, on the Network Icon. 


> _______________________________________________
> CentOS mailing list
> CentOS@xxxxxxxxxx
> http://lists.centos.org/mailman/listinfo/centos
-- 
~/john

OpenPGP Sig:BA91F079

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux