On 10/01/2020 17:24, Sandy via samba wrote:> I really do not know what to do so that GPOs can be created, I have tried all the possible solutions that have been sent to me but without success. >Try answering the questions I asked you: How did you configure Samba when you built it ? It might also help if you can supply a list of the packages you installed to build Samba. I feel sure this is a problem with the way you have built Samba, no one else has reported this problem and neither I or Louis can duplicate your problem. Rowland
I really do not know what to do so that GPOs can be created, I have tried all the possible solutions that have been sent to me but without success.
Try answering the questions I asked you: -----> OK. sorry How did you configure Samba when you built it ? -----> I explain to you, when I install samba4, I will be guided by what the site says, that is, install the necessary packages and then the commands samba-tool domain provision, etc., that is, guide me exactly as the site says. https://wiki.samba.org/index.php/Setting_up_Samba_as_an_Active_Directory_Domain_Controller I feel sure this is a problem with the way you have built Samba, no one else has reported this problem and neither I or Louis can duplicate your problem. ------> The odd thing is that it was working fine, but when I updated before version 4.11.3 it was that the problem started.
On 10/01/2020 17:54, Sandy via samba wrote:> Try answering the questions I asked you: > -----> OK. sorry > > How did you configure Samba when you built it ? > > -----> I explain to you, when I install samba4, I will be guided by what the site says, that is, install the necessary packages and then the commands samba-tool domain provision, etc., that is, guide me exactly as the site says. > https://wiki.samba.org/index.php/Setting_up_Samba_as_an_Active_Directory_Domain_Controller > > I feel sure this is a problem with the way you have built Samba, no one else has reported this problem and neither I or Louis can duplicate your problem. > > ------> The odd thing is that it was working fine, but when I updated before version 4.11.3 it was that the problem started. >No, you haven't explained anything: You have compiled Samba yourself, so you must have run './configure' , did you just run that, or did you add anything else ? There have been a lot of changes in the required packages to build 4.11.x, did you install all the required packages, or just the ones that 4.10.x required. Rowland
update some dependencies that appear to be missing and the same error continues.
./samba-tool gpo create WSUS -Usandy
Password for [ECCMG\sandy]:
Using temporary directory /tmp/tmpgcft6ubs (use --tmpdir to change)
ERROR(runtime): uncaught exception - (3221225524, 'The object name is not
found.')
File
"/usr/local/samba/lib/python3.5/site-packages/samba/netcmd/__init__.py",
line 186, in _run
return self.run(*args, **kwargs)
File
"/usr/local/samba/lib/python3.5/site-packages/samba/netcmd/gpo.py",
line 1277, in run
copy_directory_local_to_remote(conn, gpodir, sharepath)
File
"/usr/local/samba/lib/python3.5/site-packages/samba/netcmd/gpo.py",
line 374, in copy_directory_local_to_remote
conn.savefile(r_name, data)
January 10, 2020 8:59 AM, "Sandy via samba" <samba at
lists.samba.org> wrote:
> Try answering the questions I asked you:
> -----> OK. sorry
>
> How did you configure Samba when you built it ?
>
> -----> I explain to you, when I install samba4, I will be guided by what
the site says, that is,
> install the necessary packages and then the commands samba-tool domain
provision, etc., that is,
> guide me exactly as the site says.
>
https://wiki.samba.org/index.php/Setting_up_Samba_as_an_Active_Directory_Domain_Controller
>
> I feel sure this is a problem with the way you have built Samba, no one
else has reported this
> problem and neither I or Louis can duplicate your problem.
>
> ------> The odd thing is that it was working fine, but when I updated
before version 4.11.3 it was
> that the problem started.
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions: https://lists.samba.org/mailman/options/samba
Yes, I run ./configure alone, then make and then make install January 10, 2020 9:01 AM, "Rowland penny via samba" <samba at lists.samba.org> wrote:> On 10/01/2020 17:54, Sandy via samba wrote: > >> Try answering the questions I asked you: >> -----> OK. sorry >> >> How did you configure Samba when you built it ? >> >> -----> I explain to you, when I install samba4, I will be guided by what the site says, that is, >> install the necessary packages and then the commands samba-tool domain provision, etc., that is, >> guide me exactly as the site says. >> https://wiki.samba.org/index.php/Setting_up_Samba_as_an_Active_Directory_Domain_Controller >> >> I feel sure this is a problem with the way you have built Samba, no one else has reported this >> problem and neither I or Louis can duplicate your problem. >> >> ------> The odd thing is that it was working fine, but when I updated before version 4.11.3 it was >> that the problem started. > > No, you haven't explained anything: > > You have compiled Samba yourself, so you must have run './configure' , did you just run that, or > did you add anything else ? > > There have been a lot of changes in the required packages to build 4.11.x, did you install all the > required packages, or just the ones that 4.10.x required. > > Rowland > > -- To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba
On 10/01/2020 18:16, Sandy via samba wrote:> update some dependencies that appear to be missing and the same error continues. > > > ./samba-tool gpo create WSUS -Usandy > Password for [ECCMG\sandy]: > Using temporary directory /tmp/tmpgcft6ubs (use --tmpdir to change) > ERROR(runtime): uncaught exception - (3221225524, 'The object name is not found.') > File "/usr/local/samba/lib/python3.5/site-packages/samba/netcmd/__init__.py", line 186, in _run > return self.run(*args, **kwargs) > File "/usr/local/samba/lib/python3.5/site-packages/samba/netcmd/gpo.py", line 1277, in run > copy_directory_local_to_remote(conn, gpodir, sharepath) > File "/usr/local/samba/lib/python3.5/site-packages/samba/netcmd/gpo.py", line 374, in copy_directory_local_to_remote > conn.savefile(r_name, data) > >As I said, neither I or Louis can reproduce your problem, so it looks like the problem is at your end, especially has a lack of a required package has now been ruled out I can only think of two possibilities, is Apparmor running ? If it is, try turning it off and see if this fixes your problem. Is PATH set correctly ? If you run (in a terminal): echo "$PATH" Does it start with '/usr/local/samba/bin:/usr/local/samba/sbin:.....' ? Failing that, please go here: https://github.com/thctlo/samba4/blob/master/samba-collect-debug-info.sh Download the script, run it on the failing DC and paste the output into a reply to this thread, do not attach it, this mailing list strips attachments. Rowland
This is the result /usr/local/samba/bin# ./script.sh Please wait, collecting debug info. Password for Administrator at ECCMG.CUPET.CU: ./script.sh: line 209: samba: command not found grep: : No such file or directory ./script.sh: line 289: samba-tool: command not found grep: /etc/samba/smb.conf: No such file or directory ./script.sh: line 328: [: : integer expression expected grep: : No such file or directory The debug info about your system can be found in this file: /tmp/samba-debug-info.txt Please check this and if required, sanitise it. Then copy & paste it into an email to the samba list Do not attach it to the email, the Samba mailing list strips attachments. January 11, 2020 6:10 AM, "Rowland penny via samba" <samba at lists.samba.org> wrote:> On 10/01/2020 18:16, Sandy via samba wrote: > >> update some dependencies that appear to be missing and the same error continues. >> >> ./samba-tool gpo create WSUS -Usandy >> Password for [ECCMG\sandy]: >> Using temporary directory /tmp/tmpgcft6ubs (use --tmpdir to change) >> ERROR(runtime): uncaught exception - (3221225524, 'The object name is not found.') >> File "/usr/local/samba/lib/python3.5/site-packages/samba/netcmd/__init__.py", line 186, in _run >> return self.run(*args, **kwargs) >> File "/usr/local/samba/lib/python3.5/site-packages/samba/netcmd/gpo.py", line 1277, in run >> copy_directory_local_to_remote(conn, gpodir, sharepath) >> File "/usr/local/samba/lib/python3.5/site-packages/samba/netcmd/gpo.py", line 374, in >> copy_directory_local_to_remote >> conn.savefile(r_name, data) > > As I said, neither I or Louis can reproduce your problem, so it looks like the problem is at your > end, especially has a lack of a required package has now been ruled out > > I can only think of two possibilities, is Apparmor running ? > > If it is, try turning it off and see if this fixes your problem. > > Is PATH set correctly ? > > If you run (in a terminal): echo "$PATH" > > Does it start with '/usr/local/samba/bin:/usr/local/samba/sbin:.....' ? > > Failing that, please go here: > https://github.com/thctlo/samba4/blob/master/samba-collect-debug-info.sh > > Download the script, run it on the failing DC and paste the output into a reply to this thread, do > not attach it, this mailing list strips attachments. > > Rowland > > -- To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba
I can only think of two possibilities, is Apparmor running ? ----->apparmor is not instaled> > If it is, try turning it off and see if this fixes your problem. > > Is PATH set correctly ? > > If you run (in a terminal): echo "$PATH" > > Does it start with '/usr/local/samba/bin:/usr/local/samba/sbin:.....' ? > > Failing that, please go here: > https://github.com/thctlo/samba4/blob/master/samba-collect-debug-info.sh > > Download the script, run it on the failing DC and paste the output into a reply to this thread, do > not attach it, this mailing list strips attachments. > > Rowland > > -- To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba
Collected config --- 2020-01-11-10:14 -----------
Hostname: ccmg7
DNS Domain: eccmg.cupet.cu
FQDN: CCMG7.eccmg.cupet.cu
ipaddress: 172.18.68.7
-----------
Kerberos SRV _kerberos._tcp.eccmg.cupet.cu record verified ok, sample output:
Server: 172.18.68.7
Address: 172.18.68.7#53
_kerberos._tcp.eccmg.cupet.cu service = 0 100 88 ccmg7.eccmg.cupet.cu.
Samba is running as an AD DC
-----------
Checking file: /etc/os-release
PRETTY_NAME="Debian GNU/Linux 9 (stretch)"
NAME="Debian GNU/Linux"
VERSION_ID="9"
VERSION="9 (stretch)"
VERSION_CODENAME=stretch
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
-----------
This computer is running Debian 9.11 i686
-----------
running command : ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group
default qlen 1
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
inet6 ::1/128 scope host
2: ens192: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast
state UP group default qlen 1000
link/ether 00:50:56:b9:45:29 brd ff:ff:ff:ff:ff:ff
inet 172.18.68.7/26 brd 172.18.68.63 scope global ens192
inet6 fe80::250:56ff:feb9:4529/64 scope link
-----------
Checking file: /etc/hosts
127.0.0.1 localhost localhost.localdomain
172.18.68.7 CCMG7.eccmg.cupet.cu CCMG7
Checking file: /etc/resolv.conf
search eccmg.cupet.cu
nameserver 172.18.68.7
-----------
Checking file: /etc/krb5.conf
[libdefaults]
default_realm = ECCMG.CUPET.CU
dns_lookup_realm = false
dns_lookup_kdc = true
-----------
Checking file: /etc/nsswitch.conf
# /etc/nsswitch.conf
#
# Example configuration of GNU Name Service Switch functionality.
# If you have the `glibc-doc-reference' and `info' packages installed,
try:
# `info libc "Name Service Switch"' for information about this
file.
passwd: compat
group: compat
shadow: compat
gshadow: files
hosts: files dns
networks: files
protocols: db files
services: db files
ethers: db files
rpc: db files
netgroup: nis
-----------
Warning, does not exist
-----------
BIND_DLZ not detected in smb.conf
-----------
Installed packages:
ii acl 2.2.52-3+b1 i386
Access control list utilities
ii attr 1:2.4.47-2+b2 i386
Utilities for manipulating filesystem extended attributes
ii krb5-config 2.6 all
Configuration files for Kerberos Version 5
ii krb5-user 1.15-1+deb9u1 i386
basic programs to authenticate using MIT Kerberos
ii libacl1:i386 2.2.52-3+b1 i386
Access control list shared library
ii libacl1-dev 2.2.52-3+b1 i386
Access control list static libraries and headers
ii libattr1:i386 1:2.4.47-2+b2 i386
Extended attribute shared library
ii libattr1-dev:i386 1:2.4.47-2+b2 i386
Extended attribute static libraries and headers
ii libgssapi-krb5-2:i386 1.15-1+deb9u1 i386
MIT Kerberos runtime libraries - krb5 GSS-API Mechanism
ii libkrb5-3:i386 1.15-1+deb9u1 i386
MIT Kerberos runtime libraries
ii libkrb5support0:i386 1.15-1+deb9u1 i386
MIT Kerberos runtime libraries - Support library
-----------
January 11, 2020 6:17 AM, "Rowland penny via samba" <samba at
lists.samba.org> wrote:
> On 10/01/2020 18:16, Sandy via samba wrote:
>
>> update some dependencies that appear to be missing and the same error
continues.
>>
>> ./samba-tool gpo create WSUS -Usandy
>> Password for [ECCMG\sandy]:
>> Using temporary directory /tmp/tmpgcft6ubs (use --tmpdir to change)
>> ERROR(runtime): uncaught exception - (3221225524, 'The object name
is not found.')
>> File
"/usr/local/samba/lib/python3.5/site-packages/samba/netcmd/__init__.py",
line 186, in _run
>> return self.run(*args, **kwargs)
>> File
"/usr/local/samba/lib/python3.5/site-packages/samba/netcmd/gpo.py",
line 1277, in run
>> copy_directory_local_to_remote(conn, gpodir, sharepath)
>> File
"/usr/local/samba/lib/python3.5/site-packages/samba/netcmd/gpo.py",
line 374, in
>> copy_directory_local_to_remote
>> conn.savefile(r_name, data)
>
> As I said, neither I or Louis can reproduce your problem, so it looks like
the problem is at your
> end, especially has a lack of a required package has now been ruled out
>
> I can only think of two possibilities, is Apparmor running ?
>
> If it is, try turning it off and see if this fixes your problem.
>
> Is PATH set correctly ?
>
> If you run (in a terminal): echo "$PATH"
>
> Does it start with
'/usr/local/samba/bin:/usr/local/samba/sbin:.....' ?
>
> Failing that, please go here:
> https://github.com/thctlo/samba4/blob/master/samba-collect-debug-info.sh
>
> Download the script, run it on the failing DC and paste the output into a
reply to this thread, do
> not attach it, this mailing list strips attachments.
>
> Rowland
>
> -- To unsubscribe from this list go to the following URL and read the
> instructions: https://lists.samba.org/mailman/options/samba
This is the result of the script January 11, 2020 10:35 AM, sandy.napoles at eccmg.cupet.cu wrote:> Collected config --- 2020-01-11-10:14 ----------- > > Hostname: ccmg7 > DNS Domain: eccmg.cupet.cu > FQDN: CCMG7.eccmg.cupet.cu > ipaddress: 172.18.68.7 > ----------- > Kerberos SRV _kerberos._tcp.eccmg.cupet.cu record verified ok, sample output: > Server: 172.18.68.7 > Address: 172.18.68.7#53 > > _kerberos._tcp.eccmg.cupet.cu service = 0 100 88 ccmg7.eccmg.cupet.cu. > Samba is running as an AD DC > ----------- > Checking file: /etc/os-release > PRETTY_NAME="Debian GNU/Linux 9 (stretch)" > NAME="Debian GNU/Linux" > VERSION_ID="9" > VERSION="9 (stretch)" > VERSION_CODENAME=stretch > ID=debian > HOME_URL="https://www.debian.org" > SUPPORT_URL="https://www.debian.org/support" > BUG_REPORT_URL="https://bugs.debian.org" > ----------- > > This computer is running Debian 9.11 i686 > ----------- > running command : ip a > 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1 > link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 > inet 127.0.0.1/8 scope host lo > inet6 ::1/128 scope host > 2: ens192: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen > 1000 > link/ether 00:50:56:b9:45:29 brd ff:ff:ff:ff:ff:ff > inet 172.18.68.7/26 brd 172.18.68.63 scope global ens192 > inet6 fe80::250:56ff:feb9:4529/64 scope link > ----------- > Checking file: /etc/hosts > 127.0.0.1 localhost localhost.localdomain > 172.18.68.7 CCMG7.eccmg.cupet.cu CCMG7 > Checking file: /etc/resolv.conf > search eccmg.cupet.cu > nameserver 172.18.68.7 > ----------- > Checking file: /etc/krb5.conf > [libdefaults] > default_realm = ECCMG.CUPET.CU > dns_lookup_realm = false > dns_lookup_kdc = true > ----------- > Checking file: /etc/nsswitch.conf > # /etc/nsswitch.conf > # > # Example configuration of GNU Name Service Switch functionality. > # If you have the `glibc-doc-reference' and `info' packages installed, try: > # `info libc "Name Service Switch"' for information about this file. > > passwd: compat > group: compat > shadow: compat > gshadow: files > > hosts: files dns > networks: files > > protocols: db files > services: db files > ethers: db files > rpc: db files > > netgroup: nis > ----------- > Warning, does not exist > ----------- > BIND_DLZ not detected in smb.conf > ----------- > Installed packages: > ii acl 2.2.52-3+b1 i386 Access control list utilities > ii attr 1:2.4.47-2+b2 i386 Utilities for manipulating filesystem extended attributes > ii krb5-config 2.6 all Configuration files for Kerberos Version 5 > ii krb5-user 1.15-1+deb9u1 i386 basic programs to authenticate using MIT Kerberos > ii libacl1:i386 2.2.52-3+b1 i386 Access control list shared library > ii libacl1-dev 2.2.52-3+b1 i386 Access control list static libraries and headers > ii libattr1:i386 1:2.4.47-2+b2 i386 Extended attribute shared library > ii libattr1-dev:i386 1:2.4.47-2+b2 i386 Extended attribute static libraries and headers > ii libgssapi-krb5-2:i386 1.15-1+deb9u1 i386 MIT Kerberos runtime libraries - krb5 GSS-API Mechanism > ii libkrb5-3:i386 1.15-1+deb9u1 i386 MIT Kerberos runtime libraries > ii libkrb5support0:i386 1.15-1+deb9u1 i386 MIT Kerberos runtime libraries - Support library > ----------- > > January 11, 2020 6:17 AM, "Rowland penny via samba" <samba at lists.samba.org> wrote: > >> On 10/01/2020 18:16, Sandy via samba wrote: >> >>> update some dependencies that appear to be missing and the same error continues. >>> >>> ./samba-tool gpo create WSUS -Usandy >>> Password for [ECCMG\sandy]: >>> Using temporary directory /tmp/tmpgcft6ubs (use --tmpdir to change) >>> ERROR(runtime): uncaught exception - (3221225524, 'The object name is not found.') >>> File "/usr/local/samba/lib/python3.5/site-packages/samba/netcmd/__init__.py", line 186, in _run >>> return self.run(*args, **kwargs) >>> File "/usr/local/samba/lib/python3.5/site-packages/samba/netcmd/gpo.py", line 1277, in run >>> copy_directory_local_to_remote(conn, gpodir, sharepath) >>> File "/usr/local/samba/lib/python3.5/site-packages/samba/netcmd/gpo.py", line 374, in >>> copy_directory_local_to_remote >>> conn.savefile(r_name, data) >> >> As I said, neither I or Louis can reproduce your problem, so it looks like the problem is at your >> end, especially has a lack of a required package has now been ruled out >> >> I can only think of two possibilities, is Apparmor running ? >> >> If it is, try turning it off and see if this fixes your problem. >> >> Is PATH set correctly ? >> >> If you run (in a terminal): echo "$PATH" >> >> Does it start with '/usr/local/samba/bin:/usr/local/samba/sbin:.....' ? >> >> Failing that, please go here: >> https://github.com/thctlo/samba4/blob/master/samba-collect-debug-info.sh >> >> Download the script, run it on the failing DC and paste the output into a reply to this thread, do >> not attach it, this mailing list strips attachments. >> >> Rowland >> >> -- To unsubscribe from this list go to the following URL and read the >> instructions: https://lists.samba.org/mailman/options/samba
On 13/01/2020 16:27, sandy.napoles at eccmg.cupet.cu wrote:> That leaves us with the only question you haven't answered: > If you run `echo "$PATH"` in a terminal, does the output start with '/usr/local/samba/bin:/usr/local/samba/sbin:' ??? > > --------> This is the result > echo "$PATH" > echo /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/binIf you are going to compile Samba, you need to have your compiled Samba binaries etc found before any OS Samba binaries, so run this: export PATH="/usr/local/samba/bin:/usr/local/samba/sbin:$PATH"> > You also posted this I use debian 10 as the base operating system > > ----------> I'm sorry, it was a mistake of mine, the base system is Debian9To be honest, I wouldn't run Samba 4.11.x on Debian 9> > I 'think' I may know what is going on, to install Louis's 4.11.x packages on Debian, you must be > running Debian 10 AND replace libldb1 with libldb2, I am very sure that you still have libldb1 > installed, mainly because libldb2 isn't available for Debian 9. > > -------> libldb1 is not installedProbably not, but you may have other packages installed that shouldn't be used, but are being used because your PATH is wrong, see above. Can I suggest a better way of doing things ? Install Debian 10 on a new computer (bare metal or VM), use the repo here: http://apt.van-belle.nl/ Install Samba 4.11.x from the repo and join this to the domain as a new DC. This will work. Rowland
I think that would be the solution, the bad thing about this is that we would have to put all the PCs in the domain again and they are a few January 13, 2020 7:29 AM, "Rowland penny via samba" <samba at lists.samba.org> wrote:> On 13/01/2020 16:27, sandy.napoles at eccmg.cupet.cu wrote: > >> That leaves us with the only question you haven't answered: >> If you run `echo "$PATH"` in a terminal, does the output start with >> '/usr/local/samba/bin:/usr/local/samba/sbin:' ??? >> >> --------> This is the result >> echo "$PATH" >> echo /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin > > If you are going to compile Samba, you need to have your compiled Samba binaries etc found before > any OS Samba binaries, so run this: > > export PATH="/usr/local/samba/bin:/usr/local/samba/sbin:$PATH" > >> You also posted this I use debian 10 as the base operating system >> >> ----------> I'm sorry, it was a mistake of mine, the base system is Debian9 > > To be honest, I wouldn't run Samba 4.11.x on Debian 9 > >> I 'think' I may know what is going on, to install Louis's 4.11.x packages on Debian, you must be >> running Debian 10 AND replace libldb1 with libldb2, I am very sure that you still have libldb1 >> installed, mainly because libldb2 isn't available for Debian 9. >> >> -------> libldb1 is not installed > > Probably not, but you may have other packages installed that shouldn't be used, but are being used > because your PATH is wrong, see above. > > Can I suggest a better way of doing things ? > > Install Debian 10 on a new computer (bare metal or VM), use the repo here: http://apt.van-belle.nl > > Install Samba 4.11.x from the repo and join this to the domain as a new DC. This will work. > > Rowland > > -- To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba
On 13/01/2020 16:46, Sandy via samba wrote:> I think that would be the solution, the bad thing about this is that we would have to put all the PCs in the domain again and they are a few >You might not have to, try joining a new DC, using Louis's repo, to your existing domain, if this works, transfer (or seize) the FSMO roles to the new DC and then demote the other DC's. Then add new DC's. Rowland
export PATH="/usr/local/samba/bin:/usr/local/samba/sbin:$PATH" ----> Done echo "$PATH" /usr/local/samba/bin:/usr/local/samba/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin> >> You also posted this I use debian 10 as the base operating system >> >> ----------> I'm sorry, it was a mistake of mine, the base system is Debian9 > > To be honest, I wouldn't run Samba 4.11.x on Debian 9 > >> I 'think' I may know what is going on, to install Louis's 4.11.x packages on Debian, you must be >> running Debian 10 AND replace libldb1 with libldb2, I am very sure that you still have libldb1 >> installed, mainly because libldb2 isn't available for Debian 9. >> >> -------> libldb1 is not installed > > Probably not, but you may have other packages installed that shouldn't be used, but are being used > because your PATH is wrong, see above. > > Can I suggest a better way of doing things ? > > Install Debian 10 on a new computer (bare metal or VM), use the repo here: http://apt.van-belle.nl > > Install Samba 4.11.x from the repo and join this to the domain as a new DC. This will work. > > Rowland > > -- To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba
Although to be honest, I would like to try to fix the problem. January 13, 2020 8:30 AM, "Rowland penny via samba" <samba at lists.samba.org> wrote:> On 13/01/2020 16:46, Sandy via samba wrote: > >> I think that would be the solution, the bad thing about this is that we would have to put all the >> PCs in the domain again and they are a few > > You might not have to, try joining a new DC, using Louis's repo, to your existing domain, if this > works, transfer (or seize) the FSMO roles to the new DC and then demote the other DC's. Then add > new DC's. > > Rowland > > -- To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba
I really need to explain this to me, because now if I don't understand, well
the GPOs already work and I will tell you what I did, first verify that all the
dependencies were installed, with a script that they recommended me here in the
list (bootstrap_generated-dists_debian9_bootstrap .sh), friend Rowland penny.
then restart the pc but it kept giving the same problem, but the main error was
this
File
"/usr/local/samba/lib/python3.5/site-packages/samba/netcmd/gpo.py",
line 374, in copy_directory_local_to_remote
conn.savefile (r_name, data)
Well then edit that file and comment on line 374
# conn.savefile (r_name, data)
and now it works for me
GPO 'WSU' created as {C772F9ED-16C9-4D5C-A1AF-FED39555B9C6}
What do you think
January 13, 2020 12:46 PM, "Sandy via samba" <samba at
lists.samba.org> wrote:
> Although to be honest, I would like to try to fix the problem.
>
> January 13, 2020 8:30 AM, "Rowland penny via samba" <samba at
lists.samba.org> wrote:
>
>> On 13/01/2020 16:46, Sandy via samba wrote:
>>
>>> I think that would be the solution, the bad thing about this is
that we would have to put all the
>>> PCs in the domain again and they are a few
>>
>> You might not have to, try joining a new DC, using Louis's repo, to
your existing domain, if this
>> works, transfer (or seize) the FSMO roles to the new DC and then demote
the other DC's. Then add
>> new DC's.
>>
>> Rowland
>>
>> -- 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