Sponsored Content
Full Discussion: ssssay sssamba
Special Forums IP Networking ssssay sssamba Post 6509 by torbaker on Thursday 6th of September 2001 12:38:04 AM
Old 09-06-2001
Samba authentication

The problem is that you have configured your system for USER or DOMAIn security rather than SHARE security.

This is a good idea, especially if you have Windows NT machines to contend with.

If security is not an issue, you may use SHARE level security and simply make certain that the user specified in you config file has permission to access the shared files.

For DOMAIN security, you need to send a user and password with every request. By default, Windows will try to connect by sending the username and password that were used to log in to the network. If this user does not exist on the UNIX machine, access will be denied. You can optionally use the Windows NT account database and or user mapping (via smbusers) to manage the security.

This also means that the username and password need to be specified on the command line for the smbclient and smbmount commands.
 
SMBCRC(1)						Samba Commander configuration file						 SMBCRC(1)

NAME
smbcrc - configuration file for Smbc DESCRIPTION
An smbcrc file includes all parameters for Smbc. The value in parameters you can set at two types: username John Doe or username "John Doe" OPTIONS
username User name that is used during login to remote host, default "guest". Example: username Jon Doe password Password that is entered during login to remote host, default none. Example: password bryDS2team smbclient Path to file "smbclient", necessary for sending WinPopup message, default none. Only functions concatenate with send and receive a Win- Popup messages work as frontend, Samba Team doesn't include this functions in libsmbclient library. Example: smbclient /usr/bin/smbclient localdir Start local directory when running Smbc, default HOME. Example: localdir /home/rafim/tym workgroup Start workgroup, default none. Example: workgroup WORKGROUP host Start host, default none. Example: host AIR share Start remote host dir, default none. Example: share /sciepa/mpg/ typeofsort-left typeofsort-right Type of sort files and directories in selected panels, default 1. typeofsort-left 1 - sort by filenames typeofsort-left 2 - sort by extension typeofsort-left 3 - sort by size typeofsort-left 4 - don't sort Examples: typeofsort-left 1 typeofsort-right 1 reversesort-left reversesort-right Type of reverse sorting, default 0. reversesort-left 1 - reversesort on reversesort-left 0 - reversesort off Examples: reversesort-left 0 reversesort-right 0 group-left group-right Group files and directories, default 1. group-left 1 - group on group-left 0 - group off Examples: group-left 1 group-right 1 timeout Connection time out in seconds, default 3 seconds. This parameter was used when Smbc tries connect to remote host and waits for response. If you have the Samba in version oldest than 3.0.0 this parameter don't work and Smbc may be waiting for very long time. Example: timeout 3 autoresume Auto resume download, doesn't ask if connection is broken, default 0. If connection to remote host or to local file was broken and autoresume was set 1 Smbc sets retry-delay-time for this file and immediately goes to next item in download/upload list. autoresume 1 - autoresume on autoresume 0 - autoresume off Example: autoresume 1 indextime Time between smbc restarts network files indexing in seconds, default 300 seconds. indextime 0 smbc disable indexing network files indextime 1 smbc ony once index network files indextime 300 smbc index network files then delay 300 second and restart indexing Example: indextime 300 char-convert Converts all chars from UTF-8 to terminal charset, default 1. char-convert 1 - char-convert on char-convert 0 - char-convert off Example: char-convert 1 retry-delay-time Delay time of retrying download is seconds, default 60 second. Example: retry-delay-time 60 askquit Ask if quit from smbc, default 1. retry-read-groups How many times smbc retries to read groups when samba returns fail or empty result, default retry-read-groups 5. retry-read-groups = -1 - retries to success retry-read-groups = 0 - doesn't retry retry-read-groups > 0 - retries retry-read-groups times retry-read-hosts How many times smbc retries to read hosts when samba returns fail or empty result, default retry-read-hosts 5. retry-read-hosts = -1 - retries to success retry-read-hosts = 0 - doesn't retry retry-read-hosts > 0 - retries retry-read-hosts times retry-read-shares How many times smbc retries to read shares when samba returns fail or empty result, default retry-read-shares 5. retry-read-shares = -1 - retries to success retry-read-shares = 0 - doesn't retry retry-read-shares > 0 - retries retry-read-shares times colorK XXXX,YYYY,ZZZZ Defines three colors, where XXXX,YYYY,ZZZZ are red,green,blue and have value = <0000..1000> ,K has value <0..2>, default 0 colors defined. Examples: color0 0100,0100,0610 color1 0900,0080,0900 color2 0010,0500,0500 extcolorK Define color for file extension, K has value <0..2>, one definition per line, maximal extension length = 10 chars ,default 0 colors defined. Examples: extcolor0 exe extcolor0 bin extcolor0 bat extcolor0 tar extcolor0 gz extcolor0 tgz extcolor1 mp3 extcolor1 wav extcolor1 mod extcolor2 avi extcolor2 mpg extcolor2 mpeg SEE ALSO
smbcrc(1) AUTHOR
Originally written by Rafal Michniewicz <rafim@data.pl>. SMBCRC for SMBC Version 1.1.2 February 2005 SMBCRC(1)
All times are GMT -4. The time now is 07:22 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy