431ad10571
Submitted by: timur Reviewed by: Approved by: Obtained from: MFC after: Security: Brand new version of Samba 3.3.1, the starter of the 3.3 series. New features, new bugs. Enjoy! Major enhancements in Samba 3.3 include: General changes: o The passdb tdbsam version has been raised. Configuration/installation: o Splitting of library directory into library directory and separate modules directory. o The default value of "ldap ssl" has been changed to "start tls". File Serving: o Extended Cluster support. o New experimental VFS modules "vfs_acl_xattr" and "vfs_acl_tdb" to store NTFS ACLs on Samba file servers. Winbind: o Simplified idmap configuration. o New idmap backends "adex" and "hash". o Added new parameter "winbind reconnect delay". o Added support for user and group aliasing. o Added support for multiple domains to idmap_ad. Administrative tools: o The destination "all" of smbcontrol does now affect all running daemons including nmbd and winbindd. o New 'net rpc vampire keytab' and 'net rpc vampire ldif' commands. o The 'net' utility can now use kerberos for joining and authentication. o The 'wbinfo' utility can now add, modify and remove identity mapping entries.
44 lines
1.2 KiB
Bash
44 lines
1.2 KiB
Bash
#! /bin/sh
|
|
#
|
|
PATH=/bin:/usr/sbin:/usr/bin:/usr/sbin
|
|
|
|
SAMBA_CONFIG="%%SAMBA_CONFIG%%"
|
|
SAMBA_CONFDIR="%%SAMBA_CONFDIR%%"
|
|
SAMBA_SPOOL="%%SAMBA_SPOOL%%"
|
|
SAMBA_LOGDIR="%%SAMBA_LOGDIR%%"
|
|
SAMBA_LOCKDIR="%%SAMBA_LOCKDIR%%"
|
|
SAMBA_PRIVATEDIR="%%SAMBA_PRIVATEDIR%%"
|
|
SAMBA_OWNER=root
|
|
SAMBA_GROUP=wheel
|
|
CMP="cmp"
|
|
RM="rm"
|
|
RMDIR="rmdir"
|
|
ECHO_CMD="echo"
|
|
|
|
post-deinstall() {
|
|
if ${CMP} -s ${SAMBA_CONFDIR}/${SAMBA_CONFIG} ${SAMBA_CONFDIR}/${SAMBA_CONFIG}.sample; then
|
|
${RM} -f ${SAMBA_CONFDIR}/${SAMBA_CONFIG}
|
|
fi
|
|
${RM} -f ${SAMBA_CONFDIR}/${SAMBA_CONFIG}.sample
|
|
${RM} -rf ${SAMBA_SPOOL}
|
|
${RMDIR} ${SAMBA_LOGDIR} 2>/dev/null || true
|
|
for f in connections.tdb locking.tdb messages.tdb sessionid.tdb \
|
|
unexpected.tdb brlock.tdb namelist.debug
|
|
do
|
|
${RM} -f "${SAMBA_LOCKDIR}/${f}"
|
|
done
|
|
${RMDIR} ${SAMBA_LOCKDIR} 2>/dev/null || true
|
|
${RMDIR} ${SAMBA_PRIVATEDIR} 2>/dev/null || true
|
|
${ECHO_CMD} "WARNING: If you will *NOT* use this package anymore, please remove the"
|
|
${ECHO_CMD} " following directories manually:"
|
|
${ECHO_CMD} " ${SAMBA_PRIVATEDIR}"
|
|
${ECHO_CMD} " ${SAMBA_LOGDIR}"
|
|
${ECHO_CMD} " ${SAMBA_LOCKDIR}"
|
|
${ECHO_CMD}
|
|
}
|
|
|
|
case $2 in
|
|
POST-DEINSTALL)
|
|
post-deinstall
|
|
;;
|
|
esac
|