Ubuntu Servers :: Smbclient Connects To Windows 7 But Can't List Any Files

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


ADVERTISEMENT

Ubuntu Servers :: Back Up Windows PC As It Connects To The Network

Mar 22, 2011

I have a little home server with Ubuntu 10.10, actually it is already backing up my web hosting daily via a cron.daily script.. But I would like to do the same with my Windows laptop, which would it be the best way to do so?

since the Ubuntu pc is (almost) always turned on it would be no profit to have it mount the Win PC at startup, indeed I could have a cron.hourly script to check if the Laptop is connected to the network and to back it up once a day, thus by checking a small text file with written the date of the last backup BTW how do I check if the Win PC is connected to the network? How do I mount it via samba? Do you suggest to backup stuff simply moving files, via tar (as I already do with my web host) or with rsync?

View 2 Replies View Related

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 View Related

General :: Copying Files Using Smbclient?

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

CentOS 5 :: Smbclient Can't Overwrite Files?

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

Ubuntu Servers :: Cannot List The TAPE Files?

Mar 2, 2010

I've having problems in listing files from a TAPE. I did not create this tape and I'm assuming that the files were successfully backed up to this tape.Some commands that I've tried:

PHP Code:
atenreiro@intranet:~$ sudo mt -f /dev/nst0 status
SCSI 2 tape drive:

[code]...

View 1 Replies View Related

General :: Connecting To Windows 7 Share Via SMBClient

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

General :: Windows SMBClient - How To Share Folder

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

General :: List All Files In A Windows SMB Network Share?

May 31, 2011

Given a single SMB network share (for example, \server\SHARED_FOLDER), I want to recursively list all the files, including those in the subdirectories (like find(1)).

I would prefer to do it in Linux, but I also accept Windows answers.

View 1 Replies View Related

Ubuntu Servers :: Remote Desktop To Manage File Downloads From Windows 7 Machine(s) Big List?

Feb 17, 2010

I've got an old p3 with 11 ide hard drives strapped to it for storage and I decided to throw Ubuntu server on it because it's more lightweight than a standard ubuntu install, and given it's a pentium 3 with 128mb of ram, lightweight is good. I installed, through putty (ssh), the gnome gui - then learned that putty only does cli (i was thrilled), so I've spend the last hour trying to figure out how to enable remote desktop.

I don't mind reinstalling to do what is necessary. remote desktop to manage file downloads from my windows 7 machine(s) big list, i know. history: this thing is/was my media server. I had xp on it, sharing all drives and watching hd movies off it, but then xp decided it did't want to boot anymore so here we are. I'm thinking of just putting ubuntu 8.04/8.10 on it and through its wonderful gui enabling remote desktop and using realvnc/tightvnc to access it

View 9 Replies View Related

Ubuntu Servers :: Win7 Vnc No Longer Connects To 10.10?

Mar 8, 2011

All of a sudden, I could not connect to my ubuntu 10.10 server from Windows 7 using vnc this morning. When I open vnc on windows 7 and hit connect, it goes away like its going to connect but never pops up the screen. If I try to connect to my other ubuntu server, it connects quick and I'm able to navigate in it.

View 5 Replies View Related

Ubuntu Servers :: SFTP Fails But Ssh Connects / Resolve This?

Sep 1, 2011

I've searched the interwebs and have never had this problem before but I can connect with ssh no problem. The problem arises when I try to connect with sftp. I get code...

View 1 Replies View Related

Networking :: Wifi Connects In Windows Not?

Feb 28, 2011

Another issue I'm having, considerably more serious, is my ability to connect to wifi access points with proxies. The story goes, my school has free wifi, but you have to go through their proxies to access the internet (like at McDonald's or Starbucks, where you must 'log in' and accept their usage terms). I can connect, including DHCP, and when I type in any URI I get the redirect posted to Chromium's address bar, but I simply cannot connect to it. This has happened in Ubuntu and Arch, using at least a couple different network management methods (I usually use WICD but I think I started off with networkd). The strange thing (to me) is that my Android phone works just fine, so although I'm not completely familiar with Android on this level, I don't imagine it's the fault of Linux itself. but I'll only be able to experiment with this once a week, on Saturdays (when I have class --gotta do something entertaining).

View 1 Replies View Related

Ubuntu Servers :: Make Dovecot Automatically Archive The Copy Of The Email If/when A Client Connects To It Using POP?

Feb 15, 2010

make Dovecot automatically archive the servers copy of the email if/when a client connects to it using POP? I am trying to achieve the the same thing as Gmail's feature.

View 1 Replies View Related

Programming :: Downloading A List Of Files From A Remote Server Using A List?

Feb 10, 2009

I am trying to get this script to work. The purpose is to download a list of modules from the slax.org the list consist of a list of module numbers. What I am trying to do is Download the file or the file name corresponding to the number in the list.the list is comma delimited. this is what I have done so far and I am a stand still.

#!/bin/sh
# Wget script to retrieve modules from slax.org modules
#
# ----Begin of user defined values -----
# Path to wget

[code].....

View 7 Replies View Related

Ubuntu Servers :: Setup A Home Server For Backing Up And Storing The Files On Multiple (Windows) Computers?

Feb 3, 2010

I'm looking to setup a home server for the purpose of backing up and storing the files on our multiple (Windows) computers. What kind of server should I set up? Samba? Lamp?

View 5 Replies View Related

General :: List/find All Regular Files In All Subdirectories Excluding Binary Files

Oct 5, 2010

I know I can do find . -type f, but that includes binary file and I couldn't find a way to exclude them with find

View 4 Replies View Related

Ubuntu Installation :: Error - Dpkg: Warning: Files List File For Package `libsdl-image1.2' Missing, Assuming Package Has No Files Currently Installed

Sep 23, 2010

When i try installing anything i get errors, for example when i try to install somthing from ubuntu software center i get this.

Code: installArchives() failed: Preconfiguring packages ... Preconfiguring packages ... Selecting previously deselected package ttf-symbol-replacement. (Reading database ... dpkg: warning: files list file for package `libsdl-image1.2' missing, assuming package has no files currently installed.

[Code]....

View 4 Replies View Related

General :: Way To Cp Directories Using Smbclient

Nov 25, 2009

Is there a way to cp directories using smbclient ?

View 3 Replies View Related

Ubuntu Networking :: Send Message Through Terminal With Smbclient?

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

Ubuntu :: Can't Logon To Active Directory After Installing Smbclient?

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

Fedora :: Log Into The Samba Server From Smbclient?

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

Fedora :: SMBClient : Command Not Found?

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

General :: Command For Smbclient With No Password?

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

Ubuntu Servers :: ProFTPd Will Not List

May 25, 2010

I have set up proftpd many times now one Ubuntu 9.10 and never ran into any problems. I decided to go ahead and do a clean install of the new 10.04 and set everything back up (ie ssh ftp apache... ect)I got done with ssh with no problems and started working on getting proftpd up and running just like I've always have. But now every time I try to login it gets to where it should list all the files in my dir and it just times out. If I connect through my network (192.168.1.101) everything works fine so I dont think its my .conf file.ll ports are open that are needed and I even tried opening up the passive ports to see if that would help but it does not.

View 1 Replies View Related

General :: Anything Syntactically To Pass Variable To Smbclient?

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

General :: Smbclient Check File Modified Before 'get'

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

Ubuntu Servers :: See List Of Blacklisted IPs In Apache?

Aug 19, 2010

I'm using Apache server's dos_evasive module to block DoS attacks. How do I see the list of blacklisted IPs? because I want to delete from time to time to monitor the IPs that are blacklisted, but do not know how to.

View 6 Replies View Related

Ubuntu :: Get A List Of All MP3 Files With Authors?

May 31, 2010

I have scoured the 'ls' man page, but I don't think it has the capability to do this. Specifically, I would like a command/program that will output a list of all of the files in "/home/anthony/Music/" in the following format:

Quote:

artist1 - file1.mp3
artist2 - file2.mp3
artist3 - file3.ogg
artist4 - file4.flac

I really only need the artist and the song title. If it can't be formatted exactly like that, then it's not the end of the world.

View 1 Replies View Related

Ubuntu :: How To List Files In A Package

Aug 15, 2010

whether the command-line tool "mysql" comes with mysql-server or mysql-client (I installed both at once, so I have no idea). It occurs to me that this is a good opportunity to learn more about linux package management.

I've tried saying "dpkg -L mysql-server", but it only lists the files in /usr/share/docs files for some reason. I'm sure there's got to be files elsewhere. Am I way off base?

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved