I have installed SAMBA on my Pi and it is working, kind of!!!!

Code: Select all
sudo testparm -s
Code: Select all
ls -l /mnt/usbdrive
Before I display the above output, I need to add that the users (all Windows 7 users are also Pi users with the same password) and all are also SAMBA users. Now the interesting part, the home directory for each user is also shared and shows up on Windows and it WILL (note emphasis) allow added, created, and deleted files.
- xxx@yyyRasPi ~ $ sudo testparm -s
Load smb config files from /etc/samba/smb.conf
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
Processing section "[homes]"
Processing section "[printers]"
Processing section "[print$]"
Processing section "[usb]"
Loaded services file OK.
Server role: ROLE_STANDALONE
[global]
workgroup = 1234567890
server string = %h server
map to guest = Bad User
obey pam restrictions = Yes
pam password change = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
unix password sync = Yes
syslog = 0
log file = /var/log/samba/log.%m
max log size = 1000
dns proxy = No
usershare allow guests = Yes
panic action = /usr/share/samba/panic-action %d
idmap config * : backend = tdb
[homes]
comment = Home Directories
valid users = %S
read only = No
create mask = 0775
directory mask = 0775
browseable = No
[printers]
comment = All Printers
path = /var/spool/samba
create mask = 0700
printable = Yes
print ok = Yes
browseable = No
[print$]
comment = Samba server's CD-ROM
path = /cdrom
guest ok = Yes
locking = No
preexec = /bin/mount /cdrom
postexec = /bin/umount /cdrom
[usb]
comment = USB Share
path = /mnt/usbdrive
read only = No
create mask = 0777
directory mask = 0777
guest only = Yes
guest ok = Yes
xxx@yyyRasPi ~ $ ls -l /mnt/
total 8
drwxr-xr-x 2 root root 8192 Jan 1 1970 usbdrive
xxx@yyyRasPi ~ $ ls -l /mnt/usbdrive
total 24
-rwxr-xr-x 1 root root 175 Aug 27 17:35 hosts
-rwxr-xr-x 1 root root 12340 Aug 27 07:55 usbdrive
Code: Select all
sudo chmod 0777 /mnt/usbdrive
Thanks...RDK