GTK+ App to list workgroups, shares, servers, directories, etc

Richard Sharpe sharpe at ns.aus.com
Mon Jan 8 02:04:52 GMT 2001


At 12:26 AM 1/8/01 +0100, Jelmer Feenstra wrote:
>> Yes, I need to test against NT to ensure that things work OK. I think what
>> happens is that it tries with NULL credentials, and if that fails, it calls
>> the auth_fn defined in smbc_init, but I hard coded the answers to test and
>> test, which will probably not work on your system.
>
>I don't think it uses test/test, I am not using tree.c but just wrote some 
>code myself that uses your library. The problem is (I'm afraid) not just a 
>matter of username/password...

OK, I hard coded in smbc_server that if the share was IPC$, then use a null
username and password. This was perhaps unwise ... I will hack it back out
and wait until we see what things look like.

>> I need to implement a dialog box to get the username and password when
>> authentication is required.
>
>> >Another bug (?) I encountered is the fact that stat'ing files on some
>> > systems
>> >returned bad c/m/a-time information (Thu Jan  1 01:00:00 1970), while
>> >smbclient does list the dates correctly.
>>
>> Hmmm, OK, will have to look at that. Is it possible to get me:
>>
>> 1. A capture of the network traffic
>> 2. A listing of the answers?
>
>Hmm I could get you a capture of the network traffic I get, but I don't
think 
>that's going to help a lot. Let me look at when it exactly goes wrong first 
>and rule out some situations. I don't exactly know what you mean by 'A 
>listing of answers' and I don't think I know how to get you one :)

I was thinking of a listing of the answers to the questions from testsmbc,
but if you are using your own code, then they won't help me much. 

I will look at the times to see if they are UNIX times or not ...

>What could be a big help for me, is a little hint on where I can find the 
>debugging output of your library when it's initialized with the proper 
>debuglevel... Right now I don't actually know where to look :)
>
>Thanks,
>
>Jelmer Feenstra
>

Regards
-------
Richard Sharpe, sharpe at ns.aus.com
Samba (Team member, www.samba.org), Ethereal (Team member, www.zing.org)
Contributing author, SAMS Teach Yourself Samba in 24 Hours
Author, Special Edition, Using Samba






More information about the samba-technical mailing list