unable to open smbpasswd on initial create should only be a warning
authorAndrew Tridgell <tridge@samba.org>
Tue, 27 Nov 2001 03:34:25 +0000 (03:34 +0000)
committerAndrew 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

index ce79be1666271ebac17d129f4355ab12f29c2175..fa2a2a82e7219bfce277f69dab081fa60b3e6921 100644 (file)
@@ -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;
     }