Welcome to the Tweaking4All community forums!
When participating, please keep the Forum Rules in mind!
Topics for particular software or systems: Start your topic link with the name of the application or system.
For example “MacOS X – Your question“, or “MS Word – Your Tip or Trick“.
Please note that switching to another language when reading a post will not bring you to the same post, in Dutch, as there is no translation for that post!
ConnectMeNow: Run a script/command before mounting?
(@smuskiew)
New Member
Joined: 10 hours ago
Posts: 1
Topic starter
April 3, 2026 6:53 PM
I see in the advanced options for ConnectMeNow shares there is a "run script after mount", but is there any way to run a script/command before CMN mounts a share?
Here's my use case: my SMB shares require Samba domain (kerberos) login - this usually works fine from the Mac but every so often it doesn't renew the Kerberos ticket (guessing due to the laptop being asleep) and then when that doesn't happen none of the mounts work. I did find that "kinit --keychain" apparently does use the keychain for my password to renew the ticket without needing to do anything else so now I just need a way to automate running this command before CMN tries to remount the shares.
If this isn't currently possible, can I make a feature request to add it? Having this would truly help out for the non-Mac savvy members of my family who need to access our disk shares. 😀
Thanks for an awesome tool!
This topic was modified 3 hours ago by
Hans
(@hans)
Famed Member Admin
Joined: 13 years ago
Posts: 3086
April 4, 2026 2:15 AM
The beta release 4.0.20 (download here) has this feature 😊
Since there was only one feature request before your request: please let me know if this works for you. 😊
(I have no experience on a Mac with your specific use-case)
If it works as expected, then I can close this forum post as "solved".