summaryrefslogtreecommitdiff
path: root/source3/client
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1997-10-09 06:36:04 +0000
committerAndrew Tridgell <tridge@samba.org>1997-10-09 06:36:04 +0000
commite5494e2c093fecd4b493ab925f7c7d30b79bc98d (patch)
tree55dff2810371497a1ac87002ac5cf6ac498c64b0 /source3/client
parent1cb2d37d5dff87c73de31aea6a2f4fe2a66b7d39 (diff)
downloadsamba-e5494e2c093fecd4b493ab925f7c7d30b79bc98d.tar.gz
samba-e5494e2c093fecd4b493ab925f7c7d30b79bc98d.tar.bz2
samba-e5494e2c093fecd4b493ab925f7c7d30b79bc98d.zip
bracket some macros
change MAX_PASSWORD_LENGTH to MAX_PASS_LEN to prevent conflict on some systems add #ifdef around soft link dependent code (for systems that don't have soft links) (This used to be commit e10ba4b97a219e87b62d32834bf15ed2e323ed2e)
Diffstat (limited to 'source3/client')
-rw-r--r--source3/client/clientutil.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/client/clientutil.c b/source3/client/clientutil.c
index ed5497782b..01b4a09321 100644
--- a/source3/client/clientutil.c
+++ b/source3/client/clientutil.c
@@ -460,7 +460,7 @@ BOOL cli_send_login(char *inbuf, char *outbuf, BOOL start_session, BOOL use_setu
/* send a session setup command */
bzero(outbuf,smb_size);
- if (passlen > MAX_PASSWORD_LENGTH) {
+ if (passlen > MAX_PASS_LEN) {
DEBUG(1,("password too long %d\n", passlen));
return False;
}