Displaying 15 results from an estimated 15 matches for "search_s".
Did you mean:
search_
2015 Feb 02
2
Searching samba ldap without authentication
...BDC.
I run my scripts on both and while they run fine on the PDC they end
with error on the BDC.
Here is the minimal example that behave this way:
import ldap
LDAP_URI = "ldapi://%2fvar%2flib%2fsamba%2fprivate%2fldap_priv%2fldapi"
l = ldap.initialize(LDAP_URI, trace_level=1)
entries = l.search_s('dc=mon,dc=dom', ldap.SCOPE_SUBTREE)
print(entries)
it ends with: ldap.OPERATIONS_ERROR: {'info': '00002020: Operation
unavailable without authentication', 'desc': 'Operations error'}
What is very disturbing is that the equivalent using the ldapsearch
comm...
2015 Feb 02
2
Searching samba ldap without authentication
...end
>> with error on the BDC.
>> Here is the minimal example that behave this way:
>>
>> import ldap
>> LDAP_URI = "ldapi://%2fvar%2flib%2fsamba%2fprivate%2fldap_priv%2fldapi"
>>
>> l = ldap.initialize(LDAP_URI, trace_level=1)
>> entries = l.search_s('dc=mon,dc=dom', ldap.SCOPE_SUBTREE)
>> print(entries)
>>
>> it ends with: ldap.OPERATIONS_ERROR: {'info': '00002020: Operation
>> unavailable without authentication', 'desc': 'Operations error'}
>>
>>
>> What is very...
2015 Feb 02
2
Searching samba ldap without authentication
...example that behave this way:
>>>>
>>>> import ldap
>>>> LDAP_URI =
>>>> "ldapi://%2fvar%2flib%2fsamba%2fprivate%2fldap_priv%2fldapi"
>>>>
>>>> l = ldap.initialize(LDAP_URI, trace_level=1)
>>>> entries = l.search_s('dc=mon,dc=dom', ldap.SCOPE_SUBTREE)
>>>> print(entries)
>>>>
>>>> it ends with: ldap.OPERATIONS_ERROR: {'info': '00002020: Operation
>>>> unavailable without authentication', 'desc': 'Operations error'}
>>...
2017 Jun 01
0
Who's using OpenStack Cinder & Gluster? [ Was Re: [Gluster-devel] Fwd: Re: GlusterFS removal from Openstack Cinder]
Joe,
Agree with you on turning this around into something more positive.
One aspect that would really help us decide on our next steps here is the
actual number of deployments that will be affected by the removal of the
gluster driver in Cinder. If you are running or aware of a deployment of
OpenStack Cinder & Gluster, can you please respond on this thread or to me
& Niels in private
2015 Feb 02
0
Searching samba ldap without authentication
...e they run fine on the PDC they end
> with error on the BDC.
> Here is the minimal example that behave this way:
>
> import ldap
> LDAP_URI = "ldapi://%2fvar%2flib%2fsamba%2fprivate%2fldap_priv%2fldapi"
>
> l = ldap.initialize(LDAP_URI, trace_level=1)
> entries = l.search_s('dc=mon,dc=dom', ldap.SCOPE_SUBTREE)
> print(entries)
>
> it ends with: ldap.OPERATIONS_ERROR: {'info': '00002020: Operation
> unavailable without authentication', 'desc': 'Operations error'}
>
>
> What is very disturbing is that the equi...
2015 Feb 02
0
Searching samba ldap without authentication
...he BDC.
>>> Here is the minimal example that behave this way:
>>>
>>> import ldap
>>> LDAP_URI = "ldapi://%2fvar%2flib%2fsamba%2fprivate%2fldap_priv%2fldapi"
>>>
>>> l = ldap.initialize(LDAP_URI, trace_level=1)
>>> entries = l.search_s('dc=mon,dc=dom', ldap.SCOPE_SUBTREE)
>>> print(entries)
>>>
>>> it ends with: ldap.OPERATIONS_ERROR: {'info': '00002020: Operation
>>> unavailable without authentication', 'desc': 'Operations error'}
>>>
>>&g...
2014 Dec 10
4
CentOS 7 grub.cfg missing on new install
Greetings -
The short story is that got my new install completed with the partitioning I
wanted and using software raid, but after a reboot I ended up with a grub
prompt, and do not appear to have a grub.cfg file. So here is a little
history of how I got here, because I know in order for anyone to help me
they would subsequently ask for this information. So this post is a little
long, but
2001 Nov 05
2
prevent infinite loop with recurse option enabled?
I am creating a web-based gui to provide searching of files shared via
SMB on a local network. It goes through and finds each computer, its
shares, and its files using smbclient. Currently, a nasty (and
incredibly slow) set of loops in php recurses the directories on each
share using a smbclient call for each directory up to a set depth.
I know for a fact of several computers on my LAN with
2015 Dec 02
3
[PATCH 0/3] [FOR COMMENTS ONLY] Rework inspection.
This is something I've been working on: Reworking inspection so it's
not a big mess of ad hoc C code, but instead uses a well-defined
domain-specific language to describe how we inspect guests.
The best introduction to this is the manual page, which I include
below (it's also included in patch 2/3).
Rich.
----------------------------------------------------------------------
NAME
2014 Dec 11
0
CentOS 7 grub.cfg missing on new install
On 10/12/14 18:13, Jeff Boyce wrote:
> Greetings -
>
> The short story is that got my new install completed with the
> partitioning I wanted and using software raid, but after a reboot I
> ended up with a grub prompt, and do not appear to have a grub.cfg file.
> So here is a little history of how I got here, because I know in order
> for anyone to help me they would
2003 Feb 12
2
rsync & ldap authentication
...== NULL) {
+ rprintf(FERROR,"ldap: init failed (%s:%d)\n", lp_ldap_server(), lp_ldap_port());
+ } else {
+ if (ldap_simple_bind_s(ld, lp_ldap_root(), lp_ldap_root_passwd()) != LDAP_SUCCESS) {
+ rprintf(FERROR,"ldap: bind failed %s\n", lp_ldap_root());
+ } else {
+ if (ldap_search_s(ld, lp_ldap_suffix(), LDAP_SCOPE_SUBTREE, filter, attrs, 0, &result) != LDAP_SUCCESS) {
+ rprintf(FERROR,"ldap: search_s failed\n");
+ } else {
+ if (!(entry=ldap_first_entry(ld, result))) {
+ rprintf(FERROR,"ldap: first_entry failed or no user found\n");
+ } else {
+...
2003 May 03
0
Storing rsync secrets in LDAP
...n", lp_ldap_server(),
+lp_ldap_port());
+ } else {
+ if (ldap_simple_bind_s(ld, lp_ldap_root(), lp_ldap_root_passwd()) !=
+LDAP_SUCCESS) {
+ rprintf(FERROR,"ldap: bind failed %s\n", lp_ldap_root());
+ } else {
+ if (ldap_search_s(ld, lp_ldap_suffix(), LDAP_SCOPE_SUBTREE, filter,
+attrs, 0, &result) != LDAP_SUCCESS) {
+ rprintf(FERROR,"ldap: search_s failed\n");
+ } else {
+ if (!(entry=ldap_first_entry(ld, result))) {
+ rprintf(FERROR,"ldap:...
2016 Feb 23
4
[PATCH v3 0/4] [FOR COMMENTS ONLY] Rework inspection.
Previously posted:
https://www.redhat.com/archives/libguestfs/2015-December/msg00038.html
Inspection now really succeeds on a small number of simple guests.
To test it out:
$ ./run guestfish -v -x -a /tmp/centos-6.img
><fs> run
><fs> debug sh "guestfs-inspection --verbose"
Rich.
2015 Dec 05
6
[PATCH 0/6 v2] [FOR COMMENTS ONLY] Rework inspection.
This is a more working version. Inspection (partially) succeeds on a
real guest this time :-)
You can test it out on a real guest (in this case, a CentOS disk image
located at /tmp/centos-6.img) by doing:
$ ./run guestfish -v -x -a /tmp/centos-6.img
><fs> run
><fs> debug sh "guestfs-inspection --verbose"
which will print lots of debugging, and at the end the
2016 Jan 21
8
[PATCH v3 0/6] [FOR COMMENTS ONLY] Rework inspection.
For background on this change, see:
https://rwmj.wordpress.com/2015/12/06/inspection-now-with-added-prolog/
v2 was previously posted here:
https://www.redhat.com/archives/libguestfs/2015-December/msg00038.html
To test this patch series on a real guest, you can do:
$ ./run guestfish -v -x -a /var/tmp/centos-6.img
><fs> run
><fs> debug sh "guestfs-inspection