1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-03 04:22:09 +03:00

Added commented/documented version of libsmbclient.h and fixed up a small

problem in libsmbclient.c where we no longer pass the workgroup.
(This used to be commit 3c66114346)
This commit is contained in:
Richard Sharpe
2001-02-12 12:17:54 +00:00
parent 13577addd7
commit 167a7d76d9
2 changed files with 685 additions and 155 deletions

View File

@ -487,9 +487,8 @@ struct smbc_server *smbc_server(char *server, char *share,
* and insist that fn must be non-null.
*/
int smbc_init(smbc_get_auth_data_fn fn, const char *wgroup, int debug)
int smbc_init(smbc_get_auth_data_fn fn, int debug)
{
static pstring workgroup;
pstring conf;
int p, pid;
char *user = NULL, *host = NULL, *home = NULL, *pname="libsmbclient";
@ -532,7 +531,6 @@ int smbc_init(smbc_get_auth_data_fn fn, const char *wgroup, int debug)
*/
slprintf(my_netbios_name, 16, "smbc%s%d", user, pid);
pstrcpy(workgroup, wgroup);
charset_initialise();