From owner-freebsd-questions@FreeBSD.ORG Wed Sep 26 05:32:35 2007 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 D6E2316A418 for ; Wed, 26 Sep 2007 05:32:35 +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 2043313C45B for ; Wed, 26 Sep 2007 05:32:34 +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.12.11) with ESMTP id l8Q5WXUP085987 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 26 Sep 2007 12:32:33 +0700 (ICT) Received: (from on@localhost) by banyan.cs.ait.ac.th (8.13.6/8.12.11) id l8Q5WX2v055701; Wed, 26 Sep 2007 12:32:33 +0700 (ICT) Date: Wed, 26 Sep 2007 12:32:33 +0700 (ICT) Message-Id: <200709260532.l8Q5WX2v055701@banyan.cs.ait.ac.th> From: Olivier Nicole To: freebsd-questions@freebsd.org X-Virus-Scanned: on CSIM by amavisd-milter (http://www.amavis.org/) Subject: Atomic actions in LDAP 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: Wed, 26 Sep 2007 05:32:35 -0000 Hi, I would like to use LDAP to manage users printer quota. Printers can be located on several servers, so I need a way to update the information without ceating deadlocks/overwrites. Is there a way for LDAP to do atomic action ? That is increase the value of one reccord by a certain amount, without reading the reccord in a variable, increasing the variable and writting the result back? Bests, Olivier