Samba Question
I installed Samba and set up my network and all went fine but when I try to connect to my Ubuntu computer the authentication part doesn't go through.....
I enter domain\username password all is correct but it doesn't allow me to enter the server! thanks for the help in advance! |
It's not much info to go on. Can you post the error message you get when authentication fails and also check your logs in (probably) /var/log/samba for any error messages please? The contents of /etc/samba/smb.conf will also be helpful.
|
Quote:
Quote:
|
You don't have any shares configured - have you had a look through the docs on the Samba site? These are good sources of info:
http://samba.ausics.net/samba/docs/m...TO-Collection/ http://samba.ausics.net/samba/docs/man/Samba-Guide/ http://samba.ausics.net/samba/docs/using_samba/toc.html Also, if you're getting permission denied errors in the log can you check what is logging them - is it iptables or Samba? |
Kindly help setting up Samba for WinXP
Hi,
I am trying to setup samba and below are the parameters that i have used in smb.conf file. My requirement is, about 20 winxp users will have to store data on the server. Can i configure the samba server in such a way that, when each user login with their own user id on winxp machine, it should should connect to their home directory on the samba server so that they store data on the server. Also, they should NOT be able to browser other directories. I am aware that i have create user accounts both in WinXP and the ubuntu server. I am doing this on a ubuntu studio 8.04 - AMD 64! Sorry forgot to mention that, i am not using any domain controller or ADS, its just a simple workgroup network where all the winxp machines are part of the same workgroup. The windows machines are configured to use DHCP server that runs on the samba server. I have entered the samba server IP and samba hostname in the lmhosts file on the winxp machine. # Global parameters [global] workgroup = workgroup name netbios name = samba server name security = user [homes] comment = Home Directories browseable = yes Quote:
|
update:
The above configuration didn't work. When i browse the network on the winxp machine, it throws me an error saying i don't have permissions to browse the workgroup. I have updated the smb passwords on the samba server (smbpasswd -a username). Kindly help |
Quote:
|
It should be the username and password of the user on the Ubuntu box that owns the share.
|
Quote:
|
Hi,
I suggest you read the documentation in http://www.samba.org. This is the official document and it good and elaborate. Basically, you have to understand, that Samba can behave a PDC, BDC, Standalone server or as a machine in the workgroup. So, you have to configure your samba to play one of these roles. Try this. Global Part Code: [global] workgroup = <your_workgroup> preferred master = No local master = No domain master = No ;hosts allow = 192.168.1.0/255.255.255.0 announce version = 5.0 socket options = TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE SO_RCVBUF=8192 SO_SNDBUF=8192 passdb backend = tdbsam null passwords = true username map = /etc/samba/smbusers name resolve order = lmhosts bcast wins host wins support = no printing = CUPS printcap name = CUPS syslog = 1 syslog only = yesShare part Example on a dir/share named testsmb, of course you can put your share name Code: [testsmb] path = /home/<yourname>/testsmb available = yes browsable = yes public = yes writable = no create mask = 0777 Restart Samba Code: sudo /etc/init.d/samba restart Good Luck! Quote:
|
All times are GMT -5. The time now is 06:00 PM. |