LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Samba PDC server at a Public School (https://www.linuxquestions.org/questions/linux-networking-3/samba-pdc-server-at-a-public-school-418375/)

madlinux 02-22-2006 09:23 AM

Samba PDC server at a Public School
 
Hi,
I have been given the oportunity to set up a Samba PDC at my school. The clients are all winxp pro. I got a smb.conf from another school, but found out it was made, at that time, using samba 2.x. The thing i need to know or ask for advice is in what parts can I change a thing or two to make it more compatible with samb 3.Xx. For instance there is one thing that is bugging me. I read in most of tutorials that we need to create machine accounts, and use the RequireSignOrSeal.reg patch in order to get my machines joining the domain. Is this true with samba 3?? How should i proceed in order to join xp machines?
Next follows the smb.conf that i've copied from the other school:
[global]
; configurações básicas do servidor
workgroup = ESCOLA
netbios name = AULAS
server string = Servidor da Escola
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=8192 SO_RCVBUF=8192
; PDC e configurações de supervisionamento
os level = 64
preferred master = true
local master = yes
domain master = true
; segurança e definições de acesso
security = user
encrypt passwords = yes
domain logons = yes
log file = /var/log/samba/log.%m
log level = 2
max log size = 50
host allow = 127.0.0.1 192.168.0.0/255.255.255.0
; perfis de utilizadores e directoria pessoal
logon home = \\%L\%U\.profile
logon drive = H:
logon path = \\%L\profiles\%U
#============= Shares ============
[homes]
comment = Directorias Pessoais
browseable = no
read only = no
[profiles]
comment = Local para alojar os perfis
path = /home/samba/profiles
read only = no
browseable = no
create mask = 0600
directory mask = 0700

Considering that this was done to work with samba 2.x, what would you guys change to make it more up to date with samba 3.x?
Please post your suggestions!!...
Thanks,
José

irpstrcr 02-22-2006 09:52 AM

The config you have there looks like it should werk as is with Samba 3x.

I would prolly change the [homes] to:
[homes]
valid users = %U
create mask = 0664
directory mask = 0775
browseable = no
read only = no

and add a [netlogon] something along the lines of....

[netlogon]
path = /home/samba/netlogon
admin users = <Your admin users go here>
browseable = no
read only = yes

madlinux 02-22-2006 11:29 AM

Quote:

I read in most of tutorials that we need to create machine accounts, and use the RequireSignOrSeal.reg patch in order to get my machines joining the domain. Is this true with samba 3?? How should i proceed in order to join xp machines?
... and about these questions??

irpstrcr 02-22-2006 12:22 PM

If I remember correctly you will need to apply the reg patch, tho it is not included with 3.0.21b so I'm not 100% sure if this is still true.

I have everything in an LDAP so setting up users and machine accounts is going to be different than how you will be doing it so just follow the instructions in the docs you have.


All times are GMT -5. The time now is 12:11 AM.