This one time, at band camp, Harald Dunkel said:
> On 11/21/13 20:40, Stephen Gran wrote:
> > 
> > adduser uses the system nss routines.  It's up to the admin of the
> > system to set them up appropriately, sorry.
> 
> nsswitch.conf does not provide an interface to introduce new group
> IDs. getent uses nss, but this is a bug report about adduser.

Sure it does.  man putgrent, although you are right, it is file based.
adduser does not know about directory services, it calls the system nss
routines to determine user and group information, and then it uses the
passwd and related commands to manipulate users and groups.  If those
don't do the right thing with your directory services, then adduser
can't help you.

Cheers,
-- 
 -----------------------------------------------------------------
|   ,''`.                                            Stephen Gran |
|  : :' :                                        sg...@debian.org |
|  `. `'                        Debian user, admin, and developer |
|    `-                                     http://www.debian.org |
 -----------------------------------------------------------------

Attachment: signature.asc
Description: Digital signature

Reply via email to