Monday, September 01, 2014

Goodbye UW IMAP! Hello Dovecot! Oracle Solaris 11 setup guide for Dovecot

After many years of being faithful to UW IMAP it was time to move on. The move was required since UW IMAP was no longer being supported and I was having problems using it with latest version of Horde Webmail, so I decided to install Dovecot on our Oracle Solaris 11 systems.

I was surprised how easy the installation went to get Dovecot working on Solaris 11, which was pleasing.

References:
  • Welcome to the Dovecot Wiki
    • http://wiki2.dovecot.org/
  • IMAP server with dovecot
    • http://karellen.blogspot.co.uk/2011/12/imap-server-with-dovecot.html
  • Solaris 10 に Dovecot 2.1 をインストールする方法
    • http://blog.torigoya.net/2012/07/01/solaris10-dovecot

Thursday, July 31, 2014

Install Firefox 30 (latest version) onto Oracle Solaris 11

As you know Oracle Solaris 11 (11.1, 11.2) comes with Firefox 17 ESR and Mozilla 17 ESR, which is very good news. I have had no problems with this version until now when I upgrade our Oracle Database 12c to 12.1.0.2 and found out that I could no longer access the Enterprise Manager Database Express via the browser since you require Firefox 24+.

Thankfully someone has compiled there our later version and placed them in mozilla contrib locations http://download.cdn.mozilla.net/pub/mozilla.org/firefox/releases.

Thursday, May 29, 2014

Setting up SSL for Solaris 11 LDAP (ldapclient to use LDAPS)

Following on from my last blog about "Setting up SSL for Solaris 11 LDAP client (changing AD password from Solaris)" I thought I would finish it off by changing my name service from LDAP to LDAPS. Hopefully your system is already talking to Active Directory over LDAP for all your authentication ("Solaris 11 Authentication Login with Active Directory").

Step 1: Setting up SSL for Solaris 11 LDAP client (changing AD password from Solaris)


Friday, May 16, 2014

Setting up SSL for Solaris 11 LDAP client (changing AD password from Solaris)

I have been using LDAP for years for our authentication and using LDAP Active Directory for about 3 years, but this was always using ldap so I thought I would start looking at SSL.

This blog entry will look at the initial setup and how you can talk to the AD server over SSL. The information here is nothing new and is all covered in the references but hope this shorter version helps.

References:

Friday, December 06, 2013

Windows 7 client Printer Queue fails when printing to CUPS Server via IPP

A short entry, since if you have setup a cups server and you have set up the Windows 7 clients to print to it via IPP you may find the windows printer spooler some times plays up. We had this for a while with our setup and I could not find a answer. It looks like Microsoft really tries hard for it software to only work with Windows.

I bet there is code inside windows which says if talking to non-windows system add bugs!!

Anyway if you get any of the following in your cups logs:
  • Print-Job client-error-bad-request
  • windows-ext client-error-bad-request
  • Print-Job client-error-bad-request
  • Returning IPP client-error-bad-request for windows-ext
  • Missing printer-uri, job-uri, or ppd-name attribute
You see the following from windows:
  • Print job fails. 
  • Event is logged in the Operation Log that shows that the print job was successful. However, the size of the print job is displayed as 0 bytes.
  • tmp files appearing in printer spool
 You need a hot fix which has been out since November 14, 2012.

http://support.microsoft.com/kb/2769359
KB2769359 : Print job fails when the printer driver isolation feature is set to isolated or shared mode in Windows 7 or Windows Server 2008 R2
 
Hope this helps

Friday, October 18, 2013

Solaris 11: Setup Printer server using Cups and Windows 7 x64

Now that Solaris 11.1 now comes with cups v1.4.5 I thought I would replace our old Solaris 10 lpd server with a cups set up. The printer server is used by many clients, MacOS, Windows and Solaris. Note: Solaris SRU 11.1.8.4.0 fixed a few problems with Cups.

Steps:
  • Create Solaris zone (printsrv)
  • Setup cups server and printers
  • Setup Windows 7 clients

Friday, September 13, 2013

Setup Samba in a zone with Oracle Solaris 11.1 and join a Windows Active Directory Server (ADS)

I have been running Samba on Solaris 11 zone for a while now and I thought I would finally write the instructions up. First, why am I using samba and not the CIFS server which comes with Solaris now. Well, one reason.... CIFS does not work in a zone and Samba does. I have our NFS file-server in a zone so I needs SMB access to those files.

Before we can start you need change the "Maximum number of supplementary groups (groups that a user can be in, additionally to the primary group)".
I have just spotted that this has changed or at least documented in Solaris 11.1,  but is still required in /etc/system ref: http://docs.oracle.com/cd/E26502_01/html/E29022/chapter2-4.html#gjmtw & http://www.c0t0d0s0.org/archives/7634-Less-known-Solaris-11.1-features-A-user-in-1024-groups-and-a-workaround-for-a-25-year-old-problem.html

# echo "set ngroups_max=512" >> /etc/system 

Reboot the server.