mandriva

MDS 2.2.0 to MDS 2.3.0 upgrade notes

New LDAP attribute "mailhost" in mail.schema

You must update the mail.schema file included in your LDAP directory with the new schema, else the MMC agent won't start the mail plugin. The mail.schema file is available:

  • in the contrib/ldap directory of the MMC agent source tarball
  • if you use the Mandriva packages: in /usr/share/doc/python-mmc-base-2.3.0/contrib/ldap
  • if you use the Debian packages: in /usr/share/doc/python-mmc-base/contrib/ldap

Backup directory for users home directory and SAMBA shares

The MMC agent now checks that the directory set in the destpath option of the backup-tools section from the /etc/mmc/plugins/base.ini file exists before starting. The default value shipped in example configuration file is /home/archives.

So you need to create this directory before starting the MMC agent.

samba.ini: baseComputersDN option

The baseComputersDN option filled in the main section of /etc/mmc/plugins/base.ini is now read from the /etc/mmc/plugins/samba.ini file.

So before starting the MMC agent, set this option in the samba.ini file, else the SAMBA plugin won't be loaded.

You samba.ini file should look like this:

[main]
disable = 0
# Computers Locations
baseComputersDN = ou=Computers, dc=mandriva, dc=com
sambaConfFile = /etc/samba/smb.conf
sambaInitScript = /etc/init.d/samba
sambaClamavSo = /usr/lib/samba/vfs/vscan-clamav.so
# Default SAMBA shares location
defaultSharesPath = /home/samba
# You can specify authorized paths for share creation
# Default value is the defaultSharesPath value
# authorizedSharePaths = /shares, /opt, /srv

# Default value when adding samba attributes to an user
# DELETE means the attibute is removed from the user LDAP entry
[userDefault]
sambaPwdMustChange = DELETE

samba.ini: defaultSharesPath option replaces the sharespath option

Just rename the option in the /etc/mmc/plugins/samba.ini file.