search for: smbstatus

Displaying 20 results from an estimated 1206 matches for "smbstatus".

2008 Sep 19
2
smbstatus - switched off computers are sometimes showed
...erver configured as PDC for ~100 computers. It's version 3.0.24 running on Debian Etch (distribution package). I want to write a tool for user logon/logoff tracking. Because parsing log files is hard job (windows frequently disconnets or connects during user session or etc.) I decide to use smbstatus output which seem to be reliable. So I run smbstatus binary every 10 seconds, parse the output and all is fine. But sometimes in the smbstatus output is show computer which is several hours switched off. At the next run (after 10s) this record is not presented. Sometimes this "ghost"...
2017 Apr 24
2
unable to run samba 4.6.2 bits compiled from source
...I am running ubuntu 14.04 LTS, kernel version 4.4.0-71-generic #92~14.04.1-Ubuntu SMP, originally the samba version was 4.3 I got hold of samba 4.6.2 Tar from the official repo, configured, compiled, and installed the bits. Unfortunately I am running into the following error: ~/work/samba-4.6.2$ smbstatus smbstatus: /usr/lib/x86_64-linux-gnu/libndr.so.0: version `NDR_0.0.6' not found (required by /usr/lib/samba/libsmbd-base-samba4.so) smbstatus: /usr/lib/x86_64-linux-gnu/libndr.so.0: version `NDR_0.0.6' not found (required by /usr/lib/samba/libndr-samba-samba4.so) smbstatus: /usr/lib/x86_64-...
2015 May 07
4
smbstatus -- protocol and feature information
Hi Jeremy, > > Do you think requesting this as a feature for smbstatus in the Samba bug > > tracker does make sense? > > Yes please. We certainly need a 'protocol' field somewhere > in the smbstatus output I think. done. https://bugzilla.samba.org/show_bug.cgi?id=11262 -- Adi
1999 Jul 15
3
"shared mem size" parameter and smbstatus
I am trying to use the "shared mem size" parameter in Samba 2.0.4b, but the size reported by smbstatus does not match the value I am using. Without the parameter, the default is 1MB, and the size reported by smbstatus is indeed 1048576. However, when I set the value of "shared mem size" to 5242880 (5MB), smbstatus says 879608. Is smbstatus not reporting the actual size, or is this accur...
2004 Nov 03
1
3.0.8pre2 and smbstatus
Hallo, in 3.0.8pre2 the smbstatus command always shows connections _and_ shares even if using the switches '-p' for showing processes only or '-S' for showing shares only or '-B' for showing locks only: test2 # smbstatus --help Usage: [OPTION...] -p, --processes Show processes only -v,...
2010 Oct 25
2
smbstatus questions
Hello list, I'm running a samba 3.5.3 CTDB cluster, found the output is different Q1: What does the "0:" mean in pid column? There was no such stuff in non-CTDB smbstatus output. <snip> samba_01:~ # smbstatus -S 2>/dev/null Service pid machine Connected at ------------------------------------------------------- ben 0:21363 samba Mon Oct 25 17:59:35 2010 ben 0:21442 samba Mon Oct 25 17:59:39 2010 <sn...
2015 May 07
2
smbstatus -- protocol and feature information
Hi Marc, > >Is there any tool like smbstatus that shows which protocol version (and > >possibly which features) a client is using in a connection? (Feature in > >the sense of 'using encryption' for example). > You can't see this in smbstatus or somewhere. A network trace would > show it. However, we had this ques...
2020 Aug 03
1
Statically build smbd and smbstatus
Hi Team, While building smbd and smbstatus statically I am getting below error (using make). *ERROR: source source3/smbd/notify_msg.c is in more than one subsystem of target 'smbstatus': ['smbd_base.objlist', 'smbstatus.objlist']* *Environment Details:* Machine: Ubuntu 18.04 Samba Version: 4.11.6 *My Makefile exc...
2016 Oct 20
2
CTDB and locking issues in 4.4.6 (Classic domain)
...using local databases and not clustered > > databases. > > > > What does "ctdb getdbmap" list? Is locking.tdb a clustered database? > > Do you have "clustering = yes" in smb.conf on all the nodes? > > > > Amitay. > > FYI as stated smbstatus -L shows locks from all hosts, prefixed by the PNN. That tells you that the locks are correctly stored in CTDB and smbstatus can find them. This means that smbd should be able to find them too. I can't help but think that smbd is somehow using different configuration than smbstatus. You don...
2001 Oct 31
1
smbstatus & connections.tdb
Greetings, After recently upgrading Samba from 2.0.7 to 2.2.2 on my Solaris Unix servers, I have problems running command 'smbstatus'. When I run smbstatus as root, it correctly displays connection information for users who've mapped network drives to server shares. However, when I run smbstatus as non-root, instead of displaying connection information, it issues the message "connections.tdb not initialised'....
2004 Jul 30
1
Samba 3 smbstatus not as good
I use a lot of "force user" and "force group" directives on various shares. With smbstatus of Samba 2 I could always verify with a glance what uid and gid a particular service is being accessed as, with Samba 3 you can't. I'd REALLY like to see that come back to smbstatus. Here's a real world example of my complaint... Samba 2 smbstatus output... Samba version 2.2.8a Serv...
2014 Dec 17
2
smbstatus issue in v4.1
In Samba 4.1 I get the following output for smbstatus: Samba version 4.1.1 PID Username Group Machine ------------------------------------------------------------------- 2482 john Everyone 10.0.0.109 (ipv4:10.0.0.109:49178) 7364 george Everyone 10.0.0.60 (ipv4:10.0.0.60:49232) In Samba 3.6...
2015 May 07
2
smbstatus -- protocol and feature information
Hi, I am trying to figure out what features in terms of protocols (SMB/CIFS, SMB2, SMB2.1, SMB3) a client uses when being connected to a Samba server (v4.1.17). Is there any tool like smbstatus that shows which protocol version (and possibly which features) a client is using in a connection? (Feature in the sense of 'using encryption' for example). Thanks, Adi
2019 Jun 17
1
smbstatus exit value
Hi, Despite looking at https://www.samba.org/samba/docs/current/man-html/smbstatus.1.html and "man smbstatus", I don't see how to know the full list of possible exit status for command smbstatus. All I could test brings an exit code of 0 in most cases and 255 if option -s is an unreadable file. Is there a man page that lists all possible return values? Regards Sa...
2006 Apr 29
1
What is the meaning of the output from smbstatus?
Hello, If I use Samba as a PDC, what does the output from "smbstatus" mean? Will all logged in users be displayed at all times when I do "smbstatus -b"? The reason I ask is that users who are logged in occasionally disappear from the output of smbstatus, even though they are still logged in. Is this to be expected? regards, David
2006 Oct 04
1
smbstatus
Hello all, I get the following and am not sure what is going on. Its on a solaris10 box. And my share is named 'hold' Thanks, Abhimanyu. # /opt/samba/bin/smbstatus Processing section "[hold]" Error loading module '/opt/samba/lib/charset/ISO8859-1.so': ld.so.1: smbstatus: fatal: /opt/samba/lib/charset/ISO8859-1.so: open failed: No such file or directory Repeats many times... Samba version 3.0.22 PID Username Group...
2015 Nov 17
1
smbstatus .. info..
Hai,   I just noticed the following.   When running   smbstatus –L   i get my output, and i see the users logged and the locks..   when runinng smbstatus –p   I see much more users these are logged out atm . And i see the pid with them but a ps on the pid gives noting.   Can someone explain this?   Gr..   Louis  
2000 Jan 11
0
SAMBA BUG: smbstatus 2.0.6 core dumps on Solaris 2.6 (SIGSEGV)
I am running Samba version 2.0.6 on Solaris 2.6. When I run smbstatus, it coredumps. Here is some detailed information that may help in killing this bug. This is a run of smbstatus where it coredumps, and afterwards, a gdb session. root@grads:/depot/samba-2.0.6/bin 174# ./smbstatus Samba version 2.0.6 Service uid gid pid machine ----------------...
2001 Dec 06
1
smbstatus connection.tdb not initialised
HI, I recently upgraded from SAMBA 2.0.7 to SAMBA 2.2.2. I downloaded the binaries (from samba.org binary packages) for HP UX 10.20. I am able to map drives and print however when I execute smbstatus (even at the root level) I get connections.tdb not initialised. This file does not exist in the /var/opt/samba/locks directory. I changed my log level to 3 to try to see what is going on but there is no complaining about the missing file. Not sure where to look next, hoping someone can help...
2017 Feb 02
2
Conversion error Illegal multibyte sequence in smbstatus
Hi, My output of smbstatus is bugged somehow in the Locked files section. For every line with a non ascii character, the whole string from the character to the end (included) is removed. Hence the line is attached to the next one. Here is a simplified example Locked files: Pid ... SharePath Name Time ----------------...