hi,
PLs follow the below steps to add linux machine to windows domain
Steps 1
First edit /etc/krb5.conf file and do the following changes
[logging]
default = FILE:/var/log/krb5libs.log
kdc = FILE:/var/log/krb5kdc.log
admin_server = FILE:/var/log/kadmind.log
[libdefaults]
default_realm = YOURDOMAIN.COM
dns_lookup_realm = true
dns_lookup_kdc = true
[realms]
YOURDOMAIN.COM = {
kdc = DC1.YOURDOMAIN.com:88
admin_server = DC1.YOURDOMAIN.com:749
default_domain = YOURDOMAIN.com
}
YOURDOMAIN.com = {
kdc = 172.20.1.96
}
[domain_realm]
. YOURDOMAIN.com = YOURDOMAIN.com
YOURDOMAIN.com = YOURDOMAIN.com
[kdc]
profile = /var/kerberos/krb5kdc/kdc.conf
[appdefaults]
pam = {
debug = false
ticket_lifetime = 36000
renew_lifetime = 36000
forwardable = true
krb4_convert = false
}
Where kdc will be the name of your ADS server
Step 2
Then just edit your /et/samba/smb.conf file and do the following changes at the
last.
workgroup = YOURDOMAIN
[global]
realm = YOURDOMAIN.com
password server = 172.20.1.96
security = ADS
encrypt passwords = yes
That¢s all .
Step 3
Now run the following command to add the machine to yourdomain.com
net ads join -U shamshad
it will ask you password
when you run this command you should get the following o/p
[2008/04/10 16:23:53, 0] libads/ldap.c:ads_add_machine_acct(1405)
ads_add_machine_acct: Host account for pc already exists - modifying old
account
Using short domain name -- YOURDOMAIN
Joined 'PC' to realm ' YOURDOMAIN.com '
Open the web browser and you should be able to browse the windows machine
Regards,
Shamshad
9322021998
--- On Thu, 9/25/08, ilampooranan <[EMAIL PROTECTED]> wrote:
From: ilampooranan <[EMAIL PROTECTED]>
Subject: Re: [LinuxVadaPav] Help me out
To: [email protected]
Date: Thursday, September 25, 2008, 1:38 AM
Hi Mr.Viket,
we have windows 2003 Domain Server. i want to connect my fedora 9 PC to Windows
Domain!!!! is it possible?? if yes please guide me how to do this!!!
Awaiting reply,
Ilampooranan. S
----- Original Message ----
From: Viket Trivedi <viket.trivedi@ gmail.com>
To: linuxvadapav@ yahoogroups. com
Sent: Thursday, September 25, 2008 10:02:01 AM
Subject: Re: [LinuxVadaPav] Help me out
On Wed, Sep 24, 2008 at 2:20 PM, ilampooranan <elango_siva@ yahoo.com> wrote:
> Hi,
>
> Actually i am trying to connect one Fedora 9 user to Windows 2003 ADS. can
> anyone suggest me the flow? i am trying thro' samba.... but i am confused
> alot. i am not getting how it works from different OS... please help me out.
>
>
> Awaiting reply.
>
> Regards,
>
> Ilampooranan. S
>
Hi,
Can you tell exactly what are you trying to accomplish. If you want your
fedora users get authendicated by windows 2k3 ADS, you can use winbind.
Regards,
Viket
[Non-text portions of this message have been removed]
[Non-text portions of this message have been removed]
[Non-text portions of this message have been removed]
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/linuxvadapav/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/linuxvadapav/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/