Autofs using CIFS to Unix Directory

I am having difficult getting my autofs mount on the SUSE 11 box to connect to the a Unix directory.

I am able to mount to the directory using:

mount -t cifs -o guest //10.5.4.57/JDFHotfolder /Xerox

I have added this line to auto.master:

/Xerox /etc/auto.xerox --timeout=10 --ghost

In auto.xerox I have the following coded:

JDFHotfolder -fstype=cifs,guest,rw //10:5.4.57/JDFHotfolder

I do a restart (service autofs restart), yet it will not mount when changing directory to /Xerox.

Other autofs entries are working though they are to windows machines.

duwallace Wrote in message:
[color=blue]

I am having difficult getting my autofs mount on the SUSE 11 box to
connect to the a Unix directory.

I am able to mount to the directory using:

mount -t cifs -o guest //10.5.4.57/JDFHotfolder /Xerox

I have added this line to auto.master:

/Xerox /etc/auto.xerox --timeout=10 --ghost

In auto.xerox I have the following coded:

JDFHotfolder -fstype=cifs,guest,rw //10:5.4.57/JDFHotfolder[/color]

Is the colon character (:slight_smile: in 10:5.4.57 above just a typo in your
post or does it also exist in auto.xerox? If the latter try
changing it to a full stop (.).
[color=blue]

I do a restart (service autofs restart), yet it will not mount when
changing directory to /Xerox.

Other autofs entries are working though they are to windows machines.[/color]

HTH.

Simon Flood
SUSE Knowledge Partner

----Android NewsGroup Reader----
http://usenet.sinaapp.com/

JDFHotfolder -fstype=cifs,guest,rw //10:5.4.57/JDFHotfolder

Is the colon character ( in 10:5.4.57 above just a typo in your
post or does it also exist in auto.xerox? If the latter try
changing it to a full stop (.).

Sorry it was a typo to this thread the auto.xerox1 actually reads as:

JDFHotfolder -fstype=cifs,guest,rw ://10.5.4.57/JDFHotfolder

Other entries are working in Autofs, though to windows machines, below is one that works.

HotFolder -fstype=cifs,rw,credentials=/etc/credentials.txt,noperm,domain=ebnt-1,file_mode=0777,dir_mode=0777 ://10.5.4.51/HotFolder

On 04/08/16 14:44, duwallace wrote:
[color=blue]

JDFHotfolder -fstype=cifs,guest,rw //10:5.4.57/JDFHotfolder

Is the colon character ( in 10:5.4.57 above just a typo in your
post or does it also exist in auto.xerox? If the latter try
changing it to a full stop (.).

Sorry it was a typo to this thread the auto.xerox1 actually reads as:[/color]

Is the file auto.xerox1 as above or auto.xerox as in your original post?
Filename obviously needs to match that in auto.master.
[color=blue]

JDFHotfolder -fstype=cifs,guest,rw ://10.5.4.57/JDFHotfolder[/color]

I wonder if the “guest” bit is the problem? Try “username=guest”
possibly with “password=”.
[color=blue]

Other entries are working in Autofs, though to windows machines, below
is one that works.

HotFolder
-fstype=cifs,rw,credentials=/etc/credentials.txt,noperm,domain=ebnt-1,file_mode=0777,dir_mode=0777
://10.5.4.51/HotFolder[/color]

HTH.

Simon
SUSE Knowledge Partner


If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below. Thanks.