LinuxQuestions.org
Visit Jeremy's Blog.
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 04-02-2006, 11:04 PM   #1
reycapoy
LQ Newbie
 
Registered: Nov 2005
Location: Cebu, Philippines
Posts: 27

Rep: Reputation: 15
how to setup SLES9 as a domain controller


Good Day to all:
I just wanted to know if how I am going to setup SLES9 as a domain controller. I tried to connect two PC's via a Linksys router. One PC is running SLES9 and the other one is running WinXP Pro SP2.
Under YAST I open up the SAMBA Server, then under the Identity tab I entered "novell" as a Workgroup or Domain Name, then select PDC under Domain controller, then entered SLES9 as the NetBIOS Name. Under Startup tab ON is checked. I have also added the username "xp" in SLES9 and give the same password as what is given to the user "xp" in Windows XP PC.
Then at the PC running Windows XP Pro, I change the domain name to "novell" then it ask me for a username and a password. So I entered root as the username and entered the password for it. But I cannot make that PC joined the novell domain. An error pops up that the domain is not available.
Does anybody knows how to setup this up. What do I need to setup under SLES 9 to make it as a domain controller.

Thanks....
 
Old 04-02-2006, 11:32 PM   #2
musicman_ace
Senior Member
 
Registered: May 2001
Location: Indiana
Distribution: Gentoo, Debian, RHEL, Slack
Posts: 1,555

Rep: Reputation: 46
post the smb.conf file. I'm not sure how to get YaST to configure it, but I can point out any mistakes in the smb.conf file to help get you rolling.
 
Old 04-03-2006, 12:42 AM   #3
reycapoy
LQ Newbie
 
Registered: Nov 2005
Location: Cebu, Philippines
Posts: 27

Original Poster
Rep: Reputation: 15
Hi this is the content of my smb.conf file. Thanks

# smb.conf is the main Samba configuration file. You find a full commented
# version at /usr/share/doc/packages/samba/examples/smb.conf.SUSE
# Date: 2004-06-30
[global]
domain logons = yes
ldap idmap suffix = ou=Idmap
ldap machine suffix = ou=Computers
local master = yes
wins server =
wins support = no
add machine script = /usr/sbin/useradd -c Machine -d /var/lib/nobody -s /bin/false %m$
domain master = yes
preferred master = yes
ldap suffix = dc=example,dc=com
workgroup = novell
printing = cups
printcap name = cups
printcap cache time = 750
cups options = raw
printer admin = @ntadmin, root, administrator
username map = /etc/samba/smbusers
map to guest = Bad User
logon path = \\%L\profiles\.msprofile
logon home = \\%L\%U\.9xprofile
logon drive = P:
security = domain
encrypt passwords = yes
passdb backend = smbpasswd
netbios name = SLES9
os level = 65
;; [homes]
;; guest ok = no
;; printable = no
;; comment = Home Directories
;; valid users = %S
;; browseable = no
;; read only = No
;; inherit permissions = Yes
;; [profiles]
;; browseable = yes
;; guest ok = no
;; printable = no
;; comment = Network Profiles Service
;; path = %H
;; read only = No
;; store dos attributes = Yes
;; create mask = 0600
;; directory mask = 0700
;; [users]
;; browseable = yes
;; guest ok = no
;; printable = no
;; comment = All users
;; path = /home
;; read only = No
;; inherit permissions = Yes
;; veto files = /aquota.user/groups/shares/
;; [groups]
;; browseable = yes
;; guest ok = no
;; printable = no
;; comment = All groups
;; path = /home/groups
;; read only = No
;; inherit permissions = Yes
;; [pdf]
;; browseable = yes
;; guest ok = no
;; comment = PDF creator
;; path = /var/tmp
;; printable = yes
;; print command = /usr/bin/smbprngenpdf -J '%J' -c %c -s %s -u '%u' -z %z
;; create mask = 0600
[printers]
guest ok = no
comment = All Printers
path = /var/tmp
printable = yes
create mask = 0600
browseable = no
[print$]
browseable = yes
guest ok = no
printable = no
comment = Printer Drivers
path = /var/lib/samba/drivers
write list = @ntadmin root
force group = ntadmin
create mask = 0664
directory mask = 0775
[data1]
browseable = yes
comment = test only
guest ok = yes
path = /data1/
writeable = yes
printable = no
users = xp,infonet
 
Old 04-03-2006, 12:59 AM   #4
paul_mat
Member
 
Registered: Nov 2004
Location: Townsville, Australia
Distribution: Fedora Core 5, CentOS 4, RHEL 4
Posts: 855

Rep: Reputation: 30
you might want to check out the following too links

http://www.yourhowto.org/content/view/42/9/

http://www.yourhowto.org/content/view/30/9/

there how-to's for setting up a Samba PDC that i have on my website
 
Old 04-03-2006, 01:10 AM   #5
musicman_ace
Senior Member
 
Registered: May 2001
Location: Indiana
Distribution: Gentoo, Debian, RHEL, Slack
Posts: 1,555

Rep: Reputation: 46
One thing I notice is that security is usually equal USER 'security = user' , not domain. I'll check samba.org, but domain sticks out because I've put Samba PDCs together and I don't think I used 'security=domain'.
 
  


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
SCSI RAID Controller for SuSE Linux SLES9 Inhibit Linux - Hardware 0 08-30-2005 05:15 PM
domain controller varun_saa Mandriva 4 02-24-2005 03:29 AM
Using Linux as a domain controller for a W2K3 domain. Passive Linux - Networking 3 01-28-2005 06:01 PM
Do you need a Domain controller in a NIS domain? synthol6 AIX 3 07-01-2004 12:20 PM
RH Domain Controller and XP agallant Linux - Networking 1 02-20-2004 12:30 PM

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

All times are GMT -5. The time now is 08:57 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