Re: [Samba] Samba 4 file-server usage

2013-08-30 Thread Stéphane PURNELLE
>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-boun...@lists.samba.org wrote on 30/08/2013 11:57:18:

> De : steve 
> A : samba@lists.samba.org, 
> Date : 30/08/2013 11:58
> Objet : Re: [Samba] Samba 4 file-server usage
> Envoyé par : samba-boun...@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=322 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
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Samba 4 file-server usage

2013-08-30 Thread steve
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=322 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

[Samba] Samba 4 file-server usage

2013-08-30 Thread Stéphane PURNELLE
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.

But my questions are : 

who use samba 4 file-server part ?
How other sys admin permit user to store data on a server (and not on 
user's workstation)?

I have more than 300 groups, more than 200 users and machines.
I have more than 800 Gb of data.

Create user or group in ADUC and after pass a "posix-tify" script) script 
will add complexity for management.

best regards

   Stéphane

PS : I see in smb.conf (valid for samba 4) that there is a add user 
script, but I don't understand how it work !

---
Stéphane PURNELLE Admin. Systèmes et Réseaux 
Service Informatique   Corman S.A.   Tel : 00 32 (0)87/342467
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba