On Mon, 22 Jun 2020 11:22:52 +0100 Rowland penny via samba <samba at lists.samba.org> wrote:> On 22/06/2020 11:02, Enrico Morelli wrote: > > Where am I wrong? > > Not sure, Where are you doing this, on a Samba DC or a Unix domain > member ?From my SAMBA AD DC Server> > Can you post the smb.conf from the machine where you are doing this.[global] dns forwarder = 150.217.1.32 netbios name = FIORGEN7 realm = CERM.UNIFI.IT server role = active directory domain controller workgroup = CERM idmap_ldb:use rfc2307 = yes vfs objects = acl_xattr map acl inherit = yes [netlogon] path = /var/lib/samba/sysvol/cerm.unifi.it/scripts read only = No [sysvol] path = /var/lib/samba/sysvol read only = No [homes] path = /home/win_shares/homes read only = no> > Does the share exist ? >Yes.> Rowland > > > >-- ----------------------------------------------------------- Enrico Morelli System Administrator | Programmer | Web Developer CERM - Polo Scientifico via Sacconi, 6 - 50019 Sesto Fiorentino (FI) - ITALY ------------------------------------------------------------
On 22/06/2020 11:33, Enrico Morelli wrote:> [global] > dns forwarder = 150.217.1.32 > netbios name = FIORGEN7 > realm = CERM.UNIFI.IT > server role = active directory domain controller > workgroup = CERM > idmap_ldb:use rfc2307 = yes > vfs objects = acl_xattr > map acl inherit = yesRemove the last two lines, they have no place on a DC and in fact you have turned off one of the required vfs objects.> [homes] > path = /home/win_shares/homes > read only = noI would rename [homes] to [users], [homes] is a special share that does not require the 'path' parameter and normally uses the users Unix directory path and you are using a Windows user home directory path. Rowland
On Mon, 22 Jun 2020 11:46:55 +0100 Rowland penny via samba <samba at lists.samba.org> wrote:> On 22/06/2020 11:33, Enrico Morelli wrote: > > [global] > > dns forwarder = 150.217.1.32 > > netbios name = FIORGEN7 > > realm = CERM.UNIFI.IT > > server role = active directory domain controller > > workgroup = CERM > > idmap_ldb:use rfc2307 = yes > > vfs objects = acl_xattr > > map acl inherit = yes > Remove the last two lines, they have no place on a DC and in fact you > have turned off one of the required vfs objects.Done.> > [homes] > > path = /home/win_shares/homes > > read only = no > > I would rename [homes] to [users], [homes] is a special share that > does not require the 'path' parameter and normally uses the users > Unix directory path and you are using a Windows user home directory > path.Done. All seems to be hard. Now I'm able to see security tab, but when I select it the application crash. I tried to set profile but when I open Active Directory Users and Computers I receive: Naming information cannot be located for the following reason: The server is not operational. :-(( -- ----------------------------------------------------------- Enrico Morelli System Administrator | Programmer | Web Developer CERM - Polo Scientifico via Sacconi, 6 - 50019 Sesto Fiorentino (FI) - ITALY ------------------------------------------------------------