Samba 2.2.5 for MPE/iX

This is a preliminary prototype, weakly tested, not hp supported

This is a cleanroom implementation of Samba 2.2.5 for MPE/iX. Please do not confuse this with any HP version that might currently be available or in progress. This one here is not HP supported, use it at your own risk.

The binaries were built on 7.0 PowerPatch 1 using GNU gcc 2.95.2

This 2.2.5 version is based on my 2.0.10 diffs, but has a couple of adjustments and modifications, for example in the areas of 30000 bytes per socket send/receive or MPE specific filename mapping (New_20_Folder). Compared to my previous 2.2.x versions, I have also added code to allow for "printing = mpe" in smb.conf, which can be used to let a client PC view or modify the MPE spoolfile queue:

  printing = mpe

  print command = /ORG/SAMBA/v2.2.5/lib/rawlp %s %p %U 8 && rm %s

  lpq command = callci 'spoolf @ ;seleq=[dev=%p] ;show'
  lppause command = callci 'spoolf %j ;defer'
  lpresume command = callci 'spoolf %j ;undefer'
  lprm command = callci 'spoolf %j ;delete'

  lpq cache time = 60

Also notice that Samba 2.2.x has a new handling of spoolss_nt, which allows to upload Windows printer drivers to the PRINT$ share using the Windows Add Printer wizard. The printer drivers will then be downloaded by clients mapping the shared printer (no more user dialog to manually select a printer driver). Note that you can use "disable spoolss = yes" in smb.conf to switch Samba back to the previous spooling behaviour.

To build Samba on MPE/iX, I have used the GNU gcc compiler package as well as a few selected (object) files from the Posix Porting Wrappers on Jazz. The files that have been compiled with HP C/iX (c89) for convenience (calling MPE intrinsics is a little easier in HP C/iX than in GNU gcc) are supplied as .o files, in case you don't have c89 on your system.

To build Samba 2.2.5/iX.1 on MPE/iX, you need the following files:

To just use precompiled binaries, you can use the following:

Have fun with Samba for MPE/iX, but keep in mind: use at your own risk

Lars Appel, July 2002


PS: This page was created with Phase5, the free HTML editor from www.meybohm.de