Re: samba.conf



Inge Svensson skrev:
Inge Svensson skrev:

Inge Svensson skrev:


I have 2 problems with Samba:
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



Problem _seems_ to be solved. I commented out

map to guest = Bad User
include = /etc/samba/dhcp.conf

in the second samba.conf file.
Inge Svensson



After that I couldn't print. I uncommented these two rows. It now works,
but the error message in Windows remains.
Inge Svensson


I changed the Linuxservers workgroup to MSHOME and also changed to no DC
and the error message is gone.
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.
.



Relevant Pages

  • Re: samba.conf
    ... domain master = Yes ... comment = All Printers ... create mask = 0600 ... comment = Network Logon Service ...
    (alt.os.linux.suse)
  • Re: samba.conf
    ... domain master = Yes ... comment = All Printers ... create mask = 0600 ... comment = Network Logon Service ...
    (alt.os.linux.suse)
  • samba.conf
    ... domain master = Yes ... comment = All Printers ... create mask = 0600 ... comment = Network Logon Service ...
    (alt.os.linux.suse)
  • [SLE] Basic SAMBA Configuration
    ... I have 2 computers I am trying to network. ... directory mask = 0700 ...
    (SuSE)
  • [opensuse] samba configuration
    ... attaching my Samba configuration file for your perusal. ... map to guest = Bad User ... directory mask = 0700 ...
    (SuSE)

Loading