---
name: "smbcrc"
section: "1"
platform: "linux"
package: "smbc"
version: "1.2.2-4+b3"
release: "Debian 10 (Buster)"
platforms: ["linux"]
url: "https://new.carta.tech/smbcrc"
---

# smbcrc(1)

configuration file for Smbc

## 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  WinPopup 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)](/smbcrc/1.md)

## AUTHOR

Originally written by Rafal Michniewicz \<rafim@data.pl\>.
