Do you create POSIX attributes in AD for EVERY user??

Posted by electrowiz64@reddit | linuxadmin | View on Reddit | 11 comments

Long story short we have a few servers operating as Samba in an AD (education) environment (education Linux Servers) so we're using WinBind for THOSE servers and SSSD for ALL OTHER RHEL/Ubuntu servers.

We're migrating from a POS OpenLDAP server (synced from AD) that gave constant auth headaches to DIRECT Active Directory auth using SSSD & Winbind so we settled on storing POSIX attributes in AD, pulling the UIDs/GIDs from the old OpenLDAP server and storing into AD and mapping on all servers so nothing breaks.

My fear is we've got a handful of Linux Desktops and so naturally what do we do about users who want access to those? I can do SSSD but now we gotta store UIDs/GIDs for all those users. Students come and go, so I'm assuming we need an automated way of creating UIDs/GIDs for new users. Curious if you guys have an automated way of creating UIDs/GIDs when new users get entered into AD? Or do you just create an entry/task on demand for new users who want to get setup into Linux??

My last resort is leave LDAP mapping off on some linux shared desktops so users can log in freely, but im leaning towards a full 100% lockdown and tracking uids/gids in a spreadsheet