2005年1月5日 星期三

[FreeBSD] Install Samba 3

cd /usr/ports/net/samba3 ; make install clean

....

[[MORE]]
Starting from Samba 3.0.3 this port doesn't create 'smbpasswd' file
automatically. 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.
------------------------------------------------------------------------------
NOTICE: *.tdb files have been moved from /var/run/samba/ to /var/db/samba/!
NOTICE: Please, move them manually, if necessary, at least winbind_*.tdb.
******************************************************************************
===> Compressing manual pages for samba-3.0.10,1
===> Registering installation for samba-3.0.10,1
===> SECURITY REPORT:
This port has installed the following files which may act as network
servers and may therefore pose a remote security risk to the system.
/usr/local/bin/smbspool
/usr/local/bin/smbtree
/usr/local/bin/smbcontrol
/usr/local/bin/nmblookup
/usr/local/bin/testparm
/usr/local/lib/pam_smbpass.so
/usr/local/bin/smbstatus
/usr/local/bin/pdbedit
/usr/local/bin/net
/usr/local/bin/testprns
/usr/local/bin/smbcacls
/usr/local/bin/smbclient
/usr/local/sbin/swat
/usr/local/sbin/nmbd
/usr/local/bin/rpcclient
/usr/local/bin/ntlm_auth
/usr/local/sbin/smbd
/usr/local/bin/smbpasswd
/usr/local/bin/smbcquotas

This port has installed the following startup scripts which may cause
these network services to be started at boot time.
/usr/local/etc/rc.d/samba.sh

If there are vulnerabilities in these programs there may be a security
risk to the system. FreeBSD makes no guarantee about the security of
ports included in the Ports Collection. Please type 'make deinstall'
to deinstall the port if this is a concern.

For more information, and contact details about the security
status of this software, see the following webpage:
http://www.samba.org/



Reference:

沒有留言:

張貼留言