Le 12/09/12 07:52, Nicolas ABEL a écrit : Hi Nicolas,
> I would need a way to fill user informations from a Sun LDAP on a few > hundred computers (Libreoffice 3.5.6.2 already installed). > The best would be to update informations from the LDAP at each restart > or on demand. > Any clue to help us do that ? You could additionally post your question in French on the French mailing list. There are users subscribed to that list from the MIMO group of French administrations working on interoperability of opensource solutions, including LibreOffice deployments, perhaps someone there might be able to help you out ? As I understand your question, you want a way of using your LDAP user data to be copied into a users profile configuration file on start-up of LO, or on demand. The only way I can think of being able to do this would be to write a script that would re-register the user's personal data into the corresponding XCU/XCS file, after querying the LDAP directory for the user's data. Note however, that I believe you would have to restart the soffice process each time for each user as and when the user's profile data got rewritten. In addition, the script would have to take care of the different locations for each user's configuration profiles, depending on the OS being used. For example, the file registrymodifications.xcu contains : <item oor:path="/org.openoffice.UserProfile/Data"><prop oor:name="c" oor:op="fuse"><value></value></prop></item> <item oor:path="/org.openoffice.UserProfile/Data"><prop oor:name="facsimiletelephonenumber" oor:op="fuse"><value></value></prop></item> <item oor:path="/org.openoffice.UserProfile/Data"><prop oor:name="givenname" oor:op="fuse"><value></value></prop></item> <item oor:path="/org.openoffice.UserProfile/Data"><prop oor:name="homephone" oor:op="fuse"><value></value></prop></item> <item oor:path="/org.openoffice.UserProfile/Data"><prop oor:name="initials" oor:op="fuse"><value></value></prop></item> <item oor:path="/org.openoffice.UserProfile/Data"><prop oor:name="l" oor:op="fuse"><value></value></prop></item> <item oor:path="/org.openoffice.UserProfile/Data"><prop oor:name="mail" oor:op="fuse"><value></value></prop></item> <item oor:path="/org.openoffice.UserProfile/Data"><prop oor:name="o" oor:op="fuse"><value></value></prop></item> <item oor:path="/org.openoffice.UserProfile/Data"><prop oor:name="position" oor:op="fuse"><value></value></prop></item> <item oor:path="/org.openoffice.UserProfile/Data"><prop oor:name="postalcode" oor:op="fuse"><value></value></prop></item> <item oor:path="/org.openoffice.UserProfile/Data"><prop oor:name="sn" oor:op="fuse"><value></value></prop></item> <item oor:path="/org.openoffice.UserProfile/Data"><prop oor:name="st" oor:op="fuse"><value></value></prop></item> <item oor:path="/org.openoffice.UserProfile/Data"><prop oor:name="street" oor:op="fuse"><value></value></prop></item> <item oor:path="/org.openoffice.UserProfile/Data"><prop oor:name="telephonenumber" oor:op="fuse"><value></value></prop></item> <item oor:path="/org.openoffice.UserProfile/Data"><prop oor:name="title" oor:op="fuse"><value></value></prop></item> which appears to be the user data fields that can be found on the corresponding page of the Tools > Options (Linux/Windows) or "Preferences" (Mac OSX) menu. Alex -- For unsubscribe instructions e-mail to: users+h...@global.libreoffice.org Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette List archive: http://listarchives.libreoffice.org/global/users/ All messages sent to this list will be publicly archived and cannot be deleted