LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 06-12-2005, 10:32 AM   #1
ilt
LQ Newbie
 
Registered: Jun 2005
Posts: 8

Rep: Reputation: 0
samba server as domain controller (7)


Aanpassingen doen in het smb.conf bestand:

[global]

netbios name = test

workgroup = test

local master = yes

preferred master = yes

os level = 65

security = user

domain logons = yes

#hosts allow = 10.116.127. 10.116.0.

logon path = \\%L\profiles\%u

logon script = logon.bat

logon drive = Z:

logon home = \\%L\%u\.win_profile\%m

time server = yes

log file = /var/log/samba/log.%m

[netlogon]

path = /usr/local/samba/lib/netlogon

writable = no

browsable = no

[profiles]

path = /opt/samba-ntprof

browsable = no

writable = yes

create mask = 0600

directory mask = 0700

[homes]

read only = no

browsable = no

guest ok = no

map archive = yes



Samba herstarten

#service smb restart



Directories aanmaken

#mkdir -p /usr/local/sabma/lib/netlogon

#chmod 755 /usr/local/samba/lib/netlogon

#mkdir -p /opt/samba-ntprof

#chmod 777 /opt/samba-ntprof



Root toevoegen aan Samba

#smbpasswd -a root



Computeraccount toevoegen aan Samba

#useradd D202-02$

#passwd D202-02$

#smbpasswd -a D202-02$



Aanpassingen doen aan windowscomputer om toegang te krijgen tot domein.

Start - Configuratiescherm - Systeem - Computernaam - Netwerk-id



Herstart de pc en log in met een gebruiker die in Samba aanwezig is. Doe een verandering van achtergrond,. Log uit en log in met een andere computer. Vooraleer je dit kan doen met je wel die andere computer toevoegen aan samba. Eens op de andere computer aangelogd zal je zien dat het profiel van de Samba server is overgenomen.
 
Old 06-12-2005, 11:21 AM   #2
marghorp
Senior Member
 
Registered: Jan 2004
Location: Slovenia
Distribution: Slackware 10.1, SLAX to the MAX :)
Posts: 1,040

Rep: Reputation: 45
I thought english was the official language on LQ forums.

Does your computer have a hostname and a dnsname?

If it doesn't you won't see your box in other Windows Boxes.

Otherwise, the configuration file looks ok to me. I would just enable homes for the ordinary users to have acces to their homes.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 domain controller Red Squirrel Linux - Software 17 07-16-2005 09:30 AM
samba as a domain controller paul_mat Linux - Networking 1 02-08-2005 11:43 AM
help with new samba domain controller bladrag Linux - Networking 5 05-04-2004 09:52 PM
Samba as a Domain Controller mfeoli Linux - Networking 0 01-13-2004 09:32 AM
samba as a domain controller elements Linux - Networking 1 01-02-2004 06:17 PM


All times are GMT -5. The time now is 04:03 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration