Bug 1905 - OpenVMS sets SMBD process name to indicate connected client
OpenVMS sets SMBD process name to indicate connected client
Status: NEW
Product: Samba 3.0
Classification: Unclassified
Component: Build environment
Alpha OpenVMS
: P3 enhancement
: none
Assigned To: Tim Potter
Samba QA Contact
Depends on:
  Show dependency treegraph
Reported: 2004-10-10 18:53 UTC by John Malmberg
Modified: 2004-10-10 18:53 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description John Malmberg 2004-10-10 18:53:38 UTC
This is entered mainly for tracking an OpenVMS specific issue.

OpenVMS has a concept of a displayed process name which has 15 printable
characters and must be unique to a system+UIC group.

The current 2.2.x VMS port is modifying reply_special.c to do this.

IIRC: Samba 2.0.6 on VMS used compile time macros to redirect the call to
reply_special.c to a VMS specific wrapper that set the process name before
calling reply_special.c

The current algorithm in use results in a name consisting of SMBD_%s_%x
truncated to 15 characters where %x is the remote machine name, and %x is the
least significant 4 hexadecimal digits of the process ID.