Re: HOWTO: Setup Samba peer-to-peer with Windows
Hi stormbringer, and thanks already for the howto. It worked great a few days ago when i followed it. I'm using vmware to emulate a virtual machine with windows xp on it, and I was mapping driver E:\ as my linux home directory. It was ok, no problems.
Still, after a few days it stopped working and I still don't know why. I'm using my pc about 3 times a week, all I've been doing is mostly those kubuntu critical updates, and I'm not sure if I changed my password.
I thought this password problem was the issue, but still to make sure it worked again i decided to run the howto all over again.
checked samba install, stopped daemon, overwritten smb.conf with yours and reconfigured it again, pointing the samba path to /home/my_user. reconfigured windows on it too, removed that netbios-wins support thingy and added my ip again, but no luck. The DAPPER network computer is detected, MyFiles folder is detected, they always are, but when I try to map a drive to it, it says (after a few seconds attemping to connect)
"The mapped network drive could not be created because the following error has occured: An extended error has occurred."
The error is different when the daemon is stopped, so I assume it has something to do with the configuration.
What am I doing wrong? Sorry for the extended crying for help :p Thanks in advance.
PS: I have static ip address but sometimes it changes on ISP maitenance. I noticed the IP changed these past few days, but I've configured it again with the new IP.
Re: HOWTO: Setup Samba peer-to-peer with Windows
Quote:
Originally Posted by
mac73
hi Stormbringer
tnx 4 givin such a good help.
u make samba so easy dat any novice user can configure it .
bt i hv 1 doubt dat i want to add group.
i hv tried dat with followin commands
groupadd -r groupname
adduser -r -g trust -d/dev/null/-s/dev/null compname$
which we always use in redhat linux
bt. not workin in ubuntu
and 1 more thing i wanna make MSHOME as domain rather than workgroup.
what changes i hv to make in smb.conf?
i tried dat with
domain master = yes
bt. not getin.
pls........... help me out.
tnx
Sorry for the late reply ... been a little busy lately.
The configuration variable "WORKGROUP =" >>> IS <<< the name of the Domain - t4|<3 4 l00|< 47 7|-|3 d0|<u 4|\|d l34|2|\| 70 3><p|2355 `/0u|2531f!
Oh --- and before you can add a user to some group you better create the group on the local system (groupadd).
Re: HOWTO: Setup Samba peer-to-peer with Windows
Quote:
Originally Posted by
core
The DAPPER network computer is detected, MyFiles folder is detected, they always are, but when I try to map a drive to it, it says (after a few seconds attemping to connect)
"The mapped network drive could not be created because the following error has occured: An extended error has occurred."
I love Microsoft's error messages; they are soooo informative.
As you are using VMware (no matter if it's Workstation or Server): did you install a kernel upgrade lately?
If the answer is yes, did you run "sudo vmware-config.pl" to compile the necessary modules for the new kernel? If the answer is no do it _right now_!
Otherwise ...
Please start up VMware, open a command prompt, and type:
ipconfig /all
Please post the output into a reply (or PM me if it's a public IP address).
Quote:
Originally Posted by
core
The error is different when the daemon is stopped, so I assume it has something to do with the configuration.
When samba is stopped you should get an error saying that the network path could not be found ... no wonder though.
-Storm
Re: HOWTO: Setup Samba peer-to-peer with Windows
Stormbringer. I just whant to say, Thanks for the howto
Re: HOWTO: Setup Samba peer-to-peer with Windows
Quote:
As you are using VMware (no matter if it's Workstation or Server): did you install a kernel upgrade lately? If the answer is yes, did you run "sudo vmware-config.pl" to compile the necessary modules for the new kernel? If the answer is no do it _right now_!
Yes, but i think samba stopped working before. After I updated the kernel, VMWare stopped working, so I ran vmware-config.pl again to compile it according to my current kernel.
But still, I did it again right now, restarted windows and still the same error appears.
Quote:
Otherwise ...
Please start up VMware, open a command prompt, and type:
ipconfig /all
Please post the output into a reply (or PM me if it's a public IP address).
I did so, check your PM inbox. Thanks!
Still, help from others are more than welcome.
Re: HOWTO: Setup Samba peer-to-peer with Windows
any idea why i cannot WRITE to my samba share?
Re: HOWTO: Setup Samba peer-to-peer with Windows
Quote:
Originally Posted by
verbatim210
any idea why i cannot WRITE to my samba share?
I bet the permissions of the folder/mountpoint in your local filesystem are wrong ...
sudo chmod 0777 /path/to/the/shared-folder
sudo /etc/init.d/samba restart
NOTE: DON'T CHANGE THE MOD OF YOUR HOME-DIRECTORY!
Re: HOWTO: Setup Samba peer-to-peer with Windows
Quote:
Originally Posted by
core
I did so, check your PM inbox. Thanks!
I wrote an reply to your message by PM as well ... please have a look at your inbox.
-Storm
Re: HOWTO: Setup Samba peer-to-peer with Windows
Quote:
Originally Posted by
Stormbringer
I bet the permissions of the folder/mountpoint in your local filesystem are wrong ...
sudo chmod 0777 /path/to/the/shared-folder
sudo /etc/init.d/samba restart
NOTE: DON'T CHANGE THE MOD OF YOUR HOME-DIRECTORY!
thanks storm
your bullet hit the dot!
Re: HOWTO: Setup Samba peer-to-peer with Windows
Only Samba HOWTO that worked for me.
Great job!