diff options
author | Luke Leighton <lkcl@samba.org> | 1997-10-22 14:28:19 +0000 |
---|---|---|
committer | Luke Leighton <lkcl@samba.org> | 1997-10-22 14:28:19 +0000 |
commit | 5897f0493d0665ae53ea181e122c467faa0c7642 (patch) | |
tree | 1c5b0bd6fd4da0d4a244a5f4f1cfa517abb19863 /source3/nmbsync.c | |
parent | 2e8cedba6480d0c1f89d3490888cadac769d09ca (diff) | |
download | samba-5897f0493d0665ae53ea181e122c467faa0c7642.tar.gz samba-5897f0493d0665ae53ea181e122c467faa0c7642.tar.bz2 samba-5897f0493d0665ae53ea181e122c467faa0c7642.zip |
Makefile client.c clientutil.c clitar.c nmbsync.c :
redid the split that i did a year ago, taking the functions in client.c
out into clientutil.c. guess what? we could now do encrypted password
NetServerEnum2 calls in nmbd, if we wanted to.
i can now use cli_call_api() to send to different pipes. i hope.
pipenetlog.c:
allow adding to users group _and_ to admin group. if adding to
guest group, don't allow adding to users or admin as well.
smb.h :
added some pipe #defines (\PIPE\NETLOGON \PIPE\srvsvc ...)
proto.h :
usual.
(This used to be commit 6ee065ce6e099acfc7e83ad399ef6e60b4c625c1)
Diffstat (limited to 'source3/nmbsync.c')
-rw-r--r-- | source3/nmbsync.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/nmbsync.c b/source3/nmbsync.c index 34d309d003..e6061c0a0f 100644 --- a/source3/nmbsync.c +++ b/source3/nmbsync.c @@ -82,7 +82,8 @@ static BOOL add_info(struct subnet_record *d, struct work_record *work, int serv pstrcpy(p, work->work_group); p = skip_string(p,1); - if (cli_call_api(PTR_DIFF(p,param),0, 8,BUFFER_SIZE - SAFETY_MARGIN, + if (cli_call_api(PIPE_LANMAN, PTR_DIFF(p,param),0, 8, + BUFFER_SIZE - SAFETY_MARGIN, &rprcnt,&rdrcnt, param,NULL, &rparam,&rdata)) { |