git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
701ecfc
)
unable to open smbpasswd on initial create should only be a warning
author
Andrew Tridgell
<tridge@samba.org>
Tue, 27 Nov 2001 03:34:25 +0000
(
03:34
+0000)
committer
Andrew Tridgell
<tridge@samba.org>
Tue, 27 Nov 2001 03:34:25 +0000
(
03:34
+0000)
(This used to be commit
8712ac84995f8454619245ca111575d4b9769b43
)
source3/passdb/pdb_smbpasswd.c
patch
|
blob
|
history
diff --git
a/source3/passdb/pdb_smbpasswd.c
b/source3/passdb/pdb_smbpasswd.c
index ce79be1666271ebac17d129f4355ab12f29c2175..fa2a2a82e7219bfce277f69dab081fa60b3e6921 100644
(file)
--- a/
source3/passdb/pdb_smbpasswd.c
+++ b/
source3/passdb/pdb_smbpasswd.c
@@
-166,7
+166,7
@@
static void *startsmbfilepwent(const char *pfile, enum pwf_access_type type, int
DEBUG(10, ("startsmbfilepwent_internal: opening file %s\n", pfile));
if((fp = sys_fopen(pfile, open_mode)) == NULL) {
- DEBUG(
0
, ("startsmbfilepwent_internal: unable to open file %s. Error was %s\n", pfile, strerror(errno) ));
+ DEBUG(
2
, ("startsmbfilepwent_internal: unable to open file %s. Error was %s\n", pfile, strerror(errno) ));
return NULL;
}