diff options
author | Luke Leighton <lkcl@samba.org> | 1997-10-13 12:21:56 +0000 |
---|---|---|
committer | Luke Leighton <lkcl@samba.org> | 1997-10-13 12:21:56 +0000 |
commit | 2259e56a947104b19a1196154af4e43ab15e4b7c (patch) | |
tree | d5ee15b237ddc33e1d06df99d8bf1cd3cb98a39b /source3/utils | |
parent | 6032ec8a0172b9197ed1422e39ba4790d8df83f8 (diff) | |
download | samba-2259e56a947104b19a1196154af4e43ab15e4b7c.tar.gz samba-2259e56a947104b19a1196154af4e43ab15e4b7c.tar.bz2 samba-2259e56a947104b19a1196154af4e43ab15e4b7c.zip |
byteorder.h :
debugging output wasn't (still isn't) perfect.
credentials.c lsaparse.c smbparse.c :
added DEBUG strings.
pipes.c :
lost some changes, to do with setup of RPC headers. arg.
(This used to be commit 9fdd697d17b68293bb95fd68f44c24f0f5b97f5f)
Diffstat (limited to 'source3/utils')
-rw-r--r-- | source3/utils/smbpasswd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/utils/smbpasswd.c b/source3/utils/smbpasswd.c index d20ff42c0e..31ac9e351b 100644 --- a/source3/utils/smbpasswd.c +++ b/source3/utils/smbpasswd.c @@ -396,9 +396,9 @@ static void usage(char *name) /* Set read buffer to 16k for effiecient reads */ setvbuf(fp, readbuf, _IOFBF, sizeof(readbuf)); - /* make sure it is only rw by the owner */ - chmod(pfile, 0600); - + /* need locking permission on smbpasswd file */ + chmod(pfile, 0666); + /* Lock the smbpasswd file for write. */ if ((lockfd = pw_file_lock(pfile, F_WRLCK, 5)) < 0) { err = errno; |