search for: samdb

Displaying 20 results from an estimated 808 matches for "samdb".

2017 Apr 26
2
Unable to add a particular member to group (Samba 4.6.3)
Still doesn't work for that user... for works for another user: [root at roquefort samba]# cp -av ./lib64/python2.6/site-packages/samba/samdb.py ./lib64/python2.6/site-packages/samba/samdb.py.bak « ./lib64/python2.6/site-packages/samba/samdb.py » -> « ./lib64/python2.6/site-packages/samba/samdb.py.bak » [root at roquefort samba]# vi ./lib64/python2.6/site-packages/samba/samdb.py [root at roquefort samba]# /usr/local/samba/bin/samba-...
2020 Aug 21
3
Problem with secondary DC
...n 20/08/2020 20:40, James B. Byrne via samba wrote: >> FreeBSd-12.1p8 >> Samba-4.10.15 >> >> >> I have this problem: >> >> samba-tool dbcheck --cross-ncs >> Searching for dsServiceName in rootDSE failed: operations error at >> ../../source4/dsdb/samdb/ldb_modules/rootdse.c:518 >> Failed to find our own NTDS Settings DN in the ldb! >> Searching for dsServiceName in rootDSE failed: operations error at >> ../../source4/dsdb/samdb/ldb_modules/rootdse.c:518 >> Failed to find our own NTDS Settings DN in the ldb! >> >&g...
2017 Apr 28
0
Unable to add a particular member to group (Samba 4.6.3)
...39;m convinced that this will point us in the right direction to correct the bug. Thanks! Le 2017-04-26 à 14:25, Luc Lalonde a écrit : > Still doesn't work for that user... for works for another user: > > [root at roquefort samba]# cp -av > ./lib64/python2.6/site-packages/samba/samdb.py > ./lib64/python2.6/site-packages/samba/samdb.py.bak > « ./lib64/python2.6/site-packages/samba/samdb.py » -> « > ./lib64/python2.6/site-packages/samba/samdb.py.bak » > [root at roquefort samba]# vi ./lib64/python2.6/site-packages/samba/samdb.py > [root at roquefort samba]# /u...
2017 Apr 26
2
Unable to add a particular member to group (Samba 4.6.3)
This is the case for this user too... Could it be that Samba is trying to work with the old SID??? Le 2017-04-26 à 10:47, Dale Renton via samba a écrit : > On Tue, Apr 25, 2017 at 3:31 PM, Luc Lalonde via samba < > samba at lists.samba.org> wrote: > >> The user exists in AD: >> >> - I can see the user using 'wbinfo', 'samba-tool user list'
2018 Apr 26
2
[BUG] Fail update Samba 4.8.0
...641 / usr / local / samba / sbin // samba -D └─31643 / usr / local / samba / sbin // samba -D samba [31643]: [2018/04/26 16: 32: 37.364664, 0] ../lib/util/util_runcmd.c:327(samba_runcmd_io_handler) samba [31643]: / usr / local / samba / sbin / samba_dnsupdate: vars ['HOSTNAME'] = samdb.host_dns_name () samba [31643]: [2018/04/26 16: 32: 37.364743, 0] ../lib/util/util_runcmd.c:327(samba_runcmd_io_handler) samba [31643]: / usr / local / samba / sbin / samba_dnsupdate: File "/usr/local/samba/lib64/python2.7/site-packages/samba/samdb.py", line 653, in host_dns_name samba [3...
2018 Apr 24
2
[BUG] Fail update Samba 4.8.0
...ion 4.8.0, an error occurred while starting the service. The samba seems to have trouble finding its way through the db: Unable to determine the DomainSID, can not enforce uniqueness constraint on local domainSIDs Searching for dsServiceName in rootDSE failed: operations error at ../source4/dsdb/samdb/ldb_modules/rootdse.c:516 Failed to find our own NTDS Settings DN in the ldb! Searching for dsServiceName in rootDSE failed: operations error at ../source4/dsdb/samdb/ldb_modules/rootdse.c:516 Failed to find our own NTDS Settings DN in the ldb! ERROR(ldb): uncaught exception - operations error at ....
2014 Dec 11
2
DNS backend on samba4 nt4 style
...results)* *Traceback (most recent call last):* * File "/usr/sbin/samba_upgradedns", line 259, in <module>* * ldbs = get_ldbs(paths, creds, system_session(), lp)* * File "/usr/lib/python2.7/dist-packages/samba/upgradehelpers.py", line 140, in get_ldbs* * ldbs.sam = SamDB(paths.samdb, session_info=session, credentials=creds, lp=lp, options=["modules:samba_dsdb"])* * File "/usr/lib/python2.7/dist-packages/samba/samdb.py", line 56, in __init__* * options=options)* * File "/usr/lib/python2.7/dist-packages/samba/__init__.py", line 114,...
2015 Nov 06
2
Join Samba without GC role
...ut GC = 1.2 Gb, with GC=16 Gb. When we try to join Samba we have samba DB limit 4Gb. We see that samba replicate information about all domains in forest: descriptor_sd_propagation_recursive: DC=DomainDnsZones,DC=domain1,DC=oao,DC=company not found under DC=domain1,DC=oao,DC=company ../source4/dsdb/samdb/ldb_modules/repl_meta_data.c:5568: WARNING: Failed to re-resolve GUID 3c4005a3-6aa9-4776-a23a-d0f632d6ebd8 - using CN=DOMAIN6-DC-02,OU=Domain Controllers,DC=domain6,DC=oao,DC=company ../source4/dsdb/samdb/ldb_modules/repl_meta_data.c:5568: WARNING: Failed to re-resolve GUID 5cefb527-31c5-45b3-98e1-...
2018 May 04
1
[BUG] Fail update Samba 4.8.0
...> └─31643 / usr / local / samba / sbin // samba -D > > samba [31643]: [2018/04/26 16: 32: 37.364664, 0] > > ../lib/util/util_runcmd.c:327(samba_runcmd_io_handler) > > samba [31643]: / usr / local / samba / sbin / samba_dnsupdate: vars > > ['HOSTNAME'] = samdb.host_dns_name () > > samba [31643]: [2018/04/26 16: 32: 37.364743, 0] > > ../lib/util/util_runcmd.c:327(samba_runcmd_io_handler) > > samba [31643]: / usr / local / samba / sbin / samba_dnsupdate: File > > "/usr/local/samba/lib64/python2.7/site-packages/samba/samdb.py&qu...
2018 Mar 16
3
samba 4.7->4.8 in place upgrade
Hi, I'm testing the in-place upgrade from 4.7.5 samba to 4.8 and unfortunately it breaks. After the upgrade samba seems to have trouble to find his way through the db: ------------------ #ldbsearch -V Version 4.8.0 #ldbsearch -H private/sam.ldb Unable to determine the DomainSID, can not enforce uniqueness constraint on local domainSIDs search error - No such Base DN: DC=example,DC=com
2018 Feb 20
1
Is it possible to lower the domain and forest functional level
...Thanks to your input, I've been able to run the samba_upgradeprovision script. But the full oprion fails with : Creating a reference provision WARNING: no network interfaces found No IPv4 address will be assigned WARNING: no network interfaces found No IPv6 address will be assigned Update base samdb by searching difference with reference one Starting update of samdb There are 125 missing objects Reloading a merged schema, which might trigger reindexing so please be patient Unable to convert 1.3.6.1.4.1.11.1.3.1.1.5 to an attid, and can_change_pfm=false! ../source4/dsdb/schema/schema_init.c:669...
2023 Nov 08
2
samba-tool dns zoneoptions --mark-old-records-static
...gt; [options]* I also try this : *samba-tool dns zoneoptions server1 example.com <http://example.com> --mark-old-records-static=2021-03-30ERROR(ldb): uncaught exception - LDAP error 32 LDAP_NO_SUCH_OBJECT - <acl_read: Error retrieving instanceType for base. at ../../source4/dsdb/samdb/ldb_modules/acl_read.c:967> <> File "/usr/lib/python3/dist-packages/samba/netcmd/__init__.py", line 186, in _run return self.run(*args, **kwargs) File "/usr/lib/python3/dist-packages/samba/netcmd/dns.py", line 546, in run self.mark_old_records_static(server, zone,...
2019 Jan 30
2
DNS failure
...nd - do you need to set LDB_MODULES_PATH? module samba_dsdb initialization failed : Operations error Unable to load modules for tdb:///usr/local/samba/private/sam.ldb: (null) Traceback (most recent call last): File "/usr/local/samba/sbin/samba_dnsupdate", line 748, in <module> samdb = SamDB(url=lp.samdb_url(), session_info=system_session(), lp=lp) File "/usr/local/samba/lib/python2.7/site-packages/samba/samdb.py", line 64, in __init__ options=options) File "/usr/local/samba/lib/python2.7/site-packages/samba/__init__.py", line 115, in __init__ se...
2016 Mar 02
5
Samba AD/DC crashed again, third time in as many months
...ldb-samba/ldb_wrap.c:72(ldb_wrap_debug) ldb: dsdb_get_schema: refresh_fn() failed [2016/03/02 11:27:17.033626, 0] ../lib/ldb-samba/ldb_wrap.c:72(ldb_wrap_debug) [2016/03/02 11:27:17.033776, 0] ../source4/smbd/service_task.c:35(task_server_terminate) task_server_terminate: [nbtd failed to open samdb] ldb: schema_load_init: dsdb_get_schema failed [2016/03/02 11:27:17.034676, 0] ../lib/ldb-samba/ldb_wrap.c:72(ldb_wrap_debug) ldb: module schema_load initialization failed : Operations error [2016/03/02 11:27:17.035224, 0] ../lib/ldb-samba/ldb_wrap.c:72(ldb_wrap_debug) ldb: module rootdse i...
2020 Jul 23
3
using samba-tool from a domain member other than the DC
On 23/07/2020 19:31, Jason Keltz via samba wrote: > Hi Rowland, > > I'm running smbd on the? DC.? I want to be able to do things like > adding a user, dns entry, etc. from my workstation without logging > into the DC. > > I can't get samba-tool to work with Kerberos, or ldaps, etc. As I said, I cannot get ldaps to work (yet), but: rowland at devstation:~$ sudo
2020 Jul 23
1
using samba-tool from a domain member other than the DC
...samba-4.10.17/lib/python3.8/site-packages/samba/netcmd/__init__.py", >> line 185, in _run >> return self.run(*args, **kwargs) >> File >> "/xsys/pkg/samba-4.10.17/lib/python3.8/site-packages/samba/netcmd/user.py", >> line 534, in run >> samdb = SamDB(url=H, session_info=system_session(), >> File >> "/xsys/pkg/samba-4.10.17/lib/python3.8/site-packages/samba/samdb.py", >> line 65, in __init__ >> super(SamDB, self).__init__(url=url, lp=lp, modules_dir=modules_dir, >> File >> "/x...
2018 Apr 26
0
[BUG] Fail update Samba 4.8.0
.../ sbin // samba -D > └─31643 / usr / local / samba / sbin // samba -D > samba [31643]: [2018/04/26 16: 32: 37.364664, 0] > ../lib/util/util_runcmd.c:327(samba_runcmd_io_handler) > samba [31643]: / usr / local / samba / sbin / samba_dnsupdate: vars > ['HOSTNAME'] = samdb.host_dns_name () > samba [31643]: [2018/04/26 16: 32: 37.364743, 0] > ../lib/util/util_runcmd.c:327(samba_runcmd_io_handler) > samba [31643]: / usr / local / samba / sbin / samba_dnsupdate: File > "/usr/local/samba/lib64/python2.7/site-packages/samba/samdb.py", line > 653,...
2015 Nov 17
0
Join Samba without GC role
...ut GC = 1.2 Gb, with GC=16 Gb. When we try to join Samba we have samba DB limit 4Gb. We see that samba replicate information about all domains in forest: descriptor_sd_propagation_recursive: DC=DomainDnsZones,DC=domain1,DC=oao,DC=company not found under DC=domain1,DC=oao,DC=company ../source4/dsdb/samdb/ldb_modules/repl_meta_data.c:5568: WARNING: Failed to re-resolve GUID 3c4005a3-6aa9-4776-a23a-d0f632d6ebd8 - using CN=DOMAIN6-DC-02,OU=Domain Controllers,DC=domain6,DC=oao,DC=company ../source4/dsdb/samdb/ldb_modules/repl_meta_data.c:5568: WARNING: Failed to re-resolve GUID 5cefb527-31c5-45b3-98e1-...
2018 Mar 16
0
samba 4.7->4.8 in place upgrade
same problem. Never pass the 4.8 version. samba-tool dbcheck --cross-ncs --fix Unable to determine the DomainSID, can not enforce uniqueness constraint on local domainSIDs Searching for dsServiceName in rootDSE failed: operations error at ../source4/dsdb/samdb/ldb_modules/rootdse.c:516 Failed to find our own NTDS Settings DN in the ldb! Searching for dsServiceName in rootDSE failed: operations error at ../source4/dsdb/samdb/ldb_modules/rootdse.c:516 Failed to find our own NTDS Settings DN in the ldb! ERROR(ldb): uncaught exception - operations error at ....
2020 Jul 23
0
using samba-tool from a domain member other than the DC
...e > "/xsys/pkg/samba-4.10.17/lib/python3.8/site-packages/samba/netcmd/__init__.py", > line 185, in _run > ??? return self.run(*args, **kwargs) > ? File > "/xsys/pkg/samba-4.10.17/lib/python3.8/site-packages/samba/netcmd/user.py", > line 534, in run > ??? samdb = SamDB(url=H, session_info=system_session(), > ? File > "/xsys/pkg/samba-4.10.17/lib/python3.8/site-packages/samba/samdb.py", > line 65, in __init__ > ??? super(SamDB, self).__init__(url=url, lp=lp, modules_dir=modules_dir, > ? File > "/xsys/pkg/samba-4.10.17/li...