Re: samba.conf
- From: Inge Svensson <ingesvensson@xxxxxxxxxxxx>
- Date: Fri, 08 Sep 2006 16:35:21 +0200
Inge Svensson skrev:
I have 2 problems with Samba:Problem _seems_ to be solved. I commented out
If I use samba.conf
[global]
add machine script = /usr/sbin/useradd -c Machine -d
/var/lib/nobody -s /bin/false %m$
domain logons = Yes
domain master = Yes
security = user
workgroup = TUX-NET
printing = cups
printcap name = cups
printcap cache time = 750
cups options = raw
local master = Yes
os level = 65
preferred master = Yes
[home]
inherit acls = Yes
path = /home
read only = No
[printers]
comment = All Printers
path = /var/tmp
printable = Yes
create mask = 0600
browseable = No
[print$]
comment = Printer Drivers
path = /var/lib/samba/drivers
write list = @ntadmin root
force group = ntadmin
create mask = 0664
directory mask = 0775
[netlogon]
comment = Network Logon Service
path = /var/lib/samba/netlogon
write list = root
[web]
inherit acls = Yes
path = /srv/www/htdocs
read only = No
I can't se the Sambashares from my XP computer.
If i use
# smb.conf is the main Samba configuration file. You find a full commented
# version at /usr/share/doc/packages/samba/examples/smb.conf.SUSE if the
# samba-doc package is installed.
# Date: 2006-05-02
[global]
workgroup = TUX-NET
printing = cups
printcap name = cups
printcap cache time = 750
cups options = raw
map to guest = Bad User
include = /etc/samba/dhcp.conf
logon path = \\%L\profiles\.msprofile
logon home = \\%L\%U\.9xprofile
logon drive = P:
add machine script = /usr/sbin/useradd -c Machine -d
/var/lib/nobody -s /bin/false %m$
domain logons = Yes
domain master = Yes
local master = Yes
os level = 65
preferred master = Yes
security = user
[homes]
comment = Home Directories
valid users = %S, %D%w%S
browseable = No
read only = No
inherit acls = Yes
[profiles]
comment = Network Profiles Service
path = %H
read only = No
store dos attributes = Yes
create mask = 0600
directory mask = 0700
[users]
comment = All users
path = /home
read only = No
inherit acls = Yes
veto files = /aquota.user/groups/shares/
[groups]
comment = All groups
path = /home/groups
read only = No
inherit acls = Yes
[printers]
comment = All Printers
path = /var/tmp
printable = Yes
create mask = 0600
browseable = No
[print$]
comment = Printer Drivers
path = /var/lib/samba/drivers
write list = @ntadmin root
force group = ntadmin
create mask = 0664
directory mask = 0775
[netlogon]
comment = Network Logon Service
path = /var/lib/samba/netlogon
write list = root
[web]
inherit acls = Yes
path = /srv/www/htdocs/
read only = No
I can se the Sambashare but I get an annoying error message from the
printer on the Sambaserver saying: access denied, can't connect (The
printer workes)
Inge Svensson
map to guest = Bad User
include = /etc/samba/dhcp.conf
in the second samba.conf file.
Inge Svensson
--
http://www.ingesvensson.tk (in Swedish only) My status
<skype:ingesvensson?call>
Get Skype <http://www.skype.com/go/download> and call me for free.
.
- Follow-Ups:
- Re: samba.conf
- From: Inge Svensson
- Re: samba.conf
- References:
- samba.conf
- From: Inge Svensson
- samba.conf
- Prev by Date: Re: Suse 10.2
- Next by Date: Re: what linux version
- Previous by thread: samba.conf
- Next by thread: Re: samba.conf
- Index(es):
Relevant Pages
|
Loading