search for: open_flag

Displaying 20 results from an estimated 49 matches for "open_flag".

2017 Jul 11
0
[PATCH] hivexml: Add -u flag for HIVEX_OPEN_UNSAFE
--- xml/hivexml.c | 5 ++++- xml/hivexml.pod | 7 +++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/xml/hivexml.c b/xml/hivexml.c index b496bb6..8ba6594 100644 --- a/xml/hivexml.c +++ b/xml/hivexml.c @@ -95,7 +95,7 @@ main (int argc, char *argv[]) int open_flags = 0; int visit_flags = 0; - while ((c = getopt (argc, argv, "dk")) != EOF) { + while ((c = getopt (argc, argv, "dku")) != EOF) { switch (c) { case 'd': open_flags |= HIVEX_OPEN_DEBUG; @@ -103,6 +103,9 @@ main (int argc, char *argv[]) case ...
2014 Jun 23
1
qemu+tls question
...qemu+tls://<remote_host>/system Traceback (most recent call last): File "/usr/share/virt-manager/virtManager/connection.py", line 1056, in _open_thread self._backend.open (self._do_creds_password) File "/usr/share/virt-manager/virtinst/connection.py", line 158, in open open_flags) File "/usr/lib64/python2.7/site-packages/libvirt.py", line 102, in openAuth if ret is None:raise libvirtError('virConnectOpenAuth () failed') libvirtError: Unable to read TLS confirmation: Input/output error Any suggestions? -- Fl@sh
1999 May 28
2
Help! problems with Arcserve. Can someone decrypt the logs ?
...to "error" lines. +++++++++ [1999/05/28 08:56:33, 2] locking/locking_shm.c:shm_del_share_mode(376) del_share_modes num entries = 0, deleting share_mode dev=808 ino=1574994 [1999/05/28 08:56:33, 3] smbd/open.c:fd_attempt_close(158) fd_attempt_close fd = 8, dev = 808, inode = 1574994, open_flags = 2, ref_count = 1. [1999/05/28 08:56:33, 2] smbd/close.c:close_normal_file(165) root closed file home/eft_oper/eftcomc3/userpar2.ntx (numopen=2) [1999/05/28 08:56:33, 3] smbd/process.c:process_smb(615) Transaction 550479 of length 121 [1999/05/28 08:56:33, 3] smbd/process.c:switch_message(44...
1998 Sep 15
0
Directories show empty after some time ...
...ev 1 inode 25821394) set_share_mode: Created share entry for ./ with mode 0x40 pid=142426 del_share_modes Deleting share mode entry dev=1 ino=25821394 del_share_modes num entries = 0, deleting share_mode dev=1 ino=25821394 fd_attempt_close on file_fd_struct 3, fd = 12, dev = 1, inode = 18a00d2, open_flags = 0, ref_count = 1. 1998/09/15 14:18:11 gg closed file ./ (numopen=2) 1998/09/15 14:18:11 error packet at line 1404 cmd=45 (SMBopenX) eclass=1 ecode=5 1998/09/15 14:18:12 Transaction 1493 of length 96 switch message SMBtrans2 (pid 142426) call_trans2findfirst: dirtype = 22, maxentries = 6, cl...
2017 Feb 16
6
[PATCH v4 0/5] hivex: handle corrupted hives better.
The following patches address issues when dealing with hives that have corrupted data in them but are otherwise readable/writable. Those were found on some rather rare Windows installations that seem to work fine but current hivex fails to even open. Those patches change hivex to simply log and ignore such "corrupted" regions instead of aborting because the caller might be looking at
2012 Mar 15
5
no connection driver available for No connection for URI xen:///
...uot;, line 984, in main conn = cli.getConnection(options.connect) File "/usr/lib/python2.6/site-packages/virtinst/cli.py", line 327, in getConnection conn = open_connection(uri) File "/usr/lib/python2.6/site-packages/virtinst/cli.py", line 342, in open_connection open_flags) File "/usr/lib64/python2.6/site-packages/libvirt.py", line 102, in openAuth if ret is None:raise libvirtError(''virConnectOpenAuth() failed'') libvirtError: no connection driver available for No connection for URI xen:/// Thanks in advance, -- Su Zhang Ph.D Candi...
2012 Mar 15
5
no connection driver available for No connection for URI xen:///
...uot;, line 984, in main conn = cli.getConnection(options.connect) File "/usr/lib/python2.6/site-packages/virtinst/cli.py", line 327, in getConnection conn = open_connection(uri) File "/usr/lib/python2.6/site-packages/virtinst/cli.py", line 342, in open_connection open_flags) File "/usr/lib64/python2.6/site-packages/libvirt.py", line 102, in openAuth if ret is None:raise libvirtError(''virConnectOpenAuth() failed'') libvirtError: no connection driver available for No connection for URI xen:/// Thanks in advance, -- Su Zhang Ph.D Candi...
2018 Jan 30
3
[PATCH] daemon: build also without Hivex.OPEN_UNSAFE (RHBZ#1493048)
...General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + *) + +val hivex_flag_unsafe : Hivex.open_flag list diff --git a/daemon/inspect_utils.ml b/daemon/inspect_utils.ml index 5127bf30f..b2ce072d6 100644 --- a/daemon/inspect_utils.ml +++ b/daemon/inspect_utils.ml @@ -176,7 +176,7 @@ let parse_version_from_major_minor str data = ) let with_hive hive_filename f = - let flags = [ Hivex.OPEN_UNS...
1998 Apr 16
2
Problem with visual C++ and samba
...f length 46 switch message SMBclose (pid 1726) Skipping become_user - already user del_share_modes Deleting share mode entry dev=2098183 ino=154502 del_share_modes num entries = 0, deleting share_mode dev=2098183 ino=154502 fd_attempt_close on file_fd_struct 4, fd = 13, dev = 200407, inode = 25b86, open_flags = 2, ref_count = 1. 04/16/1998 13:58:53 dvise closed file dvise-dev/win32.d/src/dmcad/libdnrb/vc50.pch (numopen=1) 04/16/1998 13:58:53 close fd=-1 fnum=14 cnum=67 (numopen=1) 04/16/1998 13:58:53 Transaction 218249 of length 46 Log file from working compilation switch message SMBopenX (pid 1726)...
1999 May 26
6
Changing Windows passwords
Hi all, Is there a way to use the "encrypt passwords" and the "passwd chat" programs simultaneously? smb.conf(5) doesn't mention anything about them being mutually exclusive, yet when I run testparm on the smb.conf file, I get: ERROR: the 'passwd chat' script [...] expects to use the old plaintext password via the %o substitution. With encrypted passwords
1999 Jan 21
4
HPUX 9.05 & Samba 2.0.0 & problems !
...53) del_share_modes Deleting share mode entry dev=7201600 ino=47318 [1999/01/21 14:02:33, 2] locking/locking_shm.c:(374) del_share_modes num entries = 0, deleting share_mode dev=7201600 ino=47318 [1999/01/21 14:02:33, 3] smbd/open.c:(155) fd_attempt_close fd = 15, dev = 7201600, inode = 47318, open_flags = 2, ref_count = 1. [1999/01/21 14:02:33, 2] smbd/close.c:(163) vertex closed file PROJEKTIT/dbases/d_LASKUTUSc (numopen=10) [1999/01/21 14:02:33, 3] smbd/process.c:(565) Transaction 202301 of length 574 [1999/01/21 14:02:33, 3] smbd/process.c:(402) switch message SMBwrite (pid 26589) [1999...
2017 Feb 16
0
[PATCH v4 1/5] add HIVEX_OPEN_UNSAFE flag.
...ator/generator.ml | 8 ++++++++ lib/handle.c | 1 + lib/hivex-internal.h | 1 + 3 files changed, 10 insertions(+) diff --git a/generator/generator.ml b/generator/generator.ml index e71a0e7..4125ae7 100755 --- a/generator/generator.ml +++ b/generator/generator.ml @@ -113,6 +113,7 @@ let open_flags = [ 1, "VERBOSE", "Verbose messages"; 2, "DEBUG", "Debug messages"; 4, "WRITE", "Enable writes to the hive"; + 8, "UNSAFE", "Enable heuristics to allow read/write of corrupted hives"; ] (* The API calls....
2001 Mar 28
1
converting /usr partition
Hi, I just started testing ext3 and perhaps I missed some docs explaining how to convert system partition other than /, like /usr for example . As I have 2 Linux versions on my test machine, I managed to convert /usr by entering the mount -o journal=NNN command from the second OS, but I don't like it. Any suggestions or docs to look at? Thanks in advance Vieri
1999 Jun 29
0
Help. Unable to print from NT
...04) [1999/06/29 15:26:28, 4] smbd/uid.c:become_user(209) Skipping become_user - already user [1999/06/29 15:26:28, 3] smbd/reply.c:reply_close(2739) close fd=11 fnum=4328 (numopen=1) [1999/06/29 15:26:28, 3] smbd/open.c:fd_attempt_close(158) fd_attempt_close fd = 11, dev = 306, inode = 15695, open_flags = 2, ref_count = 1. [1999/06/29 15:26:28, 5] smbd/files.c:fd_ptr_free(353) freed fd_ptr structure (1 used) [1999/06/29 15:26:28, 3] printing/printing.c:print_file(124) Running the command `lp -c -dlp JCHI.xekrSE; rm JCHI.xekrSE' gave 0 [1999/06/29 15:26:28, 2] smbd/close.c:close_normal_fil...
1999 Apr 20
0
Samba 2.0.3 and lotus notes client (PR#15717)
...5] ../source/smbd/files.c:(173) allocated fd_ptr structure (4 used) [1999/04/20 14:52:23, 3] ../source/smbd/open.c:(502) Error opening file notes/data (Is a directory) (flags=2) [1999/04/20 14:52:23, 3] ../source/smbd/open.c:(155) fd_attempt_close fd = -1, dev = ffffffff, inode = 4294967295, open_flags = 2, ref_count = 1. [1999/04/20 14:52:23, 5] ../source/smbd/files.c:(359) freed fd_ptr structure (3 used) Regards, Eddy Reniers -- Reniers, ing. C.M.E. Philips Research Laboratories Building WY p 023, Prof. Holstlaan 4, 5656 AA Eindhoven, The Netherlands Phone...
2011 Mar 06
0
guest creation problem on pv dom0 kernel
...install", line 715, in main conn = cli.getConnection(options.connect) File "/usr/lib/pymodules/python2.6/virtinst/cli.py", line 162, in getConnection conn = open_connection(connect) File "/usr/lib/pymodules/python2.6/virtinst/cli.py", line 177, in open_connection open_flags) File "/usr/lib/python2.6/dist-packages/libvirt.py", line 111, in openAuth if ret is None:raise libvirtError('virConnectOpenAuth() failed') libvirtError: unable to connect to 'localhost:8000': Connection refused I am able to see xm info output but some how the guest...
2017 Nov 07
0
[PATCH] common/mlstdutils: Add with_openfile function.
...b/common/mlstdutils/std_utils.mli @@ -399,6 +399,12 @@ val with_open_out : string -> (out_channel -> 'a) -> 'a return or if the function [f] throws an exception, so this is both safer and more concise than the regular function. *) +val with_openfile : string -> Unix.open_flag list -> Unix.file_perm -> (Unix.file_descr -> 'a) -> 'a +(** [with_openfile] calls function [f] with [filename] opened by the + {!Unix.openfile} function. The file is always closed either on + normal return or if the function [f] throws an exception, so this + is both...
2015 Jan 13
0
Smbd dumps core while starting
...e. Core was generated by `net'. Program terminated with signal 4, Illegal instruction. #0 0x0000000000000000 in ?? () (gdb) where #0 0x0000000000000000 in ?? () #1 0x0900000005f6ff2c 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 <genc...
2017 Nov 05
0
[PATCH 2/2] common/mlstdutils: Add with_openfile function.
...b/common/mlstdutils/std_utils.mli @@ -399,6 +399,12 @@ val with_open_out : string -> (out_channel -> 'a) -> 'a return or if the function [f] throws an exception, so this is both safer and more concise than the regular function. *) +val with_openfile : string -> Unix.open_flag list -> Unix.file_perm -> (Unix.file_desc -> 'a) -> 'a +(** [with_openfile] calls function [f] with [filename] opened by the + {!Unix.openfile} function. The file is always closed either on + normal return or if the function [f] throws an exception, so this + is both s...
2007 Aug 03
2
vfile ACL's
(Sorry for the impatience. This was one of several questions in my email from yesterday. I thought I might have better luck being more direct.) Is there a way to set ACL's, using the vfile backend, on a truly global basis? or hierarchically (i.e. .Maildir.Sub inherits from .Maildir)? The wiki page says: "The default ACLs for mailboxes is to give owner all permissions and other users