Re: Users and groups

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

 



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_Objectclass.

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@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/389-users

--
389 users mailing list
389-users@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/389-users

[Index of Archives]     [Fedora User Discussion]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora News]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora QA]     [Fedora Triage]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Yosemite Photos]     [Linux Apps]     [Maemo Users]     [Gnome Users]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Maemo Users]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Fedora ARM]

  Powered by Linux