Discussion:
Problem Accessing Samba Server Shares
Galen Henderson
2010-03-03 19:05:16 UTC
Permalink
Hello all. I installed the latest WPI and the beta zip for SAMBA server
and it's gui tools. Everything went well except for the first install
when it said I did not have UnixRoot configured. It made the change and
at the end of the installer it errored several times and left me with an
incomplete configuration. I rebooted and reinstalled and all was well.
The nice config program ran and set up all of my shares and everything
looks good. SMBD and NMBD are both running.

Problem is when I try to access the shares from another machine . On an
ECS machine, it maps the drive but when you open it from the drives
folder, it is empty. On Windows * boxes I get the following error;

The Filename, Directory Name, or volume label syntax is incorrect.

I've experimented with different shares and settings trying user and
share security. When I set the allowed users for a share and try to
connect to it, I get the access denied message but when the user is
allowed, I get the above message. Any hints?
--
Regards,
Galen
-----
There are only 10 kinds of people in the world. Those who understand
binary and those who don't.
Galen Henderson
2010-03-03 19:19:06 UTC
Permalink
Forgot to post my SMB.COMF

----

# Samba config file created using SSCC ver. 0.9.4
# from ***@ECSWRK
# Date: 3 Mar 2010 12:48:56
[global]
workgroup = HSC
server string = %h Samba Server for eCS (OS/2)
null passwords = Yes
passdb backend = tdbsam
guest account = guest
username map = C:\MPTN\ETC\samba\private\smbusermap
log level = 2
log file = C:\MPTN\ETC\samba\log\log.smbd.%U.%M
time server = Yes
load printers = No
printcap name = C:\MPTN\etc\printcap
enumports command = D:\NETWORK\Samba\enumports.cmd
add user script = D:\NETWORK\Samba\usermod.cmd -a "%u"
rename user script = D:\NETWORK\Samba\usermod.cmd -r "%uold" "%unew"
delete user script = D:\NETWORK\Samba\usermod.cmd -x "%u"
add group script = D:\NETWORK\Samba\groupmod.cmd -a "%g"
delete group script = D:\NETWORK\Samba\groupmod.cmd -x "%g"
add user to group script = D:\NETWORK\Samba\groupmod.cmd -j "%g" "%u"
delete user from group script = D:\NETWORK\Samba\groupmod.cmd -l "%g" "%u"
set primary group script = D:\NETWORK\Samba\usermod.cmd -p "%u" "%g"
add machine script = D:\NETWORK\Samba\usermod.cmd -a "%u"
lm announce = Yes
wins support = Yes
add share command = D:\NETWORK\Samba\addshare.cmd
change share command = D:\NETWORK\Samba\changeshare.cmd
delete share command = D:\NETWORK\Samba\delshare.cmd
lock directory = C:\MPTN\ETC\samba\lock
comment = Samba Server for eCS (OS/2)
create mask = 0777
ea support = Yes
store dos attributes = Yes

[HOMES]
comment = Home directory
path = D:/HOME/%u
read only = No
browseable = No

[ECUPSHPO]
comment = OfficeJet 5610xi
path = C:\MPTN\ETC\samba\spool\ECUPSHPO
create mask = 0700
guest ok = Yes
printable = Yes
print command = D:\NETWORK\Samba\smbprint.exe "%s" "%p" "%J" "%c" "%z"
printer name = ECUPSHPO

[ECUPSGen]
comment = Canon MF-4150
path = C:\MPTN\ETC\samba\spool\ECUPSGen
create mask = 0700
guest ok = Yes
printable = Yes
print command = D:\NETWORK\Samba\smbprint.exe "%s" "%p" "%J" "%c" "%z"
printer name = ECUPSGen

[HP_Offic]
comment = HP_Officejet_5600_1
path = C:\MPTN\ETC\samba\spool\HP_Offic
create mask = 0700
guest ok = Yes
printable = Yes
print command = D:\NETWORK\Samba\smbprint.exe "%s" "%p" "%J" "%c" "%z"
printer name = HP_Offic

[C]
comment = Drive C: (JFS)
path = C:/
read only = No
guest ok = Yes
hide files = /*. SF/root/
valid users = galen, root, administrator
[D]
comment = Drive D: (JFS)
path = D:/
read only = No
guest ok = Yes
hide files = /*. SF/root/

[E]
comment = Drive E: (JFS)
path = E:/
read only = No
guest ok = Yes
hide files = /*. SF/root/

[S]
comment = Drive S: (UDF)
path = S:/
read only = No
guest ok = Yes
hide files = /*. SF/root/



----
Thanks,
Galen
Herwig Bauernfeind
2010-03-04 10:25:22 UTC
Permalink
Hello Galen,
Post by Galen Henderson
Hello all. I installed the latest WPI and the beta zip for SAMBA
server and it's gui tools. Everything went well except for the first
install when it said I did not have UnixRoot configured. It made the
change and at the end of the installer it errored several times and
left me with an incomplete configuration. I rebooted and reinstalled
and all was well. The nice config program ran and set up all of my
shares and everything looks good. SMBD and NMBD are both running.
Problem is when I try to access the shares from another machine .
On an ECS machine, it maps the drive but when you open it from the
drives folder, it is empty. On Windows * boxes I get the following
error;
The Filename, Directory Name, or volume label syntax is incorrect.
I've experimented with different shares and settings trying user and
share security. When I set the allowed users for a share and try to
connect to it, I get the access denied message but when the user is
allowed, I get the above message. Any hints?
Please set loglevel of the server to at least 5, try to access the
shares, stop the server and send me the logs.

Kind regards,
Herwig

Loading...