1-----BEGIN PGP SIGNED MESSAGE----- 2Hash: SHA1 3 4The Mandrake samba spec file used for packaging for Mandrake and cooker 5is now also used by the makerpms.sh script, and you can pass any options 6that you would normally pass to rpm via the makerpms.sh script. 7 8Note that only release after 8.1 support passing options using 9"--with <option>" syntax. The following options are available when 10building with the script: 11 12- --with|--without ldap 13- --with|--without acl 14- --with|--without winbind 15- --with|--without wins 16- --with vscan 17Using "--with vscan" requires that you place a copy of the samba-vscan 18tarball (coverted to bz2 using bzme) from: 19http://prdownloads.sourceforge.net/openantivirus/samba-vscan-0.2.5a.tar.gz?download in your rpm source directory: 20 21cp samba-vscan-0.2.5a.tar.gz `rpm --eval "%_sourcedir"` 22bzme `rpm --eval "%_sourcedir"`/samba-vscan-0.2.5a.tar.gz 23 24When using "--with vscan" you will probably want to enable a virus scanner 25also: 26- --with fprot 27- --with kaspersky 28- --with mks 29- --with openantivirus 30- --with sophos 31- --with symantec 32- --with trend 33 34You may need to do additional setup for your virus scanner to get this to 35work, please see ../../examples/VFS/<scanner>/INSTALL (after having started 36a build with "sh makerpms.sh --with vscan") 37 38Note that only sophos has been tested with the spec, but the rest should work 39(after the preparation). Reports of working scanners are welcome, and please 40report any that do not work (preferably with a fix :-)). 41 42So, to build ldap-enable RPMs for with antivirus support with sophos, but 43no acl support, use: 44sh makerpms.sh --with ldap --with vscan --with sophos --without acl 45 46The same features can be enabled on Mandrake 7.2/8.0 by editing samba2.spec, 47and changing the 0 to 1 to enable the option: 48 49%if %build_mdk80 50%define build_acl 0 51%define build_winbind 0 52%define build_wins 0 53%define build_ldap 0 54%endif 55 56Similar sections exist for the virus scanning options. 57 58(If you haven't rebuilt RPMs before, it is suggested that you take a 59brief look through http://www.linux-mandrake.com/howtos/mdk-rpm/, 60specifically sections 3.1 and 3.2) 61 62The defaults for Mandrake 8.1 and 8.2 are shown below: 63%if %build_mdk82 64%define build_acl 1 65%define build_winbind 1 66%define build_wins 1 67%define build_ldap 0 68%endif 69 70%if %build_mdk81 71%define build_acl 1 72%define build_winbind 0 73%define build_wins 0 74%define build_ldap 0 75%endif 76 77Note that building with LDAP support will only allow you to use smbpasswd's 78stored in ldap, not in the local smbpasswd file. From 2.2.5 onwards in the 792.2 tree, ldap-enable RPMs now carry an ldap modifier to indicate this (for 80example, samba-server becomes samba-server-ldap). 81 82Building with acl requires that you have the acl development libraries. 83The libraries are standard on 8.1 and 8.2. 84ACLs can be used on Mandrake 8.0 with the updated kernel (to support XFS) 85if you install the RPMs available at 86http://ranger.dnsalias.com/mandrake/samba/RPMS/8.0/samba-2.2.1a_xfs/ 87 88Note that precompiled binaries of samba are also available on my site: 89http://ranger.dnsalias.com/mandrake/samba 90and that of Sylvestre Taburet: 91http://people.mandrakesoft.com/~staburet/samba/ 92 93If you have any problems with these RPMs, please send email to both 94bgmilne@cae.co.za and staburet@mandrakesoft.com 95 96These RPMs are provided as-is, are not official, and can not be 97supported by Mandrakesoft. However, we will do our best to provide 98reliable and well-packaged RPMS, since we use them on our own servers 99and those of clients. 100 101This file is signed with my gpg key, a copy of my public key is available 102at http://ranger.dnsalias.com/bgmilne.asc. The finger-print for this key 103follows: 1041024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7 105 106Recent posts by me on samba@samba.org have been signed with this key, 107in case you really want to verify who I am to some extent. 108 109Buchan Milne 11018 June 2002 111-----BEGIN PGP SIGNATURE----- 112Version: GnuPG v1.0.6 (GNU/Linux) 113 114iD8DBQE9D2h3rJK6UGDSBKcRAhtJAKC0fVkIMETgRxccrwLBcKZKHllCIACeNcZ9 115bxGZSTOHs57ir3wFR+3s0XM= 116=ifKf 117-----END PGP SIGNATURE----- 118