LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-22-2006, 09:23 AM   #1
madlinux
LQ Newbie
 
Registered: Sep 2003
Location: Portugal
Distribution: Suse, Ubuntu, Caixa Mágica
Posts: 23

Rep: Reputation: 15
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é

Last edited by madlinux; 02-22-2006 at 09:26 AM.
 
Old 02-22-2006, 09:52 AM   #2
irpstrcr
Member
 
Registered: Mar 2005
Location: LAX
Distribution: Slackware
Posts: 40

Rep: Reputation: 15
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
 
Old 02-22-2006, 11:29 AM   #3
madlinux
LQ Newbie
 
Registered: Sep 2003
Location: Portugal
Distribution: Suse, Ubuntu, Caixa Mágica
Posts: 23

Original Poster
Rep: Reputation: 15
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??
 
Old 02-22-2006, 12:22 PM   #4
irpstrcr
Member
 
Registered: Mar 2005
Location: LAX
Distribution: Slackware
Posts: 40

Rep: Reputation: 15
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Public School Library software klnasveschuk Linux - Software 2 09-15-2006 06:02 PM
Samba server changed to public IP now unable to browse rmarkin Linux - Networking 2 02-18-2006 09:41 AM
REDHAT ES Server 4 --- Samba 3 PDC treedstang Linux - Networking 2 12-16-2005 11:29 AM
samba pdc, dhcp server opg31 Linux - Networking 3 09-29-2005 07:36 AM
samba - linux server PDC or what? robyso Linux - Networking 3 06-13-2003 12:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:38 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration