Re: smbd purpose?

2005-11-26 Thread John E. Malmberg

Dr Robert Young wrote:
With guidance from some people on the list, I was able to get the  
smbpasswd set correctly, and I can access my VMS directories now.  
However I have a question


In my tinkering I had issued a TCPIP SET NOVERV SMBB as part of my  
efforts to "clean out" things between install attempts, and had not  set 
it up to run again ( I forgot :- } )


The SMBD service needs to be enabled from TCPIP.  What happens on VMS is 
that the TCPIP service dispatcher listens on port 135 and when it gets 
an incoming connection request, it starts up the SMBD process as a response.


After the session is over, the SMBD process lingers for a short time in 
case another connection comes in from the same source, but if it does 
not, it will terminate.



I can not easily read the docs on samba 2.2.8 (8/17/2005) since they

> are all HTML (I am working on a VT320 ).

LYNX is available for VT320s, but that really does not make it much 
easier.  In the VMS kits 2.2.x, many of the the internal links are all 
wrong because they are set for UNIX pathnames with multiple dots in them.


The documentation for 3.x is not that much different from the 2.2.x 
version and is available at the SAMBA.ORG web site.


There is not much in the way of VMS specific documentation.

-John
[EMAIL PROTECTED]
Personal Opinion Only

PLEASE READ THIS IMPORTANT ETIQUETTE MESSAGE BEFORE POSTING:

http://www.catb.org/~esr/faqs/smart-questions.html


Re: smbd purpose?

2005-11-25 Thread Dr Robert Young
Here is what I see from "show system" while I am connected and have  
the directories mounted on my PC. I have copied files from the VMS  
system to the desktop w/out trouble.



   Welcome to OpenVMS (TM) Alpha Operating System, Version V7.3 on  
node LURKER

Last interactive login on Friday, 25-NOV-2005 08:34:34.36
Last non-interactive login on Thursday, 24-NOV-2005 11:01:08.26
$ sh system
OpenVMS V7.3  on node LURKER  25-NOV-2005 11:10:52.96  Uptime  10  
00:11:57
  PidProcess NameState  Pri  I/O   CPU   Page  
flts  Pages
0201 SWAPPER HIB 160   0 00:00:01.24  
0  0
0204 LANACP  HIB 13   54   0 00:00:00.09 
91115
0206 FASTPATH_SERVER HIB 109   0 00:00:00.02 
70 84
0207 IPCACP  HIB 10   10   0 00:00:00.02 
31 42
0208 ERRFMT  HIB  827519   0 00:00:22.45 
96112
020A OPCOM   LEF  6   173805   0 00:02:13.30   
1829 49
020B AUDIT_SERVERHIB 10  101   0 00:00:00.29
138168
020C JOB_CONTROL HIB  8  545   0 00:00:00.96 
58 81
020E QUEUE_MANAGER   HIB 10 1343   0 00:00:02.08
130164
020F SECURITY_SERVER HIB 10   59   0 00:05:44.19
576230
0210 ACME_SERVER HIB  9   73   0 00:00:00.16
416409 M
0212 DNS$ADVER   LEF  5   170245   0 00:01:38.21   
1717771
0213 LES$ACP_V30 HIB 10  122   0 00:00:00.10 
73 85
0214 NET$ACP HIB  5   85   0 00:00:00.15
158159
0215 REMACP  HIB  9   26   0 00:00:00.00 
36 23
0216 NET$EVD HIB  6   20   0 00:01:36.15
358194
0217 DTSS$CLERK  LEF 1210803   0 00:00:10.38
149189
0218 TP_SERVER   HIB 1057787   0 00:01:52.19 
73 95
0219 TCPIP$TNS1  HIB  4   54   0 00:00:00.11
222135
021A TCPIP$INETACP   HIB  8  588   0 00:00:00.51
179130
021B TCPIP$PORTM_1   LEF 1032701   0 00:00:18.02
283185  N
021C TCPIP$FTP_1 LEF 10  444   0 00:00:00.37
626227  N
021D TCPIP$LPD_QUEUE HIB  5   55   0 00:00:00.10
246112
021E TCPIP$NFS_1 HIB 10  181   0 00:00:00.25
494186  N
0220 TCPIP$PCNFSD_1  LEF 10  153   0 00:00:00.16
338161  N
0226 TCPIP$FTPC2 LEF  6  109   0 00:00:00.11
270188  N
0227 TCPIP$FTPC4 LEF  6  105   0 00:00:00.13
273183  N
02A8 SMBD_ROBERT-YOU LEF  8 3734   0 00:00:02.66
722568  N
02AC SMBD_ROBERT-YOU LEF  8 5710   0 00:00:06.73
673568  N
02B0 SMBD_ROBERT-YOU LEF  8 7258   0 00:00:09.63
705571  N
02B4 SMBD_ROBERT-YOU LEF  8 5421   0 00:00:06.48
742556  N
02B8 SMBD_ROBERT-YOU LEF  7 6956   0 00:00:06.93
749556  N
02BC SMBD_ROBERT-YOU LEF  812270   0 00:00:29.28
750562  N
02D4 SMBD_ROBERT-YOU LEF  6 9084   0 00:00:17.89
716572  N
02D8 SMBD_ROBERT-YOU LEF  8 3380   0 00:00:02.43
742549  N
02DC SMBD_ROBERT-YOU LEF  6 3482   0 00:00:02.58
745549  N
02E0 SMBD_ROBERT-YOU LEF  8 2763   0 00:00:01.94
748549  N
02E4 SMBD_ROBERT-YOU LEF  6 3118   0 00:00:02.35
673558  N
02E5 YOUNG   CUR  0   7  119   0 00:00:00.13
245111

$


The VMS version of "portmapper" is enabled, so I wondered if that was  
handling things?


$ tcpip show service

Service Port  ProtoProcess   
AddressState


FTP   21  TCP  TCPIP$FTP 
0.0.0.0 Enabled
LPD  515  TCP  TCPIP$LPD 
0.0.0.0 Enabled
MOUNT 10  TCP,UDP  TCPIP$MOUNTD  
0.0.0.0 Disabled
NFS 2049  UDP  TCPIP$NFS 
0.0.0.0 Enabled
PCNFS   5151  TCP,UDP  TCPIP$PCNFSD  
0.0.0.0 Enabled
PORTMAPPER   111  TCP,UDP  TCPIP$PORTM   
0.0.0.0 Enabled
RDBSERVER611  TCP  RDB71 
0.0.0.0 Disabled
TELNET23  TCP  not defined   
0.0.0.0 Enabled




On Nov 25, 2005, at 10:35 AM, Boyce, Nick wrote:

[Disclaimer: I'm not really a VMS person - just a lurking Samba-on- 
Unix

list member]

Robert Young asked :


[I disabled the smbd service but] samba is working just fine ...
What is the purpose of the smbd service exactly ?


smbd is a fundamental and vital part of Samba, responsible for
performing the actual data transfers involved in file access.  

RE: smbd purpose?

2005-11-25 Thread Boyce, Nick
[Disclaimer: I'm not really a VMS person - just a lurking Samba-on-Unix
list member]

Robert Young asked :

> [I disabled the smbd service but] samba is working just fine ... 
> What is the purpose of the smbd service exactly ?

smbd is a fundamental and vital part of Samba, responsible for
performing the actual data transfers involved in file access.   That
being the case, it's hard to understand how your Samba can possibly be
"working fine".

*  smbd handles file data transfer (on TCP port 139).
*  nmbd handles machine name-to-address lookups (simplisticly put) 
   and Network Neighbourhood "browsing" (on UDP ports 137 and 138).

(The above is for Samba V2.x.x - it's more complicated at Samba V3+)

Your VMS should create ("spawn" in VMS-ese ?) a copy of the smbd process
for each concurrently connected user.

(Somebody tell us if it's different on VMS ...)

Nick Boyce
EDS Central & Ireland ADU (UKIA), Bristol, UK

PLEASE READ THIS IMPORTANT ETIQUETTE MESSAGE BEFORE POSTING:

http://www.catb.org/~esr/faqs/smart-questions.html