Automatically mount a network drive upon login
Can anyone help!
I want to automatically mount a network drive when a network user logs in.
Client OSX10.4.9
Network drive/share is samba based.
Network user is LDAP based (Novell eDirectory)
I currently have the following working:
An eDirectory (LDAPv3) user logs in & authenticates ok.
Mounting the network drive/share works ok MANUALY, with the following
smb://IPorDNS
user is then prompted for their password (I want this automated @ login preferably)
What I need is some help automating this smb mounting @ login time using the users ldap Username/Password. I guess this would need to be done using an Applescript of sorts, but I'm stuck as to how to take this forward..!
cifs://workgroup;Username:Password@IPorDNS/profile
The above works manually, but how do I go about swapping the Username:Password for environment variables, and then packaging this into a script/application that runs during login..???
I guess I may as well ask about this too, as it's all related. When I get the above working I want to point the users Home path(profile) to it, so that anything the user does on the desktop/pictures/documents/etc are stored on this networked drive, hope this makes sense. Any suggestions?
TIA
Danny
Macbook Pro Mac OS X (10.4.9)