summaryrefslogtreecommitdiff
path: root/source3/passdb
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2001-11-07 23:47:20 +0000
committerJeremy Allison <jra@samba.org>2001-11-07 23:47:20 +0000
commit3343d0281d460559f6893a136991ef6492639bbe (patch)
tree44873f53cc01e21cbd6f4109723e0357918b9535 /source3/passdb
parent2113e2ba08fc5e55c9f1b4d1f70d87683f48d4d3 (diff)
downloadsamba-3343d0281d460559f6893a136991ef6492639bbe.tar.gz
samba-3343d0281d460559f6893a136991ef6492639bbe.tar.bz2
samba-3343d0281d460559f6893a136991ef6492639bbe.zip
Added debug in truncate, fixed warning with gcc3.
Jeremy. (This used to be commit 970ec14b4ba1ccf66820384ced8442e1878c09cd)
Diffstat (limited to 'source3/passdb')
-rw-r--r--source3/passdb/pdb_nisplus.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/passdb/pdb_nisplus.c b/source3/passdb/pdb_nisplus.c
index eceb1ea546..6a97bd02b8 100644
--- a/source3/passdb/pdb_nisplus.c
+++ b/source3/passdb/pdb_nisplus.c
@@ -375,8 +375,7 @@ static BOOL make_sam_from_nisp_object(SAM_ACCOUNT *pw_buf, const nis_object *obj
if (!(pdb_get_acct_ctrl(pw_buf) & ACB_PWNOTREQ) &&
strncasecmp(ptr, "NO PASSWORD", 11)) {
if (strlen(ptr) != 32 || !pdb_gethexpwd(ptr, smbntpwd)) {
- DEBUG(0, ("malformed NT pwd entry:
- uid = %d.\n",
+ DEBUG(0, ("malformed NT pwd entry: uid = %d.\n",
pdb_get_uid(pw_buf)));
return False;
}