Re: [Samba] SOLVED: Re: 2.2.7 compile error using--with-acl-support

2002-11-27 Thread Francesco Mosca
thanks! it worked. and for me:

~# ldd /usr/sbin/smbd
libacl.so.1 = /lib/libacl.so.1 (0x40019000)
--^
libcups.so.2 = /usr/lib/libcups.so.2 (0x4001f000)
libnsl.so.1 = /lib/libnsl.so.1 (0x40037000)
libcrypt.so.1 = /lib/libcrypt.so.1 (0x4004b000)
libdl.so.2 = /lib/libdl.so.2 (0x40078000)
libpam.so.0 = /lib/libpam.so.0 (0x4007b000)
libc.so.6 = /lib/libc.so.6 (0x40083000)
libattr.so.1 = /lib/libattr.so.1 (0x4019f000)
/lib/ld-linux.so.2 = /lib/ld-linux.so.2 (0x4000)

so it seems ok.

Thanks to all for your help

Francesco


Il mar, 2002-11-26 alle 18:19, Tom Hallewell ha scritto:
 If you are using the debian/rules from apt-get or the source tarball, you
 need to not only include
 --with-acl-support in debian/rules, you also need to
 
 
   vi debian/config.cache
 -- replace ac_cv_header_sys_acl_h=${ac_cv_header_sys_acl_h=no}
 with ac_cv_header_sys_acl_h=${ac_cv_header_sys_acl_h=yes}
 
 This will allow it to compile.
 Unfortunately, for me, anyway, smbd,nmbd and winbindd are still not linking
 to libacl.so (according to ldd). The output is below.
 If you have any luck actually getting this to work once you have
 successfully compiled, please let me know.
 PS-thanks to Max for the link to his page
 http://homex.subnet.at/~max/comp-12_xfs.php
 
 Tom Hallewell
 Radio Free Asia
 Washington, DC USA

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



Re: [Samba] 2.2.7 compile error using --with-acl-support on debian

2002-11-26 Thread Francesco Mosca
Il mar, 2002-11-26 alle 13:44, Frank Matthieß ha scritto:
 On Sat, Nov 23, 2002 at 11:45:17AM +0100, Francesco Mosca wrote:
  hi, i'm trying to package samba2.2.7 on a debian woody, using
  --with-acl-support. the configure part seems ok, but when the compile
  starts i get a lot of errors.. what's wrong? attached the sensitive part
  of the dpkg-buildpackage output.
  thanks
 
 You have installed libacl1 and libacl1-dev on compile system?
 

libacl1-dev is not in woody yet, i was using acl-dev instead. anyway, i
just installed libacl1 and libacl1-dev from sid, but, even if this time
(i noticed) the configure says Using posix ACLs, i got the same errors
at compile time...


 -- 
 Frank Matthieß[EMAIL PROTECTED]
-- 
Francesco Mosca [EMAIL PROTECTED]

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[Samba] 2.2.7 compile error using --with-acl-support on debian

2002-11-23 Thread Francesco Mosca
hi, i'm trying to package samba2.2.7 on a debian woody, using
--with-acl-support. the configure part seems ok, but when the compile
starts i get a lot of errors.. what's wrong? attached the sensitive part
of the dpkg-buildpackage output.
thanks

-- 
Francesco Mosca [EMAIL PROTECTED]

/usr/bin/make -C source all nsswitch/libnss_wins.so
make[1]: Entering directory `/usr/src/samba-2.2.7/source'
Using FLAGS =  -O  -O2 -D_REENTRANT -I./popt -Iinclude -I./include -I./ubiqx 
-I./smbwrapper -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE  
-DLOGFILEBASE=/var/log/samba -DCONFIGFILE=/etc/samba/smb.conf 
-DLMHOSTSFILE=/etc/samba/lmhosts   -DSWATDIR=/usr/share/samba/swat 
-DSBINDIR=/usr/sbin -DLOCKDIR=/var/run/samba 
-DCODEPAGEDIR=/usr/share/samba/codepages -DDRIVERFILE=/etc/samba/printers.def 
-DBINDIR=/usr/bin -DPIDDIR=/var/run/samba -DLIBDIR=/usr/lib -DVARDIR=/var 
-DHAVE_INCLUDES_H -DPASSWD_PROGRAM=/usr/bin/passwd 
-DSMB_PASSWD_FILE=/etc/samba/smbpasswd -DTDB_PASSWD_FILE=/etc/samba/smbpasswd.tdb
Using FLAGS32 =  -O  -O2 -D_REENTRANT -I./popt -Iinclude -I./include -I./ubiqx 
-I./smbwrapper -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE  
-DLOGFILEBASE=/var/log/samba -DCONFIGFILE=/etc/samba/smb.conf 
-DLMHOSTSFILE=/etc/samba/lmhosts   -DSWATDIR=/usr/share/samba/swat 
-DSBINDIR=/usr/sbin -DLOCKDIR=/var/run/samba 
-DCODEPAGEDIR=/usr/share/samba/codepages -DDRIVERFILE=/etc/samba/printers.def 
-DBINDIR=/usr/bin -DPIDDIR=/var/run/samba -DLIBDIR=/usr/lib -DVARDIR=/var 
-DHAVE_INCLUDES_H -DPASSWD_PROGRAM=/usr/bin/passwd 
-DSMB_PASSWD_FILE=/etc/samba/smbpasswd -DTDB_PASSWD_FILE=/etc/samba/smbpasswd.tdb
Using LIBS = -lacl  -lcups -lnsl -lcrypt -ldl -lpam
Compiling smbd/server.c
In file included from include/smb.h:462,
 from include/includes.h:677,
 from smbd/server.c:22:
include/vfs.h:111: parse error before `acl_t'
include/vfs.h:112: parse error before `acl_entry_t'
include/vfs.h:113: parse error before `acl_entry_t'
include/vfs.h:114: parse error before `acl_entry_t'
include/vfs.h:115: warning: no semicolon at end of struct or union
include/vfs.h:116: parse error before `*'
include/vfs.h:116: `acl_t' declared as function returning a function
include/vfs.h:116: warning: data definition has no type or storage class
include/vfs.h:117: parse error before `acl_permset_t'
include/vfs.h:118: parse error before `acl_permset_t'
include/vfs.h:119: parse error before `acl_t'
include/vfs.h:120: parse error before `*'
include/vfs.h:120: `acl_t' declared as function returning a function
include/vfs.h:120: warning: data definition has no type or storage class
include/vfs.h:121: parse error before `acl_t'
include/vfs.h:122: parse error before `acl_entry_t'
include/vfs.h:123: parse error before `acl_entry_t'
include/vfs.h:124: parse error before `acl_entry_t'
include/vfs.h:125: parse error before `acl_t'
include/vfs.h:126: parse error before `acl_type_t'
include/vfs.h:127: parse error before `acl_t'
include/vfs.h:129: parse error before `acl_permset_t'
include/vfs.h:131: parse error before `acl_t'
include/vfs.h:132: parse error before `acl_tag_t'
In file included from include/includes.h:677,
 from smbd/server.c:22:
include/smb.h:480: field `vfs_ops' has incomplete type
In file included from include/includes.h:737,
 from smbd/server.c:22:
include/proto.h:211: parse error before `the_acl'
include/proto.h:212: parse error before `entry_d'
include/proto.h:213: parse error before `entry_d'
include/proto.h:214: parse error before `entry_d'
include/proto.h:215: parse error before `sys_acl_get_file'
include/proto.h:215: parse error before `acl_type_t'
include/proto.h:215: warning: data definition has no type or storage class
include/proto.h:216: parse error before `sys_acl_get_fd'
include/proto.h:216: warning: data definition has no type or storage class
include/proto.h:217: parse error before `permset'
include/proto.h:217: `sys_acl_clear_perms' redeclared as different kind of symbol
include/vfs.h:117: previous declaration of `sys_acl_clear_perms'
include/proto.h:218: parse error before `permset'
include/proto.h:218: `sys_acl_add_perm' redeclared as different kind of symbol
include/vfs.h:118: previous declaration of `sys_acl_add_perm'
include/proto.h:219: parse error before `permset'
include/proto.h:219: `sys_acl_get_perm' redeclared as different kind of symbol
include/vfs.h:129: previous declaration of `sys_acl_get_perm'
include/proto.h:220: parse error before `the_acl'
include/proto.h:220: `sys_acl_to_text' redeclared as different kind of symbol
include/vfs.h:119: previous declaration of `sys_acl_to_text'
include/proto.h:221: parse error before `sys_acl_init'
include/proto.h:221: warning: data definition has no type or storage class
include/proto.h:222: parse error before `*'
include/proto.h:222: `sys_acl_create_entry' redeclared as different kind of symbol
include/vfs.h:121: previous declaration of `sys_acl_create_entry'
include/proto.h:223: parse error

stange w98 behaviour downloading printer drivers

2002-09-12 Thread Francesco Mosca

i've set up some printers in my samba domain (2.2.6pre2) and 
successfully uploaded drivers from a w2k workstation, according to 
the how-to, both for win2000 and win98. I used AppleLW Color 12/600 PS 
drivers, because i need _color_ postscript support. the problem is: 
win2000 gets the correct drivers, enabling the color printing. 
win98 instead gets the drivers, but they are not color enabled
i can only print b/w, no color-tab in the printer settings).
I've also tried with several other ps color drivers, but none of them 
worked. 
Another interesting point is that if i install the drivers locally 
on the win98 boxes, they present all the color-management related properties
and they actually print with correct colors. all of these properties are not 
present in the samba-automagically-installed version (_same_ drivers)..
i think that the automagic drivers don't get the .ppd installed correctly, 
even if it is placed in c:\windows\system, and that win falls back to the default
(bad) ps driver properties.. i think so because reading the .ppd, it contains 
all the driver switches that appears in the local version but not in the remote..

sorry for my english, i hope i won't have to manually configure my printers in 
all the (many :/ ) win98 boxes, and no, to install a _real_ OS on the clients is 
unfortunately not an option:(

thanks,

Francesco