Thanks to Jim Cheetham, I got Samba going at work. It seems that it doesn't by default create a samba user when you run smbpasswd. You have to create it w -a first. Once we did that and he explained Windows networking to me, we got up and running just fine. I just wanted to publicly acknolege his help and say a HUGE thanks. He also left me some night reading (Samba=) so I actually have a better clue next time around.

Regards,

Jason

Chad wrote:
I've just managed to get samba up and runing properly on my mdk 9.1 box and WinXP home so that I can acess my home directory from winXP (user level requires login). Heres the bit's in my smb.conf file that I think did the job.

workgroup = HOME
#Check to make sure the work group is the same on the windows box as MS XP #atleast uses MSHOME as default workgroup.
netbios name = Beastie
#this is the name windows sees the computer as. It allows me to access the #machine typing \\Beastie\ in explorers address bar if disabled you have to #type the ip address. This is also used by MS to list your machine in list of #machines in Network Neighborhood
security = user
#makes windows ask for user name and password to access shares


This section I have commented out it's enabled by default but was causing some problems
# unix password sync = Yes
# passwd program = /usr/bin/passwd %u
# passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n
# *passwd:*all*authentication*tokens*updated*successfully*


Theres alot more to the config file but those are the major changes I made to get it working.

Also it's worth noting after making the changes run
service -f smb
as root to restart samba with the new config settings.

At the WinXP end I made sure the workgroup was the same as for my linux box and that netbios over tcp/ip was enabled. And then used \\Beastie\ in the explorer address bar to find the machine and \\home to find the work group.

Chad


On Tue, 01 Apr 2003 6:09 pm, Jason wrote:


I'm home now and a kind list member has offered to come see me tomorrow
at work. If we have no joy, I'll follow up your suggestions, and I will
post our results on-list either way.

Cheers

Jason

Nick Rout wrote:

what are the symptoms, and can you post your smb.conf

have you set up smbpasswd?

are all the users using the same login and passwords on the windows
boxes to their user accounts on the linux box?

can you post the results of
smbclient -L localhost - and
smbclient -L windowsbox
from the linux box

On Tue, 01 Apr 2003 17:07:23 +1200

Jason Greenwood <[EMAIL PROTECTED]> wrote:

Hi all,

I have been banging my head against the wall trying to get samba to work
on my work lan - to no avail. I've RTFM and attended the ostc class on
it. It still won't go.

I am at my wits end. Is there anyone who is in the CBD during the week
who could pop in and have a look to see if I have missed something dumb
(which it would not surprise if I have)??

It would be much appreciated.

Cheers

Jason

-- Nick Rout Barrister & Solicitor Christchurch, NZ Ph +64 3 3798966 Fax + 64 3 3798853 http://www.rout.co.nz [EMAIL PROTECTED]







Reply via email to