FreeBSD 10.2 SAMBA (AD Member Server) Richardsonlima - wiki-US Wiki GitHub
FreeBSD 10.2 SAMBA (AD Member Server) Richardsonlima - wiki-US Wiki GitHub
FreeBSD 10.2 SAMBA (AD Member Server) Richardsonlima - wiki-US Wiki GitHub
Dismiss
Join GitHub today
GitHub is home to over 28 million developers working together to host
and review code, manage projects, and build software together.
Sign up
Find a Page…
ifconfig_em0="inet 192.168.0.254 netmask 255.255.255.0"
defaultrouter="192.168.0.1" Home
freebsd-update fetch
Clone this wiki locally
freebsd-update install
https://github.com/richards
Modified /etc/sysctl.conf
kern.maxfiles=25600
kern.maxfilesperproc=16384
net.inet.tcp.sendspace=65536
net.inet.tcp.recvspace=65536
pkg
" The package management tool is not yet installed on your system.
Do you want to fetch and install it now? [y/N]: y "
pkg update
"===========================================================================
Note that some standard Python modules are provided as separate ports
as they require additional dependencies. They are available as:
bsddb databases/py-bsddb
gdbm databases/py-gdbm
sqlite3 databases/py-sqlite3
tkinter x11-toolkits/py-tkinter
===========================================================================
Message from ca_root_nss-3.26:
********************************* WARNING *********************************
FreeBSD does not, and can not warrant that the certification authorities
whose certificates are included in this package have in any way been
audited for trustworthiness or RFC 3647 compliance.
* /etc/ssl/cert.pem
* /usr/local/etc/ssl/cert.pem
* /usr/local/openssl/cert.pem
***************************************************************************
Message from perl5-5.20.3_15:
The /usr/bin/perl symlink has been removed starting with Perl 5.20.
For shebangs, you should either use:
#!/usr/local/bin/perl
or
#!/usr/bin/env perl
Edit
/usr/local/etc/openldap/ldap.conf
to change the system-wide client defaults.
************************************************************
Message from trousers-0.3.13:
To run tcsd automatically, add the following line to /etc/rc.conf:
tcsd_enable="YES"
If you want to use tcsd with software TPM emulator, use the following
configuration in /etc/rc.conf:
tcsd_enable="YES"
tcsd_mode="emulator"
tpmd_enable="YES"
Directory notifications:
IN_MOVED_FROM
IN_MOVED_TO
Open/close notifications:
IN_OPEN
IN_CLOSE_NOWRITE
IN_CLOSE_WRITE
https://github.com/libinotify-kqueue/libinotify-kqueue/tree/master/patches
=============================================================================
You might want to consider increasing the kern.maxfiles tunable if you plan
to use this library for applications that need to monitor activity of a lot
of files.
If the default on your system is too low, add the following line to
/boot/loader.conf, then reboot the system:
kern.maxfiles="25000"
=============================================================================
Message from gamin-0.1.10_8:
===============================================================================
Gamin will only provide realtime notification of changes for at most n files,
where n is the minimum value between (kern.maxfiles * 0.7) and
(kern.maxfilesperproc - 200). Beyond that limit, files will be polled.
If you often open several large folders with Nautilus, you might want to
increase the kern.maxfiles tunable (you do not need to set
kern.maxfilesperproc, since it is computed at boot time from kern.maxfiles).
kern.maxfiles="25000"
The behavior of gamin can be controlled via the various gaminrc files.
See http://www.gnome.org/~veillard/gamin/config.html on how to create
these files. In particular, if you find gam_server is taking up too much
CPU time polling for changes, something like the following may help
in one of the gaminrc files:
===============================================================================
===> NOTICE:
https://bugs.freebsd.org/bugzilla
https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port
Message from samba44-4.4.5_1:
===============================================================================
==============================================================================="
Create /etc/krb5.conf
[libdefaults]
default_realm = DOMAIN01.LOCAL
dns_lookup_realm = true
dns_lookup_kdc = true
ticket_lifetime = 24h
renew_lifetime = 7d
forwardable = yes
Update /etc/nsswitch.conf
Create /usr/local/etc/smb4.conf
[global]
workgroup = DOMAIN01
server string = Samba FreeBSD Server Version %v
security = ads
realm = DOMAIN01.LOCAL
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=131072 SO_SNDBUF=131072
use sendfile = true
restrict anonymous = 2
log file = /var/log/samba4/log.%m
max log size = 50
[Stage-Area-01]
comment = Stage Area 01 Share
path = /samba/stagearea01
read only = no
force group = "admins. do dom\303\255nio"
directory mask = 0770
force directory mode = 0770
create mask = 0660
force create mode = 0660
Test Winbind
wbinfo -u
# Should return domain users
wbinfo -g
# Should return domain groups
getent passwd
# Should return domain users at the end of the list with 10000+ UIDs
getent group
# Should return domain groups at the end of the list with 10000+ GIDs
mkdir -p /samba/stagearea01
chown "administrador":"admins. do dom\303\255nio" /samba/stagearea01
chmod 0770 /samba/stagearea01
© 2019 GitHub, Inc. Terms Privacy Security Status Help Contact GitHub Pricing API Training Blog About