At work there are a few ubuntu desktops. I've managed to get Active Directory users to authenticate and their home directory is pulled down automatically with unison. I can also encrypt these folders with a modified ecryptfs-migrate-home. However I haven't found a way to do this automatically when a valid AD user logs in. Does anyone have any ideas or experience with this?
As an alternative, I'm considering writing a script to do it on start up, but it just feels like the wrong way to do it.
[link][comment]