samba-4.7.4 make without ads
hlformisc at freenet.de
hlformisc at freenet.de
Wed Jan 31 20:59:58 UTC 2018
Hallo,
Iam running old samba-3 with smbpasswd (small fileserver, no DC)
I'd like to replace it.
I try make samba-4 without ads/ldap:
- t1
- libldap-dev,libkrb-dev not installed
samba-4.7.4$ configure
...
Checking for library cups : not found
Checking for httpConnect : not found
Checking for httpConnectEncrypt : not found
--enable-iprint=yes but cups support not sufficient
Active Directory support not available: LDAP support is not available.
/ usr/src/samba-4.7.4/source3/wscript:813: error: Active Directory support not found. Use --without-ads for building without Active Directory support ADS support improves communication with Active Directory domain controllers.
- suggestion: add --without-ads (--without-ldap)
- t5
samba-4.7.4$ configure --without-ldap --without-ads --prefix=/usr/local/samba-4.7.4
- configure running successful
but make failed:
$ make clean; make
...
[3379/3495] Linking default/source4/lib/policy/libsamba-policy.so
[3380/3495] Linking default/source4/auth/libauth-unix-token-samba4.so
[3381/3495] Linking default/source3/libads-samba4.so
default/source3/libads/kerberos_keytab_63.o: In function `ads_keytab_list':
kerberos_keytab.c:(.text+0xf5): undefined reference to `ads_keytab_open'
collect2: error: ld returned 1 exit status
Waf: Leaving directory `/usr/src/samba-4.7.4/bin'
Build failed: -> task failed (err #1):
{task: cc_link ldap_63.o,sasl_63.o,sasl_wrapping_63.o,krb5_setpw_63o,kerberos_util_63.o,ldap_user_63.o,ads_struct_63.o,kerberos_keytab_63.o,disp_sec_63.o,ldap_utils_63.o,ldap_schema_63.o,util_63.o,ndr_63.o,namequery_dc_104.o,trustdom_cache_104.o,dsgetdcname_104.o -> libads-samba4.so}
make: *** [all] Error 1
What did I do wrong?
Howto make samba auth with smbpasswd only?
regards Heiko
Schon gewusst?! Neben dem E-Mail-Postfach bietet freenet.de auch eine
INTEGRIERTE CLOUD-LĂ–SUNG MIT 2 GB SPEICHER und das alles KOMPLETT
KOSTENFREI.
https://email.freenet.de/index.html
[https://email.freenet.de/index.html?utm_medium=Mail%20Basic&utm_source=Mailfooter&utm_campaign=Footer%20A&epid=e9900000927&utm_content=Link]
More information about the samba-technical
mailing list