Package: tiger
Version: 1:3.2.1-24
Severity: normal

The check_neverlogin script fails if the system is configured to use
winbindd for AD connectivity, as grep bails out with the message
"grep: Invalid back reference".

This is likely due to the username being of the form DOMAIN\user, with
user being a UUID starting with some number, so that grep tries to make
a back ref of the backslash + digit and can't. AFAICT the expression
failing is this bit in the for loop at line 108:

SHELL=`$GREP "^$user:" $passwd_set | $AWK -F: '{print$7}'`

Tested by running from command prompt:
grep "^MYDOM\8c53fc6d-abd2-49ab-a:" /dev/null | awk -F: '{print$7}'

BTW, I'm fairly certain that the grep expression does not work as it
should, too, for regular domain users like e.g. MYDOM\uname, as it likely
interprets this as MYDOMuname instead, only it won't give an error message
in such case.


Regards,

Filip

-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.4.27-2-686-smp
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages tiger depends on:
ii  binutils                    2.15-6       The GNU assembler, linker and bina
ii  coreutils [fileutils]       5.2.1-2      The GNU core utilities
ii  debconf                     1.4.30.13    Debian configuration management sy
ii  diff                        2.8.1-11     File comparison utilities
ii  fileutils                   5.2.1-2      The GNU file management utilities 
ii  libc6                       2.3.2.ds1-22 GNU C Library: Shared libraries an
ii  net-tools                   1.60-10      The NET-3 networking toolkit
ii  shellutils                  5.2.1-2      The GNU shell programming utilitie

-- 
User Error 2361: Please insert coffee and try again.
        -- John E. Jasen


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

Reply via email to