Right now I have several things that I'm looking at. Most have to do with version breaks and compiling under different distributions. I'm not sure I'm going to wade in and answer everything going back 6 months or more, but I'm trying to get to things only a month or two old. Fixed as soon as I can get the changes committed in. Fixed as soon as I can get the changes committed in.
Subsequent access shows the directory properly mounted and can be listed.
What has happened is that smbmount forks a copy of itself, which becomes the smbfs mount daemon, before the mount is completed. The exiting parent causes autofs to continue as if the mount were finished. Subsequent accesses may result in additional attempts to mount the pending mount. In the resulting timing windows, some commands may complete, with erronious results. This isn't a problem when running smbmount manually, since the mount completes long before the user can enter in the next command, but the timing windows when this is being done from other programs is just horrendous.