Displaying 17 results from an estimated 17 matches for "keystr".
2015 Jan 13
0
Smbd dumps core while starting
...005f6ff2c in tdb_open_log (name=0x11002e7f0 "/var/opt/samba/cache/gencache.tdb", hash_size=0, tdb_flags=2048, open_flags=258, mode=420)
at ../source3/lib/util_tdb.c:327
#2 0x0900000006435fd4 in gencache_init () at ../source3/lib/gencache.c:69
#3 0x0900000006436780 in gencache_parse (keystr=0x11002e750 "AD_SITENAME/DOMAIN/NAMDEV.NSROOTDEV.NET",
parser=@0x9001000a0d14608: 0x9000000064378c0 <gencache_get_data_blob_parser>, private_data=0xfffffffffffe630) at ../source3/lib/gencache.c:455
#4 0x0900000006436f4c in gencache_get_data_blob (keystr=0x11002e750 "AD_SIT...
2003 Sep 27
0
Samba 3(PDC) + winbind, anyone has it working ?
...d on a PDC/BDC), the result is true. Under this
situation wb_getpwnam is called with the domain
stripped(again confirmed by the winbindd log). So it
would call wb_getpwnam("root"). Below is the
wb_getpwnam function in winbindd_acct.c
WINBINDD_PW* wb_getpwnam( const char * name )
{
char *keystr;
TDB_DATA data;
static WINBINDD_PW *pw;
if ( !account_tdb && !winbindd_accountdb_init() ) {
DEBUG(0,("wb_getpwnam: Failed to open winbindd
account db\n"));
return NULL;
}
keystr = acct_userkey_byname( name );
data = tdb_fetch_bystring( account_tdb, keystr );
pw...
2008 Jun 01
3
Failed building 3.0.30 for tru64 4.0F
Dear friends,
I failed to buld samba 3.0.30 for tru64unix 4.0F.
I am curently locked to this os version due to other production
software.
We currently run Samba 2.2.8a but we were requested to upgrade by our
network group.
I downloaded 3.3.30 and did
$ cd source
$ ./configure
no warnings or errors as far as I could see, except
checking for replacing readdir using getdirentries()...
2014 Nov 03
0
[PATCH] customize: Add --ssh-inject option for injecting SSH keys.
...he Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ *)
+
+open Common_gettext.Gettext
+open Common_utils
+
+open Customize_utils
+
+open Printf
+open Sys
+open Unix
+
+module G = Guestfs
+
+type ssh_key_selector =
+| SystemKey
+| KeyFile of string
+| KeyString of string
+
+let rec parse_selector arg =
+ parse_selector_list arg (string_nsplit ":" arg)
+
+and parse_selector_list orig_arg = function
+ | [] | [ "" ] ->
+ SystemKey
+ | [ "file"; f ] ->
+ KeyFile f
+ | [ "string"; s ] ->
+ KeyStr...
2014 Nov 02
3
[PATCH] customize: Add --ssh-inject option for injecting SSH keys.
This adds a customize option:
virt-customize --ssh-inject USER[=KEY]
virt-builder --ssh-inject USER[=KEY]
virt-sysprep --ssh-inject USER[=KEY]
In each case this either injects the current (host) user's ssh pubkey
into the guest user USER (adding it to ~USER/.ssh/authorized_keys in
the guest), or you can specify a particular key.
For example:
virt-builder fedora-20 --ssh-inject root
2004 Feb 04
1
Signal 11 in smbd 3.0.2rc2 on printer operation!
...at lib/fault.c:41
counter = 1
#5 0x081d19ba in sig_fault (sig=11) at lib/fault.c:61
No locals.
#6 0x400d96b8 in sigaction () from /lib/libc.so.6
No symbol table info available.
#7 0x0820b54b in print_queue_status (snum=1, ppqueue=0xbffff4d0,
status=0xbffff4d4) at printing/printing.c:2283
keystr = "STATUS/hpljet8100n\0\0\001\0\0\0 ??? V\034@?B<\b?\006 \b@L=\b\0\0\0\0\0\0\0\0?\021}\034_duB\227P??.\232:?\0\0\0\0\0\0\0\0D???,???Q0\026\b\004\0\0\0D???\024\0\0\0\0\0\0\0\001\0\0\0\0\0\0\0\004\0\0\0\0\0\0\0\002\0\0\08U=\bL???\0361\026\b\220\026=\bD???x???\004\0\0\0\0\0\0\0\001\0\0\0|????\...
2015 Jan 08
3
Smbd dumps core while starting
updated smb.conf, still same error. details below.
# cat /etc/samba/smb.conf
[global]
workgroup = NAMDEV
realm = NAMDEV.NSROOTDEV.NET <http://namdev.nsrootdev.net/>
client ldap sasl wrapping = seal
;username map = /etc/opt/samba/users.map
encrypt passwords = yes
client ntlmv2 auth = yes
client lanman auth = no
client plaintext auth = no
lanman auth = no
ntlm auth
2020 Jan 22
0
[PATCH] mltools, options: support --allow-discards when decrypting LUKS devices
..._do_decrypt (g, ks);
+ inspect_do_decrypt (g, ks, Int_val (allowdiscards));
CAMLreturn (Val_unit);
}
diff --git a/mltools/tools_utils.ml b/mltools/tools_utils.ml
index 1271802..cb94125 100644
--- a/mltools/tools_utils.ml
+++ b/mltools/tools_utils.ml
@@ -29,7 +29,7 @@ and key_store_key =
| KeyString of string
| KeyFileName of string
-external c_inspect_decrypt : Guestfs.t -> int64 -> (string * key_store_key) list -> unit = "guestfs_int_mllib_inspect_decrypt"
+external c_inspect_decrypt : Guestfs.t -> int64 -> (string * key_store_key) list -> bool -> unit...
2014 Aug 19
3
[LLVMdev] [RFC] Removing static initializers for command line options
I’d like to propose moving forward with the first phase of my proposal to make the cl::opt structures owned and eliminate global option storage. I’d also like to add to it that when updating passes I will ensure that each pass that has cl::opts also has a default constructor, an overridden constructor to populate each option, and the corresponding factory methods for the C API.
Does this sound
2018 Sep 19
0
[PATCH 2/2] Introduce a --key option in tools that accept keys
...rypt (g);
+ while (keysv != Val_emptylist) {
+ struct key_store_key key;
+
+ elemv = Field (keysv, 0);
+ key.device = strdup (String_val (Field (elemv, 0)));
+ if (!key.device)
+ caml_raise_out_of_memory ();
+
+ v = Field (elemv, 1);
+ switch (Tag_val (v)) {
+ case 0: /* KeyString of string */
+ key.type = key_string;
+ key.string.s = strdup (String_val (Field (v, 0)));
+ if (!key.string.s)
+ caml_raise_out_of_memory ();
+ break;
+ case 1: /* KeyFileName of string */
+ key.type = key_file;
+ key.file.name = strdup (String_val (Fiel...
2020 Jan 27
3
[PATCH v2 1/2] mltools, options: support --allow-discards when decrypting LUKS devices
..._do_decrypt (g, ks);
+ inspect_do_decrypt (g, ks, Int_val (allowdiscards));
CAMLreturn (Val_unit);
}
diff --git a/mltools/tools_utils.ml b/mltools/tools_utils.ml
index 1271802..cb94125 100644
--- a/mltools/tools_utils.ml
+++ b/mltools/tools_utils.ml
@@ -29,7 +29,7 @@ and key_store_key =
| KeyString of string
| KeyFileName of string
-external c_inspect_decrypt : Guestfs.t -> int64 -> (string * key_store_key) list -> unit = "guestfs_int_mllib_inspect_decrypt"
+external c_inspect_decrypt : Guestfs.t -> int64 -> (string * key_store_key) list -> bool -> unit...
2018 Sep 19
5
[PATCH 0/2] RFC: --key option for tools
Hi,
the following series adds a --key option in the majority of tools: this
makes it possible to pass LUKS credentials programmatically, avoid the
need to manually input them, or unsafely pass them via stdin.
Thanks,
Pino Toscano (2):
mltools: create a cmdline_options struct
Introduce a --key option in tools that accept keys
builder/cmdline.ml | 2 +-
2020 Jan 21
12
[PATCH 0/1] WIP: Support LUKS-encrypted partitions
The following patch attempts to implement sparsification of
LUKS-encrypted partitions. It uses lsblk to pair the underlying LUKS
block device with its mapped name. Also, --allow-discards was added
by default to luks_open().
There are several potential issues that I can think of:
1) If and entire device is encrypted (not just one of more partitions),
the lsblk trick might not work.
2) The
2013 Jan 07
2
Samba 4 on AIX with XLC
Has anyone tried building Samba 4.0 on AIX with XLC?
I'm moving right along, but tripping up on some bugs in source3/utils/net_rpc.c, source3/utils/net_rpc_printer.c, and source3/utils/net_cache.c where there is an invalid use of the ":" operator. According to some other posts on the PostgreSQL forum, this shouldn't compile anywhere, even though GCC apparently allows it??
2015 Oct 06
0
[PATCH 5/5] mllib: Replace various ad hoc string_* functions with String.*
...ot;:" arg)
and parse_selector_list orig_arg = function
| [ "lock"|"locked" ] ->
diff --git a/customize/ssh_key.ml b/customize/ssh_key.ml
index dd6056f..a4e4a51 100644
--- a/customize/ssh_key.ml
+++ b/customize/ssh_key.ml
@@ -33,7 +33,7 @@ type ssh_key_selector =
| KeyString of string
let rec parse_selector arg =
- parse_selector_list arg (string_nsplit ":" arg)
+ parse_selector_list arg (String.nsplit ":" arg)
and parse_selector_list orig_arg = function
| [] | [ "" ] ->
diff --git a/customize/subscription_manager.ml b/cus...
2015 Oct 06
10
[PATCH 0/5] mllib: Hide bad String functions and miscellaneous refactoring.
Hide/prevent the use of bad string functions like String.lowercase.
These are replaced by safe functions that won't break UTF-8 strings.
Other miscellaneous refactoring.
Rich.
2017 Apr 04
1
[PATCH] Use Unicode single quotes ‘’ in place of short single quoted strings throughout.
...UVWXYZabcdefghijklmnopqrstuvwxyz0123456789./"
diff --git a/customize/ssh_key.ml b/customize/ssh_key.ml
index 41f900af1..4302a8e92 100644
--- a/customize/ssh_key.ml
+++ b/customize/ssh_key.ml
@@ -41,7 +41,7 @@ and parse_selector_list orig_arg = function
| [ "string"; s ] ->
KeyString s
| _ ->
- error (f_"invalid ssh-inject selector '%s'; see the man page") orig_arg
+ error (f_"invalid ssh-inject selector ‘%s’; see the man page") orig_arg
(* Find the local [on the host] user's SSH public key. See
* ssh-copy-id(1) default_ID_fi...