Samba with AD authentication on Solaris 8

From Brandonhutchinson.com

(Difference between revisions)
Jump to: navigation, search
(New page: The SunFreeware Samba package is not compiled with AD support. $ pkginfo -l SMCsamba PKGINST: SMCsamba NAME: samba CATEGORY: application ARCH: sparc VERSION: 3.0....)
Line 9: Line 9:
$ /usr/local/samba/sbin/smbd -b | egrep 'ADS|LDAP|KRB|WINBIND'
$ /usr/local/samba/sbin/smbd -b | egrep 'ADS|LDAP|KRB|WINBIND'
-
 
+
$ tar xvf krb5-1.6.2-signed.tar
* [http://mailman.mit.edu/pipermail/krbdev/2006-September/004952.html Verify the signed tarball]
* [http://mailman.mit.edu/pipermail/krbdev/2006-September/004952.html Verify the signed tarball]
Line 33: Line 33:
Download and install [http://web.mit.edu/kerberos/ Kerberos]
Download and install [http://web.mit.edu/kerberos/ Kerberos]
-
$ tar xvf krb5-1.6.2-signed.tar
+
$ gzip -cd krb5-1.6.2.tar.gz | tar xvf -
 +
$ cd krb5-1.6.2/src
 +
$ PATH=$PATH:/usr/local/bin ./configure
 +
$ make
 +
$ sudo make install
 +
 +
Download and install [http://www.openldap.org/ OpenLDAP]
 +
 
 +
$ gzip -cd openldap-2.3.38.tgz | tar xvf -
 +
$ cd openldap-2.3.38
 +
$ PATH=$PATH:/usr/local/bin ./configure --disable-bdb --enable-null --without-tls
 +
...
 +
checking db.h usability... no
 +
checking db.h presence... no
 +
checking for db.h... no
 +
configure: error: BDB/HDB: BerkeleyDB not available
 +
$ PATH=$PATH:/usr/local/bin ./configure --disable-backends --enable-null --without-tls
 +
$ make depend
 +
$ make
 +
$ sudo make install
 +
Download and install [http://us1.samba.org/samba/ Samba]
 +
$ gzip -cd samba-3.0.26a.tar.gz | tar xvf -
 +
$ cd samba-3.0.26a/source
 +
$
I don't have GnuPG installed, so I can't verif
I don't have GnuPG installed, so I can't verif
$ gzip -cd krb5-1.6.2.tar.gz | tar xvf -
$ gzip -cd krb5-1.6.2.tar.gz | tar xvf -

Revision as of 21:28, 18 September 2007

The SunFreeware Samba package is not compiled with AD support.

$ pkginfo -l SMCsamba
  PKGINST:  SMCsamba
     NAME:  samba
 CATEGORY:  application
     ARCH:  sparc
  VERSION:  3.0.25a
...

$ /usr/local/samba/sbin/smbd -b | egrep 'ADS|LDAP|KRB|WINBIND'
$ tar xvf krb5-1.6.2-signed.tar
$ gpg --verify krb5-1.6.2.tar.gz.asc 
gpg: Signature made Tue 10 Jul 2007 02:20:59 PM CDT using RSA key ID F376813D
gpg: Can't check signature: public key not found

$ gpg --keyserver pgp.mit.edu --recv-keys F376813D
gpg: requesting key F376813D from hkp server pgp.mit.edu
gpg: key F376813D: duplicated user ID detected - merged
gpg: key F376813D: public key "Tom Yu <tlyu@MIT.EDU>" imported
gpg: no ultimately trusted keys found
gpg: Total number processed: 1
gpg:               imported: 1  (RSA: 1)
$ gpg --verify krb5-1.6.2.tar.gz.asc 
gpg: Signature made Tue 10 Jul 2007 02:20:59 PM CDT using RSA key ID F376813D
gpg: Good signature from "Tom Yu <tlyu@MIT.EDU>"
gpg: WARNING: This key is not certified with a trusted signature!
gpg:          There is no indication that the signature belongs to the owner.
Primary key fingerprint: 52 E0 3E E9 38 AE 70 58  3F 21 5C C8 5C C4 55 24

Download and install Kerberos

$ gzip -cd krb5-1.6.2.tar.gz | tar xvf -
$ cd krb5-1.6.2/src
$ PATH=$PATH:/usr/local/bin ./configure
$ make
$ sudo make install

Download and install OpenLDAP

$ gzip -cd openldap-2.3.38.tgz | tar xvf -
$ cd openldap-2.3.38
$ PATH=$PATH:/usr/local/bin ./configure --disable-bdb --enable-null --without-tls
...
checking db.h usability... no
checking db.h presence... no
checking for db.h... no
configure: error: BDB/HDB: BerkeleyDB not available
$ PATH=$PATH:/usr/local/bin ./configure --disable-backends --enable-null --without-tls
$ make depend
$ make
$ sudo make install

Download and install Samba

$ gzip -cd samba-3.0.26a.tar.gz | tar xvf -
$ cd samba-3.0.26a/source
$ 

I don't have GnuPG installed, so I can't verif

$ gzip -cd krb5-1.6.2.tar.gz | tar xvf -
Personal tools