From: Peter Palfrader Date: Tue, 25 Dec 2007 22:35:18 +0000 (+0100) Subject: Fix ud-useradd. X-Git-Tag: userdir-ldap-0.3.16~24 X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=b5d1c9eb0c00707a94f9553da76a4cf6a38a4b2a;hp=299412a1f71d10d071eb3d4833d0649b47911b79;p=mirror%2Fuserdir-ldap.git Fix ud-useradd. Resolve issue introduced with the usergroup patch (cruft from another, removed patch). --- diff --git a/debian/changelog b/debian/changelog index fd610c2..f0c7af2 100644 --- a/debian/changelog +++ b/debian/changelog @@ -10,8 +10,15 @@ userdir-ldap (0.3.15+xxx) XXunstable; urgency=low * Change the build dependency on python-support to be versioned >= 0.3. * ud-roleadd: Do not try to make role accounts of objectClass inetOrgPerson, that doesn't work. - - -- Peter Palfrader Tue, 25 Dec 2007 13:08:50 +0100 + * ud-fingerserv: implement daemonize() for non-inetd mode [sgran]. + * ud-useradd: support usergroups [HE]. + * ud-host/userdir-ldap.schema: Add 'purpose', 'physicalHost' to + debianServer schema and teach ud-host about [HE]. + * ud-host: cleanup: Replace local copy HBaseDn of the centrally + configured HostBaseDn [HE]. + * Add myself to uploaders. + + -- Peter Palfrader Tue, 25 Dec 2007 20:34:58 +0100 userdir-ldap (0.3.15) unstable; urgency=low diff --git a/debian/control b/debian/control index 869a526..4639a48 100644 --- a/debian/control +++ b/debian/control @@ -4,7 +4,7 @@ Priority: optional Maintainer: Debian Administration team Build-Depends: debhelper (>= 5), python-support (>= 0.3) Standards-Version: 3.5.8.0 -Uploaders: Ryan Murray +Uploaders: Ryan Murray , Peter Palfrader Package: userdir-ldap Architecture: all diff --git a/ud-fingerserv b/ud-fingerserv index 42b8239..1c977d8 100755 --- a/ud-fingerserv +++ b/ud-fingerserv @@ -61,9 +61,12 @@ if (!$use_inetd) { chdir '/' or die "Can't chdir to /: $!"; open STDIN, '/dev/null' or die "Can't read /dev/null: $!"; open STDOUT, '>/dev/null' or die "Can't write to /dev/null: $!"; - defined(my $pid = fork) or die "Can't fork: $!"; + my $pid; + defined($pid = fork) or die "Can't fork: $!"; exit if $pid; setsid or die "Can't start a new session: $!"; + defined($pid = fork) or die "Can't fork: $!"; + exit if $pid; open STDERR, '>&STDOUT' or die "Can't dup stdout: $!"; }