From owner-freebsd-questions@FreeBSD.ORG Mon Jan 19 03:54:03 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 836DB1065670 for ; Mon, 19 Jan 2009 03:54:03 +0000 (UTC) (envelope-from on@cs.ait.ac.th) Received: from mail.cs.ait.ac.th (mail.cs.ait.ac.th [192.41.170.16]) by mx1.freebsd.org (Postfix) with ESMTP id E36938FC16 for ; Mon, 19 Jan 2009 03:54:02 +0000 (UTC) (envelope-from on@cs.ait.ac.th) Received: from banyan.cs.ait.ac.th (banyan.cs.ait.ac.th [192.41.170.5]) by mail.cs.ait.ac.th (8.13.1/8.13.1) with ESMTP id n0J3p0Qx025688 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 19 Jan 2009 10:51:00 +0700 (ICT) (envelope-from on@banyan.cs.ait.ac.th) Received: (from on@localhost) by banyan.cs.ait.ac.th (8.14.2/8.12.11) id n0J3rwFX083175; Mon, 19 Jan 2009 10:53:58 +0700 (ICT) Date: Mon, 19 Jan 2009 10:53:58 +0700 (ICT) Message-Id: <200901190353.n0J3rwFX083175@banyan.cs.ait.ac.th> From: Olivier Nicole To: jhall@socket.net In-reply-to: (message from Jay Hall on Sun, 18 Jan 2009 21:44:45 -0600) References: X-Virus-Scanned: on CSIM by amavisd-milter (http://www.amavis.org/) Cc: freebsd-questions@freebsd.org Subject: Re: ldapsearch question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Jan 2009 03:54:03 -0000 Hi, > I think my search is incorrect, and I am searching for the mail > attribute being null. That's right, (!(mail=*)) means everything where mail is null. You would like to search for mail=*, meaning everything where mail is not null. Bests, Olivier