[Samba] Samba 4 file-server usage

Stéphane PURNELLE stephane.purnelle at corman.be
Fri Aug 30 08:25:51 MDT 2013


>samba-tool user delete dpu
> getent passwd dpu
nothing
>samba-tool user create dpu
> getent passwd dpu
nothing

why getent return nothing, user exist, I can see by ldbsearch.
But not posixAccount objectclass !

samba 4.0.9



-----------------------------------
Stéphane PURNELLE                         Admin. Systèmes et Réseaux 
Service Informatique       Corman S.A.           Tel : 00 32 (0)87/342467

samba-bounces at lists.samba.org wrote on 30/08/2013 11:57:18:

> De : steve <steve at steve-ss.com>
> A : samba at lists.samba.org, 
> Date : 30/08/2013 11:58
> Objet : Re: [Samba] Samba 4 file-server usage
> Envoyé par : samba-bounces at lists.samba.org
> 
> On Fri, 2013-08-30 at 11:25 +0200, Stéphane PURNELLE wrote:
> > Hi,
> > 
> > I test samba 4 for AD authentification and file-server usage.
> > 
> > My file-server use posix ACL (XFS filesystem) for manage acces between 

> > user.
> > 
> > So I must use some trick ("steve posix-tify script") for adding 
> > posixAccount to activedirectory tree.
> 
> You do not need to add posixAccount. For recent versions of Samba4:
> 
> samba-tool user add stephane --uid-number=3000022 gid-number=20513
> home-directory=/some/place lofin-shell=/bin/sh
> 
> You only need the hack for old versions of Samba.
> 
> We use a Samba 4.0.9 file server for a mix of about 80 xp and LXDE
> clients over cifs. It server profiles, home folders and loads of other
> rubbish. 
> HTH
> Steve
> 
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba


More information about the samba mailing list