On Thu, 2004-04-08 at 18:31, frankieh wrote:
> Hi guys,
>
> Does anyone have a samba conf file to setup samba as an NT domain setup??
>
> I've not used it for that in the past, but think its time I started
> playing...
> I've been asked to setup another small linux server in a business and
> I'm thinking the PDC setup would be the go...
>
> There are no other servers on the network and only a bunch of Win2000
> clients.
> Just thought if I could look at a conf for a working NT domain samba
> setup and compare it to what I am used to, it would all become clear.
> many thanks
>
> Franki
Attached is the one that I use as a template - it's the one I use here
at home on the lab network. HTH.
stephen kuhn - owner
==============================
illawarra computer services
a kuhn media australia company
http://kma.0catch.com
------------------------------------------------------------------
* This message was composed on a 100% Microsoft free computer *
We expressly refuse to utilise Microsoft DRM encoded documents
------------------------------------------------------------------
You have the capacity to learn from mistakes. You'll learn a lot today.
# Samba config file created using SWAT
# from 0.0.0.0 (0.0.0.0)
# Date: 2004/04/06 13:24:58
# Global parameters
[global]
workgroup = KMA
netbios name = SERVER
server string = SERVER
security = DOMAIN
encrypt passwords = Yes
map to guest = Bad User
log file = /var/log/samba/log.%m
max log size = 50
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
printcap name = cups
domain logons = Yes
os level = 65
domain master = Yes
dns proxy = No
valid users = @netshare
printer admin = @adm
printing = cups
[homes]
comment = Home Directories
read only = No
browseable = No
[printers]
comment = All Printers
path = /var/spool/samba
create mask = 0700
guest ok = Yes
printable = Yes
print command = lpr-cups -P %p -o raw %s -r # using client side printer
drivers.
browseable = No
[print$]
path = /var/lib/samba/printers
write list = @adm root
guest ok = Yes
[pdf-generator]
comment = PDF Generator (only valid users)
path = /var/tmp
write list = @netshare
guest ok = Yes
printable = Yes
print command = /usr/share/samba/scripts/print-pdf %s ~%u //%L/%u %m %I "%J" &
[Public]
comment = Public Share
path = /public
admin users = @netshare
write list = @netshare
force group = @netshare
read only = No
inherit permissions = Yes
guest ok = Yes
[MP3]
comment = Music Share
path = /home/stephen/Documents/MP3
admin users = @netshare
write list = @netshare
force group = @netshare
read only = No
inherit permissions = Yes
guest ok = Yes
[Working]
comment = 18gb Temp Space
path = /mnt/scsi/working
admin users = @netshare
write list = @netshare
force group = @netshare
read only = No
inherit permissions = Yes
guest ok = Yes
[WinXP]
comment = WinXP Partition
path = /mnt/win_c
admin users = @netshare
write list = @netshare
force group = @netshare
read only = No
inherit permissions = Yes
guest ok = Yes
[netlogon]
comment = Net Logon Share
path = /var/netlogon
write list = @netshare
read only = No
[Movies]
comment = Movie Share
path = /home/stephen/Graphics/Movies
admin users = @netshare
write list = @netshare
force group = @netshare
read only = No
inherit permissions = Yes
guest ok = Yes
____________________________________________________
Want to buy your Pack or Services from MandrakeSoft?
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com
____________________________________________________