Running Samba 2.0.6 on Alpha VMS (J Beets)
john marchant
jmarchant at cobbcounty.org
Wed Nov 28 21:25:31 GMT 2001
Have you rejoined the domain?
-----Original Message-----
From: samba-vms-admin at lists.samba.org
[mailto:samba-vms-admin at lists.samba.org]On Behalf Of
samba-vms-request at lists.samba.org
Sent: Wednesday, November 28, 2001 3:03 PM
To: samba-vms at lists.samba.org
Subject: samba-vms digest, Vol 1 #157 - 3 msgs
Send samba-vms mailing list submissions to
samba-vms at lists.samba.org
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.samba.org/listinfo/samba-vms
or, via email, send a message with subject or body 'help' to
samba-vms-request at lists.samba.org
You can reach the person managing the list at
samba-vms-admin at lists.samba.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of samba-vms digest..."
Today's Topics:
1. RE: samba-vms digest, Vol 1 #156 - 2 msgs (john marchant)
2. Running Samba 2.0.6 on Alpha VMS (J Beets)
3. Re: Running Samba 2.0.6 on Alpha VMS (John E. Malmberg)
--__--__--
Message: 1
Reply-To: <jmarchant at cobbcounty.org>
From: "john marchant" <jmarchant at cobbcounty.org>
To: <samba-vms at lists.samba.org>
Cc: <jbeets at cnd.co.nz>
Subject: RE: samba-vms digest, Vol 1 #156 - 2 msgs
Date: Tue, 27 Nov 2001 15:35:25 -0500
Is this:
Adding /FLAGS=LISTEN stopped smbd crashing on start up.
only for 2.0.6?
Where do you put this flag? I haven't looked at my OpenVMS Samba lately.
Thanks.
-----Original Message-----
From: samba-vms-admin at lists.samba.org
[mailto:samba-vms-admin at lists.samba.org]On Behalf Of
samba-vms-request at lists.samba.org
Sent: Tuesday, November 27, 2001 3:02 PM
To: samba-vms at lists.samba.org
Subject: samba-vms digest, Vol 1 #156 - 2 msgs
Send samba-vms mailing list submissions to
samba-vms at lists.samba.org
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.samba.org/listinfo/samba-vms
or, via email, send a message with subject or body 'help' to
samba-vms-request at lists.samba.org
You can reach the person managing the list at
samba-vms-admin at lists.samba.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of samba-vms digest..."
Today's Topics:
1. Running Samba 2.0.6 on Alpha VMS (J Beets)
2. Re: Samba 2.0.3 handling of files with no ".extension" (John E.
Malmberg)
-- __--__--
Message: 1
From: J Beets <jbeets at cnd.co.nz>
To: Vms Samba <samba-vms at lists.samba.org>
Date: Tue, 27 Nov 2001 10:57:41
Subject: Running Samba 2.0.6 on Alpha VMS
Hello John/ other VMS Samba users,
Thanks for your help. I had upgraded to Samba 2.0.6 from 2.0.3 hoping it
would help but you're right - all the versions of Samba are affected
including
2.0.6
Adding /FLAGS=LISTEN stopped smbd crashing on start up.
I now have one remaining error in the smb.log file - can you help?
(I have no printers on the VMS server)
[2001/11/27 09:11:24, 1]
CMS_ROOT:[SAMBA.SOURCE.SMBD]SERVER.C;2:(643)
smbd version 2.0.6 started.
Copyright Andrew Tridgell 1992-1998
[2001/11/27 09:11:25, 0]
CMS_ROOT:[SAMBA.SOURCE.PARAM]LOADPARM.C;2:(1797)
No path in service printers - using /tmp
[2001/11/27 09:11:26, 0]
CMS_ROOT:[SAMBA_VMS.SOURCE.LIB]UTIL_SID.C;1:(262)
string_to_sid: Sid does not start with 'S-'.
[2001/11/27 09:11:26, 0]
CMS_ROOT:[SAMBA_VMS.SOURCE.PASSDB]PASSDB.C;1:(812)
unable to generate machine SID.
[2001/11/27 09:11:26, 0]
CMS_ROOT:[SAMBA_VMS.SOURCE.PASSDB]PASSDB.C;1:(872)
unable to read file SAMBA_ROOT/VAR/PRIVATE/MACHINE.SID. Error was
can't assign requested address
[2001/11/27 09:11:26, 0]
CMS_ROOT:[SAMBA.SOURCE.SMBD]SERVER.C;2:(677)
ERROR: Samba cannot create a SAM SID.
Is this a privilege problem? Samba was installed under the System username.
The smb.conf file is currently the default with only the workgroup name
changed and [tmp] enabled
Thanks for your help, smb.conf file follows ...
Regards,
Joop Beets
$ type smb.conf
[global]
server string = Samba %v running on %h (OpenVMS)
workgroup = Workgroup
encrypt passwords = Yes
; mangled names = No
; encrypt passwords = No
hide dot files = No
map system = Yes
printing = bsd
printcap name = /sys$sysroot/tcpip$lpd/tcpip$printcap.dat
print command = print %s /queue=%p /delete/name=SAMBA_PRINT
lppause command = samba_lppause %p %j
lpresume command = samba_lpresume %p %j
lpq command = samba_lpstat %p
lprm command = samba_lprm %p %j
; lpq cache time = 0 ;future when next OpenVMS release uses
SYS$GETQUI()
; smbrun = project_root:[samba_vms.bin]smbrun.exe_axp
load printers = yes
; socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
socket options = SO_RCVBUF=8192 SO_SNDBUF=8192 SO_KEEPALIVE
; keepalive = 30
; guest account = pcguest
; This next option sets a separate log file for each client. Remove
; it if you want a combined log file.
; log file = /usr/local/samba/log.%m
; log_file = /samba_root/var/%m.log
; log file = sys$output/
; You will need a world readable lock directory and "share modes=yes"
; if you want to support the file sharing modes for multiple users
; of the same files
; lock directory = /usr/local/samba/var/locks
share modes = yes
security = user
;
; new stuff
; debug pid = Yes
; debug uid = Yes
level2 oplocks = True
; magic script = SAMBA_MAGIC.COM ;experimental, will this work on
OpenVMS?
; magic output = SAMBA_MAGIC.LOG
; new stuff
; max xmit = 8192
blocking locks = True
message command = samba_message %f %t %s
; ole locking compatibility must be off, or VMS will create a giant empty
files!
ole locking compatibility = no
; unix password sync = no ! VMS password chat.
; password chat = "*Enter OLD password*" %o\n \
; "*Enter NEW password*" %n\n \
; "*Reenter NEW password*" %\n\n \
; "*Password changed*"
;
; passwd program = SET PASSWORD
; passwd chat debug = True ; Debug only
;
; nmbd
; local master = yes ;default
; preferred master = no; default
[homes]
comment = Home Directories
browseable = no
read only = no
create mode = 0750
fstype = ODS2
[printers]
comment = All Printers
browseable = no
printable = yes
public = no
writable = no
create mode = 0700
; printing=OpenVMS
; you might also want this one, notice that it is read only so as not to
give
; people without an account write access.
;
[tmp]
comment = Temporary file space
path = /tmp
read only = yes
public = yes
> Date: Sun, 25 Nov 2001 18:53:58 -0600
> From: "John E. Malmberg" <wb8tyw at qsl.network>
> To: samba-vms at samba.org
> Subject: Re: Running Samba 2.0.3 on Alpha VMS
>
> J Beets <jbeets at cnd.co.newzealand> wrote:
> > Date: Wed, 21 Nov 2001 12:23:53
> >
> > Hello Alpha VMS Samba users,
> >
> > I'm running Samba V2.0.3 Binaries on Alpha VMS 7.2-1 with UCX (TCPIP)
> Ver
> > 5.1 ECO-2.
> >
> > The binaries all Linked okay and installed without problems and the
NMBD
> > and SMBD_1 and SMBD_2 processes all started - however the smbd_1
> > process stops soon after with the error:
> >
> > "Internet ACP Error during process startup, Nolisten Service Disabled -
> > SMBD Server" on the system console.
>
>
> I have never run the SAMBA 2.0.3 release, but there was a report earlier
> on this list that a fresh install on SAMBA for OpenVMS will need the
> /LISTEN flag set on the SMBD service.
>
> Apparently this flag used to be set by default. I do not have any
> documentation on this flag either. You may want to contact the CSC
> about it.
>
> All versions of SAMBA for OpenVMS from 1.19.x to 2.0.6 on the OpenVMS
> Freeware
>
> CD-ROM are probably affected.
>
>
> >
> > the log.smb file contains:
> >
> > DSA1:[KITS.SAMBA-2_0_3.SOURCE.LIB]SYSTEM.C;1:(362)
> > WARNING: no chroot!
>
>
> OpenVMS does not have a single root directory, so a chroot() function is
> meaningless.
>
>
> -John
>
> wb8tyw at qsl.network
> Personal Opinion Only
>
>
-- __--__--
Message: 2
Date: Tue, 27 Nov 2001 00:02:39 -0600
From: "John E. Malmberg" <wb8tyw at qsl.net>
To: samba-vms at samba.org
Subject: Re: Samba 2.0.3 handling of files with no ".extension"
[CC: to the Samba-vms mailing list.]
Roy Omond wrote:
> Paul Repacholi wrote:
>
>
>>Roy Omond <Roy.Omond at BlueBubble.UK.Com> writes:
>>
>>
>>>Weird thing is, in a DOS window I can successfully create a file
>>>with no extension (COPY X.X ABCD) and the file appears correctly on
>>>the VMS side, but the new file is invisible on the Weendoze side.
>>>
>>Can you see a 'ABCD.'? Remember, VMS has a 2 part file name, with
>>the '.' as a seperator that is always there.
>>
>
> In short, no. The file (viewed from VMS) called ABCD. is not visible
> on the Weendoze side at all. The COPY X.X ABCD mentioned above
> produces the ABCD. file on VMS, which is subsequently invisible as
> described.
>
> The file ABCD. (on the Weendoze side) is named ABCD__2E. on the VMS
> side (using the filename munging algorithm of Samba).
Ah, somehow SAMBA 2.0.3 on OpenVMS is thinking that Samba client wanted
the file to be named "ABCD..". Note the two trailing dots. That is
quite a different case than ignoring files with a trailing "."
> Previous versions of Samba had no problems with this. I'll be looking at
> this problem again on Wednesday when I'm next on customer site.
I do not believe that SAMBA 2.0.6 for OpenVMS has this aberation.
As a test:
$rename ABCD__2E. abcd.__2E
And see if SAMBA 2.0.3 for OpenVMS can handle this. It was a change put
into SAMBA in an attempt to track what Pathworks Server was doing, and
it looks like it has a few cases where it does not work in SAMBA 2.0.3.
Is this only a problem with existing files, or are new files affected?
The name translating part of SAMBA on OpenVMS has continued to be a
source of pain. To do it right incurs a high CPU or disk access latency.
The structure for SAMBA 2.2.x may allow for some improvements there, but
it added quite a few more architectural hurtles to overcome.
-John
wb8tyw at qsl.network
Personal Opinion Only
-- __--__--
_______________________________________________
samba-vms mailing list
samba-vms at lists.samba.org
http://lists.samba.org/listinfo/samba-vms
End of samba-vms Digest
---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.298 / Virus Database: 161 - Release Date: 11/13/01
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.298 / Virus Database: 161 - Release Date: 11/13/01
--__--__--
Message: 2
From: J Beets <jbeets at cnd.co.nz>
To: Vms Samba <samba-vms at lists.samba.org>
Date: Wed, 28 Nov 2001 10:07:20
Subject: Running Samba 2.0.6 on Alpha VMS
Hello VMS Samba users,
>> Adding /FLAGS=LISTEN stopped smbd crashing on start up.
This has to be added to smbd_setup_tcpip.com (or _ucx) like below:
$ tcpip set service smbd -
/protocol=TCP -
/port=139 -
/flags=listen - <<< - add it here - the rest is unchanged
/user=SYSTEM -
/process=SMBD -
/file=SAMBA_ROOT:[BIN]SMBD_STARTUP.COM -
/log=(FILE:SAMBA_ROOT:[VAR]SMBD_STARTUP.LOG,ALL) -
/limit=100
Regards,
Joop Beets
--__--__--
Message: 3
Date: Tue, 27 Nov 2001 23:08:29 -0600
From: "John E. Malmberg" <wb8tyw at qsl.net>
To: samba-vms at lists.samba.org
Subject: Re: Running Samba 2.0.6 on Alpha VMS
J Beets <jbeets at cnd.co.newzealand>
>
> Hello John/ other VMS Samba users,
>
> Thanks for your help. I had upgraded to Samba 2.0.6 from 2.0.3 hoping it
> would help but you're right - all the versions of Samba are affected
including
> 2.0.6
>
> Adding /FLAGS=LISTEN stopped smbd crashing on start up.
>
> I now have one remaining error in the smb.log file - can you help?
> (I have no printers on the VMS server)
>
> [2001/11/27 09:11:24, 1]
> CMS_ROOT:[SAMBA.SOURCE.SMBD]SERVER.C;2:(643)
> smbd version 2.0.6 started.
> Copyright Andrew Tridgell 1992-1998
> [2001/11/27 09:11:25, 0]
> CMS_ROOT:[SAMBA.SOURCE.PARAM]LOADPARM.C;2:(1797)
> No path in service printers - using /tmp
> [2001/11/27 09:11:26, 0]
> CMS_ROOT:[SAMBA_VMS.SOURCE.LIB]UTIL_SID.C;1:(262)
> string_to_sid: Sid does not start with 'S-'.
> [2001/11/27 09:11:26, 0]
> CMS_ROOT:[SAMBA_VMS.SOURCE.PASSDB]PASSDB.C;1:(812)
> unable to generate machine SID.
> [2001/11/27 09:11:26, 0]
> CMS_ROOT:[SAMBA_VMS.SOURCE.PASSDB]PASSDB.C;1:(872)
> unable to read file SAMBA_ROOT/VAR/PRIVATE/MACHINE.SID. Error was
> can't assign requested address
> [2001/11/27 09:11:26, 0]
> CMS_ROOT:[SAMBA.SOURCE.SMBD]SERVER.C;2:(677)
> ERROR: Samba cannot create a SAM SID.
>
> Is this a privilege problem? Samba was installed under the System
username.
> The smb.conf file is currently the default with only the workgroup name
> changed and [tmp] enabled
The MACHINE.SID from SAMBA 2.0.3 can not be parsed by SAMBA 2.0.6.
If you delete the MACHINE.SID, Samba will recreate it, and all should be
well.
-John
wb8tyw at qsl.network
Personal Opinion Only
> http://lists.samba.org/listinfo/samba-vms
>
>
> End of samba-vms Digest
>
--__--__--
_______________________________________________
samba-vms mailing list
samba-vms at lists.samba.org
http://lists.samba.org/listinfo/samba-vms
End of samba-vms Digest
---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.298 / Virus Database: 161 - Release Date: 11/13/01
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.298 / Virus Database: 161 - Release Date: 11/13/01
More information about the samba-vms
mailing list