Operating System - OpenVMS
1748092 Members
5048 Online
108758 Solutions
New Discussion юеВ

Re: CIFS on OpenVMS 8.3 Alpha

 
Willem Grooters
Honored Contributor

Re: CIFS on OpenVMS 8.3 Alpha

That rings a bell. IIRC, SMB.conf chould contain a line

os level = 65

to note a VMS system, and that line seems missing in your definition
Willem Grooters
OpenVMS Developer & System Manager
EdgarZamora_1
Respected Contributor

Re: CIFS on OpenVMS 8.3 Alpha

Here is my working SMB.CONF file. I only have one share and it's used for transferring log files.

I noticed I don't have the "os level = 65" as others have mentioned, but the config still works. I have windows and linux boxes dumping logs into the share.

CLCC1> ty smb.conf
[global]
server string = Samba %v running on %h (OpenVMS)
netbios name = %h
security = user
passdb backend = tdbsam
domain master = no
guest account = SAMBA$GUEST
domain logons = no
log file = /samba$root/var/log_%h.%m
create mode = 0755
load printers = no
printing = OpenVMS

[homes]
comment = Home Directories
browseable = no
read only = no
create mode = 0750

[samba_xfer]
browsable = yes
writeable = yes
public = no
valid users = samba_xfer
vfs objects = varvfc
path = /sys$users/samba_xfer


Do you have your host account created, identifiers granted, and also an entry into the tdbsam created (using pdbedit)?
Richard Jordan
Regular Advisor

Re: CIFS on OpenVMS 8.3 Alpha

CIFS V1.0 had a problem with using some log levels (the SMB.CONF setting that determines the verbosity of command and logfile output that would cause some programs to accvio. I do not know if that was fixed in V1.1.

Some commands let you set the log level (debug) on the command line; you might try adding a

-d2

qualifier to see if that is the problem. If it is, try putting this line in your SMB.CONF

log level = 2

and restart, see if it makes a difference. I believe the default is '3' which had problems, and if my memory is correct '4' also had the same issue. Values 0-2 and 5-10 worked ok.
eNet
New Member

Re: CIFS on OpenVMS 8.3 Alpha

William,

I just tried the OS LEVEL = 65 and that did not resolve it.


Edgar,

PDBEDIT is one of the utilities that is giving me the ACCVIO crash when I tried to do a "pdbedit -a testuser". I do have the account created using the template.

So, my current obstacle is trying to figure out what is causing the ACCVIO. I do have the testuser account created in UAF with the samba template settings, but not with PDBEDIT. So that's the one I'm trying to figure out right now.


Richard,

I currently have the log level at 10 so I'm getting all kinds of debug info. I'll try a couple of different log levels to see if I can generate a different response.


Thanks for the help everyone! It is greatly appreciated!

EdgarZamora_1
Respected Contributor

Re: CIFS on OpenVMS 8.3 Alpha

What account are you using to run the utilities? Is there a matching rights identifier for it? Post your UAF entry if you can. I found this tidbit which might be causing your problem:

4.8 CIFS Utilities Crash

Executing HP CIFS utilities such as PDBEDIT from a user
account that does not match the Rights Identifier results
in a crash.

Workaround:

There is no workaround. HP will address this problem in a
future release of CIFS.
EdgarZamora_1
Respected Contributor

Re: CIFS on OpenVMS 8.3 Alpha

Bingo! Problem duplicated...

CLCC1> mc authorize
UAF> remove/id ezamora
%UAF-I-RDBREMMSGU, identifier EZAMORA value [000200,003642] removed from rights
database
UAF> Exit
%UAF-I-NOMODS, no modifications made to system authorization file
%UAF-I-NAFNOMODS, no modifications made to network proxy database
%UAF-I-RDBDONEMSG, rights database modified
CLCC1> set host 0

CLCC1 - Test System

Username: ezamora
Password:



Last interactive login on Thursday, 6-NOV-2008 07:38:34.88
Last non-interactive login on Wednesday, 5-NOV-2008 08:10:10.34
%GNU_STARTUP-I-SETTING_UP, setting up Emacs version 21.2
CLCC1> @samba$root:[bin]samba$define_commands
CLCC1> pdbedit "-L"
getgid: getpwuid() failed, errno: 0
%SYSTEM-F-ACCVIO, access violation, reason mask=00, virtual address=000000000000
0000, PC=00000000001D96BC, PS=0000001B
%TRACE-F-TRACEBACK, symbolic stack dump follows
image module routine line rel PC abs PC
SAMBA$SHR 0 00000000001876BC 00000000001D96BC
SAMBA$SHR 0 000000000022B764 000000000027D764
SAMBA$SHR 0 0000000000492BA4 00000000004E4BA4
SAMBA$SHR 0 00000000004934B4 00000000004E54B4
SAMBA$SHR 0 00000000001D7804 0000000000229804
SAMBA$SHR 0 00000000001DDAE8 000000000022FAE8
SAMBA$SHR 0 00000000001ECF24 000000000023EF24
SAMBA$SHR 0 00000000001D3E9C 0000000000225E9C
SAMBA$PDBEDIT 0 00000000000300D4 00000000000300D4
SAMBA$PDBEDIT 0 000000000003006C 000000000003006C
SAMBA$PDBEDIT 0 00000000000303A4 00000000000303A4
0 FFFFFFFF80385CE4 FFFFFFFF80385CE4
%TRACE-I-END, end of TRACE stack dump
CLCC1>