summaryrefslogtreecommitdiff
path: root/source3/nmbd/nmbd_responserecordsdb.c
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1998-04-29 11:00:12 +0000
committerLuke Leighton <lkcl@samba.org>1998-04-29 11:00:12 +0000
commita8e7f804ca86c4ae91d6d4429f9fe264947b54f9 (patch)
tree31cf80e60d64816b3a97ec8b624f7e7eb7e50c4d /source3/nmbd/nmbd_responserecordsdb.c
parentd3832506b2583130c4f4ba4b3edeabca987b7cbb (diff)
downloadsamba-a8e7f804ca86c4ae91d6d4429f9fe264947b54f9.tar.gz
samba-a8e7f804ca86c4ae91d6d4429f9fe264947b54f9.tar.bz2
samba-a8e7f804ca86c4ae91d6d4429f9fe264947b54f9.zip
password.c:
added become_root / unbecome_root around the get machine account password. smbpass.c: cleaning up code. - turning if (BOOL_expr == False) into if (BOOL_expr) what if you test if (BOOL_expr == True) and someone defines True to be -1 on one system and 1 on another? or if you get inconsistent return results between developers - removed if ((FILE*) == 0) and made this if ((FILE*) == NULL) - cannot assume that NULL is zero integer. plus there are typecast issues to deal with - removed return (ret == 0) ? True : False and made this return ret == 0 rely on the compiler to return correct BOOL value: not all developers will return True or False #defines: stick with BOOL test (non-zero). - removed if (ret == False) replaced with if (!ret) - bug where instead of if (sizeof(pstring)-len-len-6 < 0) it had a boolean test if (pstring-len-len-6). - removed "." after debugging of filenames: the "." - a fullstop - looked like it was part of the filename, making things difficult to sort out. still to be resolved: the global_myname isn't set up, such that the machine account password file is named "TEST3..mac". (This used to be commit 315e26c23abf7137684bf084c825ad241076132e)
Diffstat (limited to 'source3/nmbd/nmbd_responserecordsdb.c')
0 files changed, 0 insertions, 0 deletions