Samba PDC VM(squeeze)

提供: Samba-JP
移動先:案内検索

We publish VMware VM image on which Samba PDC (with LDAP) is configured on Debian GNU/Linux 6.0.

We hope this VM will help to evaluate.

If you find any bugs or desire, please mail to monyo-at-samba.gr.jp

There are older versions(sorry for Japanese only):

Japanese text are available.

Download

You may download the VM image at:

Function

  • Acts as PDC of "SAMBADOM" domain
Uses Samba 3.5.6 included in Debian squeeze. Windows 7 can join to the domain.
  • Various settings are ready to examine various Samba functions easily. "How to examine and demonstrate" is under construction.
    • Can manage from Windows
The management tools are available at Windows NT Server Tools for Windows NT Workstation 4.0 Available .

Settings

Networking

item value
hostname sambapdc
DNS domainnamesambadom.local
LDAP DN dc=sambadom,dc=local
TCP/IP via DHCP
VMware virtual network NAT interface

Other settings

itemvalue
languageEnglish (C locale)
regionJapan
keyboardEnglish 101 keyboard
source of packagesftp.jp.debian.org
root's passwordsamba

Packages installed

Packages are installed via "apt-get", thus packages depending on the installed packages below are also installed and you can also manage packages to use normal package management tools on Debian.

packagedescription
ftpftp client to receive files
aclgetfacl/setfacl commands manupulating ACL
attrattr command manupulating Extended Attributes
libcrack2library which forces complex passwords
libnss-ldapNSS module to store UNIX user informations on LDAP
libpam-ldapPAM modules to authenticate UNIX user using informations on LDAP
slapdLDAP server
ldap-utilsvarious commands manupulating LDAP
samba/winbindSamba server
libpam-smbpassPAM module to change Samba user's password when the corresponding UNIX user's password is changed
smbclientSamba client
swatSamba Web Administration Tool

ssh is not installed to reduce disk space. Please install if you need.

Files modified

filenamedescription
/etc/fstab
/etc/hosts.allowto control SWAT access
/etc/logrotate.d/samba-syslog(added)log rotate settings for audit log
/etc/nsswitch.confNSS settings
/etc/pam.d/common-passwordPAM settings
/etc/pam.d/common-sessionPAM settings
/etc/rsyslog.d/samba.conf(added)audit log setting
/etc/samba/smb.conf
/etc/samba/smbusers(added)username mapping file
/usr/local/sbin/crackcheck(added)to force complex password
/usr/local/sbin/createhomedir(added)to create homedir automatically
/usr/local/sbin/mgrshare(added)to manage shares from Windows
/usr/local/sbin/remove-old-files-in-recycle-binto remove old files from recycle bin
/usr/local/sbin/var-checka sample script to evaluate Samba variables
under /var/lib/samba/sharessample shares

Accounts

  • Administrator (password is samba / has administrative rights)
  • ldap01(password is ldap01)
  • ldap02(password is ldap02)
  • ldap03(password is ldap03)

Updates

version 20110713

  • squeeze version