Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
; 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
[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
[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?.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.