mirror of
https://git.freebsd.org/ports.git
synced 2025-06-20 12:10:31 -04:00
35 lines
1.2 KiB
Text
35 lines
1.2 KiB
Text
If you want to run this samba port:
|
|
|
|
1. Copy /usr/local/etc/smb.conf.default to /usr/local/etc/smb.conf, and edit
|
|
it.
|
|
2. Put string 'samba_enable="YES"' into your /etc/rc.conf.
|
|
3. Type '/usr/local/etc/rc.d/samba.sh start' or reboot.
|
|
|
|
This port doesn't create 'smbpasswd' file automatically anymore. Users
|
|
are encouraged to use 'tdbsam' backend instead:
|
|
|
|
[global]
|
|
passdb backend = tdbsam, smbpasswd
|
|
|
|
You can use pdbedit to migrate accounts from 'smbpasswd' to 'tdbsam',
|
|
see the Samba-HOWTO-Collection.
|
|
|
|
You still can create 'smbpasswd' file with the supplied 'make_smbpasswd'
|
|
script:
|
|
|
|
cat /etc/passwd | grep -v "^#" | make_smbpasswd > smbpasswd
|
|
chmod 600 smbpasswd
|
|
|
|
But the usage of it is deprecated.
|
|
|
|
See document files in /usr/local/share/doc/samba and example config files in
|
|
/usr/local/share/examples/samba for details.
|
|
|
|
This port doesn't come anymore with the IDEALX Samba LDAP management tools.
|
|
They are a separate port now, net/smbldap-tools. Please, install it, if you
|
|
are going to use Samba LDAP back end.
|
|
|
|
Japanese users, please, take a look onto japanese/samba3 port instead -
|
|
it comes with additional multibyte characters support.
|
|
|
|
FreeBSD Samba3 port maintainer: Timur Bakeyev <timur@gnu.org>
|