is there some way to create an ldif file programatically and then use ldapadd?

Absolutely. The simplest case might be just a shell script that prompts for each value that constitutes a new user, then prints that to stdout in LDIF format, which could be piped to ldapmodify.


Steve Strong wrote:
hmmm, this sounds a lot like copy all of the information over by hand ...

how about writing a shell script to add the user to the unix side and then copy the associated information (including the new group) into fedora directory? is there some way to create an ldif file programatically and then use ldapadd? has anyone done this already?
steve

Pete Rowley wrote:
Steve Strong wrote:
OK, I'm a newbie, but it seems that now that I've migrated all of my users that I need to learn how to add users (ya think?) There must be an underlying unix account, right? how do you add one unix account to the fedora ldap directory?

In the console create a new user, once you have filled out the default tab, click on the posix tab.


------------------------------------------------------------------------

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



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

Reply via email to