Ubuntu Networking :: Smbclient Not Working With Windows 7?
Jun 4, 2010
I have been using Ubuntu for a while now and have never run into something like this that I haven't been able to find on the forums. My problem is quite similar to this post [URL]
Description:
I have a Windows 7 x64 machine and a Ubuntu 10.04 Server machine. I also have a share called "stuff" on the Windows machine. I can run the following command and it mounts the share successfully :
Code:
sudo mount -t cifs //windows_machine/stuff -o user=usr,password=pswd /path/local/folder
However, if I run smbclient it fails with this error
Quote:
session setup failed: SUCCESS - 0
[Code].....
View 6 Replies
ADVERTISEMENT
Apr 4, 2010
I am trying to allow my mother's Acer Aspire One (OS: Linpus Linnux Lite) to print on the WIFI Canon Pixma MP620 printer. The rest of the computers connected in the house run some variant of Windows. The printer has been set up to print wirelessly from the Windows computer. Having searched the internet for hours, I have determined that there aren't any drivers for that particular printer.
My potential solutions are:
1. Buy a new printer
2. Install Windows on the Aspire One (Last resort!)
3. Use this piece of software (http://www.printeranywhere.com/), which is installed on my Windows 7 computer which is on 90% of the time, and find some way to install it on Linux. (I tried Wine, and it opened up the installation .exe but when it came to actually installing, returned an error saying it needed to be installed on the same drive. :S)
4. Follow this tutorial (http://justin.yackoski.name/winp/) to print via my computer.
I think I will manage to follow the tutorial fine (as a complete Linux novice!), but I am having some problem with simply connecting to my Windows share folder, which I came across on this line of the tutorial: Test that you can access the share from the linux PC via smbclient. I.e., run: smbclient //windows_pc/spool -U print and make sure you can put a file into that shared directory. After I enter the password, as prompted, is returns:
session setup failed: SUCCESS - 0
When I try: "smbclient -L //WILL-PC -U Will", and then enter my password as prompted, it returns the same error. However if I try: "smbclient -L //WILL-PC -N", it returns: Anonymous login successful. Then my correct Domain, OS and server details. Then the titles: Sharename, Type and Comment
And then the following:
cli_rpc_pipe_open: cli_nt_create failed on pipe srvsvc to machine WILL-PC. Error was NT_STATUS_ACCESS_DENIED
Error returning browse list: NT_STATUS_ACCESS_DENIED
Anonymous login successful
Then the same correct Domain, OS and server details
Then two headings: Server and Comment, each of which have a different entry below them to do with my printer.
Then the two headings: Workgroup and Master, below which there are two different workgroups that we have, and my computer and my sisters laptop.
View 14 Replies
View Related
Jun 5, 2011
In this tutorial I have shown how we can share a folder from Windows to Linux, [URL]. The author of the video is not responsible if something is broken.
View 3 Replies
View Related
Sep 23, 2010
I've recenelty setup a backup server using Ubuntu server 10.4 x64.
I'm currently attempting to get the server to connect to windows vista and windows 7 shares on the network.
When running the command
Code:
smbclient \\hazard-pc\test
a prompt for a password appears, I enter nothing and am then presented with. I am not using passwords on the windows shares.
Code:
smb: >
If I attempt to list the directory using ls then I get the following error:
Code:
smb: > ls
NT_STATUS_ACCESS_DENIED listing *
57138 blocks of size 1048576. 32044 blocks available
smb: >
I've looked on google and on here and have not been able to find anything that works. I also don't have any xp machines to test with either.
I discovered this issue whilst trying to configure the backuppc service using smb.
View 1 Replies
View Related
Jan 14, 2010
My OS is F11 and i've two systems; i'm running Samba server on one system and i've login on the client system and trying to login to the Samba server using smbclient but it's not working.Can someone give me the command to login to the Samba server using smbclient!
View 1 Replies
View Related
Apr 26, 2010
i am trying to send message through terminal with smbclient, i have searched the net and found this command
Code:
smbclient -M <hostname>
now i am confused on hostname, which i open the network folder i see to icons
1. is my laptop
2. Windows Network
when i enter Windows Network folder i see 2 more icons
1.MSHOME
2.WORKGROUP
and when i enter MSHOME folder i see one icon 1. MIRZA-SAAD this is the computer which has xp in it i want to send message to it with smbclient now how when i write this command i see this error
Code:
amir@amir-laptop:~$ smbclient -M //MSHOME/MIRZA-SAAD/
Connection to //MSHOME/MIRZA-SAAD/ failed. Error NT_STATUS_BAD_NETWORK_NAME
View 7 Replies
View Related
Jan 2, 2010
I reinstalled Slackware lastnight and was configuring Samba today and when I tested the config (I had just copied over my working smb.conf) I kept getting an NT_LOGON error when I run:
PHP Code:
smbclient -l MYSERVER
from the root account after entering root's password.
I can log in through konqueror if I pass the credentials of the only user defined in smb.conf after I'd run smbpasswd for that user, and if I bring up a full terminal session for that user smbclient works fine, but it seems odd that root can't access the shares on the machine. I may have just never noticed this before because I usually test from a user account, but is this normal since I specifically only define one user where samba is concerned? I'm mainly asking because I was getting some unexpected write errors last night while I was installing the multilib libraries for Slack64 as root and I'm trying to verify everything.
View 2 Replies
View Related
Sep 20, 2010
I can use smbclient -U name //ip.adresss/"My Place" to connect with no errors, but nautilus will not open the folder. nautilus discovers the computer but not the folder. maybe I need some debugging info from nautilus...
View 11 Replies
View Related
Feb 20, 2011
I want to tunnel X apps to windows with PuTTY. I have the following in my sshd_config:
Code:
X11Forwarding yes
X11DisplayOffset 10
[code]....
View 4 Replies
View Related
Feb 27, 2011
I have a simple home network consisting of 2 laptops - one is a linux box and the other runs windows and linux with a dual boot setup. I have tight vnc server running on both machines so that I can look inside one machine from another. I can successfully use the Remote desktop viewer (Ubuntu) to access the linux OS of the other machine. However I cannot access the same machine when it booted into windows the windows OS does not seem accessible at all using tight vnc FROM a linux box.
View 2 Replies
View Related
Apr 13, 2011
I have internet on my ubuntu machine (eth0) I am sharing with (eth1) My windows computers are getting IP addresses via DHCP from the Ubuntu Machine, and I can see (and use) samba/windows shares on all computers. Internet connection is not working on any of the windows computers.
I have eth1 set to "shared to other computers" under the IPv4 settings
View 2 Replies
View Related
Aug 8, 2010
Our company uses a customized vpnc (based on and almost the same as vpnc 0.5.3). I first tested it on a Windows host under Virtualbox everything works straight away. But when I want to use it on a Linux host directly it always ends in "No response from target". I have tested this on Fedora 12 and the latest Ubuntu.
I thought of firewall settings but iptables -L on Ubuntu returns an empty list even.
View 2 Replies
View Related
Nov 25, 2009
Is there a way to cp directories using smbclient ?
View 3 Replies
View Related
Jun 5, 2010
I am having a problem using smbclient on my Ubuntu 10.04 workstation. I use likewise open5 to authenticate to a windows server 2003 domain controller. I installed the smbclient utility mounted the network drives to the local desktop, then all of a sudden I cannot logon to my active directory domain controller. If any one knows what I am talking about what am I doing wrong?
Do I need to change my smb.conf file? Or do I need to download another repository or utility?
View 1 Replies
View Related
Jan 18, 2010
i'm trying to log into the samba server from smbclient but i'm still having this error message:
[root@gab gab]# smbclient -L alain
Enter gab's password:
Connection to alain failed (Error NT_STATUS_CONNECTION_REFUSED)
[root@gab gab]#
View 1 Replies
View Related
Jun 1, 2010
I've installed the latest Fedora 13 flavour, yum update completed, yum install samba -y
all installed fine.
yum list grep samba shows samba-13 installed however when type smbclient as root it returns
"Command Not Found" and returns me to bash.
yum remove samba
reboot
yum install samba
still nothing
smb[tab] returns : smbd, smbusers and 3 others but none that are smbc*. I'm kinda stuck for my windows shares at this point.
smbd i presumed was the deamon so i triggered that but smbclient still cant be found and when i ran smb(something) status it stated that the samba service was up and running.
users list is configured but i believe this is an issue with the command.
View 3 Replies
View Related
Jun 7, 2010
I have a new network attached storage unit that I'm trying to transfer my data to. On this NAS, it has a very basic linux installed with SSH enabled. Browsing through the programs installed on it, i found smbclient. Am I able to copy files directly from my old NAS to my new one using smbclient?It would sure beat transfering 950GB from my old NAS through a computer then onto my new NAS.
View 1 Replies
View Related
Jun 25, 2011
I have a samba server setup it works fine for the users with their username and passwords. by executing the following command.
smbclient //fedora.com/one -U bigbob
it prompts password . If i give password i got
smb>
my question is that how can i login if the users doesn't have their passwords(public share) ?.. I mean smbclient command !!
View 1 Replies
View Related
Jun 17, 2010
I'm using CentOS 5.5 with smbclient 3.0.33-3.28-el5 (latest version in repo), and I can't overwrite files in my smb store.The CentOS box is merely a client of the smb share,and I am not the admin for the Windows server that hosts the share, so there isn't anything I can do server side. But I do have write permission to the server. I'm 95% certain that the server runs Windows Server 2003.I can create a new file,but if I need to overwrite it I need to delete the file, and then copy the new version over.My Windows XP machine can overwrite files perfectly fine.
Using the cp command I'll get this error: (/mnt/storage/foo.txt already exists)
[jonescb@localhost ~]$ cp foo.txt /mnt/storage/foo.txt
cp: cannot create regular file `/mnt/storage/foo.txt': No such file or directory`
View 5 Replies
View Related
Sep 7, 2009
When I log in to linx and connect to my University's public wifi, it disconnects or if it stays connected, I cannot ping anything or load any webpages. But when loggod in to windows I can write this message now. Signal strength is 28% Can anything be done to still use wifi in linux and not have to log in to windows?
View 3 Replies
View Related
Feb 23, 2010
I am trying to pass a variable to smbclient (OS X), but the variable is recognized only as its strict text.
Is there anything syntactically I have to do pass a variable created in the shell (bash) to smbclient (or perhaps any other interactive app)? I've seen references to variables as $[variable] or ${variable} but I've not been able to figure out what works.
View 5 Replies
View Related
Oct 28, 2010
I checked the smbclient man but could not find any switch to us in combination with 'get' to check if the file has been modified before download.
View 1 Replies
View Related
Apr 13, 2010
How come I can access samba share, and windows workgroup computer and don't have any samba package installed? Sudo aptitude show smbclient says not installed. Sudo aptitude show samba says not installed.
View 2 Replies
View Related
Nov 25, 2009
I am sending message from linux to windows system as follows echo "test"|smbclient -M <IP Add>But I am getting "session request failed" message . How can I solve it? <Ip Add> in network and reachable.
View 1 Replies
View Related
Feb 18, 2009
I am trying to mount a samba share using an fstab entry
//srv1/Corporate /winfiles cifs user,uid=0,rw,noauto,suid,credentials=/root/wnmount_credentials.txt 0 0
The mount appears to complete cleanly, however when I browse the directory /winfiles it is always empty.The smbclient command works properly using the same credentials.The /root/credentials file looks something like this
username=********
password=********
View 5 Replies
View Related
Sep 18, 2010
I enabled the windows preview effect from CCSM but it seems to be working only for the open windows. For the windows that I have minimized, no preview is shown when I hover over them in taskbar
Is this an expected behaviour ?? Can I change it to be shown for all sorts of windows irrespective of open/closed states ??
View 1 Replies
View Related
Dec 10, 2010
I have 3 computers. One running openSuse 11.3 with SAMBA and the other 2 are Windows 7 Professional boxes. I have the same user name and passwords for all three boxes.
From the Linux box I can access one of the Windows 7 boxes but the other won't accept my user name and password. The one that won't accept has Windows LiveID Sign-In Assistant installed. Apparantly that's an automatic install now.
I've read that there is a bug with the SAMBA libsmbclient [URL].
I tried updating via YAST but still end up with version 3.5.4-5.1.2 and this doesn't work.
View 1 Replies
View Related
Jul 13, 2011
When originally installing 11.04 I had problems getting my Ralink 5390 wireless card to work.
Today my computer froze completely and I had to turn it off via the power switch. When I turned it back on, wireless was no longer recognized! My iPod can connect to the network just fine, so it must be an Ubuntu problem. There are no problems with my ethernet connection either.
I researched this and found several threads about blocking and unblocking wireless devices using the rfkill command. Well, unfortunately for me the rfkill command doesn't work. When I type sudo rfkill list or sudo rfkill unblock all, nothing happens; it just returns me to my bash prompt. I even tried uninstalling and reinstalling rfkill...nothing.
View 1 Replies
View Related
Jun 21, 2010
I have been looking around the forums searching for similar problems, it seems not only me had this problem. About a month ago I did a regular update via Upd Manager. The next day - no wired connection.Still managable, since the local library has wireless. Now that won't work either.Just after I upgraded from Jaunty, I accidentally removed NetwMngr from the top right corner of the screen, but that should not have anything to do with how the program works, right? I now cannot reach NM, if I run it from the terminal, nothing happens visibly.
View 5 Replies
View Related
Nov 17, 2010
I have a Dell Latitude D530 Laptop (500 GB HDD). Installed Windows XP and then Ubuntu 10.10 to do dual boot. everything works fine in Windows XP.In Ubuntu 10.10 I had issues connecting to Internet(Through Wirelss), I was able to rectify this issue by dsiable ipv6 from firefox about:config and setting true to network.dns.disableIPv6. After this I was able to connect to internet and browse websites from Firefox.But I am having Issues with Evolution Mail(Connection Timed Out) and Google Talk Client(Connection Timed Out).Empathy Internet Messaging gets connected fine.I was wondering if I will have to disable IPv6 System wide and hence I added the following lines to /etc/sysctl.conf
#disable ipv6
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
[code]....
View 9 Replies
View Related