Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )

Advanced DNS Management
New ZoneEdit. New Managment.


Sign Up Now
> Connecting to windows share server via shell
post Nov 16 2011, 08:40 AM
Post #1

Whats this Lie-nix Thing?

Group: Members
Posts: 4
Joined: 16-November 11
Member No.: 15,691


I want to write a shell script that will automatically connect to a windows share server and then do some stuff with the files there each time I log in. I have a few problems with this.

I can connect to the server with the GUI by going to Places->Connect to Server. With this, I can connect to the server and then manipulate the files through the file browser GUI thing. However, I can't figure out how to connect to the server or, once connected, manipulate files via the shell. When I try to connect with this command: "/usr/bin/smbclient //ntserver-quota/<directory>", all I get is "session setup failed: NT STATUS_LOGON_FAILURE".

The distribution is Scientific Linux.

Thanks, I appreciate your help.
Go to the top of the page
+Quote Post
Start new topic
post Nov 17 2011, 07:12 AM
Post #2

Its GNU/

Group: Support Specialist
Posts: 1,807
Joined: 23-January 03
Member No.: 360

Here is a howto with an example showing the correct syntax.
Go to the top of the page
+Quote Post

Posts in this topic

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:


RSS Lo-Fi Version Time is now: 25th June 2018 - 10:48 AM