Displaying 16 results from an estimated 16 matches for "ref_type".
Did you mean:
if_type
2008 May 06
10
Best way to implement?
So I''m new to all this Rails stuff and this is probably a database
design-related question to, but here it is...
Just for learning I''m trying to build a little real estate listings
application. Of course there is the listings model which will store
basic information like name, price, description, and all that jazz.
I''m to the point where I want to figure out how to
2024 Jul 04
1
anonymous ldap search, how disable it?
...on a member (probably after some authentication) or some other non-member linux?
I don't think that is quite the right distinction, because samba-tool
would probably use ldap for this.
Also, I see ldapsearch at
https://gitlab.com/kalilinux/packages/enum4linux/-/blob/kali/master/enum4linux.pl?ref_type=heads#L413
However, the enum_groups and enum_dom_groups functions use Sambas's
rpcclient and net.
e.g.
https://gitlab.com/kalilinux/packages/enum4linux/-/blob/kali/master/enum4linux.pl?ref_type=heads#L566
I haven't looked closely, but I feel like I should.
Douglas
2024 Jun 29
1
Looking for Python docs/examples to modify DNS via keytab
...is hack here:
https://github.com/yast/yast2-dns-manager/blob/master/src/modules/SambaToolDnsAPI.py
This example uses username/password for auth, but the CredentialsOptions
parser can be instructed to use the keytab, IIUC:
https://gitlab.com/samba-team/samba/-/blob/master/python/samba/getopt.py?ref_type=heads#L384
If you don't like this hacky approach, you could re-implement something
using the same calls made by samba-tool:
https://gitlab.com/samba-team/samba/-/blob/master/python/samba/netcmd/dns.py?ref_type=heads
This is probably a more appropriate approach, but a bit more work.
--
D...
2024 Jul 04
1
anonymous ldap search, how disable it?
Afaik or understand, enum4linux uses samba-tool (https://www.kali.org/tools/enum4linux/) and not ldap. Did you try enum4linux on a member (probably after some authentication) or some other non-member linux?
Regards,
Joachim
2006 Apr 17
0
polymorphic association with single model as target
...ete :target
end
end
... process table name base on target and call set_table_name
super
end
The model that contain the marks to the dictionary entries is defined
like this:
belongs_to :ref, :polymorphic => true
I use the ref_id as foreign key (as in all the examples) and ref_type as
INTEGER with a number defining the dictionary I''d like to refer too.
Doing the "joins" myself as in the exemple below works well.
@marks_en = DbDict.find(:all,
:target => DBDICT_EN_TYPE,
:joins => "as db inner join marks as ma on...
2024 Jun 28
2
Looking for Python docs/examples to modify DNS via keytab
Hello all,
I am looking to rewrite the shell script here (https://wiki.samba.org/index.php/Configure_DHCP_to_update_DNS_records) in Python.
Is anyone aware of any resources (docs, existing code, etc.) that may be useful in doing so? I?m not finding any introductory docs or simple code examples that show things like instantiating a DNS server connection with a keytab.
Thanks,
CB
2024 May 28
1
SAMBA_VERSION_VENDOR_SUFFIX in VERSION
Kia Ora Samba packagers,
I just wanted to ask nicely if you could fill
in SAMBA_VERSION_VENDOR_SUFFIX in the VERSION file when you build
Samba?
Debian does it like this:
https://salsa.debian.org/samba-team/samba/-/blob/master/debian/rules?ref_type=heads#L163
(that is, a simple sed on the VERSION file)
Likewise if you are a Samba user and use a Samba package that doesn't
do this, can you ask them to add it?
This really helps us when debugging, as we know what package you are
using and so what patches might be applied, or if this is jus...
2024 Mar 07
1
Opus 1.5 is out -- now with ML
FYI, the README file section on building for Windows says to see the README.md files in the cmake or meson subdirectories, but there are no README files in either of those subdirectories.
-----Original Message-----
From: opus <opus-bounces at xiph.org> On Behalf Of Jean-Marc Valin
Sent: Monday, March 4, 2024 12:52 PM
To: opus at xiph.org
Subject: Re: [opus] Opus 1.5 is out -- now with ML
2024 Sep 02
2
[PATCH v2 3/8] rust: drm: add driver abstractions
On Wed, Jun 19, 2024 at 01:31:39AM +0200, Danilo Krummrich wrote:
> Implement the DRM driver abstractions.
>
> The `Driver` trait provides the interface to the actual driver to fill
> in the driver specific data, such as the `DriverInfo`, driver features
> and IOCTLs.
>
> Co-developed-by: Asahi Lina <lina at asahilina.net>
> Signed-off-by: Asahi Lina <lina at
2024 Jun 30
1
Looking for Python docs/examples to modify DNS via keytab
On Sun, 30 Jun 2024 00:22:57 -0700
christian baltini <christian.baltini at gmail.com> wrote:
>
> This is the output I get:
>
> (venv) root at ubu1:~/py_krb# samba-tool dns zonelist localhost
> --use-krb5-ccache=/tmp/krb5cc_0 Failed to bind to uuid
> 50abc2a4-574d-40b3-9d66-ee4fd5fba076 for
>
2023 Sep 22
2
Help ! libvirt
On Fri, Sep 22, 2023 at 06:33:06AM +0100, Bhasker C V wrote:
> I finally fixed it.
> The issue seems to be with the tpm-tis/cpu backend (wonder why it shows up
> with a different error)
> For the sake of community, I am attaching the new xml file so that you can
> do forensics on what changed
> (I prettymuch did a virt-install --import --print-xml to redo the config
> keeping
2024 Mar 15
1
Using multiple temporary indexes during updates
On Fri, Mar 15, 2024 at 08:15:55PM +0100, Jean-Francois Dockes wrote:
> I have been playing at converting the index update stage of the Recoll indexer to use
> multiple temporary indexes and a final merge.
>
> This yields an improvement factor of almost 3 (on my quad-core CPU), for the total
> indexing time for "easy" files like HTML pages. This is nice (!) and I wanted
2010 Aug 27
3
[PATCH 0 of 3] libxl: cleanups for type destructor generation
Following series cleans up a few niggles in the libxl destructor
autogeneration.
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
2024 Feb 06
1
[EXTERNAL] Re: NOTE: multiple local function definitions for ?fun? with different formal arguments
Here's a dummy example that I think illustrates the problem:
toto <- function() {
if (runif(1) < 0.5)
function(a) a
else
function(a,b) a+b
}
> fcn <- toto()
> fcn(1,2)
[1] 3
> fcn <- toto()
> fcn(1,2)
[1] 3
> fcn <- toto()
> fcn(1,2)
Error in fcn(1, 2) : unused argument (2)
How can you use the returned function, if you get different arguments?
2024 Feb 07
1
[EXTERNAL] Re: NOTE: multiple local function definitions for ?fun? with different formal arguments
...gt;
>>> On Feb 6, 2024, at 3:17 PM, Martin Morgan <mtmorgan.xyz at gmail.com> wrote:
>>>
>>> I went looking and found this in codetools, where it's been for 20 years
>>>
>>> https://gitlab.com/luke-tierney/codetools/-/blame/master/R/codetools.R?ref_type=heads#L951
>>>
>>> I think the call stack in codetools is checkUsagePackage -> checkUsageEnv -> checkUsage, and these are similarly established. The call from the tools package https://github.com/wch/r-source/blame/95146f0f366a36899e4277a6a722964a51b93603/src/library/tools/R...
2010 Aug 18
16
[PATCH 00 of 16] libxl: autogenerate type definitions and destructor functions
The series introduces auto-generation of the type definitions used in
the libxl interface followed by auto-generation of a destructor
function for each type. In the future it may be possible to use the
related data structures for other purposes, for example auto-generation
of the functions to marshal between C and language binding data types.
tools/_libxl_types.h should be identical both before