Re: [Samba] Compile problems with 3.07 on solaris

2004-09-16 Thread Mike Peterson
Hi Henrik,

I have severe problems compiling samba 3.0.7 on solaris8, my gcc is 
built with /usr/ccs/bin/ld and therefore gcc bails with an ld -E error 
since the -E parameter isn´t supported in /usr/css/bin/ld.
Trying to compile with suns forte 6.2 compiler produces the following 
error, don´t know if it´s related to the compiler though.

Linking nsswitch/libnss_wins.so
ld: fatal: file dynconfig.po.o: open failed: No such file or directory
ld: fatal: file lib/version.po.o: open failed: No such file or directory
ld: fatal: File processing errors. No output written to 
nsswitch/libnss_wins.so
make: *** [nsswitch/libnss_wins.so] Error 1

At this point do:

mv -i ./dynconfig.po.po.o ./dynconfig.po.o
mv -i ./lib/version.po.po.o ./lib/version.po.o
make

and the build will complete just fine.

Mike.
--
Mike Peterson -- Network Security Specialist -- U/Toronto Network Operations
E-mail: [EMAIL PROTECTED]   WWW: http://www.noc.utoronto.ca/
Tel: 416-978-5230  Fax: 416-971-1362
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] String overflow in safe_strcpy .

2004-07-14 Thread Mike Peterson
Hi,

I've built Samva 3.0.4 on Solaris 8 (after removing '/usr/ucb' from
the path); 'nmbd' seems to work, but 'smbd' fails with:

[2004/07/09 17:42:01, 2] lib/dmallocmsg.c:(71)
  Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED
[2004/07/09 17:42:02, 2] smbd/tdbutil.c:(42)
  tdb(/usr/local/samba/var/locks/sessionid.tdb): tdb_mmap failed for size 696 
(Resource temporarily unavailable)
[2004/07/09 17:42:02, 2] smbd/tdbutil.c:(42)
  tdb(/usr/local/samba/var/locks/connections.tdb): tdb_mmap failed for size 696 
(Resource temporarily unavailable)
[2004/07/09 17:42:02, 2] smbd/tdbutil.c:(42)
  tdb(/usr/local/samba/var/locks/brlock.tdb): tdb_mmap failed for size 696 (Resource 
temporarily unavailable)
[2004/07/09 17:42:02, 2] smbd/tdbutil.c:(42)
  tdb(/usr/local/samba/var/locks/locking.tdb): tdb_mmap failed for size 696 (Resource 
temporarily unavailable)
  ...
[2004/07/09 17:42:02, 2] smbd/tdbutil.c:(42)
  tdb(/usr/local/samba/var/locks/printing/printers.tdb): tdb_mmap failed for size 
49152 (Resource temporarily unavailable)
[2004/07/09 17:42:13, 2] smbd/tdbutil.c:(42)
  tdb(/usr/local/samba/var/locks/printing/printers.tdb): tdb_mmap failed for size 
57344 (Resource temporarily unavailable)
[2004/07/09 17:42:13, 0] lib/util.c:(1398)
  PANIC: i/o error on tdb.
  
Files in question are NFS mounted (with 'root' access) if that matters,
as I am trying this out on a test machine, not our real SMB system
which is still running Solaris NetLink (on a different domain name).

Any help appreciated!

Mike.
--
Mike Peterson -- Network Security Specialist -- U/Toronto Network Operations
E-mail: [EMAIL PROTECTED]   WWW: http://www.noc.utoronto.ca/
Tel: 416-978-5230  Fax: 416-971-1362
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] tdb_mmap

2004-07-09 Thread Mike Peterson
Hi Mike,
I'm having exactly the same problem you had - did you find
a solution?
Thanks,
Mike.
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba