Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Automount SAMBA (Windows) share points at boot' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Automount SAMBA (Windows) share points at boot
Authored by: cfraser on Nov 04, '06 01:05:05PM

Has anyone figured out how to _not_ hardcode the user credentials in the smb:// or afp:// URL and instead use the logged in user's credentials?

Background - I have a NAS device with a number of shares that I would like mounted at startup/login for each user. The default/guest permissions on these shares are Read-Only but I would like them mounted Read/Write using the logged in user's credentials to authenticate to the NAS.

I would have expected that NetInfo would include some support for environment variables but I've not been able to find a stitch of documentation detailing this.

Thanks very much



[ Reply to This | # ]