Re: smb.conf
From: Stephen Harris (cyberdiction_at_hotmail.com)
Date: 12/01/03
- Previous message: Jim Fischer: "Re: Graphical network config tool?"
- Maybe in reply to: Vic: "Re: smb.conf"
- Next in thread: -=- jd -=-: "Re: smb.conf"
- Reply: -=- jd -=-: "Re: smb.conf"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 01 Dec 2003 19:02:51 GMT
"Dave" <davethepave@yahoo.com> wrote in message
news:pan.2003.11.30.15.12.17.710996@yahoo.com...
> Would someone mind cut-and-pasting their smb.conf file, or at least the
> portion thereof, which shows the code which sets up Samba for file-sharing
> and access from an XP machine? Thanks.
>
> Currently, my XP machine file manager can see the workgroup in which the
> Linux machine is located as well as the Samba server, but Samba server
> will not allow access.
>
>
This is a permission problem. I saw someone advise using adduser.
If you haven't gotten very far with this, erase samba 2.2.8 and
download and install the 3.01pre3 which works well and is automated
for some of the configuration tasks.
With version 3.+ after adduser the command is smbpasswd -a username
The username must also be on the win xp machine.
If you want to initially use the swat program change
only_from = localhost to only_from = 127.0.0.1
because though they are supposed to be equivalent, they are not,
if you are using RH9.
Also change in swat: disable = yes to disable = no
or maybe it is enable = no should be changed to enable = yes
I forget whether it is in terms of disable or enable but
the default setting is incorrect so change to the opposite.
To get a feel for this create a username account called root
with administrative priveleges on the win xp machine assuming
you have pro (there may be problems with home) and logon
to both machines as root. If you have root in both smbpasswd
and windows xp users this will likely work for file sharing
both ways. Next try the user "everyman" on both machines.
If the connection doesn't work both ways you will see that
the problem rests in groups and permissions. Also if you
want to share printers you will need guest ok = yes in
the [printer] share section. If you use google, you can find
posts about this on the linux.samba group and Howto.
On the linux side I use Xsmbrowser for graphical network.
I spent two weeks on this so read docs when it comes to printing.
Regards,
Stephen
- Previous message: Jim Fischer: "Re: Graphical network config tool?"
- Maybe in reply to: Vic: "Re: smb.conf"
- Next in thread: -=- jd -=-: "Re: smb.conf"
- Reply: -=- jd -=-: "Re: smb.conf"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|