search for: smbtree

Displaying 20 results from an estimated 108 matches for "smbtree".

2013 Nov 12
1
static link libsmbclient.a got a lot of error, and how to include "smbtree" feature in program
...some questions when writing a lib with libsmbclient-dev ,my target environment is on any linux system. 1 I want to static link libsmbclient.a instead of using libsmbclient.so, but I got a lot of error , am I able to use libsmbclient-dev using static link? 2 I found that ?smbtree? command is more stable in finding all those domains and servers than ?smb://? , am I right? why? 3 so I used pipe run way to call ?smbtree? command to get all the servers , but that requires installing samba-common ,can anybody tell me which part of samba source code is for ?smbtree...
2017 Sep 18
1
Newer SMBTREE versions don't find all systems.
...e __MSBROWSE__ on it. On Win7 which is a member of the COMPANY domain and view network I see the PC1, PC2, I see the Wheezy machine, see another one that is a VM, See the main domain server, another terminal server, and a Win2K8R2 sever in a VM with SMBv1 disabled, and a NAS device. When I run smbtree -N -S using the 4.4.15 version from another system, I get WORKGROUP showing then indented under it are the two Wheezy systems (VM and machine), the NAS, and the Win2K8R2 sever with SMBv1 disabled, then COMPANY and indented under that is the main domain server. When I run smbtree -N-S using the mor...
2014 Apr 04
1
Odd file locking issue with one of our SMB servers....
...re allow guests = Yes template homedir = /home/%U template shell = /bin/bash winbind use default domain = Yes winbind refresh tickets = Yes winbind offline logon = Yes idmap config * : range = 10000-20000 idmap config * : backend = tdb [old-atlas] comment = Old data from Atlas path = /srv/smbtree/old-atlas read only = No create mask = 0775 directory mask = 0775 inherit acls = Yes ea support = Yes store dos attributes = Yes [IT] comment = Information Technology shared documents path = /srv/smbtree/Departments/IT read only = No create mask = 0775 directory mask = 0775 inherit acl...
2017 Apr 14
2
smbtree command shows nothing with SMB2/3
Hi, I am using samba 4.5.4 in my fedora machine. when I execute "smbtree" command it shows nothing with SMB2 protocol. If I change my client max protocol=NT1 in smb.conf, I can see all server present in my Network. looks like below bug. https://bugzilla.samba.org/show_bug.cgi?id=12431 Can it be fixed or someother options can be used for the same to work with prot...
2015 May 22
1
smbtree vs nmblookup while looking for servers list
Hello everyone on the list, can't someone pls help me to figure out why I can't see all SMB shares available using smbtree, while it's fine using nmblookup |pit at t430s:/usr/src/samba/samba-3.6.6/examples/libsmbclient$ nmblookup -S 'WORKGROUP' querying WORKGROUP on 192.168.0.255 192.168.0.86 WORKGROUP<00> Looking up status of 192.168.0.86 T430S <00> -...
2008 Oct 26
0
Samba findsmb and smbtree inconsistent
...ewall findsmb still doesn't list the windows machine. I also tried disabling windows firewall, still nothing. I allow all traffic to my linux machine from lan interface (currently). This problem is somewhat similar to http://lists.samba.org/archive/samba/2008-April/139914.html. Secondly, smbtree doesn't always return consistent results. When I restart my windows machine and do a smbtree from the linux machine, all of the shared folders for linux and windows are listed. Then a few minutes later smbtree may only lists linux shared folders. It seems inconsistent, is this normal? sm...
2009 Aug 24
0
Slimming down smbtree?
Sorry if these questions are getting tiring, but I want to get the list of servers from "smbtree -NS" from an embedded system (e.g., custom wireless router firmware). Unfortunately, compiling smbtree ends up being a couple of MB large. I've tried a bunch of basic optimizations to shrink the executable size as possible (e.g., using -f{function,data}-sections and --gc-sections, removi...
2009 Dec 12
0
smbtree errors
Hi, I have rhel5 server installed and windows 2k3 in vmware as guest. When I run smbtree on terminal to see the shaes it gives as folows.. # smbtree > Password: > Segmentation fault > and sometimes > #smbtree > Password: > WORKGROUP > \\PDK-XP > cli_rpc_pipe_open: cli_nt_create failed on pipe \srvsvc to machine PDK-XP. > Error was NT_STATUS_ACCE...
2009 Feb 06
2
smbtree Error NT_STATUS_HOST_UNREACHABLE
...WORKGROUP netbios name = PS3YDL hosts allow = 192.168.1. security = share client lanman auth = yes lanman auth = yes domain master = no local master = yes [= no doesn't change anything] preferred master = no [share] path = /ps3share read only = no browseable = yes guest ok = yes # smbtree (from ps3ydl) ---------------------------------- WORKGROUP \\DSLKAYAK Samba 3.2.4 \\DSLKAYAK\OfficeJetG85 OfficeJetG85 \\DSLKAYAK\IPC$ IPC Service (Samba 3.2.4) \\DSLKAYAK\print$ P...
2016 Jun 29
0
has 'smbtree -N' been emasculated lately?
I know smbtree -N used to do what I wanted, because I created an alias to it in ~/.bashrc called netview (based upon 'net view' in OS/2) many moons ago, when findsmb quit working. Now when I try it in *buntu 16.04 or any recent openSUSE or Knoppix (e.g. with samba 4.2.4 in OS 13.1 or 42.1), I always ge...
2016 Jul 05
0
'smbtree -N' produces null output
I know smbtree -N used to do what I wanted, because I created an alias to it in ~/.bashrc called netview (based upon 'net view' in OS/2) many moons ago, when findsmb quit working. Now when I try it in *buntu 16.04 or any recent openSUSE or Knoppix (e.g. with samba 4.2.4 in OS 13.1 or 42.1), I always ge...
2006 Oct 14
2
(no subject)
I have a problem with smbtree. When I try smbtree -N on my PC I receive: Got a positive name query response from 192.168.0.100 ( 192.168.0.100 ) read_socket_with_timeout: timeout read. read error = Connection reset by peer. failed tcon_X with NT_STATUS_INVALID_NETWORK_RESPONSE read_socket_with_timeout: timeout read. read error...
2013 Mar 27
0
smbtree or smbclient or smbclient4 cannot get share directory from win7 with SMB2 setting
Hi all, Actually I have just updated my ubuntu pc with kernel 3.8.4 and did try succesfully with mount with cifs type with win7 pc with smb2 protocol.But I encountered failure with the tools, smbtree or smbclient or smbclient4 to list out the share directory.. Are these clients tools already support SMB2 protocol?Thanks for take time to read, thousand thanks! Regards,Wong
2017 Aug 31
2
Workgroup Domain
...issue I'm having - Just set up a new server (RHEL 7.4) and have migrated my samba configuration from my old server (Fedora 25), I'm experiencing an issue where by if my the name of my workgroup a domain i.e. it has a period in it, then none of my Linux clients can detect the broadcast and smbtree on both client and server is completely empty. I can manually connect via domain, hostname, ip etc... If I take this further and run smbtree -d4, then I can see that it's complaining about not being able to determine the master browser for WORKGROUP.COM <http://workgroup.com/>. In Window...
2004 Oct 19
1
Bug 135832 - smbtree frees invalid pointer
hi, it's be useful fix in the upstream too: <https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=135832> -- Levente "Si vis pacem para bellum!"
2004 Dec 08
1
samba - bind : program guideline suggestion
Hi all ! I'm currently developping a program that takes the smbtree output, parse it, retrieve all connected workstations, then call nmblookup for each workstation, resolve the IP, create a BIND zone file with this. At this point, the programs works; I use system( " ") calls and unsafe temporairy files. I just wanted to get it up quickly Now; to sec...
2003 Oct 20
1
Getting a list of all possible smb mounts (and bug report on smbtree)
...d > all machines in the workgroup, and sometimes finds machines that > have been turned off ages ago (I know this isn't samba's fault). > > Is there a better way to get a list of available SMB mounts, or at least a > workaround for the long hangs? > Have you tried the smbtree program in samba-3.0.0? It seems to be a bit broken in samba-3.0.1pre1 though ... firstly it wants to be able to write to the log directory, and after changing the perms on the log directory, it dies loading codepages: write(1, "Adding chars 0x7d 0x0 (l->u = Fa"..., 52Adding chars 0x...
2009 Sep 06
1
NT_STATUS_BAD_NETWORK_NAME
Hi i'm trying to list the shares on my Brother HL-5250DN printer with the smbtree command on linux but i keep getting the NT_STATUS_BAD_NETWORK_NAME error message. I can however print to one of the shared printing services with cups through the Device URI: smb://BRN_E1BEFA/BINARY_P1. Does anyone know what the problem could be? linux-wick:~ # smbtree Password: WORKGROUP...
2014 Apr 30
1
Previous versions of samba or how to disable NTML2 authentication
...ion of samba? Alternatively, how do I disable NTMLv2 on my Linux PC? The settings in the link below work for Windows 7 and I can access my Terastation again from Windows 7, but how do I do this on a Linux PC (Ubuntu 14.04)? http://digitalquery.com/blog/2006/09/vista_and_buffalo_terastation/ smbtree finds the Tersstation, but says "Incomplete multibyte sequence" and doesn't list any of the shares. smbtree works for my LinkStation. Thanks in advance Adrian
2005 Mar 07
1
hostnames resolve to wrong IPs - and sometimes shares become inaccessible
...ess is denied. Rebooting the Windows box allows access again. I cannot figure the possible cause except that WinXP was updated ~about~ the time the problems began. Need I say that they have no idea what function was affected by the update. Accessing remotely I see some strange behaviour. Running smbtree results in several errors about not being able to connect to some addresses that are remote. A snip of one message appears below: ===== \\FIFTY Cosmo Error connecting to 203.202.16.55 (Invalid argument) cli_full_connection: failed to connect to FIFTY<20> (203...