Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Aug 2017 05:26:20 +0000 (UTC)
From:      Marcelo Araujo <araujo@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r321846 - head/usr.sbin/ypldap
Message-ID:  <201708010526.v715QK1Z047133@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: araujo
Date: Tue Aug  1 05:26:20 2017
New Revision: 321846
URL: https://svnweb.freebsd.org/changeset/base/321846

Log:
  Log when we have finished pushing users and groups.
  
  Obtained from:	OpenBSD (rev 1.4)
  MFC after:	3 weeks.

Modified:
  head/usr.sbin/ypldap/entries.c

Modified: head/usr.sbin/ypldap/entries.c
==============================================================================
--- head/usr.sbin/ypldap/entries.c	Tue Aug  1 05:23:49 2017	(r321845)
+++ head/usr.sbin/ypldap/entries.c	Tue Aug  1 05:26:20 2017	(r321846)
@@ -92,6 +92,7 @@ flatten_entries(struct env *env)
 		free(tmp);
 	}
 	env->sc_user_lines = linep;
+	log_debug("done pushing users");
 
 	wrlen = env->sc_group_line_len;
 	if ((linep = calloc(1, env->sc_group_line_len + 1)) == NULL) {
@@ -117,6 +118,7 @@ flatten_entries(struct env *env)
 		wrlen -= len;
 	}
 	env->sc_group_lines = linep;
+	log_debug("done pushing groups");
 }
 
 int



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201708010526.v715QK1Z047133>