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 09-18-2005, 07:02 AM   #1
paul_mat
Member
 
Registered: Nov 2004
Location: Townsville, Australia
Distribution: Fedora Core 5, CentOS 4, RHEL 4
Posts: 855

Rep: Reputation: 30
Samba PDC and Domain Memeber


hi there,

i was just wondering if the same machine that is being run as a Samba domain controller can join the domain it is creating? because when i try to add it using 'net join' command i get this

[2005/09/18 21:56:50, 0] utils/net_ads.c:ads_startup(191)
ads_connect: Transport endpoint is not connected
Creation of workstation account failed
Unable to join domain WINDOWS.


here is my smb.conf file

#=============[Gobal=============

[global]
load printers = yes
domain logons = yes
os level = 65
security = ads
preferred master = yes
workgroup = Windows
logon script = %G\%G.bat
logon drive = H:
logon path = \\%L\profiles\%U\
logon home = \\%L\%U
domain master = yes
printing = cups
netbios name = home
local master = yes
realm = WINDOWS
encrypt passwords = yes

username map = /etc/samba/smbusers

winbind uid = 10000-20000
winbind gid = 10000-20000
winbind use default domain = yes
winbind enum users = yes
winbind enum groups = yes

#=============[Share]=============#
[netlogon]
comment = The domain logon service
path = /etc/samba/netlogon
public = no
browseable = no
writeable = no

[profiles]
comment = user profiles
path = /etc/samba/profiles
create mode = 0600
directory mode = 0700
writeable = yes
browseable = yes

[homes]
read only = no
browsable = no
path = /home/%U
writeable = yes
comment = User Home Drives

[root]
path = /
browseable = no
read only = no

[cd-rom]
path = /media/cdrom
browseable = yes
read only = yes
comment = CD-ROM on Samba



and here is my /etc/krb5.conf file

[libdefaults]
default_realm = WINDOWS

[realms]
[libdefaults]
default_realm = WINDOWS

[realms]
WINDOWS = {
kdc = fedora
default_domain = WINDOWS
kpasswd_server = fedora
admin_server = fedora
}

[domain_realm]
.fedora = WINDOWS
 
Old 09-19-2005, 01:32 AM   #2
musicman_ace
Senior Member
 
Registered: May 2001
Location: Indiana
Distribution: Gentoo, Debian, RHEL, Slack
Posts: 1,555

Rep: Reputation: 46
the nature of Windows NT is that there is no "member servers". You only get Primary Domain Controllers and Backup Domain controllers. If your samba server is a PDC (which holds the Security Accounts Manager) for all Windows NT domain hosts, then I imagine that trying to have it join the same domain that it is the PDC for will fail. maybe I read that sentence wrong and someone else will have a better answer, or if you could clarify what you meant by that.
 
  


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 as PDC with Debian : domain network path not found DigitAlex Linux - Networking 7 12-15-2006 05:42 PM
samba 3 problem - samba PDC can not join to the domain ananthak Linux - Networking 1 05-21-2006 10:39 AM
Joining XP Pro SP2 to Samba domain PDC Les62 Linux - Networking 13 10-09-2005 08:00 AM
Multisite Domain with Samba PDC richard.dunn Linux - Software 0 08-31-2004 12:06 PM
Canīt login on a domain setted up with samba 3 as pdc! emilioestevezz Linux - Networking 2 05-06-2004 04:04 AM

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

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