[Samba] Cann't get Samba 3.0.0 installed on a SuSE 8.2
Andreas
kofi at freenet.de
Thu Oct 16 20:56:13 GMT 2003
Hallo,
after I got same error messages because of missing Kerberos, I deinstalled
heimdal and installed Kerberos 5 (_devel, _libs, _workstation). I also made
the necessary changes in the /etc/krb5.conf file and tested the connection
with the Active Directory with the kinit ... at .... I also synchronized the
time and so I get the tickets.
Now I wanted to install Samba 3.0.0 on SuSE 8.2 and there the problems which
let me stop here started.
----------------------------------------------------------------------------
This are the error message I get when I configure the source code´under SuSE
8.2:
linux:~/Desktop/samba/source #
./configure --prefix=/usr/local/samba --with-ldap --with-ads --with-krb5=/us
r/kerberos
(I have already tried it with a lot of different parameters and without -
automatic, but this doesn't seem to be the reason)
checking linux/quota.h presence... yes
configure: WARNING: linux/quota.h: present but cannot be compiled (why???)
configure: WARNING: linux/quota.h: check for missing prerequisite headers?
(sorry, but what???)
configure: WARNING: linux/quota.h: proceeding with the preprocessor's result
(what does this mean???)
----------------------------------------------------------------------------
And when I try to compile (with the error message mentioned above) I get the
following messages:
linux:~/Desktop/samba/source # make
Using FLAGS
= -g -O2 -I/usr/kerberos/include -I./popt -Iinclude -I/root/Desktop/samba/so
urce/include
-I/root/Desktop/samba/source/ubiqx -I/root/Desktop/samba/source/smbwrapper -
I. -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
-D_GNU_SOURCE -I/usr/kerberos/include -I/root/Desktop/samba/source
LIBS = -lcrypt -lresolv -lnsl -ldl
LDSHFLAGS = -shared
LDFLAGS =
Generating smbd/build_options.c
...
Compiling lib/util_str.c
(1)
lib/util_str.c: In function `strchr_m':
lib/util_str.c:1196: warning: return discards qualifiers from pointer target
type
lib/util_str.c: In function `strrchr_m':
lib/util_str.c:1244: warning: return discards qualifiers from pointer target
type
Compiling lib/clobber.c
...
Compiling tdb/tdbutil.c
(2)
tdb/tdbutil.c: In function `make_tdb_data':
tdb/tdbutil.c:45: warning: assignment discards qualifiers from pointer
target type
tdb/tdbutil.c: In function `tdb_chainlock_with_timeout_internal':
tdb/tdbutil.c:59: warning: passing arg 1 of `tdb_set_lock_alarm' discards
qualifiers from pointer target type
Compiling tdb/tdbback.c
...
Compiling smbd/notify_hash.c
(3)
smbd/notify_hash.c: In function `notify_hash':
smbd/notify_hash.c:91: warning: assignment discards qualifiers from pointer
target type
Compiling smbd/notify_kernel.c
...
Compiling libads/kerberos.c
(4)
libads/kerberos.c: In function `kerberos_kinit_password':
libads/kerberos.c:84: warning: passing arg 6 of
`krb5_get_init_creds_password' discards qualifiers from pointer target type
Compiling libads/util.c
...
Compiling nsswitch/winbindd_acct.c
(5)
nsswitch/winbindd_acct.c: In function `string2group':
nsswitch/winbindd_acct.c:224: warning: passing arg 1 of `next_token' from
incompatible pointer type
Compiling sam/idmap.c
...
Compiling client/client.c
(6)
client/client.c: In function `do_get':
client/client.c:694: warning: passing arg 4 of `cli_getattrE' from
incompatible pointer type
client/client.c: In function `do_put':
client/client.c:1070: warning: passing arg 4 of `cli_getattrE' from
incompatible pointer type
client/client.c: In function `do_host_query':
client/client.c:2670: warning: passing arg 1 of `list_servers' discards
qualifiers from pointer target type
client/client.c: In function `main':
client/client.c:2939: warning: passing arg 1 of `lp_set_name_resolve_order'
discards qualifiers from pointer target type
Compiling client/clitar.c
...
Compiling utils/net_ads.c
(7)
utils/net_ads.c: In function `net_ads_join':
utils/net_ads.c:743: warning: assignment discards qualifiers from pointer
target type
Compiling utils/net_ads_cldap.c
...
Compiling utils/net_lookup.c
(8)
utils/net_lookup.c: In function `net_lookup_kdc':
utils/net_lookup.c:212: warning: passing arg 3 of `krb5_locate_kdc' from
incompatible pointer type
Compiling utils/net_cache.c
...
Compiling utils/smbcontrol.c
(9)
utils/smbcontrol.c: In function `do_printnotify':
utils/smbcontrol.c:422: warning: passing arg 3 of `notify_printer_byname'
discards qualifiers from pointer target type
Linking bin/smbcontrol
...
Compiling rpcclient/cmd_spoolss.c
(10)
rpcclient/cmd_spoolss.c: In function `get_driver_3_param':
rpcclient/cmd_spoolss.c:1185: warning: passing arg 1 of `strtok' discards
qualifiers from pointer target type
Compiling rpcclient/cmd_netlogon.c
...
Compiling rpcclient/cmd_reg.c
(11)
rpcclient/cmd_reg.c: In function `cmd_reg_shutdown':
rpcclient/cmd_reg.c:910: warning: passing arg 2 of `getopt' from
incompatible pointer type
Compiling rpcclient/display_sec.c
...
Compiling libsmb/spnego.c
(12)
libsmb/spnego.c: In function `read_negTokenInit':
libsmb/spnego.c:51: warning: passing arg 2 of `asn1_read_OID' from
incompatible pointer type
libsmb/spnego.c: In function `read_negTokenTarg':
libsmb/spnego.c:186: warning: passing arg 2 of `asn1_read_OID' from
incompatible pointer type
libsmb/spnego.c: In function `free_spnego_data':
libsmb/spnego.c:321: warning: passing arg 1 of `free' discards qualifiers
from pointer target type
libsmb/spnego.c:330: warning: passing arg 1 of `free' discards qualifiers
from pointer target type
Linking bin/ntlm_auth
...
Compiling lib/util_str.c with -fPIC
(13)
lib/util_str.c: In function `strchr_m':
lib/util_str.c:1196: warning: return discards qualifiers from pointer target
type
lib/util_str.c: In function `strrchr_m':
lib/util_str.c:1244: warning: return discards qualifiers from pointer target
type
Compiling lib/clobber.c with -fPIC
...
Compiling tdb/tdbutil.c with -fPIC
(14)
tdb/tdbutil.c: In function `make_tdb_data':
tdb/tdbutil.c:45: warning: assignment discards qualifiers from pointer
target type
tdb/tdbutil.c: In function `tdb_chainlock_with_timeout_internal':
tdb/tdbutil.c:59: warning: passing arg 1 of `tdb_set_lock_alarm' discards
qualifiers from pointer target type
Compiling tdb/tdbback.c with -fPIC
...
Compiling libads/kerberos.c with -fPIC
(15)
libads/kerberos.c: In function `kerberos_kinit_password':
libads/kerberos.c:84: warning: passing arg 6 of
`krb5_get_init_creds_password' discards qualifiers from pointer target type
Linking nsswitch/libnss_wins.so
...
----------------------------------------------------------------------------
And the the installation doesn't work, of course, e.g. smbd, nmbd, smb.conf,
... are missing.
Please help me if you have an idea which might be the reason. !!!
Thank you in advance.
Andreas
More information about the samba
mailing list