Graham Leggett wrote: > > Hi all, > > While testing mod_ldap, I noticed it was creating a shared memory file > like so: > > [minfrin@jessica httpd-2.0]$ ls -al /tmp/mod_ldap_cache > -rw-r--r-- 1 nobody 4294967295 4 Jan 22 14:09 > /tmp/mod_ldap_cache > > The groupid is set to 4294967295 - which is bogus. > > The default config file says (said) this: > > User nobody > Group #-1 > > I am not sure whether "#-1" is being interpreted as 4294967295, or if > this figure comes from some area of not-previously-initialised variable.
-1, when assigned to unsigned int of 32 bit, is indeed interpreted as 4294967295 (i.e. 2^32=4294967295+1). May be the result of a wrong cast of signed to unsigned. -- Eli Marmor [EMAIL PROTECTED] CTO, Founder Netmask (El-Mar) Internet Technologies Ltd. __________________________________________________________ Tel.: +972-9-766-1020 8 Yad-Harutzim St. Fax.: +972-9-766-1314 P.O.B. 7004 Mobile: +972-50-23-7338 Kfar-Saba 44641, Israel