3/19/2024 0 Comments Mac map another mac network driveChange the below values for your environment & repeat this pre for each share you wish to mount ![]() This method instead of mounting the users profile allows for the user to login even if there is an issue with the user profiles share, unlike when using the AD Plugin. The below will map the users home/profile folder, is nothing is set for the users home profile the app continues. Now we’ve got all the user information we need it’s time to start mapping the drives & printers. we should check to see if this users account is a network account & local account as if it’s local we will skip this app. Now we’re almost ready to start mapping drives & printers, but before we start. We’re using this script & not the AD-Plugin to mount this drive as it will allow the user to login even if there is an issue with their home/profile folder. The following will read the users SMBHome attribute & convert the \’s to //’s so the Mac can use the URL to map the drive later. The following will give you a list of all the users AD Group Memberships, this is also a live query/lookup which means that if a user is connected externally over VPN they can also run this app to map their drives & printers: ![]() This is what you see under your search paths in Directory Utility. Next we need to get what dscl calls the nodename. 1st thing, we need to get the users name:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |