Is it possible to mount a Samba share at logon using a standard OS X logon script, when using an Open LDAP directory for authentication?
Obviously you can get the username from the $1 variable, but can we temporarily capture the password to mount the share?
The share is to be mounted as the user's home directory, which is stored on the Samba share.
To pre-empt the obvious questions:
- No we can't use Kerberos
- We do use network account information in the LDAP schema for certain accounts, but can't here for this machine.
- Yes we have to use Samba, not AFP/NFS
- Keychain is no use as it is stored in ~/Library, which is in the very directory (~/) that needs to be mounted.