search for: setup_logging

Displaying 11 results from an estimated 11 matches for "setup_logging".

2020 Mar 19
0
smbclient(samba-4.10.4) cannot log data in log.smbclient while samba-3.6.23 can
...18 06:41:49 2020 > > ??? ??? 44732 blocks of size 1048576. 36679 blocks available > smb: \> q > # ls -ltr /var/log/samba/ > -rw-r--r--. 1 root root??? 242 Mar 18 08:13 log.smbclient > <<<<<<<Creates the file. > > > I tried breaking samba-4.10.4 in setup_logging() using gdb but on > running gdb "Single stepping until exit from function setup_logging, > which has no line number information", maybe its pproblem of gdb ad > gcc version mismatch but i am using both latest version. > samba-3.23 breaks perfactly into setup_logging(). &gt...
2010 Feb 03
1
virt-manager can't start
...Applications -> System Tools - Virtual Machine Manager popup following error; Traceback (most recent call last): File "/usr/share/virt-manager/virt-manager.py", line 346, in <module> main() File "/usr/share/virt-manager/virt-manager.py", line 248, in main setup_logging() File "/usr/share/virt-manager/virt-manager.py", line 124, in setup_logging os.mkdir(vm_dir) OSError: [Errno 17] File exists: '/home/satimis/.virt-manager' - end - $ ls -al /home/satimis/ | grep virt-manager drwxr-xr-x 2 root root 4096 2009-05-31 06:11 .virt...
2000 Jul 31
0
[patch] smbmount fixes for samba-2.0.7, testers wanted!
...to remove a few bugs from smbmount. It would be nice to get some testing+feedback on this from others using smbmount and possibly get these things fixed for the next release of samba. It does the following: * Change lib/debug.c to allow changing your mind on being interactive. A second call to setup_logging should now replace the effects of a previous call. (hmm, it probably only works for interactive -> non interactive) * Makes DEBUG() work in smbmount, even if running from autofs. Redirect stdout & stderr to /dev/null (well, it's better than to die because we wrote to a closed fi...
1999 May 01
0
smb client support in midnight commander
...in midnight commander to look at the code: http://24.1.180.14/smbfs.c, then mail me to get the location of the full MC source, which is 3.7MByte which i'm not sure I want everybody & their brother sucking up my bandwidth. The only change I had to make to samba source is dbf = stderr in setup_logging() in lib/debug.c so i could redirect messages to a fifo to view them on another terminal. Of particular difficulty is: since i cant send cli_chkpath when idle to keep connection alive, NT server times out & closes in 15-20min. So I have to catch the EPIPE myself to know when i need to close...
2020 Oct 13
0
Lookup sid with libsmbclient (invoked from c# on mono)
...a0f860, 0x55591347b1a0, 0x55591472db80, 0) = 0x555914732c30 20582 zero_sockaddr(0x7ffff4a0f660, 0x7f3e4c71b46c, 1, 0) = 2 20582 setlinebuf(0x7f3e4dc36500) = <void> 20582 setup_logging(0x555913401189, 3, 0, 0) = 1 20582 lp_set_cmdline(0x5559133fc8b3, 0x5559134010c4, 0x7f3e4e0da668, 0x746e65696c636370) = 1 20582 poptGetContext(0x555913401189, 6, 0x7ffff4a0f998, 0x7ffff4a0f6e0) = 0x55591473b310 20582...
2008 Dec 10
3
[ANNOUNCE] Samba 3.2.6 Available for Download
...crypto state set. * Fix trans2findfirst for the large directory optimization. * Fix checking for presence of cups-devel and correct cups-devel test for HAVE_IPRINT. o Derrell Lipman <derrell.lipman@unwireduniverse.com> * BUG 5805: Don''t close stdout when calling setup_logging multiple times. o Stefan Metzmacher <metze@samba.org> * Fix setting of trust password using ''net rpc trustdom add''. * Fix several issues in vfs_streams_xattr and vfs_stream_depot. * Return an error instead of crashing when no realm is given (trigerred by...
2008 Dec 10
3
[ANNOUNCE] Samba 3.2.6 Available for Download
...crypto state set. * Fix trans2findfirst for the large directory optimization. * Fix checking for presence of cups-devel and correct cups-devel test for HAVE_IPRINT. o Derrell Lipman <derrell.lipman@unwireduniverse.com> * BUG 5805: Don''t close stdout when calling setup_logging multiple times. o Stefan Metzmacher <metze@samba.org> * Fix setting of trust password using ''net rpc trustdom add''. * Fix several issues in vfs_streams_xattr and vfs_stream_depot. * Return an error instead of crashing when no realm is given (trigerred by...
2008 Nov 27
1
[Announce] Samba 3.3.0rc1 Available for Download
...* Fix memleak in calculate_next_machine_pwd_change. o Jeff Layton <jlayton@redhat.com> * mount.cifs: use lock/unlock_mtab scheme from util-linux-ng mount prog. o Derrell Lipman <derrell.lipman@unwireduniverse.com> * BUG 5805: Don''t close stdout when calling setup_logging multiple times. o Stefan Metzmacher <metze@samba.org> * Return an error instead of crashing when no realm is given. o TAKAHASHI Motonobu <monyo@samba.gr.jp> * 5901: Fix default value for streams_depot location. o Tim Prouty <tim.prouty@isilon.com> * Fix sev...
2008 Nov 27
1
[Announce] Samba 3.3.0rc1 Available for Download
...* Fix memleak in calculate_next_machine_pwd_change. o Jeff Layton <jlayton@redhat.com> * mount.cifs: use lock/unlock_mtab scheme from util-linux-ng mount prog. o Derrell Lipman <derrell.lipman@unwireduniverse.com> * BUG 5805: Don''t close stdout when calling setup_logging multiple times. o Stefan Metzmacher <metze@samba.org> * Return an error instead of crashing when no realm is given. o TAKAHASHI Motonobu <monyo@samba.gr.jp> * 5901: Fix default value for streams_depot location. o Tim Prouty <tim.prouty@isilon.com> * Fix sev...
2020 Oct 12
2
Lookup sid with libsmbclient (invoked from c# on mono)
Typical example: Here is some search & export for libsmbclient: adiant at ubuntu:/usr/lib/x86_64-linux-gnu$ nm -D libsmbclient.so.0 |grep cli_rpc_pipe_open_noauth_transport <nothing> adiant at ubuntu:/usr/lib/x86_64-linux-gnu$ nm -D libsmbclient.so.0 |grep cli_rpc_pipe_open U cli_rpc_pipe_open_noauth adiant at ubuntu:/usr/lib/x86_64-linux-gnu$ nm -D libsmbclient.so.0
2009 Sep 22
1
[PATCH] edit-livecd in python
.../tmp)") + + parser.add_option("", "--skip-compression", action="store_true", dest="skip_compression") + + parser.add_option("", "--skip-minimize", action="store_true", dest="skip_minimize") + + setup_logging(parser) + + (options, args) = parser.parse_args() + + if len(args) != 1: + parser.print_usage() + sys.exit(1) + + return (args[0], options) + + +def main(): + (livecd, options) = parse_options(sys.argv[1:]) + + if os.geteuid () != 0: + print >> sys.stderr,...