LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 03-20-2007, 11:36 AM   #1
Severloh
LQ Newbie
 
Registered: Mar 2007
Posts: 1

Rep: Reputation: 0
Question samba pdc


I have next type of problem with samba pdc. When i try to login into windows with any of listed users on samba windows says that it doesnt have rights to save \server_name\profile\user_name.pds. What would be a problem configs or i dont have proper rights on folder ?

Quote:
[global]

; palvelimen nimi
netbios name = skoda.hopto.org
log level = 3

; domain name
workgroup = B306

; pdc domain role
security = USER
os level = 65
domain logons = yes
domain master = yes
local master = yes
preferred master = yes
wins support=yes

; minne tallennetaan profiilit
logon path = \\%N\profiles\%u


; missä on käyttäjän kotihakemisto ja mihin asemaan se liitetään
logon drive = H:
logon home = \\%N\%u

;
; jos verkossa myös win9x koneita, käytä tätä, sillä 9x laittaa profiilinsa home kansioon - jaiks!!
;
; logon home =\\%N\%u\.profiles
;

; logon skripti, ajetaan loggauksen yhteydessä. pitää olla dos muodossa
logon script = logon.bat

; logon skripti, ajetaan loggauksen yhteydessä. pitää olla dos muodossa
logon script = logon.bat

; aikapalvelin käyttöön
timeserver = yes

; ääkköstöä varten
valid chars = Ä:ä Ö:ö Å:å

client code page = 850
character set = iso8859-1
; jos samba 3, niin; Tämä korjaa ongelmat myös MacOsX:n kanssa
; dos charset = CP850
; unix charset = ISO8859-1
; tai (tai UTF-8 tai ISO8859-15)

; jos halutaan käyttää winssiä
wins support=true
wins proxy=yes

dos filetime resolution=yes


; käyttäjätunnukset _jotka_ ovat järjestelmänvalvojia
admin users = root ismo heikki severloh adminstrator
add user script = /usr/sbin/useradd -m %u
delete user script = /usr/sbin/userdel -r %u
add group script = /usr/sbin/groupadd %g
delete group script = /usr/sbin/groupdel %g
add user to group script = /usr/sbin/usermod -G %g %u
add machine script = /usr/sbin/useradd -s /bin/false -d /dev/null %u


[print$]
comment = Printer Drivers
path = /tmp
write list = root### 306 kansiot ###
printer admin = root*******

[printers]
path = /home/smbprint
create mask = 0700
guest only = Yes
guest ok = Yes
printable = Yes
browseable = No

[HP]
comment = HP LaserJet Series CUPS v1.1
path = /home/smbprint
printer admin = root
read only = No
create mask = 0700
guest only = Yes
guest ok = Yes
printable = Yes
printer name = HP
oplocks = No
share modes = No

### 306 kansiot ###

[B306]
guest account =
printable = no
write list = adminstrator,heikki,ismo,severloh,@opettajat,@severloh,@adminstrator
path = /home/oppilaat/
comment = B306 OPPILASPALVELIN
valid users = sac04,sac05,sac06,sac07,@oppilas,@adminstrator,@severloh,@root,@opettajat
user = @oppilas
create mode = 0750
directory mode = 0750

[tavarat]
writeable = yes
printable = no
write list = adminstrator,heikki,ismo,severloh,@adminstrator,@sac04,@severloh,@opettajat
path = /home/tavara
create mode = 0750
public = yes
directory mode = 0750

; tämä tarvitaan domain kontrollerille
[netlogon]
path = /home/netlogon/%u
create mask = 0755
write list = root

; jaetut profiilit, säilytyspaikka
[profiles]
path = home/profiles/
read only = no
create mask = 0600
directory mask = 0700
Im needing help fast because im building my school graduate job (student server) so i need little advisoring.


Also i have couple other questions conserning samba. Sometimes when i have reebooted pc the samba looks like it isnt started, so i have to reboot samba. What would be problem why samba cannot start without, reeboting after pc reeboot?.
 
Old 03-21-2007, 06:27 AM   #2
paul_mat
Member
 
Registered: Nov 2004
Location: Townsville, Australia
Distribution: Fedora Core 5, CentOS 4, RHEL 4
Posts: 855

Rep: Reputation: 30
I have a how-to on my website http://www.opensourcehowto.org for setting up samba as a primary domain controller (PDC) you might find the answer to your question there.

OpenLDAP LAM Samba as PDC
http://www.opensourcehowto.org/how-t...ba-as-pdc.html

and if you feeling a little bit more adventurous later on you could try getting into the policies with samba

Samba Primary Domain Controller with Group Policies
http://www.opensourcehowto.org/how-t...-policies.html
 
  


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
samba member server as fileserver authenticating samba PDC activeq Linux - Networking 0 11-17-2006 09:44 AM
samba as PDC lakshminarayan Linux - Networking 6 07-17-2006 07:16 AM
samba 3 problem - samba PDC can not join to the domain ananthak Linux - Networking 1 05-21-2006 10:39 AM
Samba domain member server (DMS) group permissions in network with a Samba PDC srosa Linux - Networking 0 05-01-2006 05:55 PM
samba pdc berrance Linux - Software 1 12-18-2004 10:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 01:22 AM.

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