Code:
master_do_mount: mounting /NAS
automount_path_to_fifo: fifo name /var/run/autofs.fifo-NAS
lookup_nss_read_map: reading map file /etc/auto.NAS
do_init: parse(sun): init gathered global options: (null)
remount_active_mount: trying to re-connect to mount /NAS
mounted indirect on /NAS with timeout 30, freq 8 seconds
remount_active_mount: re-connected to mount /NAS
st_ready: st_ready(): state = 0 path /NAS
ghosting enabled
handle_packet: type = 3
handle_packet_missing_indirect: token 247, name disk, request pid 172130
attempting to mount entry /NAS/disk
lookup_mount: lookup(file): looking up disk
lookup_mount: lookup(file): disk -> -fstype=cifs,dir_mode=0775,file_mode=0664,rw,vers=1.0,username=nasuser,password=naspasswd,gid=users,uid=$USER ://NAS/disk
parse_mount: parse(sun): expanded entry: -fstype=cifs,dir_mode=0775,file_mode=0664,rw,vers=1.0,username=nasuser,password=naspasswd,gid=users,uid=georges ://NAS/disk
parse_mount: parse(sun): gathered options: fstype=cifs,dir_mode=0775,file_mode=0664,rw,vers=1.0,username=nasuser,password=naspasswd,gid=users,uid=georges
parse_mount: parse(sun): dequote("://NAS/disk") -> ://NAS/disk
parse_mount: parse(sun): core of entry: options=fstype=cifs,dir_mode=0775,file_mode=0664,rw,vers=1.0,username=nasuser,password=naspasswd,gid=users,uid=georges, loc=://NAS/disk dur
sun_mount: parse(sun): mounting root /NAS, mountpoint disk, what //NAS/disk dur, fstype cifs, options dir_mode=0775,file_mode=0664,rw,vers=1.0,username=nasuser,password=naspasswd,gid=users,uid=georges
do_mount: //NAS/disk dur /NAS/disk type cifs options dir_mode=0775,file_mode=0664,rw,vers=1.0,username=nasuser,password=naspasswd,gid=users,uid=georges using module generic
mount_mount: mount(generic): calling mkdir_path /NAS/disk
mount(generic): calling mount -t cifs -o dir_mode=0775,file_mode=0664,rw,vers=1.0,username=nasuser,password=naspasswd,gid=users,uid=georges //NAS/disk /NAS/disk
mount_mount: mount(generic): mounted //NAS/disk type cifs on /NAS/disk
dev_ioctl_send_ready: token = 247
mounted /NAS/disk
And here is the result on the mount point on the Ubuntu machine :