search for: ldbsearch

Displaying 20 results from an estimated 1305 matches for "ldbsearch".

2016 May 10
1
ldbsearch does not accept escaped parenthesis in filter
...ldap://ad.domain.tld/DC=ForestDnsZones,DC=ad,DC=domain,DC=tld # search result search: 4 result: 0 Success # numResponses: 6 # numEntries: 2 # numReferences: 3 ------------------------------------------------------------------------------------------------- Different tries about same search using ldbsearch: ------------------------------------------------------------------------------------------------- ldbsearch -H $sam "CN=CID 85 (Join)" # Referral ref: ldap://ad.domain.tld/CN=Configuration,DC=ad,DC=domain,DC=tld # Referral ref: ldap://ad.domain.tld/DC=DomainDnsZones,DC=ad,DC=domain,DC=t...
2014 Oct 18
1
ldbsearch and controls
...openldaps ldapsearch: # ldapsearch -LLLb dc=ad,dc=schule,dc=lan -E '1.2.840.113556.1.4.1339' cn=user1 dn SASL/GSSAPI authentication started SASL username: administrator at AD.SCHULE.LAN SASL SSF: 56 SASL data security layer installed. dn: CN=user1,CN=Users,DC=ad,DC=schule,DC=lan however, ldbsearch needs the control name, but which one? all names I have found in ldb.h failed: # ldbsearch -H ldap://dc0 -b dc=ad,dc=schule,dc=lan --controls=domain_scope cn=user1 dn parsing controls failed: Invalid control name: 'domain_scope' # ldbsearch -H ldap://dc0 -b dc=ad,dc=schule,dc=lan --contr...
2016 Oct 04
2
especify a DN by using ldbsearch
Hi @ll: I need to get the objectClass of some objects by giving theirs DistinguishedNames. I've try with this: #ldbsearch -H 127.0.0.1 dn='CN=nameTest,CN=Users,DC=example,DC=com' But: # returned 3 records # 0 entries # 3 referrals Any idea? How Can I to specify a DN in ldbsearch command. Thanks. ___________________________________________ Felipe_ González_Santiago The University of Informatics S...
2018 Aug 28
2
ldbsearch performance and tuning...
I'm still on samba4.5, sorry me. I've done some (bash) scripting around ldbsearch, but i've found some performance and 'lock' trouble. a) query seems 'slow'. If i user paged result (--paged) coud achive better performance? It is a 'network' optimization only, right? eg: ldbsearch --paged -H /var/lib/samba/private/sam.ldb ... is totally unuseful,...
2016 Nov 06
3
ldap search with DN which contains space
Hello, I am trying to get all the members of a given group. I run this command: #ldbsearch -H /var/lib/samba/private/sam.ldb memberOf=CN=Administrators,CN=Builtin,DC=ejemplo,DC=cu And it works fine. BUT: problems arise when the group name contains spaces, e.g 'Domain Controllers' Then, I run: #ldbsearch -H /var/lib/samba/private/sam.ldb memberOf=CN=Domain Controllers,CN=User...
2017 Sep 28
2
Using ldbsearch on configuration partition.
Hello,     I'm trying to search for the following but believe my syntax may not be correct. Search the Configuration partition for any object where the Common Name contains "CNF:" and the object class is nTDSDSA. I'm using: ldbsearch -H /usr/local/samba/private/sam.ldb '(&(ObjectClass=nTDSDSA)(CN=CNF*))' Is this correct? I also tried ldbsearch -H /usr/local/samba/private/sam.ldb 'CN=Configuration,DC=domain,DC=local(&(ObjectClass=nTDSDSA)(CN=CNF*))' I'm not receiving any results so I want to conf...
2018 Aug 29
2
ldbsearch performance and tuning...
Mandi! Andrew Bartlett via samba In chel di` si favelave... > > I'm still on samba4.5, sorry me. > Fix that first. Eh... i hope on this year. > > I've done some (bash) scripting around ldbsearch, but i've found some > > performance and 'lock' trouble. > Correct, Samba before 4.7 has very poor unindexed search performance, > due to a bug.  OK. > > a) query seems 'slow'. If i user paged result (--paged) coud achive > >  better performance? It is...
2019 Mar 27
5
samba 4.9.5 - joining Samba DC to existing Samba AD failed (ldbsearch has not -U and -V)
On Wed, 27 Mar 2019 13:00:42 +0100 Franta Hanzlík <franta at hanzlici.cz> wrote: > Yes, is no difference between '-UAdministrator' and '-U > Administrator'. But it seems, as ldbsearch in 4.9.5 is different than > 4.9.4-. (I was furious with that, because I found lot articles on > net, where -U _username_ was stated. > > My ldbsearch is from pure Samba-4.9.5, self compiled on Fedora 29 > x86_64. And now I see it even has not '-V' switch: > > [root a...
2016 Jun 23
3
FSMO / ldbsearch
Hi, After a couple of unfortunate hardware failures and some not insignificant amount of work to rebuild two of my DCs, I am trying to check that things are now working correctly. Looking at the wiki page on FSMO ownership, one suggestion is to run the following ldbsearch command.. but this doesn't work for me. root at dc2:~# ldbsearch --cross-ncs -H /var/lib/samba/private/sam.ldb -b "CN=Infrastructure,DC=DomainDnsZones,DC=mydomain,dc=org,dc=uk" -s base fsmoroleowner search failed - Unsupported critical extension 1.2.840.113556.1.4.1340 root at dc2:~#...
2019 Mar 27
0
samba 4.9.5 - joining Samba DC to existing Samba AD failed (ldbsearch has not -U and -V)
...00 Rowland Penny via samba <samba at lists.samba.org> wrote: > On Wed, 27 Mar 2019 09:45:18 +0100 > "L.P.H. van Belle via samba" <samba at lists.samba.org> wrote: > > > Hai, > > > > > > I dont think one noticed this.. > > > > ldbsearch -H ldap://dc4 -UAdministrator > > ldbsearch -H ldap://dc1 -U Administrator > > > > So whats the difference when you see this responce of the command: > > Invalid option -U: unknown ... > > > > The " " between -U Admin... > > Try again with...
2015 Sep 06
2
How to learn abut what is in the samba ldap directory
On 09/06/2015 01:26 PM, Marc Muehlfeld wrote: > Hello Robert, > > Am 06.09.2015 um 19:08 schrieb Robert Moskowitz: >> I once upon a time worked with DAP and watched LDAP being created as >> something that actually could work... > what are your goals, by editing LDAP stuff in AD? > > For beginners, I think ADUC (Active Directory User and Computer), which > is part
2019 Sep 15
4
Migrating Samba NT4 Domain to Samba AD
On 15/09/2019 20:19, Bart?omiej Solarz-Nies?uchowski wrote: >> What OS is this and what Samba packages did you install ? >> > [root at oceanic etc]# which ldbsearch > /usr/bin/ldbsearch > [root at oceanic etc]# rpm -qf /usr/bin/ldbsearch > ldb-tools-1.5.5-1.fc30.x86_64 > Is your DC Running Fedora ? If so, then I am sorry, but I must advise you that running a Samba AD DC on Fedora is experimental due to the use of MIT kerberos and you should not...
2018 Sep 27
3
Samba 4.7.9 dbcheck error
...t; Andrew Bartlett <abartlet at samba.org> wrote: > >> On Wed, 2018-09-26 at 14:47 +0100, Rowland Penny via samba wrote: >>> On Wed, 26 Sep 2018 15:28:42 +0200 >>> Daniel Jordan <d.jordan at gfd.de> wrote: >>> >>>> >>>> dc01:~# ldbsearch -H /var/lib/samba/private/sam.ldb >>>> '(objectClass=domain)' objectSid >>>> # record 1 >>>> dn: DC=xx,DC=xx,DC=xx >>>> objectSid: S-1-5-21-3258148492-1502286889-3538134041 >>>> >>>> >>>> >>>> dc...
2018 Aug 29
0
ldbsearch performance and tuning...
...favelave... > > > > I'm still on samba4.5, sorry me. > > Fix that first. > > Eh... i hope on this year. From that, it looks like you mean later this year, I would update as soon as 4.9.0 comes out. > > > > > I've done some (bash) scripting around ldbsearch, but i've found > > > some performance and 'lock' trouble. > > Correct, Samba before 4.7 has very poor unindexed search > > performance, due to a bug.  > > OK. > > > > a) query seems 'slow'. If i user paged result (--paged) coud > >...
2013 Apr 19
1
ldbsearch/kerberos issue
Samba 4.0.5, Debian 6.0 I can successfully perform an ldbsearch on the Samba ldb by specifying the -U parameter: geoffc at test-dc03: ~ $ /usr/local/samba/bin/ldbsearch -H ldap://localhost -U geoffc 'CN=IT' objectClass Password for [STAFF\geoffc]: # record 1 dn: CN=IT,CN=Users,DC=testad2,DC=trinity,DC=unimelb,DC=edu,DC=au o...
2019 Mar 29
2
samba 4.9.5 - joining Samba DC to existing Samba AD failed (ldbsearch has not -U and -V)
...lt;samba at lists.samba.org> wrote: > > > On Wed, 27 Mar 2019 13:00:42 +0100 > > Franta Hanzlík <franta at hanzlici.cz> wrote: > > > > > Yes, is no difference between '-UAdministrator' and '-U > > > Administrator'. But it seems, as ldbsearch in 4.9.5 is different > > > than 4.9.4-. (I was furious with that, because I found lot > > > articles on net, where -U _username_ was stated. > > > > > > My ldbsearch is from pure Samba-4.9.5, self compiled on Fedora 29 > > > x86_64. And now I see it ev...
2019 Mar 29
0
samba 4.9.5 - joining Samba DC to existing Samba AD failed (ldbsearch has not -U and -V)
...+0000 Rowland Penny via samba <samba at lists.samba.org> wrote: > On Wed, 27 Mar 2019 13:00:42 +0100 > Franta Hanzlík <franta at hanzlici.cz> wrote: > > > Yes, is no difference between '-UAdministrator' and '-U > > Administrator'. But it seems, as ldbsearch in 4.9.5 is different than > > 4.9.4-. (I was furious with that, because I found lot articles on > > net, where -U _username_ was stated. > > > > My ldbsearch is from pure Samba-4.9.5, self compiled on Fedora 29 > > x86_64. And now I see it even has not '-V' s...
2017 Mar 28
2
Users list and the date the password will expire
...t; > > > > > Sorry, forgot about the required authentication, try it with '-P' > > > > without '-U administrator' > > > > > > > > Rowland > > > > > > Great! That did it. Final command: > > > > > > ldbsearch --url=ldap://mail -b "DC=hprs,DC=local" -P -s sub "(&(sAMAccountType=805306368)(sAMAccountName=$USER))" msDS-UserPasswordExpiryTimeComputed > > > > Not quite where I need to be. The above with the -P option works on the domain member when > > logged in as...
2018 Oct 26
5
classicupgrade
Il 26/10/2018 13:45, Rowland Penny via samba ha scritto: > ldbsearch -Hldap://$(hostname -s) -k yes -P '(&(samaccountname=Domain > Users)(gidNumber=*))' gidNumber | grep gidNumber | awk '{print $NF}' sorry but nothing happen [root at dc1 ~]# ldbsearch -H ldap://$(hostname -s) -k yes -P '(&(samaccountname=Domain Users)(gidNumber=*))...
2017 Mar 27
3
Users list and the date the password will expire
...19:31:48 -0400 Mark Foley wrote: > > On Sun, 26 Mar 2017 19:53:01 +0100 Rowland Penny wrote: > > > > On Sun, 26 Mar 2017 14:32:53 -0400 > > Mark Foley via samba <samba at lists.samba.org> wrote: > > > > > > > as root: > > > > > > ldbsearch --url=ldap://mail -b "DC=hprs,DC=local" -s sub > > > "(&(sAMAccountType=805306368)(sAMAccountName=mark))" > > > msDS-UserPasswordExpiryTimeComputed > > > > > > search error - LDAP error 1 LDAP_OPERATIONS_ERROR - <00002020: > > &...