Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


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

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


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
workgroup = IIL
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

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

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

kdc =

.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. rawana1 localhost.localdomain localhost
::1 localhost6.localdomain6 localhost6 Phantom1

Can cone one tell me how to fix this issue

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

Original Poster
Rep: Reputation: 34
Hi all

After I put these entries it worked




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 > Forums > Linux Forums > Linux - Newbie

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

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration