Package: netatalk
Version: 2.2.2-1
Severity: minor
Tags: patch

Dear Maintainer,

The 'macusers' script matches users with a \w regexp, which does not work if 
the user name has, for instance, a period in it.

The patch therefore is simple:

--- contrib/macusers/macusers   2014-02-28 00:00:43.778782778 +0100
+++ /usr/bin/macusers   2014-02-28 14:26:08.297126546 +0100
@@ -28,7 +28,7 @@
        $MATCH_STR = '\s*(\w+)\s+(\d+)\s+(\d+)\s+\d+\s+([\d\w:]+)';
} else {
        $PS_STR    = "-eo user:32,pid,ppid,c,stime,tty,time,cmd";
-        $MATCH_STR = '\s*(\w+)\s+(\d+)\s+(\d+)\s+\d+\s+([\d\w:]+)';
+        $MATCH_STR = '\s*(\S+)\s+(\d+)\s+(\d+)\s+\d+\s+([\d\w:]+)';
}
$ASIP_PORT    = "afpovertcp";
$ASIP_PORT_NO = 548;



-- System Information:
Debian Release: 7.4
 APT prefers stable-updates
 APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages netatalk depends on:
ii  libacl1           2.2.51-8
ii  libattr1          1:2.4.46-8
ii  libavahi-client3  0.6.31-2
ii  libavahi-common3  0.6.31-2
ii  libc6             2.13-38+deb7u1
ii  libcomerr2        1.42.5-1.1
ii  libcrack2         2.8.19-3
ii  libcups2          1.5.3-5+deb7u1
ii  libdb5.1          5.1.29-5
ii  libgcrypt11       1.5.0-5+deb7u1
ii  libgnutls26       2.12.20-7
ii  libgssapi-krb5-2  1.10.1+dfsg-5+deb7u1
ii  libk5crypto3      1.10.1+dfsg-5+deb7u1
ii  libkrb5-3         1.10.1+dfsg-5+deb7u1
ii  libldap-2.4-2     2.4.31-1+nmu2
ii  libpam-modules    1.1.3-7.1
ii  libpam0g          1.1.3-7.1
ii  libwrap0          7.6.q-24
ii  netbase           5.0
ii  perl              5.14.2-21+deb7u1
ii  zlib1g            1:1.2.7.dfsg-13

Versions of packages netatalk recommends:
ii  avahi-daemon      0.6.31-2
ii  cracklib-runtime  2.8.19-3
pn  db-util           <none>
ii  libpam-cracklib   1.1.3-7.1
ii  lsof              4.86+dfsg-1
ii  procps            1:3.3.3-3
ii  rc                1.7.1-4

Versions of packages netatalk suggests:
pn  db4.2-util        <none>
pn  groff             <none>
pn  quota             <none>
pn  texlive-base-bin  <none>

-- Configuration Files:
/etc/default/netatalk changed [not included]
/etc/netatalk/AppleVolumes.default changed [not included]
/etc/netatalk/afp_ldap.conf changed [not included]
/etc/netatalk/afpd.conf changed [not included]

-- no debconf information

--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to