[CentOS] Automount CIFS share in CentOS 5.1

John jses27 at gmail.com
Wed Mar 26 13:14:22 UTC 2008


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 at centos.org
> http://lists.centos.org/mailman/listinfo/centos
-- 
~/john

OpenPGP Sig:BA91F079




More information about the CentOS mailing list