[Samba] OpenSSH auth in SAMBA4 LDAP

steve steve at steve-ss.com
Mon Aug 26 14:54:24 MDT 2013


On Mon, 2013-08-26 at 20:12 +0200, Luca Olivetti wrote:
> Al 26/08/13 19:09, En/na Marc Muehlfeld ha escrit:
> 
> > - Now you should be able to see all accounts (the local and domain
> > accounts), when you type
> >   # getent passwd
> 
> I tried it on a test VM, but it only showed accounts migrated from samba
> 3+ldap (since they have the posix attributes), new users/groups added
> via samba-tool or windows didn't appear.
> 
Hi
You add the attributes yourself when you create the user:

samba-tool user add luca --uid-number=1234567 --gid-number=45678
--home-directory=/some/place --login-shell=/bin/bash

HTH
Steve




More information about the samba mailing list