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

Re: ldap: export account data (csv) from command line.



[Ralf Gesellensetter]
> Only later, I had to learn that some users were missing in my hand
> made list. Apparently there is a limit of 1,000 users when using
> ldapsearch anonymously.

Does it work to add -E pr=1000/noprompt to your ldapsearch command?

> I failed to use the same bind-options for ldapsearch, and after all,
> I wonder if there hadn't been an even more comfortable way to export
> accounts to csv (like ldif2csv?).

If you only need the names and usernames, I guess 'getent passwd'
would give you almost what you want?
-- 
Happy hacking
Petter Reinholdtsen


Reply to: