Mailinglist Archive: opensuse (4547 mails)

< Previous Next >
Re: [SLE] SuSE 9.1: samba problem...
  • From: Frederic Soulier <frederic@xxxxxxxxxxxxxxxxxxx>
  • Date: Tue, 11 May 2004 22:01:10 +0100
  • Message-id: <1084309269.8411.30.camel@xxxxxxxxxxxxxxx>
On Tue, 2004-05-11 at 21:47, Pieter Hulshoff wrote:
> On Tuesday 11 May 2004 22:41, Frederic Soulier wrote:
> > Has anyone managed to get Samba working in 9.1?
>
> Yes, as a matter of fact I just got a guest login to work a few minutes
> ago. :) Are you trying to get a guest (passwordless) login to work or a login
> with password? What exactly are the problems you're encountering (login from
> windows/linux machines, ...)?

I'm trying to access shares on my linux box from a WinXP box.
On both boxes I use the same username/password.
I added the username/password with "smbpasswd -a frederic" on the linux
box.

The first pbm is:
when I "smbclient -L localhost" (as user frederic) I should see the
workgroup (HOME in my case) but it never appears.

So right now I'm not even trying to access a share from WinXP but merely
trying to get Samba on 9.1 to show the "HOME" workgroup.

I'm not trying to do anything fancy. Usually it takes me 2 mins in
Mandrake to setup and has been that way with (almost) the same config
file for the last 2 years...

wallaby:/etc/samba # cat smb.conf
# Global parameters
[global]
workgroup = HOME
netbios name = wallaby
server string = Linux Samba Server %v on (%L)

# Browsing election options
os level = 34
local master = yes
preferred master = yes
# domain logons = yes
# wins support = yes

# Security options
security = user
encrypt passwords = yes
username map = /etc/samba/smbusers

max connections = 3
lock directory = /var/lock/samba

# Networking configuration options
hosts allow = 192.168.0. 192.168.20. 127.
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

# Debug logging information
log level = 3
log file = /var/log/samba/log.%m
max log size = 1000
debug timestamp = yes

# General options for shares
follow symlinks = no
wide links = no
case sensitive = no

# Options for printing with CUPS
printcap name = cups
#printcap name = /etc/printcap
load printers = yes
printing = cups
use client driver = yes
printer admin = frederic



[homes]
comment = Home Directories
browseable = no
writable = yes


[printers]
comment = Canon i865 on (%L)
path = /var/spool/samba
printable = yes
browseable = yes
writable = yes
guest ok = yes
create mode = 0770

min print space = 2000
#using client side printer drivers
print command = lpr -P %p -o raw %s -r
lpq command = cups -o %p
lprm command = cancel %p-%j


[floppy]
comment = Floppy on (%L)
path = /media/floppy
browseable = yes
read only = no
writable = yes
valid users = @users
create mask = 0774

[dvdrecorder]
comment = DVD-RW on (%L)
path = /media/dvdrecorder
browseable = yes
read only = yes
writable = no
valid users = @users

[cdrecorder]
comment = CD-RW on (%L)
path = /media/cdrecorder
browseable = yes
read only = no
writable = yes
valid users = @users


--
Frederic Soulier <frederic@xxxxxxxxxxxxxxxxxxx>


< Previous Next >
Follow Ups