Read-only samba directory appears writable to Cygwin

2006-05-22 Thread Peter Fales
n doesn't "know" that directory is read-only. Is there any workaround (such as an option to "mount") that would tell cygwin that the directory is read-only, or that all directories have 555 permission instead of 755? -- Peter Fales Lucent Technologies Member of Techn

Re: res_search problem

2006-05-15 Thread Peter Fales
On Thu, May 11, 2006 at 04:35:19PM -0500, Peter Fales wrote: > I'm trying to port some code which uses res_search() to look up an SRV > record. Pulled the source to the minires package and did some poking around. It seems that write_record() in os-interface.c has cases for the

Re: res_search problem

2006-05-11 Thread Peter Fales
find which package I needed to install!) The test case in my previous mail compiles and runs. It just does not produce a valid answer. -- Peter Fales Lucent Technologies Member of Technical Staff 2000 Lucent Lane Room: 1C-436 Naperville, IL 60566-7033 Email: [EMAIL PROTECTED] Phone: 630 979 80

res_search problem

2006-05-11 Thread Peter Fales
wer, answer + len, blob + 16, name, 1024 ); if ( l < 0 ) { printf( __FUNCTION__, "dn_expand failed (3)\n" ); exit(4); } printf("Host name from SRV record is %s\n",name); printf("Port from SRV record is %d\n", ntohs( server->