On Fri, 2017-04-07 at 16:56 -0600, Mark Fox wrote: > Has something changed regarding escaping of special characters? The > methods used to deal with special characters in maps that are included > in distributions (ie. Ubuntu 16.04.2, so automount 5.1.1) no longer > seem to work. There was at least one change related to escaping, didn't expect it to break this though. TBH, the escaping is difficult and this is probably an example of fixing one thing and breaking another. > > Without special characters, autofs works wonderfully on all sorts of > CIFS shares. However, with a CIFS administrative share (C$), or a > share with an ampersand, I've had no luck. The shares work fine > through smbclient or when mounted by hand, but I haven't stumbled onto > how to get it working under autofs. > > My problem setup is simple: > > --- /etc/auto.master --- > +auto.master > /cifs /etc/auto.cifs --timeout=300 --ghost > ------ > > --- /etc/auto.cifs --- > CDC1 -fstype=cifs,rw,noperm,credentials=/etc/creds/CDC1 \ > "/C$" "://CDC1/C\$" > ------ > > It doesn't work as configured above. The output from 'automount -f -v' is: Can you get a full debug log of this please. Use the -d instead of the -v. > > ------ > attempting to mount entry /cifs/CDC1/C$ > > > Retrying with upper case share name > > > mount error(6): No such device or address > > > Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) > > mount(generic): failed to mount //CDC1/C\$ (type cifs) on > /cifs/CDC1/C$ > failed to mount /cifs/CDC1/C$ That "/cifs/CDC1/C$" looks ok and the log entry says it's trying to mount "//CDC1/C\$" which might have become the problem. Ian -- To unsubscribe from this list: send the line "unsubscribe autofs" in