A share on a TC3.1 machine can be successfully accessed without a password from an Lubuntu 10.04 box using a GUI app, Gigolo 0.4.0. The share cannot be accessed from a 2nd TC3.1 machine or a Windows XP Pro machine.
SAMBA SERVER TC3.1 MACHINEInstalled (OnBoot):
- filesystems-2.6.33.3-tinycore.tcz
- samba3.tcz
The partition to be shared is NTFS and is successfully mounted /mnt/sdb1. All files are correctly listed with ls /mnt/sdb1.
/usr/local/etc/samba/smb.conf has been edited to create a single public share. For the purposes of troublshooting security is not an issue.
Relevant sections of smb.conf
workgroup = WORKGROUP
server string = Samba Server
security = user
log file = /usr/local/samba/var/log.%m
max log size = 50
dns proxy = no
###CREATED BY SamK
# A publicly accessible directory, read/write to all users. Note that all files
# created in the directory by users will be owned by the default user, so
# any user with access can delete any other user's files. Obviously this
# directory must be writable by the default user. Another user could of course
# be specified, in which case all files would be owned by that user instead.
[public]
path = /mnt/sdb1
public = yes
; only guest = yes
writable = yes
printable = no
The Samba daemons are manually started and status verified
sudo /usr/local/etc/init.d/samba start
sudo /usr/local/etc/init.d/samba statussmbd is running.
nmbd is running.
smb.conf reports no issues
testparmLoad smb config files from /usr/local/etc/samba/smb.conf
rlimit_max: rlimit_max (1024) below minimum Windows limit (16384)
Processing section "[public]"
Loaded services file OK.
Server role: ROLE_STANDALONE
[global]
server string = Samba Server
log file = /usr/local/samba/var/log.%m
max log size = 50
dns proxy = No
[public]
path = /mnt/sdb1
read only = No
guest ok = Yes
The share is published
smbclient --list=server-ipaddress --user=$USER,%Anonymous login successful
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.4.5]
Sharename Type Comment
--------- ---- -------
public Disk
IPC$ IPC IPC Service (Samba Server)
Anonymous login successful
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.4.5]
Server Comment
--------- -------
OFFICEPC Primary XP PC
BOX Samba Server
Workgroup Master
--------- -------
WORKGROUP BOX
XP PRO MACHINEBoth the Samba server machine and the XP Machine are in the same workgroup "WORKGROUP". The Samba server is visible to the XP machine as a networked resource but will not allow a log-in. A password is always requested.
2nd TC3.1 MACHINEInstalled (OnBoot):
- filesystems-2.6.33.3-tinycore.tcz
- samba3.tcz
The Samba server is visible to the 2nd TC3.1 machine
smbclient --list=server-ipaddress --user=$USER,%Anonymous login successful
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.4.5]
Sharename Type Comment
--------- ---- -------
public Disk
IPC$ IPC IPC Service (Samba Server)
Anonymous login successful
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.4.5]
Server Comment
--------- -------
BOX Samba Server
Workgroup Master
--------- -------
WORKGROUP BOX
Manually mounting the share fails (same message from each example)
sudo mount -t cifs //server-ipaddress/public /home/tc/NTFSshare -o user=tc,pass=%OR
sudo mount -t cifs //server-ipaddress/public /home/tc/NTFSshare -o user=$USER,pass=%OR
sudo mount -t cifs //server-ipaddress/public /home/tc/NTFSsharemount error(13): Permission denied
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
mount error(13): Permission denied
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
mount: mounting //server-ipaddress/public on /home/tc/NTFSshare failed: Permission denied