Ing. Yosel L�zaro Vera Gonz�lez
2016-Sep-12 12:54 UTC
[Samba] installing samba from ubuntu 16.04 repository as DC
!!! Regards Is it possible to install samba4 from ubuntu 16.04 repository as a domain controller? I tried, but I'm having trouble with the sysvol folder ACLs. I can authenticate with smbclient however when I try to access from windows with the same user, I get permission denied # smbclient //localhost/sysvol -UAdministrator -c 'ls' Enter Administrator's password: Domain=[EXAMPLE] OS=[Unix] Server=[Samba 4.3.9-Ubuntu] . D 0 Mon Sep 12 08:28:34 2016 .. D 0 Mon Sep 12 08:21:58 2016 WinXP D 0 Sat Sep 19 19:17:20 2015 example.com D 0 Fri Sep 9 17:06:50 2016 14185456 blocks of size 512. 8405584 blocks available Then I tried samba-tool ntacl sysvolreset #samba-tool ntacl sysvolreset Please note that POSIX permissions have NOT been changed, only the stored NT ACL The University of Informatics Sciences invites you to participate in the Scientific Conference UCIENCIA 2016, [extended] deadline: september 30th. Conferencia Científica UCIENCIA 2016, plazo de envío de trabajos hasta el 30 de septiembre. http://uciencia.eventos.uci.cu/
Rowland Penny
2016-Sep-12 13:38 UTC
[Samba] installing samba from ubuntu 16.04 repository as DC
On Mon, 12 Sep 2016 08:54:17 -0400 (CDT) Ing. Yosel L�zaro Vera Gonz�lez via samba <samba at lists.samba.org> wrote:> !!! Regards > > Is it possible to install samba4 from ubuntu 16.04 repository as a > domain controller? I tried, but I'm having trouble with the sysvol > folder ACLs. I can authenticate with smbclient however when I try to > access from windows with the same user, I get permission denied > > # smbclient //localhost/sysvol -UAdministrator -c 'ls' > Enter Administrator's password: > Domain=[EXAMPLE] OS=[Unix] Server=[Samba 4.3.9-Ubuntu] > . D 0 Mon Sep 12 08:28:34 > 2016 .. D 0 Mon Sep 12 > 08:21:58 2016 WinXP D 0 Sat Sep > 19 19:17:20 2015 example.com D 0 > Fri Sep 9 17:06:50 2016 > > 14185456 blocks of size 512. 8405584 blocks available > > Then I tried samba-tool ntacl sysvolreset > > #samba-tool ntacl sysvolreset > Please note that POSIX permissions have NOT been changed, only the > stored NT ACLWhen you provisioned your domain, did you use '--use-ntvfs' ? Rowland
Rowland Penny
2016-Sep-12 14:37 UTC
[Samba] installing samba from ubuntu 16.04 repository as DC
On Mon, 12 Sep 2016 09:54:32 -0400 (CDT) Ing. Yosel L�zaro Vera Gonz�lez <ylvera at uci.cu> wrote:> > No, I didn't, It's a problem ? > The University of Informatics Sciences invites you to participate in > the Scientific Conference UCIENCIA 2016, [extended] deadline: > september 30th. Conferencia Científica UCIENCIA 2016, plazo de envío > de trabajos hasta el 30 de septiembre. http://uciencia.eventos.uci.cu/OK, how did you provision the domain ? I ask this because the error message you posted comes from here: if use_ntvfs: logger.warning("Please note that POSIX permissions have NOT been changed, only the stored NT ACL") and as you can see, it only gets printed if you are using the ntvfs backend Can you also post your smb.conf from the DC (you can sanitize it, if need be). Rowland