[Samba-it] Molti problemi di compilazione.

johon Doe johond at yahoo.com
Wed Dec 29 19:10:01 MST 2004


> avril:~# mkdir samba-3.0.10
> avril:~# cd samba-3.0.10
> avril:~/samba-3.0.5# wget -r -nd -nH 
> ftp://samba.epfl.ch/pub/samba/Binary_Packages/ \\
>          Debian/samba3/dists/stable/main/source
> avril:~/samba-3.0.10# dpkg-source -x
> samba_3.0.10-1.dsc
> avril:~/samba-3.0.10# cd samba-3.0.10
> Ho modificato il file debian/rules secondo le mie
> esigenze,
> Ho lanciato:
> 
> avril:~# dpkg-buildpackage -d -rfakeroot -uc -b
> 
> ma ottengo:
> 
> dh_movefiles
> dh_movefiles: debian/tmp/usr/share/samba/lowcase.dat
> not found (supposed 
> to put it in samba-common)
> dh_movefiles: debian/tmp/usr/share/samba/upcase.dat
> not found (supposed 
> to put it in samba-common)
> dh_movefiles: debian/tmp/usr/share/samba/valid.dat
> not found (supposed 
> to put it in samba-common)
> make: *** [install] Error 1
> 
> Il problema, credo, stia in /source, dove forse le
> definzioni di 
> CODEPAGEDIR = @codepagedir@ nel file Makefile e
> Makefile.in
> non si risolvono correttamente in 
> codepagedir="\${DATADIR}/samba" del 
> configure.in

si anche io ho avuto quell tipo di errore in una
compilazione del pacchetto debian ma non sono riuscito
a ricordarmi come avevo fatto e quindi non ho potuto
posta l'output.
Comunque ho risolto, non so da cosa dipenda l'errore
ma la linea del configure usata è questa:

./configure --without-afs --enable-shared
--enable-static --prefix=/usr --sysconfdir=/etc
--libdir=/usr/lib/samba
--with-privatedir=/var/lib/samba
--with-piddir=/var/run/samba --localstatedir=/var
--with-smbmount --with-pam --with-syslog --with-utmp
--with-readline --with-pam_smbpass--with-libsmbclient
--with-winbind --with-msdfs --with-automount
--with-acl-support --with-tdbsam
--with-python=python2.3 --with-quotas --without-ldap
--with-winbind --with-fhs

ora funziona, e funziona anche l'antivirus, la cosa
che mi lascia perplesso è che il vscan deve essere
abilitato a livello di condivisione e non all'interno
di [global], a differenza di come è scritto
nell'INSTALL.

riposto il mio global, magari qualcuno vede qualche
errore:


[global]
        workgroup = INTRANET
        netbios name = SUNSERVER
        interfaces = eth0, lo
        bind interfaces only = Yes
        passdb backend = tdbsam
        passwd program = /usr/bin/passwd %u
        passwd chat = *Enter\snew\sUNIX\spassword:*
%n\n *Retype\snew\sUNIX\spassword:* %n\n .
        unix password sync = Yes
        log level = 3
        time server = Yes
        socket options = TCP_NODELAY SO_RCVBUF=8192
SO_SNDBUF=8192
        add user script = /usr/sbin/useradd -g users
-d /dev/null -s /sbin/nologin -c"Added by smb.conf"
"`echo "%u" |tr '[:upper:]' '[:lower:]'`"
        delete user script = /usr/sbin/userdel -r %u
        add group script = /usr/sbin/groupadd %g
        delete group script = /usr/sbin/groupdel %g
        add user to group script = /usr/sbin/usermod
-G %g %u
        add machine script = /usr/sbin/useradd -g
machines -d /dev/null -s /sbin/nologin -c"Added by
smb.conf" "`echo "%u" |tr '[:upper:]' '[:lower:]'`"
        logon script = logon.bat
        logon path = \\%N\profiles\%U
        logon drive = O:
        logon home = \\%N\%U\.profiles
        domain logons = Yes
        os level = 64
        preferred master = Yes
        domain master = Yes
        dns proxy = No
        idmap uid = 15000-20000
        idmap gid = 15000-20000
        case sensitive = No
        wins support = yes
        null passwords = no
        hide unreadable = yes
        hide dot files = yes
        encrypt passwords = yes


        vfs objects = vscan-clamav audit recycle
        recycle: repository = .recycle
        recycle: version=True
        recycle: touch=True
        recycle: keeptree=True
        recycle: exclude = *.tmp *.temp *.cache
        recycle: maxsize = 0

        vscan-clamav: config-file =
/etc/samba/vscan-clamav.conf










		
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - now with 250MB free storage. Learn more.
http://info.mail.yahoo.com/mail_250



More information about the samba-it mailing list