Samba: Difference between revisions

From Q
Jump to navigation Jump to search
Tgurr (talk | contribs)
No edit summary
Tgurr (talk | contribs)
No edit summary
Line 15: Line 15:
{{Box Code|emerge samba -pv|
{{Box Code|emerge samba -pv|
<pre>
<pre>
[ebuild  N    ] app-crypt/mit-krb5-1.6.3-r1  USE="ipv6 -doc -krb4 -tcl" 11,636 kB
[ebuild  N    ] dev-libs/iniparser-3.0b-r1  26 kB
[ebuild  N    ] net-nds/openldap-2.3.41 USE="berkdb crypt gdbm ipv6 kerberos perl samba ssl tcpd -debug -minimal -odbc -overlays -sasl (-selinux) -slp -smbkrb5passwd" 3,712 kB
[ebuild  N    ] app-crypt/mit-krb5-1.7-r1  USE="-doc" 11,941 kB
[ebuild  N    ] sys-apps/attr-2.4.41  USE="nls" 112 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    ] sys-apps/acl-2.2.47  USE="nls (-nfs)" 152 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    ] net-fs/samba-3.0.28a USE="acl ads ipv6 ldap pam python readline winbind -async -automount -caps -cups -doc -examples -fam -quotas (-selinux) -swat -syslog" LINGUAS="-ja -pl" 17,747 kB
</pre>
</pre>
}}
}}

Revision as of 14:17, 24 August 2009

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