samba 2.2.8/util_str.c - Why is '$' exempted from '_' replac

John E. Malmberg wb8tyw at qsl.net
Mon Oct 11 16:10:53 GMT 2004


In article <01LFWIUNPFLM9XIBI3 at er6s1.eng.ohio-state.edu>,
Dave Jones <JONESD at er6s1.eng.ohio-state.edu> writes:
>>Item on the todo list is to either have a VMS specific queue module that
>>uses the $sndjbc[w]/$getqui[w] interfaces
>
> I did a module like that last year, see
> http://www.er6.eng.ohio-state.edu/~jonesd/print_vms_2.zip

Thanks, I will look at that.

Are you actively working on any version of SAMBA now?

Samba V4 may be easier to port to VMS than prior releases, and it is easier
to get changes in for it that would help a VMS port.

There is supposed to be an option for it to use Posix Threads instead of fork()

It looks like it will require both GNV and Perl to get the intial config files
and makefile created.

> The JOB ID mapping is a problem.  I cheated and assumed that VMS queue entry
> numbers are less than 10,000 and that samba-created jobs don't exceed 6000.
> I don't know if VMS version 8 manages entry numbers differently.

No, the cheat for VMS queue entry numbers will not work reliably on some
versions of VMS.  I do not have a table of which versions do what, but I think
that the last major change was in the VMS 5.5 release.

The VMS job numbers do not always increment sequentially, and will jump to a
high number occasionally.  Hoff has posted about this on comp.os.vms and in
the OpenVMS F.A.Q.  I personally have only seen this behavior on clusters
with high uptimes and moderately high print volumes.

I entered a bugzilla report about the queue number range difference issue,
and it got answered that SAMBA is now maintaining a translation table of
print job I.D.s to map 32 bit host job id's over to the SMB 16 bit ids.

As the main SAMBA group is mainly concerned with the 3.x stream, I do not
know if that mapping is present in the 2.2.x stream.

> My print_vms module looks for the SAMBA_SERVED printer characteristic and if
> found only serves printers that have that characteristics set.

That is an idea.  Using an ACL might be another method.

-John
wb8tyw at qsl.net
Personal Opinion Only



More information about the samba-vms mailing list