[prev in list] [next in list] [prev in thread] [next in thread] 

List:       samba-technical
Subject:    Re: libsmbclient: how to see if authentication succeeded
From:       Willem van Engen <dev-list-samba () willem ! engen ! nl>
Date:       2008-05-28 9:05:38
Message-ID: 1211965538.6446.16.camel () moses
[Download RAW message or body]

On Tue, 2008-05-27 at 11:26 +0200, Andreas Schneider wrote:
> Willem van Engen wrote:
> > What would be the correct direction to proceed, exposing a login
> > function as I described in the previous mail?
> 
> I suggest to use smbc_opendir() to check if you can access the share. If 
> you're not authenticated or the username/password are wrong the auth_fn will 
> be called.

Ok, that's clear. I'll have to dive into the code again to see how it
exactly interacts with libsmbclient again.
Thanks, I just may get there in a proper way using the current api.

Regards,
- Willem

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic