Subject: Re: Help with Samba
From: cdowns (cdowns@skillsoft.com)
Date: Thu Mar 15 2001 - 21:59:04 MST
Randall Perry wrote:
> > From: Luis Martínez <luis@atlantida.es>
> > Reply-To: yellowdog-general@lists.yellowdoglinux.com
> > Date: Thu, 15 Mar 2001 18:16:45 +0100
> > To: <yellowdog-general@lists.yellowdoglinux.com>
> > Subject: Help with Samba
> >
> > Hi:
> > I´m trying to access my Linux Box (YDL) from the windows machines, so I
> > installed Samba.
> > I configured it via webmin.
> > I can see a new computer in the network but I cannot access it, and I think
> > that I give it permissions as guest and as a unix user.
> > I tried to mount any windows computer too without any success.
> > I tried with:
> > mount -t smbfs //w95vmware/c /mnt/win
> > I mkdir a directory called win inside /mnt
> > Can anybody?
> >
> > Thanks,
> > --
> > Luis Martínez
>
> Generally, you need to mirror your user account name and password info in
> samba by using smbpasswd like so:
>
> for user john
>
> smbpasswd -a john
>
> it'll then prompt you for a password
>
> Also, make sure you have a 'homes' share defined, like so (in smb.conf):
>
> [homes]
> read only = no
>
> It will automatically provide a home directory to any valid users.
>
> Make sure the login name on the Win box is identical to the user account on
> the UNIX box.
>
> There are good books on Samba. I have, and recommend, 'Samba Unleashed'
> published by SAMS.
>
> --
> Randy Perry
> sysTame
>
> Mac Consulting/Sales
here is a full smb.conf file:
# Global parameters
[global]
workgroup = WORKGROUP
netbios name = MACHINENAME
server string = cdowns
interfaces = eth0
security = DOMAIN
encrypt passwords = Yes
password server = server1 webserver
log file = /var/log/samba/log.%m
max log size = 50
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
dns proxy = No
wins server = 10.0.2.10
hosts allow = 10.0.2.
[homes]
comment = Home Directories
valid users = user
read list = user
write list = user
read only = No
browseable = No
[printers]
comment = All Printers
path = /var/spool/samba
print ok = Yes
browseable = No
-D
This archive was generated by hypermail 2a24 : Thu Mar 15 2001 - 21:58:43 MST