Skip navigation

Lusing Out

There is not a uniform API for user provisioning in UNIX/Linux.

  • For users in /etc/passwd, use useradd.
  • For users in LDAP, use ldapadd, but:
  • When using Samba with users in LDAP, use smbldap-useradd.

I don’t see why this isn’t handled by PAM. How to fix it? Some real nasty script, I guess…

In Plan 9, there aren’t too many ways to store users, but there’s no big hiccup when you switch from local to remote storage. If distros defaulted to serving their home dirs locally with Samba and all the users with LDAP, we’d have something close to a uniform user provisioning API.


Post a Comment

You must be logged in to post a comment.
%d bloggers like this: