]> git.sur5r.net Git - openldap/blobdiff - libraries/liblutil/passfile.c
Fix TLS default for clients
[openldap] / libraries / liblutil / passfile.c
index f31466aea2e97bffe6bb7504698723f68681d2cf..c84cda736765d76c5cc7a5a27ae49e4cb69a6793 100644 (file)
@@ -1,7 +1,16 @@
 /* $OpenLDAP$ */
-/*
- * Copyright 2002 The OpenLDAP Foundation, All Rights Reserved.
- * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
+/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
+ *
+ * Copyright 1998-2007 The OpenLDAP Foundation.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted only as authorized by the OpenLDAP
+ * Public License.
+ *
+ * A copy of this license is available in the file LICENSE in the
+ * top-level directory of the distribution or, alternatively, at
+ * <http://www.OpenLDAP.org/license.html>.
  */
 
 #include "portable.h"
@@ -42,8 +51,8 @@ lutil_get_filed_password(
                struct stat sb;
                if ( fstat( fileno( f ), &sb ) == 0 ) {
                        if( sb.st_mode & 006 ) {
-                               fprintf( stderr,
-                                       "Warning: Password file %s is publicly readable/writeable\n",
+                               fprintf( stderr, _("Warning: Password file %s"
+                                       " is publicly readable/writeable\n"),
                                        filename );
                        }