LinHES Forums
http://forum.linhes.org/

Samba/Win2k problem
http://forum.linhes.org/viewtopic.php?f=6&t=3816
Page 1 of 1

Author:  Joker [ Sun Mar 06, 2005 1:03 pm ]
Post subject:  Samba/Win2k problem

I have been working to get myth going for a while now, the basic install went very smoothly (R5A10), especially concidering this is my first experiance with Linux.

Ok, now for my problem:

I have created a share directory and started samba and webmin with the instructions I found here:

http://mysettopbox.tv/phpBB2/viewtopic.php?t=422

I have read only access from my windows computer but have been unable to obtain full read/write access. I want to transfer music from my windows machine to my mythbox. I am not sure what to try next. I think it may be password related in windows but that is just a guess. When I try to copy something over to the myth box I get an "Unable to create xxxx ACCESS DENIED". Sombody please point me in the right direction.

Here is my /etc/samba/smb.conf

;
; /etc/samba/smb.conf
;
; Sample configuration file for the Samba suite for Debian GNU/Linux
;
; Please see the manual page for smb.conf for detailed description of
; every parameter.
;

[global]
load printers = yes
name resolve order = lmhosts host wins bcast
passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n
obey pam restrictions = yes
preserve case = yes
socket options = IPTOS_LOWDELAY TCP_NODELAY SO_SNDBUF=4096 SO_RCVBUF=4096
encrypt passwords = yes
passwd program = /usr/bin/passwd %u
passdb backend = smbpasswd guest
dns proxy = no
netbios name = mythtv
server string = %h server (Samba %v)
printing = bsd
invalid users = root
path = /myth
workgroup = knoppmyth
syslog only = no
os level = 20
printcap name = /etc/printcap
security = user
syslog = 0;
short preserve case = yes
panic action = /usr/share/samba/panic-action %d
max log size = 1000

[homes]
comment = Home Directories
browseable = no

; By default, the home directories are exported read only. Change next
; parameter to "no" if you want to be able to write to them.
read only = yes

; File creation mask is set to 0700 for security reasons. If you want to
; create files with group=rw permissions, set next parameter to 0775.
create mask = 0775

; Directory creation mask is set to 0700 for security reasons. If you want to
; create dirs. with group=rw permissions, set next parameter to 0775.
directory mask = 0775


[myth]
comment = Myth files
writeable = yes
path = /myth

[mythshare]
guest account = none
delete readonly = yes
writeable = yes
create mode = 750
directory mode = 750


[etc]
path = /etc

Author:  OuttaTouch [ Sun Mar 06, 2005 2:48 pm ]
Post subject: 

Okay maybe a question I can answer.

You seem to be doing it the hard way.

Samba allows you to access your MythTV box via Windows or Macintosh computers on your network.

It is already configured to share the /myth directory, but is not set to start on boot. Therefore, all you actually need to do to begin using samba is to start it up. Open an Xterm window, su to root, and start the daemon:

su
/etc/init.d/samba start

However, if you want to avoid doing this each time you restart your MythTV box, do the following to set samba to start up automatically (as su):

update-rc.d samba defaults

go to your XP box and open Explorer
Tools/Map Network Drive
enter \\mythboxname\myth
login mythtv
pswd mythtv

You're done. You should now have your /myth/ directory as a Drive mapped to your Windows2k/XP box that will allow read write access. Now drag and drop your music files into the /music/ directory. Tell myth to scan for music and viola your done. Now if you want to map a Windows drive into /myth/ I am clueless atm. Oh yeah you have to map it manually because i do not believe it will show up in Net Neighborhood.

and yes I stole those directions from somewhere so I cannot take credit for it. I guess I should start footnoting my notes

Author:  Joker [ Sun Mar 06, 2005 8:23 pm ]
Post subject: 

That worked!!!! :lol:

As a side note could anyone enlighten me as to why the share I created would not let me have full access. I had already started samba just didn't have full read/write under my new share. I am trying to better understand how things in linux work, ultimately I would like to make the switch once I feel I can understand what I am doing.

Thanks again

Author:  scotbrady [ Fri Mar 18, 2005 2:06 pm ]
Post subject:  Samba

The

writable = yes

line is what will do this. For home directories it appears you use the line

read only=no

These are taken from the default working configuration of my Knoppmyth R4V5 installation.

Author:  masonjd [ Fri Mar 18, 2005 2:47 pm ]
Post subject: 

For what it is worth the wiki has a good write up on Samba and WinXP

http://knoppmythwiki.homelinux.org/inde ... SambaHowTo

Author:  myth19kirt [ Thu Jun 08, 2006 10:08 am ]
Post subject:  Windows 98

Can I use SAMBA with windows 98?

When I try to I get prompted for a ID and password for the $IPC for my server.

Author:  ceenvee703 [ Thu Jun 08, 2006 10:23 am ]
Post subject: 

Googling for "samba windows 98" turns up all kinds of info, most seeming to deal with having to configure clear text passwords.

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/