Web lists-archives.com

Re: [Samba] /etc/init.d/samba in Ubuntu_18.04




Hai, 


Can you post your smb.conf before we proceed? 

There where a lot of changes between 4.3 and 4.7. 
All changes must be done and match the samba you running now. 
For example, the old ubuntu config did have idmap config = 
This is now for example. 
idmap config * : backend = tdb
idmap config * : range = 3000-7999 

And /etc/init.d/samba 
Is replace in ubuntu first by : service
Now on 18.04 its systemd : systemctl status samba
Samba is gone, this is now smbd nmbd winbind samba-ad-dc

Greetz, 

Louis



> -----Oorspronkelijk bericht-----
> Van: samba [mailto:samba-bounces@xxxxxxxxxxxxxxx] Namens 
> Anderson Hoffmann do Carmo via samba
> Verzonden: donderdag 18 oktober 2018 15:19
> Aan: samba@xxxxxxxxxxxxxxx
> Onderwerp: [Samba] /etc/init.d/samba in Ubuntu_18.04
> 
> Hello
> 
> I use a script for backup Samba/AD and before running the 
> backup I use the
> command '/etc/init.d/samba stop'
> After I migrated ubuntu from version 16 to version 18, this 
> command was
> invalid
> 
> root@gserv2:~#
> root@gserv2:~# */etc/init.d/samba stop*
> -bash: /etc/init.d/samba: No such file or directory
> root@gserv2:~#
> 
> Please, which command should I use to stop and start the 
> Samba/AD service
> correctly?
> 
> Thanks,
> Anderson Hoffmann
> -- 
> 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