diff options
author | Andrew Tridgell <tridge@samba.org> | 1997-10-26 07:32:02 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 1997-10-26 07:32:02 +0000 |
commit | a342ff5bf407679918a1a5d0c2faaf0a3465d303 (patch) | |
tree | 99e7bf3368f00c21a04960598804bac4af516742 /source3/include | |
parent | 326da272da002677c48e3ee7caae3c0b00da1bde (diff) | |
download | samba-a342ff5bf407679918a1a5d0c2faaf0a3465d303.tar.gz samba-a342ff5bf407679918a1a5d0c2faaf0a3465d303.tar.bz2 samba-a342ff5bf407679918a1a5d0c2faaf0a3465d303.zip |
The browse synchronisation code in nmbsync.c now uses the clientgen.c
code, which means we don't have to link with a fake getpass routine
and we don't have a whole pile of global variables that really have
nothing to do with nmbd and were there to keep the client code happy.
The code should function identically to what it did before (hopefully
it was correct)
The only thing that now uses the horrible clientutil.c code is
smbclient.
(This used to be commit 4bf5c03b18f88b566f3ac12cc4b3a9c5c96fd35d)
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/proto.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index 037438f97d..6489e87561 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -43,6 +43,8 @@ void cmd_help(void); /*The following definitions come from clientgen.c */ BOOL cli_NetWkstaUserLogon(struct cli_state *cli,char *user, char *workstation); +BOOL cli_NetServerEnum(struct cli_state *cli, char *workgroup, uint32 stype, + void (*fn)(char *, uint32, char *)); BOOL cli_session_setup(struct cli_state *cli, char *user, char *pass, int passlen, @@ -632,9 +634,8 @@ int main(int argc,char *argv[]); /*The following definitions come from nmbsync.c */ -char *getsmbpass(char *pass); void sync_browse_lists(struct subnet_record *d, struct work_record *work, - char *name, int nm_type, struct in_addr ip, BOOL local); + char *name, int nm_type, struct in_addr ip, BOOL local); /*The following definitions come from ntclient.c */ @@ -928,12 +929,12 @@ void make_arc4_owf(ARC4_OWF *hash, char data[16]); char* smb_io_arc4_owf(BOOL io, ARC4_OWF *hash, char *q, char *base, int align, int depth); void make_id_info1(DOM_ID_INFO_1 *id, char *domain_name, uint32 param_ctrl, uint32 log_id_low, uint32 log_id_high, - char *user_name, char *workgroup_name, + char *user_name, char *wksta_name, char arc4_lm_owf[16], char arc4_nt_owf[16]); char* smb_io_id_info1(BOOL io, DOM_ID_INFO_1 *id, char *q, char *base, int align, int depth); void make_sam_info(DOM_SAM_INFO *sam, char *logon_srv, char *comp_name, DOM_CRED *clnt_cred, - DOM_CRED *rtn_cred, uint16 switch_value, uint16 logon_level, + DOM_CRED *rtn_cred, uint16 logon_level, uint16 switch_value, DOM_ID_INFO_1 *id1); char* smb_io_sam_info(BOOL io, DOM_SAM_INFO *sam, char *q, char *base, int align, int depth); char* smb_io_gid(BOOL io, DOM_GID *gid, char *q, char *base, int align, int depth); |