Hi Nicolas,
Unfortunately the -p option is for the BlackBerry PIN. In looking at the
source code, I see that there is this line in btool:
desktop.Open(password.c_str()); which seems to do the device authentication.
This function is missing in upldif.cc, where it is only desktop.Open();.
My next question is, how easy would it be to integrate device password
authentication for upldif?
-Jeff
On Tue, Nov 24, 2009 at 8:22 AM, Nicolas <prog...@free.fr> wrote:
> Hi,
>
> Try :
> $ cat new.ldif |upldif -p PASSWORD -u
> with PASSWORD == your password
>
> Regards,
>
> Nicolas VIVIEN
>
>
> Le mardi 24 novembre 2009 à 05:59 -0800, Jeff Blaum a écrit :
> > Hi Chris,
> >
> > Thanks for getting back to me on this issue. I see the method you
> > describe, but there is a problem:
> >
> > cat new.ldif |upldif -u
> > Store counted 3 records.
> > Barry::Error caught: No password specified.
> >
> > My device's IT policy requires a password; how do I get around this
> > error?
> >
> > TY - Jeff
> >
> > On Wed, Nov 18, 2009 at 12:50 PM, Chris Frey <cdf...@foursquare.net>
> > wrote:
> > On Tue, Nov 17, 2009 at 04:51:25PM -0800, Jeff Blaum wrote:
> > > I am also wondering what method to use to import Contact
> > LDIF's to my
> > > BlackBerry address book.
> > >
> > > Can someone please explain how we can do it?
> >
> >
> > Hi Jeff,
> >
> > The intended command to upload LDIF entries to your Blackberry
> > is the
> > upldif command.
> >
> > To guard the safety of your data on the Blackberry, by default
> > it does
> > not actually do the upload, just parses the data and displays
> > what it
> > thinks it should do.
> >
> > When it looks good, use the -u switch to actually do the
> > upload.
> > Note that this will _erase_ your entire Address Book database.
> > If this is not what you want, you may need to dump your
> > existing
> > Address Book entries using btool into LDIF format (-c option)
> > and
> > then merge that with the rest of your LDIF data and feed it
> > all to
> > upldif.
> >
> > For example, if you're very confident of your LDAP data and
> > Barry's
> > parsing ability, you could do:
> >
> > ldapsearch -x | upldif -u
> >
> > This will erase your Address Book and replace it with the LDAP
> > data.
> >
> > You will probably want to filter things with the ldapsearch
> > command first,
> > though, so only contact data gets fed into upldif.
> >
> >
> > - Chris
> >
> >
> >
> >
> >
> ------------------------------------------------------------------------------
> > Let Crystal Reports handle the reporting - Free Crystal
> > Reports 2008 30-Day
> > trial. Simplify your report design, integration and deployment
> > - and focus on
> > what you do best, core application coding. Discover what's new
> > with
> > Crystal Reports now. http://p.sf.net/sfu/bobj-july
> > _______________________________________________
> > Barry-devel mailing list
> > Barry-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/barry-devel
> >
> >
> >
> ------------------------------------------------------------------------------
> > Let Crystal Reports handle the reporting - Free Crystal Reports 2008
> 30-Day
> > trial. Simplify your report design, integration and deployment - and
> focus on
> > what you do best, core application coding. Discover what's new with
> > Crystal Reports now. http://p.sf.net/sfu/bobj-july
> > _______________________________________________ Barry-devel mailing list
> Barry-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/barry-devel
>
>
>
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus
> on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now. http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Barry-devel mailing list
> Barry-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/barry-devel
>
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Barry-devel mailing list
Barry-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/barry-devel