JYC Samba 2.2.8 (May 2005) on OVMS AXP 7.3-2 (TCPIP 5.4 ECO 5)
My Windows clients are being blocked from reading their Samba shares
with the message:
"\\szeged is not accessible.
The server is not configured for transactions."
The [homes] section of my smb.conf file has this:
[homes]
comment = User home directories
read only = No
strict locking = Yes
I ran the smbclient command on the Samba server itself to view the
shares available to users and with debug level set to 2 on the command
line I got an "NT_STATUS_BAD_NETWORK_NAME" error as follows:
$ smbclient "-d" 2 "-l" "log.%S" "-U" tbransco "-L" szeged
stm_open: open /samba_root/lib/smb.conf, flags 00000000, fd = 3
stm_close: fd = 3
stm_open: open /samba_root/lib/smb.conf, flags 00000000, fd = 3
stm_close: fd = 3
stm_open: open /samba_root/lib/smb.conf, flags 00000000, fd = 3
stm_open: open /samba_root/lib/smb.conf, flags 00000000, fd = 4
stm_close: fd = 4
stm_close: fd = 3
stm_open: open /samba_root/lib/codepages/codepage.850, flags 00000000,
fd = 3
stm_close: fd = 3
added interface ip=192.168.0.3 bcast=192.168.0.255 nmask=255.255.255.0
added interface ip=127.0.0.1 bcast=127.255.255.255 nmask=255.0.0.0
Got a positive name query response from 127.0.0.1 ( 192.168.0.3 )
stm_close: fd = 3
Password:
Domain=[EREBUS] OS=[OpenVMS] Server=[Samba 2.2.8]
tree connect failed: NT_STATUS_BAD_NETWORK_NAME
stm_close: fd = 3
The log file, however, suggests problems first appear at the point where
Samba translates VMS home directories into Unix format (see line with
vfs_ChDir)
[log.szeged]
...
[2005/11/27 13:03:30, 3]
DISK$PGM:[KITS.MISC.SAMBA.SOURCE.SMBD]SEC_CTX.C;3:(338$
1 user groups:
128
[2005/11/27 13:03:30, 3]
DISK$PGM:[KITS.MISC.SAMBA.SOURCE.VMS]VMS_SUPPORT.C;356$
vms_setuid: uid = 00800081
[2005/11/27 13:03:30, 3]
DISK$PGM:[KITS.MISC.SAMBA.SOURCE.VMS]CVT_FILESPEC.C;59$
Convert to UNIX: DISK$USR:[TBRANSCO] -> /DISK$USR/tbransco
[2005/11/27 13:03:30, 3]
DISK$PGM:[KITS.MISC.SAMBA.SOURCE.VMS]CVT_FILESPEC.C;59$
UNIX path: /disk$usr/tbransco
[2005/11/27 13:03:30, 3]
DISK$PGM:[KITS.MISC.SAMBA.SOURCE.VMS]VMS_SUPPORT.C;356$
vms_setuid: uid = 00800081, username = "TBRANSCO", uic = 00800081
[2005/11/27 13:03:30, 3] DISK$PGM:[KITS.MISC.SAMBA.SOURCE.SMBD]VFS.C;8:(576)
vfs_ChDir to
[2005/11/27 13:03:30, 0]
DISK$PGM:[KITS.MISC.SAMBA.SOURCE.SMBD]SERVICE.C;2:(597$
kiraly (192.168.0.4) Can't change directory to (invalid argument)
Interestingly, I can use smbclient to browse the same home directory:
$ smbclient \\szeged\tbransco "-U" tbransco%celina77
smb: \> dir
...
64226 blocks of size 32768. 62767 blocks available
smb: \>
PLEASE READ THIS IMPORTANT ETIQUETTE MESSAGE BEFORE POSTING:
http://www.catb.org/~esr/faqs/smart-questions.html