[jcifs] JCIFS waiitng indefinitely

Sujit Jagdev sujit.jagdev at casero.com
Fri Nov 1 02:55:29 EST 2002


Dear Michael,
I have done some more testing and it seems that when I scan the network
the SmbFile.listFiles() seems to wait forever for a response. This
always occurs when it discovers my own computer on the network.
I am using the latest jar file "7b6".
Sujit

-----Original Message-----
From: jcifs-request at lists.samba.org
[mailto:jcifs-request at lists.samba.org] 
Sent: Tuesday, October 29, 2002 12:00 PM
To: jcifs at lists.samba.org
Subject: jcifs digest, Vol 1 #528 - 7 msgs

Send jcifs mailing list submissions to
	jcifs at lists.samba.org

To subscribe or unsubscribe via the World Wide Web, visit
	http://lists.samba.org/listinfo/jcifs
or, via email, send a message with subject or body 'help' to
	jcifs-request at lists.samba.org

You can reach the person managing the list at
	jcifs-admin at lists.samba.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of jcifs digest..."


Today's Topics:

   1. Re: RE: jcifs-0.7.0b6 now available (Michael B. Allen)
   2. Re: jcifs-0.7.0b6 released (Christopher R. Hertel)
   3. Re: jcifs-0.7.0b6 released (Michael B. Allen)
   4. Why I can not retrieve password from NtlmPasswordAuthentication?
(james park)
   5. RE: Why I can not retrieve password from
       NtlmPasswordAuth entication? (Allen, Michael B (RSCH))
   6. Obtaining username to/from NT SID (eglass1 at attbi.com)

--__--__--

Message: 1
Date: Mon, 28 Oct 2002 14:12:03 -0500
From: "Michael B. Allen" <miallen at eskimo.com>
To: "Bigham, Ted" <TBigham at kmart.com>
Cc: Michael_B_Allen at ml.com, TBigham at kmart.com,
	sujit.jagdev at casero.com, matthew.tippett at sympatico.ca,
	crh at ubiqx.mn.org, jcifs at samba.org
Subject: Re: [jcifs] RE: jcifs-0.7.0b6 now available

On Mon, 28 Oct 2002 11:54:45 -0500
"Bigham, Ted" <TBigham at kmart.com> wrote:

> So far, so good.  The initial test program (getting a challenge from
the
> PDC) works in the EBCDIC codepage now (Cp1047).  I'll plug it into
websphere
> today and see if we can login too.  I'll try some of other file
sharing
> routines throughout the week.  Nice work.  Thanks for the update.

Great! Give examples/Torture1 a whirl if you can and maybe
examples/FileOps
patience permitting. In EBCDIC mode of course.

> 
> -----Original Message-----
> From: Allen, Michael B (RSCH) [mailto:Michael_B_Allen at ml.com] 
> Sent: Sunday, October 27, 2002 7:31 PM
> To: 'TBigham at kmart.com'; 'sujit.jagdev at casero.com';
> 'matthew.tippett at sympatico.ca'; 'crh at ubiqx.mn.org'
> Cc: 'jcifs at samba.org'
> Subject: jcifs-0.7.0b6 now available
> 
> Not quite released because I have to roll it out and get synced with
> jcifs.samba.org but it's the same package:
> 
> http://users.erols.com/mballen/jcifs/CHANGES.txt
> http://users.erols.com/mballen/jcifs/jcifs-0.7.0b6.jar
> http://users.erols.com/mballen/jcifs/jcifs-0.7.0b6.tgz
> http://users.erols.com/mballen/jcifs/jcifs-0.7.0b6.zip
> 
> Ted,
> 
> All character encoding changes look good. Please let us know how it
works
> for you.
> 
> Sujit,
> 
> Concurrency issue with copyTo is repaired in this build. Please let us
know
> how it works for you.
> 
> Matthew,
> 
> IPC$ fix is in. You should have no problem listing smb:// now.
> 
> Chris,
> 
> Can you delete files (under src/ anyway) before I upload for sync this
> morning? We're building up cruft that no longer exists in the package.
> 
> 
> 


-- 
A  program should be written to model the concepts of the task it
performs rather than the physical world or a process because this
maximizes  the  potential  for it to be applied to tasks that are
conceptually  similar and, more important, to tasks that have not
yet been conceived. 

--__--__--

Message: 2
Date: Mon, 28 Oct 2002 13:44:15 -0600
From: "Christopher R. Hertel" <crh at ubiqx.mn.org>
To: "Michael B. Allen" <miallen at eskimo.com>
Cc: jcifs <jcifs at samba.org>
Subject: Re: [jcifs] jcifs-0.7.0b6 released

On Mon, Oct 28, 2002 at 01:33:06AM -0500, Michael B. Allen wrote:
:
> > Chris,
> > 
> > Can you delete files (under src/ anyway) before I upload for sync
> > this morning? We're building up cruft that no longer exists in the
> > package.

I did a full cleanup, removing the entire subdirectory and letting wget 
rebuild it.  Should be clean now.

Chris -)-----

-- 
Samba Team -- http://www.samba.org/     -)-----   Christopher R. Hertel
jCIFS Team -- http://jcifs.samba.org/   -)-----   ubiqx development,
uninq.
ubiqx Team -- http://www.ubiqx.org/     -)-----   crh at ubiqx.mn.org
OnLineBook -- http://ubiqx.org/cifs/    -)-----   crh at ubiqx.org

--__--__--

Message: 3
Date: Mon, 28 Oct 2002 15:25:34 -0500
From: "Michael B. Allen" <miallen at eskimo.com>
To: "Christopher R. Hertel" <crh at ubiqx.mn.org>
Cc: jcifs at samba.org
Subject: Re: [jcifs] jcifs-0.7.0b6 released

On Mon, 28 Oct 2002 13:44:15 -0600
"Christopher R. Hertel" <crh at ubiqx.mn.org> wrote:

> On Mon, Oct 28, 2002 at 01:33:06AM -0500, Michael B. Allen wrote:
> :
> > > Chris,
> > > 
> > > Can you delete files (under src/ anyway) before I upload for sync
> > > this morning? We're building up cruft that no longer exists in the
> > > package.
> 
> I did a full cleanup, removing the entire subdirectory and letting
wget 
> rebuild it.  Should be clean now.

Great. Looks good.

Thanks

-- 
A  program should be written to model the concepts of the task it
performs rather than the physical world or a process because this
maximizes  the  potential  for it to be applied to tasks that are
conceptually  similar and, more important, to tasks that have not
yet been conceived. 

--__--__--

Message: 4
From: "james park" <jamesparkchn at hotmail.com>
To: jcifs at lists.samba.org
Date: Tue, 29 Oct 2002 01:25:45 +0000
Subject: [jcifs] Why I can not retrieve password from
NtlmPasswordAuthentication?

I want to get password from the object of NtlmPasswordAuthentication.
And I 
can retrieve user/domain/username information. But it just returned
null. Is 
it because the user is not authorized or has not enough permit? Thanks.




_________________________________________________________________
Unlimited Internet access -- and 2 months free!  Try MSN. 
http://resourcecenter.msn.com/access/plans/2monthsfree.asp


--__--__--

Message: 5
From: "Allen, Michael B (RSCH)" <Michael_B_Allen at ml.com>
To: "'james park'" <jamesparkchn at hotmail.com>, jcifs at lists.samba.org
Subject: RE: [jcifs] Why I can not retrieve password from
 NtlmPasswordAuth entication?
Date: Mon, 28 Oct 2002 21:14:41 -0500

getPassword will return null if a password was not provided to begin
with or if
NTLM SSP is being used to negotiate password hashes. Just to be clear,
you
know that you cannot extract someones password from the SAM database or
something like that. The password returned by getPassword is only what
was
put in using an NtlmPasswordAuthentication constructor or decoded from
the
authority component of an SMB URL.

> -----Original Message-----
> From:	james park [SMTP:jamesparkchn at hotmail.com]
> Sent:	Monday, October 28, 2002 8:26 PM
> To:	jcifs at lists.samba.org
> Subject:	[jcifs] Why I can not retrieve password from
NtlmPasswordAuthentication?
> 
> I want to get password from the object of NtlmPasswordAuthentication.
And I 
> can retrieve user/domain/username information. But it just returned
null. Is 
> it because the user is not authorized or has not enough permit?
Thanks.
> 
> 
> 
> 
> _________________________________________________________________
> Unlimited Internet access -- and 2 months free!  Try MSN. 
> http://resourcecenter.msn.com/access/plans/2monthsfree.asp
> 


--__--__--

Message: 6
From: eglass1 at attbi.com
To: jcifs at lists.samba.org
Date: Tue, 29 Oct 2002 12:54:28 +0000
Subject: [jcifs] Obtaining username to/from NT SID

I'm currently working on a project where I have the need 
to match a user's NT SID to their username.  Previously, 
I was using a native call to LookupAccountSid with the 
SID to retrieve the username.  However, I was wondering 
if it would be possible via jCIFS to either do this or 
go the other way -- i.e., the user has authenticated via 
NTLM, and I want to retrieve the SID (using perhaps the 
NtlmPasswordAuthentication object?).  I essentially have 
2 sources (one with the SID and one with a username), 
and I need to match them.  Anyone have any ideas?  
Ideally, I would like to do this in pure Java (I can 
already do it natively, but that ties me to a specific 
platform).

Eric


--__--__--

_______________________________________________
jcifs mailing list
jcifs at lists.samba.org
http://lists.samba.org/listinfo/jcifs


End of jcifs Digest


-----

The information contained in this message is proprietary of Casero Inc.,
protected from disclosure, and may be privileged. The information is
intended to be conveyed only to the designated recipient(s) of the
message. If the reader of this message is not the intended recipient,
you are hereby notified that any dissemination, use, distribution or
copying of this communication is strictly prohibited and may be
unlawful. If you have received this communication in error, please
notify us immediately by replying to the message and deleting it from
your computer. Thank you.




More information about the jcifs mailing list