Re: HOWTO: Setup Samba peer-to-peer with Windows
I believe "\\Ubuntu\Lacie" is showing the share name, and not the path, but I may be wrong as I am still learning. :)
When you add users in Samba, I think you should have the same userid and same password that is used in your XP (Don't know about 98, but it could be same). That is how I set it up, and now it is working.
The "how-to" does give an option of what to do if Ubuntu is WINS and what to do if it is not, so I guess that is not mandatory.
Hope this helps. Remember, I am as new as you, but just got lucky and got it working by following the how-to.
Re: HOWTO: Setup Samba peer-to-peer with Windows
how would you edit the config file to only allow particular users access to a particular share?
AJS
Re: HOWTO: Setup Samba peer-to-peer with Windows
Trying to get it enabled on my network. I have a static IP, but don't want to enable WINS since I've quite a few computers that would have to be modified in order to connect.
This is my config
Quote:
[global]
netbios name = dave
server string =
workgroup = HOME
announce version = 5.0
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE SO_RCVBUF=8192 SO_$
passdb backend = tdbsam
security = user
null passwords = true
username map = /etc/samba/smbusers
name resolve order = hosts bcast
syslog = 1
syslog only = yes
[data]
path = /home/dave/data
browseable = yes
read only = no
guest ok = yes
create mask = 0644
directory mask = 0755
force user = XP
force group = HOME
Workgroup name is HOME
The account name I'm trying to access it with is named XP and the password I used with "useradd" is my windows password. I CHMOD'ed the directory to 777 but it still can't access it because I get the "The specified group does not exist" error message, though I can see a list of folders the computer is sharing.
What did I do wrong?
Re: HOWTO: Setup Samba peer-to-peer with Windows
Stormbringer, Thanks for the tutorial. I have been struggling with Samba for a while now and your easy to follow guide finally got me fully configured and working correctly.
Re: HOWTO: Setup Samba peer-to-peer with Windows
Thank you so much for this one... really great guide! especially for me a newbie.. how wud i know that i nid to type those commands on a terminal window rather than on the alt F2 thing...thank God i ran on to this. really im a total newbie in ubuntu its not like the user friendly interface in windows. no offense^^ but i really want to learn about Ubuntu!
Re: HOWTO: Setup Samba peer-to-peer with Windows
Just wondering what was changed in Samba after the 7.10 upgrade... I have my shared folders mapped in windows and my password was saved in windows so when I clicked a network drive it wouldn't ask for password. Now after the upgrade it has been asking for the password, and when I enter the same password again it's a no-go. I hope I'm not hijacking this thread, it just seems related. Just hoping that some of us less experienced users can be enlightened.
Thank you in advance!
Re: HOWTO: Setup Samba peer-to-peer with Windows
smbusers and smb.conf were wiped, had to reconfigure, all is well for now...
Re: HOWTO: Setup Samba peer-to-peer with Windows
I need help to resolve Samba setup with Gutsy. I had no problems under Feisty, but Gutsy has me perplexed. I have an XP client that can at times see my Gutsy desktop computer, but I get message indicating that XP may not have permission to connect to my Gutsy server. I have tried various adjustments to my smb.conf, even used SWAT to try to put together a workable smb.conf. When I can see my XP on Samba from desktop, I can see shared files, but cannot even see my local shares on my Samba server box. Can anyone help me clear this up for me? I love Ubuntu.
Re: HOWTO: Setup Samba peer-to-peer with Windows
can someone help me? I've set up a samba share from this tutorial and it works from other computers (namely a mac) if I use it's terminal and use smbclient //servername/share
but can't get it working using smb://servername/share
what am I doing wrong?
I've used debian before and haven't had a problem... usually it's just a case of adding a password using smbpasswd
I'm using gutsy
here is my smb.conf
[global]
; General server settings
netbios name = timbu
server string =
workgroup = bruces
announce version = 5.0
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE SO_RCVBUF=8192 SO_SNDBUF=8192
passdb backend = tdbsam
security = user
null passwords = true
username map = /etc/samba/smbusers
name resolve order = hosts wins bcast
wins support = yes
printing = CUPS
printcap name = CUPS
syslog = 1
syslog only = yes
; NOTE: If you need access to the user home directories uncomment the
; lines below and adjust the settings to your hearts content.
;[homes]
;valid users = %S
;create mode = 0600
;directory mode = 0755
;browseable = no
;read only = no
;veto files = /*.{*}/.*/mail/bin/
; NOTE: Only needed if you run samba as a primary domain controller.
; Not needed as this config doesn't cover that matter.
;[netlogon]
;path = /var/lib/samba/netlogon
;admin users = Administrator
;valid users = %U
;read only = no
; NOTE: Again - only needed if you're running a primary domain controller.
;[Profiles]
;path = /var/lib/samba/profiles
;valid users = %U
;create mode = 0600
;directory mode = 0700
;writeable = yes
;browseable = no
; NOTE: Inside this place you may build a printer driver repository for
; Windows - I'll cover this topic in another HOWTO.
[print$]
path = /var/lib/samba/printers
browseable = yes
guest ok = yes
read only = yes
write list = root
create mask = 0664
directory mask = 0775
[printers]
path = /tmp
printable = yes
guest ok = yes
browseable = no
; Uncomment if you need to share your CD-/DVD-ROM Drive
;[DVD-ROM Drive]
;path = /media/cdrom
;browseable = yes
;read only = yes
;guest ok = yes
[MyFiles]
path = /home/tim/Music/
browseable = yes
read only = no
guest ok = no
create mask = 0644
directory mask = 0755
force user = tim
force group = tim