Samba: Difference between revisions

From Q
Jump to navigation Jump to search
Tgurr (talk | contribs)
Tgurr (talk | contribs)
Line 15: Line 15:
{{Box Code|emerge samba -pv|
{{Box Code|emerge samba -pv|
<pre>
<pre>
[ebuild  N   ] dev-libs/iniparser-3.0b-r1  26 kB
[ebuild  N     ] dev-libs/iniparser-3.0b-r2  USE="-examples -static-libs" 26 kB
[ebuild  N   ] app-crypt/mit-krb5-1.7-r1 USE="-doc" 11,941 kB
[ebuild  N    ] sys-apps/keyutils-1.4-r1  39 kB
[ebuild  N   ] net-nds/openldap-2.4.17-r1 USE="berkdb crypt ipv6 kerberos perl samba ssl tcpd -cxx -debug -experimental -gnutls -icu -iodbc -minimal -odbc -overlays -sasl (-selinux) -slp -smbkrb5passwd -syslog" 5,296 kB
[ebuild  N    ] dev-libs/libgpg-error-1.10  USE="nls -common-lisp -static-libs" 429 kB
[ebuild  N   ] net-fs/samba-3.2.14 USE="acl ads ldap pam readline winbind -async -automount -caps -cifsupcall -cups -doc -examples -fam -ipv6 -quotas (-selinux) -swat -syslog" 23,864 kB
[ebuild  N    ] app-text/build-docbook-catalog-1.6  4 kB
[ebuild  N    ] dev-libs/libgcrypt-1.5.0_beta1-r2  USE="-static-libs" 1,146 kB
[ebuild  N    ] app-text/docbook-xsl-stylesheets-1.76.1  3,597 kB
[ebuild  N     ] app-crypt/mit-krb5-1.9-r4 USE="keyutils pkinit threads -doc -openldap -test -xinetd" 11,610 kB
[ebuild  N    ] dev-libs/libxslt-1.1.26-r1  USE="crypt python -debug" 3,322 kB
[ebuild  N    ] virtual/krb5-0  0 kB
[ebuild  N    ] sys-libs/tdb-1.2.7-r1  USE="python -static-libs -tdbtest -tools" 443 kB
[ebuild  N    ] sys-libs/talloc-2.0.5  USE="python -compat" 357 kB
[ebuild  N     ] net-nds/openldap-2.4.24 USE="berkdb crypt ipv6 kerberos perl samba ssl tcpd -cxx -debug -experimental -gnutls -icu -iodbc -minimal -odbc -overlays -sasl (-selinux) -slp -smbkrb5passwd -syslog" 5,118 kB
[ebuild  N     ] net-fs/samba-3.5.8-r1 USE="acl addns ads aio client ldap netapi pam readline server smbclient winbind -avahi -caps -cluster -cups -debug -doc -examples -fam -ldb -quota -smbsharemodes -smbtav2 -swat -syslog" 30,014 kB
</pre>
</pre>
}}
}}

Revision as of 10:53, 5 May 2011

Description

This is a short howto about connecting a Linux machine via Samba to an Windows ADS Domain.

Dependencies

USE-Flags

Template:Box File

Packages

Template:Box Code

Installation

# emerge samba

Configuration

Template:Box File

Template:Box File

Template:Box File

Template:Box File

Template:Box File

Join the ADS Domain

# net ads join -U Administrator and enter the domain-administrator password.

Finalize

# /etc/init.d/samba start

# rc-update add samba default

Further Reading

  • Squid - Authentificate Squid users against ADS
  • pam_krb5 - Authentificate System users against ADS
  • not available yet - Manage your Samba shares in a MySQL database and administer them via a webinterface