Location of smb.conf file at different Solaris levels

Good. I am new to the Solaris operating system, and I need to install and configure samba on 3 mailboxes, each of which has a different version of Solaris (8,9,10).

What do I want to know about the location of the samba configuration file, i.e., the smb.conffiles in each version? So far, all I have found is

  • Solaris 8

    /usr/local/samba/lib/smb.conf

  • Solaris 9 and Solaris 10

    /etc/sfw/samba/smb.conf

Is it correct? I need to know where these files go by default when installing samba.

+3
source share
3 answers

Samba configuration files can be installed anywhere your administrator wants you to have them.

  • /usr/local/samba/ is the path where you can install samba.
  • smb.conf , private/secrets.tdb username.map

:

smbd -D -s /myPath/smb.conf

( samba samba) .

-D , . , . - smbd , , . , smbd .

-s <configuration file> , . , ​​ printcap , , .

+2

FILES man- `smbd ' . Solaris, , , .

0

you can also use test parameter commands such as # testparm / etc / samba / smb.conf

0
source

All Articles