Skip to main content
Question

Yosemite and /sbin/mount_smbfs

  • October 20, 2014
  • 1 reply
  • 6 views

Forum|alt.badge.img+5

For all previous operating systems, kerberos has worked to allow my login script to call mount_smbfs and mounted the drive properly. On Yosemite, when i use the same mount_smbfs command, I get prompted for a password. Any ideas?

At login, my script essentially runs:

/sbin/mount_smbfs //domain/path/share /Users/rhs615/Folder

And now terminal replies: Password for domain:

Running kinit, entering the password, and re-running the script does not appear to work even with a valid Kerberos ticket in Ticket Viewer.

Thanks in advance!

1 reply

Forum|alt.badge.img+11
  • Valued Contributor
  • October 20, 2014

I found this in examples section of the Apple Dev man page for mount_smbfs(8) https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man8/mount_smbfs.8.html

This example shows the proper url to use to mount the share PUBLIC from the SMB server myserver as guest: ``` mkdir /smb/public mount -t smbfs //guest:@myserver/PUBLIC /smb/public
     Note: You should always use the system mount command and never call mount_smbfs directly.

Does using ```
mount -t smbfs

work at all in your environment in place of calling mount_smbfs directly?