Andreas Habel
2019-Apr-02 07:28 UTC
[Samba] samba 4.10.0 - problem with samba-tool domain provision
Hi, I am currently installing Samba 4.10.0 on a CentOS7 test system facing problems with the provisioning of AD. I built samba from source; configure/make/make install finished successfully. When running the "samba-tool domain provision" command I get the following error messages: [root at geo22 ~]# samba-tool domain provision --use-rfc2307 --interactive WARNING: Ignoring invalid value 'cups' for parameter 'printing' ERROR(runtime): uncaught exception - Unable to load default file File "/usr/local/samba/lib64/python3.6/site-packages/samba/netcmd/__init__.py", line 184, in _run return self.run(*args, **kwargs) File "/usr/local/samba/lib64/python3.6/site-packages/samba/netcmd/domain.py", line 371, in run lp = sambaopts.get_loadparm() File "/usr/local/samba/lib64/python3.6/site-packages/samba/getopt.py", line 91, in get_loadparm self._lp.load_default() [root at geo22 ~]# I would be thankful for any suggestion on what might be wrong in my setup. Best regards, Andreas Habel -- Andreas Habel Petroleum engineering lab Geosciences | Unix network Faculty of Science and Technology University of Stavanger Norway
L.P.H. van Belle
2019-Apr-02 09:31 UTC
[Samba] samba 4.10.0 - problem with samba-tool domain provision
Whats wrong..> When running the "samba-tool domain provision" command I get the following error messages:Remove the old smb.conf before you provision. Greetz, Louis> -----Oorspronkelijk bericht----- > Van: samba [mailto:samba-bounces at lists.samba.org] Namens > Andreas Habel via samba > Verzonden: dinsdag 2 april 2019 9:29 > Aan: samba at lists.samba.org > Onderwerp: [Samba] samba 4.10.0 - problem with samba-tool > domain provision > > Hi, > I am currently installing Samba 4.10.0 on a CentOS7 test > system facing problems with the provisioning of AD. > > I built samba from source; configure/make/make install > finished successfully. When running the "samba-tool domain > provision" command I get the following error messages: > > [root at geo22 ~]# samba-tool domain provision --use-rfc2307 > --interactive > WARNING: Ignoring invalid value 'cups' for parameter 'printing' > ERROR(runtime): uncaught exception - Unable to load default file > File > "/usr/local/samba/lib64/python3.6/site-packages/samba/netcmd/_ > _init__.py", line 184, in _run > return self.run(*args, **kwargs) > File > "/usr/local/samba/lib64/python3.6/site-packages/samba/netcmd/d > omain.py", line 371, in run > lp = sambaopts.get_loadparm() > File > "/usr/local/samba/lib64/python3.6/site-packages/samba/getopt.p > y", line 91, in get_loadparm > self._lp.load_default() > [root at geo22 ~]# > > I would be thankful for any suggestion on what might be wrong > in my setup. > > Best regards, > Andreas Habel > > > -- > Andreas Habel > Petroleum engineering lab > Geosciences | Unix network > Faculty of Science and Technology > University of Stavanger > Norway > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba > >
Andreas Habel
2019-Apr-02 10:39 UTC
[Samba] samba 4.10.0 - problem with samba-tool domain provision
Thanks -- that solved the problem! I thought that on a clean minimal OS installation, there should not be any "old" smb.conf, so I skipped checking/deleting /etc/samba/ ... Best regards, Andreas -- Andreas Habel Petroleum engineering lab Geosciences | Unix network Faculty of Science and Technology University of Stavanger Norway -----Original Message----- From: samba <samba-bounces at lists.samba.org> On Behalf Of L.P.H. van Belle via samba Sent: 2. april 2019 11:31 To: samba at lists.samba.org Subject: Re: [Samba] samba 4.10.0 - problem with samba-tool domain provision Whats wrong..> When running the "samba-tool domain provision" command I get the following error messages:Remove the old smb.conf before you provision. Greetz, Louis> -----Oorspronkelijk bericht----- > Van: samba [mailto:samba-bounces at lists.samba.org] Namens > Andreas Habel via samba > Verzonden: dinsdag 2 april 2019 9:29 > Aan: samba at lists.samba.org > Onderwerp: [Samba] samba 4.10.0 - problem with samba-tool > domain provision > > Hi, > I am currently installing Samba 4.10.0 on a CentOS7 test > system facing problems with the provisioning of AD. > > I built samba from source; configure/make/make install > finished successfully. When running the "samba-tool domain > provision" command I get the following error messages: > > [root at geo22 ~]# samba-tool domain provision --use-rfc2307 > --interactive > WARNING: Ignoring invalid value 'cups' for parameter 'printing' > ERROR(runtime): uncaught exception - Unable to load default file > File > "/usr/local/samba/lib64/python3.6/site-packages/samba/netcmd/_ > _init__.py", line 184, in _run > return self.run(*args, **kwargs) > File > "/usr/local/samba/lib64/python3.6/site-packages/samba/netcmd/d > omain.py", line 371, in run > lp = sambaopts.get_loadparm() > File > "/usr/local/samba/lib64/python3.6/site-packages/samba/getopt.p > y", line 91, in get_loadparm > self._lp.load_default() > [root at geo22 ~]# > > I would be thankful for any suggestion on what might be wrong > in my setup. > > Best regards, > Andreas Habel > > > -- > Andreas Habel > Petroleum engineering lab > Geosciences | Unix network > Faculty of Science and Technology > University of Stavanger > Norway > > > -- > 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