Re: Small patch for ftpd to prevent deleting files.

2009-11-13 Thread Atle Kristensen
>Thanks for your suggestions though, famd was something that i haven't 
> thought of .. but i prefer to have no way of deleting the files (through 
> ftp), the moment they start getting uploaded

(Really cool patch) 

...but what if the fileupload becomes interrupted or corrupted? Can they 
overwrite a new one?

What problem are you really try to solve by denying ftpusers/uploaders to 
delete their own files?

(please note that these are just questions and  I don't require answers, I'm 
just asking YOU to make
you carefully think of the solution you've choosed.) :)

Good luck!

-- 
# Atle Kristensen
Sono stati 50 anni di intensa attivita e di successi... 
Non si e mai finito di imparare e creare per dar corpo ai sogni.
 -- Ernesto Colnago



Shoes For Crews, Enter now to Win $2,500.00 in Cash Prizes.

2009-11-13 Thread Shoes For Crews
This Email Was Sent From VeMail Media, LLC.

If this message is not displayed properly:
http://links.onmarketer-394.com/HtmlView.ashx?emailid=d5pxo2twiequ5kkfx5dwjwn
ymq

Shoes for Crews has sent you a Video-Email








Click here to view your video.

Shoes for Crews complies with all commercial email regulations.
Our address is: 1400 Centrepark blvd. West Palm Beach Fl 33401
If you wish not to receive this email please click on the unsubscribe link
located at the bottom.

powered by: veMail Media, Inc.

If you did not wish to receive this:
http://links.onmarketer-394.com/unsubscribe/default.rails?emailId=d5pxo2twieq
u5kkfx5dwjwnymq



Engineers Can Now Find Answers to Initial Gearing Design Questions with Ease

2009-11-13 Thread Garth Ross
Engineers Find One Gear Drive Specialist A Cut Above the Rest

When it comes to gear design, gear cutting and gear manufacturing expertise,
nothing can compete with the knowledge gained from experience.

Engineers looking for answers in the initial design phase of their projects
are finding that one company is offering this expert advise at no additional
fee as part of their "value added" service.

This in-depth support is helping engineers to ensure that designs are
practical for manufacturing before the drawings are complete.

Click here   for an article that details how engineers are taking advantage of
this free consultation and  are saving time on prototypes and initial
designs.


Sincerely,

Garth Ross
Delta Dynamics Inc.
7580 MacDonald Road,
Delta, BC Canada
V4G 1N2

This is a marketing message.  We respect your right to be removed from this
marketing campaign.  Removal from this email distribution list is
automatically enforced by our email delivery system. Please click here to be
removed.
If this hyperlink comes through in text format or is not visible please hit
reply to this email and type "Remove" in the subject line.  If you have any
problems with this removal link please contact Cindy at 800-757-3715 and we
will handle your request immediately.



Re: Novatel Wireless Modem (umsm)

2009-11-13 Thread Ian Darwin

Most of these gadgets need some kind of kick to tell them
"I'm done using the vapid Windows install disk you provide,
now please do what I bought you for".  And they of course change their
USB device class and ID when kicked.

Try doing "eject cd1" and see if it re-attaches as umsm.

If it does, odds are the DEV_UMASS4 quirk will make it work.



Cater to the Catering Needs of your Customers

2009-11-13 Thread Robert Skorr
"The chafers uniquely extend our reach...we can reach at least 20 people that
might never have tried us before..."

Chris Bingel, Qdoba Catering Brand Specialist.


Are you looking at expanding your business in a new way?  If so, your key to
success will be in providing customers with hot, fresh food virtually anywhere
at no extra cost.

If you are able to provide a solution to the growing needs of busy party
hosts, you have successfully added a whole new customer base to your list of
patrons. The recipe is simple - a combination of professional presentation,
safety, durability and affordability.

How do you cater to the catering needs of your customers?

If you would like to receive a free article, on how to strengthen your
reputation for quality, convenience and customization among customers, click
here.


Sincerely,

Robert Skorr
Skorr Products
90 George St.
Patterson, NJ 07503

This is a marketing message.  We respect your right to be removed from this
marketing campaign.  Removal from this email distribution list is
automatically enforced by our email delivery system. Please click here to be
removed.
If this hyperlink comes through in text format or is not visible please hit
reply to this email and type "Remove" in the subject line.  If you have any
problems with this removal link please contact Cindy at 800-757-3715 and we
will handle your request immediately.



Novatel Wireless Modem (umsm)

2009-11-13 Thread Brad DeMorrow
Hi all,
Over the last couple of days I've been trying to get my Novatel wireless
modem working under OpenBSD 4.6 -stable.  I was happy to see that the device
was listed in umsm(4) as 'suspected of being compatible' - so I gave it a
shot.  I assume it's 'suspected' because nobody has had the hardware to
actually test it...

Here are the details of my modem:
Vendor ID: 0x1410
Product ID: 0x6000

It corresponds to this line in the src/sys/dev/usb/usbdevs file
2266: product NOVATEL U760   0x6000  U760
There was an email on this list a few weeks ago where another individual
tried to get a different modem working with umsm and had a problem that
seemed very similar to this one.  He was given the advice to update umsm.c
where his modem was listed in the umsm_devs struct so that it appeared
similar to this:
{{ USB_VENDOR_NOVATEL, USB_PRODUCT_NOVATEL_U760 }, DEV_UMASS4},

and to decrement the number appended to DEV_UMASS until the device is
recognized.
So I went home and gave this a shot, but it didn't seem to make a difference
- although I wasn't able to try DEV_UMASS4 at that time.  It apears that was
added after 4.6 -stable, so I will update that in my local tree tonight and
see if DEV_UMASS4 does the trick...

Sorry for not being as straight-forward as I should be, this is a new
endeavour for me and I'm not entirely sure if I'm even headed in the right
direction to get this working correctly...

I realize that this has been more of a rant than a question, so please let
me address that now...
Would someone please tell me if I'm headed in the right direction with this
or if I'm wasting time going down the wrong path?

NOTE: Although usbdevs appears to pick up my device id as 0x5030, I have
verified that is 0x6000 from a windows box via the PNP ID.  I don't know
much about these though, so If I'm mistaken in this - please correct me.  I
assume it's the umass portion of the device, but again - I don't know much
about these things...

Below is a dmesg and usbdevs -v...

Thank you all for your time.

-
usbdevs -v
-
Controller /dev/usb0:
addr 1: full speed, self powered, config 1, UHCI root hub(0x),
Intel(0x8086), rev 1.00
 port 1 powered
 port 2 powered
Controller /dev/usb1:
addr 1: full speed, self powered, config 1, UHCI root hub(0x),
Intel(0x8086), rev 1.00
 port 1 addr 3: full speed, power 500 mA, config 1, Novatel Wireless
CDMA(0x5030), Novatel Wireless Inc.(0x1410), rev 0.00, iSerialNumber
09113914980
 port 2 addr 2: low speed, power 70 mA, config 1, Dell USB Keyboard(0x2105),
Dell(0x413c), rev 3.52
-
dmesg
-
OpenBSD 4.6 (kbuild) #1: Tue Jan  4 17:16:45 CST 2005
b...@bsdfw.demorrow.home:/home/brad/kbuild
cpu0: Intel Pentium III ("GenuineIntel" 686-class, 128KB L2 cache) 798 MHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
real mem  = 265875456 (253MB)
avail mem = 248266752 (236MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 11/02/04, BIOS32 rev. 0 @ 0xffe90,
SMBIOS rev. 2.3 @ 0xf0450 (67 entries)
bios0: vendor Dell Computer Corporation version "A11" date 11/02/2004
bios0: Dell Computer Corporation OptiPlex GX150
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
acpi at bios0 function 0x0 not configured
pcibios0 at bios0: rev 2.1 @ 0xf/0x1
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfbb40/208 (11 entries)
pcibios0: PCI Interrupt Router at 000:31:0 ("Intel 82801BA LPC" rev 0x00)
pcibios0: PCI bus #1 is the last bus
bios0: ROM list: 0xc/0xa000 0xca000/0x2000
cpu0 at mainbus0: (uniprocessor)
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
bridge mem address conflict 0xfd00/0x200
pchb0 at pci0 dev 0 function 0 "Intel 82815 Host" rev 0x02
vga1 at pci0 dev 2 function 0 "Intel 82815 Video" rev 0x02
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
intagp0 at vga1
agp0 at intagp0: aperture at 0xf800, size 0x400
ppb0 at pci0 dev 30 function 0 "Intel 82801BA Hub-to-PCI" rev 0x02
pci1 at ppb0 bus 1
xl0 at pci1 dev 12 function 0 "3Com 3c905C 100Base-TX" rev 0x78: irq 11,
address 00:b0:d0:cb:2b:4d
exphy0 at xl0 phy 24: 3Com internal media interface
ichpcib0 at pci0 dev 31 function 0 "Intel 82801BA LPC" rev 0x02: 24-bit
timer at 3579545Hz
pciide0 at pci0 dev 31 function 1 "Intel 82801BA IDE" rev 0x02: DMA, channel
0 wired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0: 
wd0: 16-sector PIO, LBA, 12982MB, 26588016 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 4
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0:  ATAPI 5/cdrom removable
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
uhci0 at pci0 dev 31 function 2 "Intel 82801BA USB" rev 0x02: irq 11
ichiic0 at pci

Re: ldapd

2009-11-13 Thread Marco Peereboom
I have been looking for a good btree implementation.  I'll definitively
take a look at yours.

On Fri, Nov 13, 2009 at 12:41:14PM +0100, Martin Hedenfalk wrote:
> Hello,
>
> I've been writing a small ldap server recently and thought I'd see if  
> there was any interest in such a thing here. It's ISC-licensed with a  
> small and readable code base. Still in a very early stage, but at least 
> usable as a simple address book, although I wouldn't trust it with real 
> data yet.
>
> Data is stored in an append-only b-tree database format, supporting  
> lock-free reads (snapshots), hot backups and simpler code. See the  
> ldapcompact(8) man page inside the tarball.
>
> I've made available a snapshot here:
> http://bzero.se/ldapd/
>
> It needs an _ldapd user, and will chroot to the home directory of that  
> user.
>
> Feedback much appreciated.
>
>   -martin



Re: ldapd

2009-11-13 Thread Gilles Chehade
\o/

Gilles

On Fri, Nov 13, 2009 at 12:41:14PM +0100, Martin Hedenfalk wrote:
> Hello,
> 
> I've been writing a small ldap server recently and thought I'd see if  
> there was any interest in such a thing here. It's ISC-licensed with a  
> small and readable code base. Still in a very early stage, but at  
> least usable as a simple address book, although I wouldn't trust it  
> with real data yet.
> 
> Data is stored in an append-only b-tree database format, supporting  
> lock-free reads (snapshots), hot backups and simpler code. See the  
> ldapcompact(8) man page inside the tarball.
> 
> I've made available a snapshot here:
> http://bzero.se/ldapd/
> 
> It needs an _ldapd user, and will chroot to the home directory of that  
> user.
> 
> Feedback much appreciated.
> 
>   -martin
> 

-- 
Gilles Chehade
freelance developer/sysadmin/consultant

   http://www.poolp.org



ldapd

2009-11-13 Thread Martin Hedenfalk

Hello,

I've been writing a small ldap server recently and thought I'd see if  
there was any interest in such a thing here. It's ISC-licensed with a  
small and readable code base. Still in a very early stage, but at  
least usable as a simple address book, although I wouldn't trust it  
with real data yet.


Data is stored in an append-only b-tree database format, supporting  
lock-free reads (snapshots), hot backups and simpler code. See the  
ldapcompact(8) man page inside the tarball.


I've made available a snapshot here:
http://bzero.se/ldapd/

It needs an _ldapd user, and will chroot to the home directory of that  
user.


Feedback much appreciated.

-martin



Out of date LKM examples

2009-11-13 Thread Nick Guenther
the examples in /usr/share/lkm are just a bit out of date (this is on
4.6-RELEASE)

$ pwd
/usr/share/lkm/syscall
$ sudo make
===> module
cc -O2 -pipe  -D_KERNEL -I/sys  -c newsyscall.c
newsyscall.c: In function `newsyscall':
newsyscall.c:109: error: syntax error before '}' token
*** Error code 1

Stop in /usr/share/lkm/syscall/module (line 92 of /usr/share/mk/sys.mk).
*** Error code 1

Stop in /usr/share/lkm/syscall (line 48 of /usr/share/mk/bsd.subdir.mk).

But after applying the following change:

$ sudo make
===> module
cc -O2 -pipe  -D_KERNEL -I/sys  -c newsyscall.c
cc -O2 -pipe  -D_KERNEL -I/sys  -c mycall.c
ld -r -o combined.o newsyscall.o mycall.o
===> test
cc -O2 -pipe-c testsyscall.c
cc   -o testsyscall testsyscall.o


here's the patch:
--- misc/module/miscmod.c.old   Fri Nov 13 05:05:37 2009
+++ misc/module/miscmod.c   Fri Nov 13 05:07:06 2009
@@ -179,7 +179,7 @@
 intcmd;
 intver;
 {
-   DISPATCH(lkmtp,cmd,ver,miscmod_handle,miscmod_handle,lkm_nofunc)
+   DISPATCH(lkmtp,cmd,ver,miscmod_handle,miscmod_handle,lkm_nofunc);
 }
--- syscall/module/newsyscall.c.old Fri Nov 13 05:05:15 2009
+++ syscall/module/newsyscall.c Fri Nov 13 04:28:49 2009
@@ -105,7 +105,7 @@
 intcmd;
 intver;
 {
-   DISPATCH(lkmtp,cmd,ver,newsyscall_load,lkm_nofunc,lkm_nofunc)
+   DISPATCH(lkmtp,cmd,ver,newsyscall_load,lkm_nofunc,lkm_nofunc);
 }



Silverware from Italy.

2009-11-13 Thread Larmas
You are seeing this message in Text format. if your email is in the junk 
folder, add the sender email to your address book and move this email into your 
inbox to view the HTML version.