I created a new folder in my home directory and shared it so that i can access that from my windows machine, but everytime i would try to access the share i.e. //ipaddress/myshare,,, i got a prompt to enter username and password. I would enter the ubuntu username and password, but it kept giving me MYDOMAIN\username on the windows logon popup. So i replaced MYDOMAIN with the hostname of ubuntu machine but it still didn't work
So i uninstalled samba by typing
apt-get remove samba
it stopped the samba daemon and uninstalled successfully
i then tried to install it again by typing
apt-get install samba, it gave me the following error
Selecting previously deselected package samba.
(Reading database ... 60508 files and directories currently installed.)
Unpacking samba (from .../samba_3.0.14a-6ubuntu1_i386.deb) ...
Setting up samba (3.0.14a-6ubuntu1) ...
* Starting Samba daemons.. [fail]
invoke-rc.d: initscript samba, action "start" failed.
Can you tell us what i was doing wrong that i coudn't access the share?
Any help will be appreciated.