posix root user in ds

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello, all.  I'm intentionally doing some things the hard way to
understand how they work.  I'd like to place the root user into my
directory.  The client with which I am testing can query ldap and allows
login for users defined in ldap.

I then tried to add the root user without using an import script.  I
created a user with both uidnumber and gidnumber set to 0 and uid and cn
set to root.  I then set a password in ldap different from the one on
the local system and attempted to login to my test system as root.  It
failed with the LDAP password but succeeded with the local password.

/etc/nsswitch.conf has "file ldap" for both passwd and shadow.  I tried
changing the password both from the local station and from ldap and they
did not synchronize.

I then added an objectclass of shadowaccount and added attributes for
shadowmin, shadowmax, shadowwarning, shadowlastchange as in
the /etc/shadow file.  Still no luck.

What must one do to synchronize an existing local account with an ldap
account? Thanks - John
-- 
John A. Sullivan III
Open Source Development Corporation
+1 207-985-7880
jsullivan@xxxxxxxxxxxxxxxxxxx

http://www.spiritualoutreach.com
Making Christianity intelligible to secular society

--
Fedora-directory-users mailing list
Fedora-directory-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-directory-users

[Index of Archives]     [Fedora Directory Users]     [Fedora Directory Devel]     [Fedora Announce]     [Fedora Legacy Announce]     [Kernel]     [Fedora Legacy]     [Share Photos]     [Fedora Desktop]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite News]

  Powered by Linux