I have connected my system to a Windows (Active Directory) Domain, and everything works for the most part.
Additionally, I have connected a Windows drive using
NTFS-3G and its User Mapping feature to map a Windows SID to my User Account. I have a line in my
/dev/sdw1 /mnt/ ntfs-3g nofail,noatime 0 0
At boot, this line mounts the drive successfully, except it does not create the mappings for my Domain Accounts. However, if I log into a Domain Account first and then mount the drive manually (
umount /dev/sdw1 && mount /dev/sdw1), it does mount and reflect permissions for the Domain account.
So, at boot,
ls -l /mnt/Users looks like:
drwx------ 1 root root 4096 Jan 1 2000 user1
whereas after the manual mount, the same command produces:
drwx------ 1 DOMAIN\user1 root 4096 Jan 1 2000 user1
How do I ensure that my system (or at least
NTFS-3G) recognizes the Domain accounts before connecting to the Domain?