Closed
Bug 364812
Opened 19 years ago
Closed 17 years ago
merging Sun and Mozilla ldap tools.
Categories
(Directory Graveyard :: LDAP C SDK, defect)
Directory Graveyard
LDAP C SDK
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: neuroc0der, Assigned: mcs)
References
Details
Attachments
(1 file, 2 obsolete files)
36.75 KB,
patch
|
mcs
:
review+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8.1.1) Gecko/20061204 Firefox/2.0.0.1
Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8.1.1) Gecko/20061204 Firefox/2.0.0.1
arent that many changes so hopefully should be fast to review and
integrate, plz see the next update for the first cut of the patch
.
Reproducible: Always
Reporter | ||
Comment 1•19 years ago
|
||
- removed FORTEZZA
- removed LIBCACHE and [-C] no longer referenced in common
- added getEffectiveRights control to ldapsearch
- deprecated [-X] now utilized for getEffectiveRights control
- [-c] utilized for getEffectiveRights control
- added [-W -] for SSL password prompt
- added user friendly help options
- added [-i 0] to completely bypass charset conversions
- various minor fixes and improvements
this patch has been successfully tested on Solaris,
would appreciate review asap. merry xmas and happy
new year! :)
Comment 2•19 years ago
|
||
The indentation looks a bit dodgy here - https://bugzilla.mozilla.org/attachment.cgi?id=249516&action=diff#mozilla/directory/c-sdk/ldap/clients/tools/ldapsearch.c_sec8
How is the get effective rights attr list passed into the tool? What is the delimiter character?
Reporter | ||
Comment 3•19 years ago
|
||
they are space [" "] separated eg -X "mail uid". it might be worth a mention in
the help output but i figured its pretty intuitive tho i guess if you ask it is
certainly not. should i add appropriate line to the help output then ?
(In reply to comment #2)
> The indentation looks a bit dodgy here -
> https://bugzilla.mozilla.org/attachment.cgi?id=249516&action=diff#mozilla/directory/c-sdk/ldap/clients/tools/ldapsearch.c_sec8
>
> How is the get effective rights attr list passed into the tool? What is the
> delimiter character?
>
Comment 4•19 years ago
|
||
(In reply to comment #3)
> they are space [" "] separated eg -X "mail uid". it might be worth a mention in
> the help output but i figured its pretty intuitive tho i guess if you ask it is
> certainly not. should i add appropriate line to the help output then ?
Sure. Just add something to the help output to indicate the delimiter is a space character. Otherwise, looks good.
Reporter | ||
Comment 5•19 years ago
|
||
thanx for review Rich! in this patch there is an explicit comment
re using space as separator in getEffectiveRights attributes list
.
Attachment #249516 -
Attachment is obsolete: true
Comment 6•19 years ago
|
||
Ok. Looks good.
Reporter | ||
Updated•19 years ago
|
Attachment #249988 -
Flags: review?(mcs)
Assignee | ||
Comment 7•19 years ago
|
||
Comment on attachment 249988 [details] [diff] [review]
rev 1 of the original patch
This looks good, except I am not sure about the changes to fileurl.c. I think the old code was designed to handle file:/path or file://path. With your proposed change, file:/path will no longer work (yes, that format is somewhat of a shorthand but people expect it to work).
I also would not mind of get_effectiverights_attrlist() checked the return value from functions that need to allocate memory.
Reporter | ||
Comment 8•19 years ago
|
||
(In reply to comment #7)
> the old code was designed to handle file:/path or file://path. With your
> proposed change, file:/path will no longer work (yes, that format is somewhat
> of a shorthand but people expect it to work).
ok this makes sense. should i change back both the if statement and comments
or just the if statement ?
> I also would not mind of get_effectiverights_attrlist() checked the return
> value from functions that need to allocate memory.
sure, will have new rev of patch covering these comments available tomorrow.
Reporter | ||
Comment 9•19 years ago
|
||
pardon me, instead of "comments" in the first part of Comment #8
please read "error messages". its getting kinda late here, sorry
.
Assignee | ||
Comment 10•19 years ago
|
||
(In reply to comment #9)
> pardon me, instead of "comments" in the first part of Comment #8
> please read "error messages".
I think your error message changes are OK. Just revert the if statements.
Reporter | ||
Comment 11•19 years ago
|
||
this should be it, please review.
Attachment #249988 -
Attachment is obsolete: true
Attachment #251068 -
Flags: review?(mcs)
Attachment #249988 -
Flags: review?(mcs)
Assignee | ||
Comment 12•19 years ago
|
||
Comment on attachment 251068 [details] [diff] [review]
rev 2 of the original patch
Thanks for making the changes. This looks good to me now. Please commit.
Attachment #251068 -
Flags: review?(mcs) → review+
Reporter | ||
Comment 13•19 years ago
|
||
done. thanx for reviews!
Checking in mozilla/directory/c-sdk/ldap/clients/tools/Options.txt;
/cvsroot/mozilla/directory/c-sdk/ldap/clients/tools/Options.txt,v <-- Options.txt
new revision: 5.7; previous revision: 5.6
done
Checking in mozilla/directory/c-sdk/ldap/clients/tools/common.c;
/cvsroot/mozilla/directory/c-sdk/ldap/clients/tools/common.c,v <-- common.c
new revision: 5.22; previous revision: 5.21
done
Checking in mozilla/directory/c-sdk/ldap/clients/tools/convutf8.cpp;
/cvsroot/mozilla/directory/c-sdk/ldap/clients/tools/convutf8.cpp,v <-- convutf8.cpp
new revision: 5.9; previous revision: 5.8
done
Checking in mozilla/directory/c-sdk/ldap/clients/tools/fileurl.c;
/cvsroot/mozilla/directory/c-sdk/ldap/clients/tools/fileurl.c,v <-- fileurl.c
new revision: 5.5; previous revision: 5.4
done
Checking in mozilla/directory/c-sdk/ldap/clients/tools/ldapcmp.c;
/cvsroot/mozilla/directory/c-sdk/ldap/clients/tools/ldapcmp.c,v <-- ldapcmp.c
new revision: 5.7; previous revision: 5.6
done
Checking in mozilla/directory/c-sdk/ldap/clients/tools/ldapcompare.c;
/cvsroot/mozilla/directory/c-sdk/ldap/clients/tools/ldapcompare.c,v <-- ldapcompare.c
new revision: 5.8; previous revision: 5.7
done
Checking in mozilla/directory/c-sdk/ldap/clients/tools/ldapmodrdn.c;
/cvsroot/mozilla/directory/c-sdk/ldap/clients/tools/ldapmodrdn.c,v <-- ldapmodrdn.c
new revision: 5.3; previous revision: 5.2
done
Checking in mozilla/directory/c-sdk/ldap/clients/tools/ldapsearch.c;
/cvsroot/mozilla/directory/c-sdk/ldap/clients/tools/ldapsearch.c,v <-- ldapsearch.c
new revision: 5.12; previous revision: 5.11
done
Checking in mozilla/directory/c-sdk/ldap/clients/tools/ldaptool.h;
/cvsroot/mozilla/directory/c-sdk/ldap/clients/tools/ldaptool.h,v <-- ldaptool.h
new revision: 5.9; previous revision: 5.8
done
Reporter | ||
Updated•17 years ago
|
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•