Displaying 14 results from an estimated 14 matches for "search_scop".
Did you mean:
search_scope
2016 Aug 04
0
Problem in samba-tool ldapcmp
...thon2.7/site-packages/samba/netcmd/ldapcmp.py",
line 698, in __init__
self.dn_list = self.get_dn_list(context)
File
"/usr/local/samba/lib64/python2.7/site-packages/samba/netcmd/ldapcmp.py",
line 841, in get_dn_list
res = self.con.ldb.search(base=self.search_base,
scope=self.search_scope, attrs=["dn"])
2015 Jul 16
2
4.2.2 as AD with 2 DCs: database incoherency
Am 16.07.2015 um 17:18 schrieb Rowland Penny:
> On 16/07/15 13:27, Reindl Harald wrote:
>>
>> Am 16.07.2015 um 14:02 schrieb Rowland Penny:
>>> /etc/hosts should be:
>>>
>>> 127.0.0.1 localhost.localdomain localhost
>>
>> uhm no - you want 127.0.0.1 normally resolved to localhost and hence
>> 127.0.0.1 localhost
2024 Jul 17
1
dbcheck gets uncaught exception
...Operations error (1)
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/dbcheck.py", line
169, in run
error_count = chk.check_database(DN=DN, scope=search_scope,
File "/usr/lib/python3/dist-packages/samba/dbchecker.py", line 255,
in check_database
error_count += self.check_object(object.dn, requested_attrs=attrs)
File "/usr/lib/python3/dist-packages/samba/dbchecker.py", line 2310,
in check_object
res = self.samdb.sear...
2015 Jul 16
2
4.2.2 as AD with 2 DCs: database incoherency
...ot;/usr/lib/python2.7/dist-packages/samba/netcmd/ldapcmp.py", line
698, in __init__
self.dn_list = self.get_dn_list(context)
File "/usr/lib/python2.7/dist-packages/samba/netcmd/ldapcmp.py", line
841, in get_dn_list
res = self.con.ldb.search(base=self.search_base,
scope=self.search_scope, attrs=["dn"])
----------------------
Which led me to check my /etc/resolv.conf and on one DC there was only one
DNS entry to access local Samba and no line to ask to the other DC. I've
added the second DC as nameserver and rerun the command... to obtain the
very same error.
I had...
2019 Apr 06
0
SMTPUTF8 support
...nce, I am using this LDAP schema:
https://tools.ietf.org/html/draft-stroeder-mailboxrelatedobject-07
So, my LDAP lookup table for Postfix looks like this:
# Basic LDAP settings for postfix
server_host = ldap://ldap.rodier.me/
start_tls = yes
search_base = dc=rodier,dc=me
search_scope = sub
# Allow advanced LDAP search with the recipient delimiter
query_filter = (|(mail=%s)(intlMailAddr=%s))
result_attribute = mail
# Force support for UTF8
version = 3
Therefore, postmap query works as expected:
postmap -q andr?@rodier.me ldap:/etc/postfix/ldap-...
2015 Jul 23
2
4.2.2 as AD with 2 DCs: database incoherency
...es/samba/netcmd/ldapcmp.py", line
> 698, in __init__
> self.dn_list = self.get_dn_list(context)
> File "/usr/lib/python2.7/dist-packages/samba/netcmd/ldapcmp.py", line
> 841, in get_dn_list
> res = self.con.ldb.search(base=self.search_base,
> scope=self.search_scope, attrs=["dn"])
>
> Finally I tried to demote non-FSMO DC:
>
> dc00:~# samba-tool domain demote -Uadministrator
> Using dc20.ad.dgfip.lan as partner server for the demotion
> ERROR(<class 'samba.drs_utils.drsException'>): uncaught exception -
> drsExcept...
2015 Jul 23
0
4.2.2 as AD with 2 DCs: database incoherency
...ot;/usr/lib/python2.7/dist-packages/samba/netcmd/ldapcmp.py", line
698, in __init__
self.dn_list = self.get_dn_list(context)
File "/usr/lib/python2.7/dist-packages/samba/netcmd/ldapcmp.py", line
841, in get_dn_list
res = self.con.ldb.search(base=self.search_base,
scope=self.search_scope, attrs=["dn"])
Finally I tried to demote non-FSMO DC:
dc00:~# samba-tool domain demote -Uadministrator
Using dc20.ad.dgfip.lan as partner server for the demotion
ERROR(<class 'samba.drs_utils.drsException'>): uncaught exception -
drsException: DRS connection to dc20.ad.dg...
2015 Jul 24
2
4.2.2 as AD with 2 DCs: database incoherency
On 24/07/15 13:53, mathias dufresne wrote:
> The following commands work on both DC:
> host -t A <short_hostname_of_other_DC>
> host -t A <fqdn_hostname_of_other_DC>
>
> hostname and hostname --fqdn are working on both DC.The simplest way
> is to not declare external IP /etc/hosts
>
>
> SRV DNS entries which are working are:
> host -t SRV
>
2019 Apr 05
6
SMTPUTF8 support
Andr?, are you quite sure you have it working?
In this thread someone from Open-Xchange stated that no, Dovecot doesn?t
have SMTPUTF8 support implemented, and the same response was given by
another Dovecot developer last September (it ?is being considered? was
the answer then, see
https://dovecot.org/pipermail/dovecot/2018-September/112887.html).
I am using LMTP to deliver mail to Dovecot from
2015 Jul 16
0
4.2.2 as AD with 2 DCs: database incoherency
...es/samba/netcmd/ldapcmp.py", line
> 698, in __init__
> self.dn_list = self.get_dn_list(context)
> File "/usr/lib/python2.7/dist-packages/samba/netcmd/ldapcmp.py", line
> 841, in get_dn_list
> res = self.con.ldb.search(base=self.search_base,
> scope=self.search_scope, attrs=["dn"])
> ----------------------
>
> Which led me to check my /etc/resolv.conf and on one DC there was only one
> DNS entry to access local Samba and no line to ask to the other DC. I've
> added the second DC as nameserver and rerun the command... to obtain the...
2015 Jul 27
0
4.2.2 as AD with 2 DCs: database incoherency
...usr/lib64/python2.6/site-packages/samba/netcmd/ldapcmp.py", line
698, in __init__
self.dn_list = self.get_dn_list(context)
File "/usr/lib64/python2.6/site-packages/samba/netcmd/ldapcmp.py", line
841, in get_dn_list
res = self.con.ldb.search(base=self.search_base,
scope=self.search_scope, attrs=["dn"])
Followed by samba-tool dbcheck ran 2 hours after I left using "sleep" to
give time to ldapcmp process.
This dbcheck was ran on both servers and both were counting same number of
objects before both processes hanged. On DC00 ssh connection was lost, the
VM still...
2015 Jul 24
0
4.2.2 as AD with 2 DCs: database incoherency
...py", line
>> 698, in __init__
>> self.dn_list = self.get_dn_list(context)
>> File "/usr/lib/python2.7/dist-packages/samba/netcmd/ldapcmp.py", line
>> 841, in get_dn_list
>> res = self.con.ldb.search(base=self.search_base,
>> scope=self.search_scope, attrs=["dn"])
>>
>> Finally I tried to demote non-FSMO DC:
>>
>> dc00:~# samba-tool domain demote -Uadministrator
>> Using dc20.ad.dgfip.lan as partner server for the demotion
>> ERROR(<class 'samba.drs_utils.drsException'>): uncaught ex...
2019 Apr 05
0
SMTPUTF8 support
...nother note, I am using LDAP lookups, _and_ a specific schema for unicode email addresses. Otherwise, this would not work:
root at portal:/etc/postfix# cat ldap-aliases.cf
# Basic LDAP settings for postfix
server_host = ldap://ldap.homebox.space/
start_tls = yes
search_base = dc=homebox,dc=space
search_scope = sub
# Allow advanced LDAP search with the recipient delimiter
query_filter = (|(mail=%s)(intlMailAddr=%s))
result_attribute = mail
# Force support for UTF8
version = 3
Thanks to this, ldap lookup is unicode compliant:
> root at portal:/etc/postfix# postmap -q andr?@homebox.space ldap:/etc...
2015 Jul 16
3
4.2.2 as AD with 2 DCs: database incoherency
On my site with samba 4.18 on centos 6:
'samba-tool ldapcmp ldap://DC1 ldap://DC2 -Uadministrator' failed with this result msDS-NC Type failed :
[root at s4master ~]# samba-tool ldapcmp ldap://s4master ldap://s4slave -Uadministrator
Password for [TPLK\administrator]:
* Comparing [DOMAIN] context...
* Objects to be compared: 606
Comparing:
'CN=Builtin,DC=tplk,DC=loc'