Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Different "userPassword" format in an LDIF file

1,560 views
Skip to first unread message

paul_si...@mail.com

unread,
Apr 26, 2007, 4:55:02 PM4/26/07
to
When exporting as an LDIF file with eDirectory, I get the following
format for the userPassword attribute:

userpassword: {SHA}TyCcjdiYBjVyo3PYWSmSn+Q4JXY=

When do the same action using an LDAP client (JXplorer), I get this
format:

userpassword:: e1NIQX1UeUNjamRpWUJqVnlvM1BZV1NtU24rUTRKWFk9

Why is there a difference?

Paul

Jim Henderson

unread,
Apr 26, 2007, 5:21:12 PM4/26/07
to

One is Base64 encoded, one isn't. The one that is is the latter, the
double "::" is an indicator that this has been encoded.

When I run the second string through (without the "userpassword:: " text),
I get the first one.

Jim

--
Jim Henderson, CNA6, CDE, CNI, LPIC-1
Novell Training Services

paul_si...@mail.com

unread,
Apr 27, 2007, 10:34:50 AM4/27/07
to

Indeed. Thanks a bunch.

Paul

Marcel Cox

unread,
May 9, 2007, 4:33:53 AM5/9/07
to
I don't really see why you would need to recreate your users just to add
some missing attributes. UniqueID and other attributes can be added using
various mechanisms.

--
Marcel Cox
http://support.novell.com/forums

Marcel Cox

unread,
May 14, 2007, 3:02:08 AM5/14/07
to

Peter Kuo

unread,
May 12, 2007, 2:15:33 AM5/12/07
to
No, you can't -- to export UP, you need to use NMAS's LDAP-specific API
which is not in normal utils.

--


Peter
eDirectory Rules!
(ssAegis powering up to 65% ...)

Peter Kuo

unread,
May 12, 2007, 2:16:28 AM5/12/07
to
Pawel Janowski wrote:

> Such export should be possible with ICE. But I can't get encrypted
passwords in output LDIF file.

No, you can't use ICE for it -- you need a custom app. How many users are
you talking about?

Peter Kuo

unread,
May 12, 2007, 2:17:33 AM5/12/07
to
UniqueID is generally the same as CN, so you can do some simple script
file manipulation to work that out.

Jim Willeke

unread,
May 12, 2007, 5:14:09 AM5/12/07
to
You might want to look at this CoolTool
http://www.novell.com/coolsolutions/tools/18609.html
-jim


Peter Kuo wrote:
> If stored as Simple Password that could be what you see -- if stored as
> hashed.
>

0 new messages