smbnetfs  0.6.3
About: SMBNetFS is a Linux/FreeBSD filesystem that allow you to use samba/microsoft network in the same manner as the network neighborhood in Microsoft Windows.
  Fossies Dox: smbnetfs-0.6.3.tar.bz2  ("unofficial" and yet experimental doxygen-generated source code documentation)  

auth.h File Reference
#include "list.h"
Include dependency graph for auth.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  authinfo
 

Functions

void auth_set_default_login_name (const char *name)
 
struct authinfoauth_get_authinfo (const char *domain, const char *server, const char *share, int *suitability)
 
void auth_release_authinfo (struct authinfo *info)
 
int auth_store_auth_data (const char *server_or_domain, const char *share_or_empty, const char *domain, const char *user, const char *password)
 
void auth_delete_obsolete (time_t threshold)
 

Function Documentation

◆ auth_delete_obsolete()

void auth_delete_obsolete ( time_t  threshold)

Definition at line 355 of file auth.c.

References authitem_delete_obsolete_items(), authroot, and m_auth.

Referenced by event_reread_config(), and main().

◆ auth_get_authinfo()

struct authinfo* auth_get_authinfo ( const char *  domain,
const char *  server,
const char *  share,
int *  suitability 
)

◆ auth_release_authinfo()

void auth_release_authinfo ( struct authinfo info)

Definition at line 303 of file auth.c.

References authinfo_release(), and m_auth.

Referenced by smb_conn_send_password().

◆ auth_set_default_login_name()

void auth_set_default_login_name ( const char *  name)

Definition at line 31 of file auth.c.

References auth_login, DPRINTF, and authitem::name.

Referenced by reconfigure_set_default_login_and_configdir().

◆ auth_store_auth_data()

int auth_store_auth_data ( const char *  server_or_domain,
const char *  share_or_empty,
const char *  domain,
const char *  user,
const char *  password 
)