LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-11-2007, 01:40 AM   #1
procfs
Member
 
Registered: Jan 2006
Location: Sri Lanka
Posts: 651

Rep: Reputation: 34
while joining Samba client (fileserver) to a win2003 AD getting a message


Hi

I am trying to join a samba 3 server on Redhat LE5 to a windows 2003 AD. And I am getting this error


[root@rawana1 etc]# net ads join -S Phantom1 -U Administrator%****** -d1
Using short domain name -- IIL
Failed to set servicePrincipalNames. Please ensure that
the DNS domain of this server matches the AD domain,
Or rejoin with using Domain Admin credentials.
Disabled account for 'RAWANA1' in realm 'IIL.INFORMATICS.LK'
[root@rawana1 etc]#

And mu smb.conf, krb5.conf and hosts as follows

[root@rawana1 samba]# cat smb.conf
# Global parameters
[global]
workgroup = IIL
realm = IIL.INFORMATICS.LK
preferred master = no
server string = %S
security = ADS
encrypt passwords = yes
log level = 3
log file = /var/log/samba/%m
max log size = 50
idmap backend = ad
winbind separator = +
idmap uid = 10000-20000
idmap gid = 10000-20000

[homes]
comment = Home Directories
valid users = %S
read only = No
browseable = No

[root@rawana1 etc]# cat /etc/krb5.conf
[libdefaults]
default_realm = IIL.INFORMATICS.LK
dns_lookup_kdc = fales
dns_lookup_realm = fales

[realms]
IIL.INFORMATICS.LK = {
kdc = phantom1.iil.informatics.lk
}

[domain_realms]
.kerberos.server = IIL.INFORMATICS.LK


[root@rawana1 samba]# cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 rawana1 localhost.localdomain localhost
::1 localhost6.localdomain6 localhost6
192.168.11.21 Phantom1.iil.informatics.lk Phantom1


Can cone one tell me how to fix this issue

Thanks
 
Old 10-11-2007, 03:42 AM   #2
procfs
Member
 
Registered: Jan 2006
Location: Sri Lanka
Posts: 651

Original Poster
Rep: Reputation: 34
Hi all

After I put these entries it worked

[domain_realm]
.iil.informatics.lk = IIL.INFORMATICS.LK
iil.informatics.lk = IIL.INFORMATICS.LK


Thanks
 
  


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
joining a linux client into the domain running Samba PDC zdehman Linux - Networking 2 08-18-2006 05:06 AM
samba-common/client 3.0.4 fails join Win2003 domain JimBass Linux - Newbie 2 07-02-2004 01:49 PM
Samba nmbd/smbd starting by client request to fileserver snocked Linux - Networking 0 11-11-2003 04:08 PM
Joining Win2k client to a samba PDC seaver Linux - Networking 3 08-07-2003 09:34 AM
Samba PCD W2000 client problem joining LIV Linux - Networking 0 02-28-2003 04:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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