Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: samba server, setting it up< Next Oldest | Next Newest >
forgreatjustice Offline





Group: Members
Posts: 9
Joined: Dec. 2005
Posted: Oct. 16 2006,18:31 QUOTE

hey everyone trying to set up a samba server to share files on my dsl box
i got to the point where i can see the server in my xp box but when ever i try to access it i get this error
\\box is not accessable you do not have permision to access this server

edit.
also how can i get the samba and ftp and ssh servers to start with the comp?
Back to top
Profile PM 
^thehatsrule^ Offline





Group: Members
Posts: 3275
Joined: July 2006
Posted: Oct. 17 2006,14:57 QUOTE

Check your samba server's conf files.

For startup, there may be a cheatcode/bootcode you can use, or you can add it to bootlocal.sh
Back to top
Profile PM 
larkl Offline





Group: Members
Posts: 177
Joined: Sep. 2005
Posted: Oct. 20 2006,11:55 QUOTE

You might check the paswords, esp the smbpasswords.  Did you create a samba password for the XP user on the DSL box?  This is in addition to the normal password.  You may need to look at the password encryption settings in the smb.conf file.  You won't get into the samba server without the encryption.  The smb.conf explains it well and there's a ton of stuff on the internet.
Back to top
Profile PM 
flow Offline





Group: Members
Posts: 1
Joined: May 2006
Posted: Nov. 12 2006,13:01 QUOTE

How do you add a samba user and change te password? smbpasswd is not available...
Back to top
Profile PM 
dtf Offline





Group: Members
Posts: 196
Joined: Nov. 2005
Posted: Nov. 12 2006,15:20 QUOTE

If you want to require a login for samba share you need to try adding the following in the smb.conf file.

You must set "encrypt passwords = yes" as windows defaults to using encrypted passwords.  I find it easier to also set "security = share".  Next you have to add the window's login and password you want to use to DSL.  You can use the AddUser option in the dsl menu.  It is best if the password matches the window's password and the user must match.  You then use the command smbpassword (or smbpasswd) command (type it in a xterm window) to add the same user and password.  On the window machine (I think most of this is right).  Your user name must be a continous set of characters like john_smith and not john smith.  Also I avoid using capitals like JohnSmith (although I am not sure if this is needed) but windows is not case sensitive and linux is, so I just avoid the issue by sticking to lower case.

Now you can avoid all of this by use the "public = yes" option in the samba share but this allows access to all users so you need to consider your security.  If you are on a private network with the proper ports blocked by a firewall to and from the internet you should be ok.  Below is an example of a public share.

Quote

[public]
       comment = Everyone
       path = /mnt/hda3/public
       browseable = yes
       public = yes
       readonly = no


Of course the path you specify in the share must exist with the proper permissions.  If it is public then at least read access needs to be granted to "other user".  If you are allowing write permission then that bit must also be set.
Back to top
Profile PM 
4 replies since Oct. 16 2006,18:31 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: samba server

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code