[FUG-BR] Samba4 erro Provision

Luiz Gustavo S. Costa luizgustavo em luizgustavo.pro.br
Segunda Janeiro 14 14:36:24 BRST 2013


2013/1/14 daniel <daniel_m em bol.com.br>:
> Seguindo o tuto do guga,
>
> cd/usr/local/samba
> # bin/samba-tool domain provision --domain=DOMINIO
> --realm=dominio.com.br --adminpass=123Mudar
>
> quando coloco esse comando ele me retorna esse erro:
>
> *Looking up IPv4 addresses**
> **Looking up IPv6 addresses**
> **set_nt_acl_no_snum: fset_nt_acl returned zero.**
> **ERROR(<class 'samba.provision.ProvisioningError'>): Provision failed -
> ProvisioningError: Your filesystem or build does not support posix ACLs,
> which s3fs requires.  Try the mounting the filesystem with the 'acl'
> option.**
> **  File
> "/usr/local/samba/lib/python2.7/site-packages/samba/netcmd/domain.py",
> line 398, in run**
> **    use_rfc2307=use_rfc2307, skip_sysvolacl=False)**
> **  File
> "/usr/local/samba/lib/python2.7/site-packages/samba/provision/__init__.py",
> line 1956, in provision**
> **    raise ProvisioningError("Your filesystem or build does not support
> posix ACLs, which s3fs requires.  Try the mounting the filesystem with
> the 'acl' option.")
>
>
> *Alguem tem alguma sugestão?
>

tá usando zfs ou ufs ?

se tiver usando ufs, coloque uma entrada "acls" no ponto de montagem
onde o samba4 irá trabalhar no arquivo /etc/fstab. Por exemplo:

/dev/gpt/usr /usr ufs rw,acls 2 2


> Agradeço desde já
>
>
> -------------------------
> Histórico: http://www.fug.com.br/historico/html/freebsd/
> Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd

Thanks !

-- 
Luiz Gustavo Costa (Powered by BSD)
*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+
mundoUnix - Consultoria em Software Livre
http://www.mundounix.com.br
ICQ: 2890831 / MSN: contato em mundounix.com.br
Tel: 55 (21) 4063-7110 / 8194-1905 / (11) 4063-0407
Blog: http://www.luizgustavo.pro.br


Mais detalhes sobre a lista de discussão freebsd