summaryrefslogtreecommitdiffstats
path: root/source/libsmb/clidgram.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2001-01-11 18:38:55 +0000
committerJeremy Allison <jra@samba.org>2001-01-11 18:38:55 +0000
commit7ba0a2192b89954604dd793c537b4a17c2d1ac07 (patch)
tree30973ece5c8c9ea03f8c4a525a9d43dafcb0b109 /source/libsmb/clidgram.c
parent84247ba7d7048cc828edad282313bfd21bbc6b5d (diff)
downloadsamba-7ba0a2192b89954604dd793c537b4a17c2d1ac07.tar.gz
samba-7ba0a2192b89954604dd793c537b4a17c2d1ac07.tar.xz
samba-7ba0a2192b89954604dd793c537b4a17c2d1ac07.zip
rpc_server/srv_samr.c:
smbd/reply.c: Added fix needed for appliances. When using winbindd - a new user may exist (from winbind) but have no home directory. Extend add user script so it is called with a %H substitution when a user exists but their home directory does not. Thanks to Alex Win at VA Linux for finding this one and testing the fix. libsmb/clidgram.c: Fixed missing return statements. smbd/uid.c: Fixed typo in debug. Jeremy.
Diffstat (limited to 'source/libsmb/clidgram.c')
-rw-r--r--source/libsmb/clidgram.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/libsmb/clidgram.c b/source/libsmb/clidgram.c
index a45cc009ac8..70e97c6bb6a 100644
--- a/source/libsmb/clidgram.c
+++ b/source/libsmb/clidgram.c
@@ -162,6 +162,7 @@ int cli_get_response(BOOL unique, char *mailslot, char *buf, int bufsiz)
bcopy(&dgram->data[92], buf, MIN(bufsiz, (dgram->datasize - 92)));
+ return 0;
}
else
return -1;
@@ -218,7 +219,7 @@ int cli_get_backup_list(const char *myname, const char *send_to_name)
cli_get_response(True, "\\MAILSLOT\\BROWSE", cli_backup_list, sizeof(cli_backup_list));
/* Should check the response here ... FIXME */
-
+ return 0;
}
/*
@@ -234,4 +235,5 @@ int cli_get_backup_server(char *my_name, char *target, char *servername, int nam
strncpy(servername, cli_backup_list, MIN(16, namesize));
+ return 0;
}