On 05/16/2013 02:28 AM, Aziza Lichir wrote:
Hello,
It's being a while, I've started with 389 DS and it never occurred me
to see if the users I add in the console will be add automatically to
server in kind of "ldif" file :p .!!!!!
I know now that i didn't really get it. so now I would like to know
how can I add an object class to all users I have with one command if
it's possible, I already tried this one but it didn't work for new
users I added :
http://directory.fedoraproject.org/wiki/Howto:Default_Console_Object_Obje....
The above is only used when you add a _brand new_ user in the console.
I think you are trying to add an objectclass to _existing_ users. To do
that, you'll have to use ldapsearch (to get the list of users), create
an ldif (using sed/awk/perl), then use ldapmodify. Alternately, if you
are going to be doing this sort of thing frequently, I suggest learning
to use a scripting language such as perl/python/ruby and use perl
Net::LDAP/python-ldap/ruby-ldap.
Another question, how can I fix this error <id:can not find the name
of the group identifier>knowing that when I enable Posix User for
sync users from AD I add the GID randomly ?
Thanking you in advance for your precious answers.
*___________________________________________________________*
*/Aziza Lichir/*
*
*
--
389 users mailing list
389-users(a)lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/389-users