From Fedora Project Wiki

(Initial page)
 
No edit summary
Line 15: Line 15:
automatic-id-mapping = no
automatic-id-mapping = no
</pre>
</pre>
Make sure realmd is restarted:
<pre>
$ sudo killall realmd
</pre>
|actions=
|actions=
# Join the domain as usual:
# Join the domain as usual:

Revision as of 12:09, 7 May 2013

Description

Join the current machine to an Active Directory, but use the POSIX attributes in the directory.

Setup

  1. Fulfill the prerequisites and make sure your Active Directory domain access works. realmd 0.14.0+ and adcli 0.6+ are required.
  2. You need a domain account as an administrator.
  3. Leave realm(s) you are currently joined to.
  4. You need the Identity Management for UNIX installed on the active directory.
    To check: Run Server Manager, click on Roles, scroll down to Active Directory Domain Services.
    To install: Click Add Role Services
  5. You need to assign POSIX attributes such as UID, GID, home directory and shell assigned to the users you'll be testing.
    In Active Directory Users and Computers, go to the Users section, right click on the relevant users and choose Properties. In the UNIX Attributes, fill in all the fields.
  6. Configure realmd by placing the following in: /etc/realmd.conf
    Put in your domain name as appropriate:
[ad.example.com]
automatic-id-mapping = no

Make sure realmd is restarted:

$ sudo killall realmd

How to test

  1. Join the domain as usual:
    $ realm join --user=Administrator ad.example.com
    Use your domain admin password when prompted. Specify a user other than Administrator if you have another domain administrative account.
    On a successful join there will be no output.

Expected Results

  1. Check that the domain is now configured.
    $ realm list
    Make sure the domain is listed.
    Make sure you have a configured: kerberos-member line in the output.
    Make note of the login-formats line for the next command.
  2. Check that you can resolve domain accounts on the local computer.
    $ getent passwd 'AD\User'
    Make sure to use the quotes around the user name.
  3. You should see an output line that looks like passwd(5) output.
    AD\User:*:6000:6000:User:/home/User:/bin/sh
    The uid, gid, home directory and shell should match those you set in the directory above.



Troubleshooting

Use the --verbose argument to see details of what's being done during a join. Include verbose output in any bug reports.

$ realm join --verbose ad.example.com