View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 7 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject: Samba/Win2k problem
PostPosted: Sun Mar 06, 2005 1:03 pm 
Offline
Joined: Sun Mar 06, 2005 12:46 pm
Posts: 64
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

_________________
AMD BE-2400
ASUS M2N-E Motherboard
4GB Ram
Nvidia 9400 Fanless
2 HDHomerun (dual tuner)


Top
 Profile  
 
 Post subject:
PostPosted: Sun Mar 06, 2005 2:48 pm 
Offline
Joined: Mon Feb 28, 2005 6:26 am
Posts: 20
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


Top
 Profile  
 
 Post subject:
PostPosted: Sun Mar 06, 2005 8:23 pm 
Offline
Joined: Sun Mar 06, 2005 12:46 pm
Posts: 64
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

_________________
AMD BE-2400
ASUS M2N-E Motherboard
4GB Ram
Nvidia 9400 Fanless
2 HDHomerun (dual tuner)


Top
 Profile  
 
 Post subject: Samba
PostPosted: Fri Mar 18, 2005 2:06 pm 
Offline
Joined: Thu Feb 24, 2005 4:54 pm
Posts: 21
Location: Miami, FL
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.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Mar 18, 2005 2:47 pm 
Offline
Joined: Wed Dec 03, 2003 9:46 pm
Posts: 102
Location: Provo, UT
For what it is worth the wiki has a good write up on Samba and WinXP

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


Top
 Profile  
 
 Post subject: Windows 98
PostPosted: Thu Jun 08, 2006 10:08 am 
Offline
Joined: Fri Mar 24, 2006 10:35 pm
Posts: 89
Location: Detroit, MI
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.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jun 08, 2006 10:23 am 
Offline
Joined: Fri Apr 02, 2004 10:08 am
Posts: 1637
Location: Virginia, USA
Googling for "samba windows 98" turns up all kinds of info, most seeming to deal with having to configure clear text passwords.


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 28 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu