summaryrefslogtreecommitdiff
path: root/source3/passdb
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>1998-05-05 19:24:32 +0000
committerJeremy Allison <jra@samba.org>1998-05-05 19:24:32 +0000
commit19f76f391b97b405879fd8574e711a6d59e4e60c (patch)
tree306956cdaf7e11d9b5733c77ddb317e1c27c6639 /source3/passdb
parenta5cab2bd8a29fd3d855948cc1fef5c119e29b3cf (diff)
downloadsamba-19f76f391b97b405879fd8574e711a6d59e4e60c.tar.gz
samba-19f76f391b97b405879fd8574e711a6d59e4e60c.tar.bz2
samba-19f76f391b97b405879fd8574e711a6d59e4e60c.zip
genrand.c: SGI compile warning fix.
ipc.c: Fix for duplicate printer names being long. loadparm.c: Set bNetWkstaUserLogon to false by default - new code in password.c protects us. nmbd_logonnames.c: nmbd_namequery.c: nmbd_namerelease.c: Debug messages fix. password.c: SGI compile warning fix, fix for tcon() with bNetWkstaUserLogon call. reply.c: SGI compile warning fix. server.c Debug messages fix. smbpass.c: Fix for incorrect pointer. Jeremy. (This used to be commit 567d3f838988cafab4770fce1cf68b73085e6c71)
Diffstat (limited to 'source3/passdb')
-rw-r--r--source3/passdb/smbpass.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/passdb/smbpass.c b/source3/passdb/smbpass.c
index cd3cc76909..72e3c3035e 100644
--- a/source3/passdb/smbpass.c
+++ b/source3/passdb/smbpass.c
@@ -674,9 +674,9 @@ Error was %s\n", newpwd->smb_name, pfile, strerror(errno)));
}
} else {
if(newpwd->acct_ctrl & ACB_PWNOTREQ)
- sprintf((char *)&p[i*2], "NO PASSWORDXXXXXXXXXXXXXXXXXXXXX");
+ sprintf(p, "NO PASSWORDXXXXXXXXXXXXXXXXXXXXX");
else
- sprintf((char *)&p[i*2], "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX");
+ sprintf(p, "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX");
}
p += 32;