--On Tuesday, October 24, 2006 8:49 PM +0200 Pierangelo Masarati ando@sys-net.it wrote:
quanah@stanford.edu wrote:
It would be nice if you could pass -u and -g options to run as another user/group so that on systems where OpenLDAP is running as another user or group, the files created by slapadd & slapindex have the correct ownerships (rather than root, for example).
OK for slapadd; for slapindex and other tools, what about using user/group info from the file(s) itself?
What file(s)? Assuming this is a new (and only) index? I guess the __db.* files? or the id2entry file? Just trying to see specifically where you are going on this. :)
--Quanah
-- Quanah Gibson-Mount Principal Software Developer ITS/Shared Application Services Stanford University GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html