Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Networking & Security
  • Search

errors when I emerge openldap-2.3.24-r2

Having problems getting connected to the internet or running a server? Wondering about securing your box? Ask here.
Post Reply
Advanced search
6 posts • Page 1 of 1
Author
Message
eyexer0
Tux's lil' helper
Tux's lil' helper
Posts: 75
Joined: Sat Dec 13, 2003 4:20 pm
Location: Fort Smith, Arkansas
Contact:
Contact eyexer0
Website

errors when I emerge openldap-2.3.24-r2

  • Quote

Post by eyexer0 » Wed Aug 16, 2006 2:50 am

I am trying to setup Samba as a domain controller and I was following this guide. http://gentoo-wiki.com/HOWTO_LDAP_SAMBA_PDC

I did all of this like the site said:

Code: Select all

USE="${USE} acl kerberos ldap pam readline crypt gdbm samba ssl tcpd cups python 
      perl xml2 mysql berkdb"

 echo 'net-nds/smbldap-tools ~x86' >>/etc/portage/package.keywords

emerge samba openldap nss_ldap pam_ldap smbldap-tools
Once it get's to openldap I have problems
* Building contributed dsaschema
dsaschema.c: In function `dsaschema_read_config':
dsaschema.c:156: warning: 'savelineno' might be used uninitialized in this function
dsaschema.c: In function `init_module':
dsaschema.c:265: warning: 'rc' might be used uninitialized in this function
* Building contributed pw-kerberos
* Building contributed pw-netscape
* Building contributed smbk5pwd
../../../libtool --mode=compile gcc -O2 -march=pentium3 -pipe -fomit-frame-pointer -DDO_SAMBA -DDO_KRB5 -I../../../include -I../../../servers/slapd -c smbk5pwd.c
mkdir .libs
gcc -O2 -march=pentium3 -pipe -fomit-frame-pointer -DDO_SAMBA -DDO_KRB5 -I../../../include -I../../../servers/slapd -c smbk5pwd.c -fPIC -DPIC -o .libs/smbk5pwd.o
smbk5pwd.c:45:25: kadm5/admin.h: No such file or directory
smbk5pwd.c:46:17: hdb.h: No such file or directory
smbk5pwd.c:56: error: parse error before "conf"
smbk5pwd.c:56: warning: data definition has no type or storage class
smbk5pwd.c:57: error: parse error before '*' token
smbk5pwd.c:57: warning: data definition has no type or storage class
smbk5pwd.c: In function `k5key_chk':
smbk5pwd.c:275: error: `krb5_salt' undeclared (first use in this function)
smbk5pwd.c:275: error: (Each undeclared identifier is reported only once
smbk5pwd.c:275: error: for each function it appears in.)
smbk5pwd.c:275: error: parse error before "salt"
smbk5pwd.c:276: error: `hdb_entry' undeclared (first use in this function)
smbk5pwd.c:291: error: `Key' undeclared (first use in this function)
smbk5pwd.c:291: error: parse error before "ekey"
smbk5pwd.c:296: error: `ent' undeclared (first use in this function)
smbk5pwd.c:299: error: `salt' undeclared (first use in this function)
smbk5pwd.c:306: error: `ekey' undeclared (first use in this function)
smbk5pwd.c:309: error: request for member `master_key_set' in something not a structure or union
smbk5pwd.c:317: error: structure has no member named `keyvalue'
smbk5pwd.c:318: error: structure has no member named `keyvalue'
smbk5pwd.c: In function `smbk5pwd_exop_passwd':
smbk5pwd.c:363: error: `hdb_entry' undeclared (first use in this function)
smbk5pwd.c:363: error: parse error before "ent"
smbk5pwd.c:375: error: `ent' undeclared (first use in this function)
smbk5pwd.c:405: error: `Key' undeclared (first use in this function)
smbk5pwd.c: In function `smbk5pwd_modules_init':
smbk5pwd.c:789: error: syntax error before '*' token
smbk5pwd.c:829: error: `KADM5_ADMIN_SERVICE' undeclared (first use in this function)
smbk5pwd.c:835: warning: assignment makes pointer from integer without a cast
make: *** [smbk5pwd.lo] Error 1

!!! ERROR: net-nds/openldap-2.3.24-r2 failed.
Call stack:
ebuild.sh, line 1543: Called dyn_compile
ebuild.sh, line 938: Called src_compile
openldap-2.3.24-r2.ebuild, line 320: Called die

!!! failed to compile smbk5pwd module
!!! If you need support, post the topmost build error, and the call stack if relevant.
anyone have any ensight on this?
Top
eyexer0
Tux's lil' helper
Tux's lil' helper
Posts: 75
Joined: Sat Dec 13, 2003 4:20 pm
Location: Fort Smith, Arkansas
Contact:
Contact eyexer0
Website

  • Quote

Post by eyexer0 » Thu Aug 17, 2006 4:40 am

have anyone here done this or have any idea?
Top
eyexer0
Tux's lil' helper
Tux's lil' helper
Posts: 75
Joined: Sat Dec 13, 2003 4:20 pm
Location: Fort Smith, Arkansas
Contact:
Contact eyexer0
Website

  • Quote

Post by eyexer0 » Fri Aug 18, 2006 1:42 am

I re-compiled my compiler and added a few things like "gcj objc objc++ objc-gc" this did nothing for me :/
Top
eyexer0
Tux's lil' helper
Tux's lil' helper
Posts: 75
Joined: Sat Dec 13, 2003 4:20 pm
Location: Fort Smith, Arkansas
Contact:
Contact eyexer0
Website

  • Quote

Post by eyexer0 » Mon Aug 21, 2006 2:01 pm

I am still having this problem
Top
C++_Novice
n00b
n00b
User avatar
Posts: 20
Joined: Sun Mar 06, 2005 10:04 pm
Location: Canada

  • Quote

Post by C++_Novice » Wed Aug 30, 2006 5:29 am

I think that if you remove kerberos from your make.conf it should work, and by the way it would be better if you put the use flags in /etc/portage/package.use.
e.g.

Code: Select all

/etc/portage/package.use
net-fs/samba acl ldap pam readline crypt gdbm samba ssl tcpd cups python perl xml2 mysql berkdb
net-nds/openldap acl ldap pam readline crypt gdbm samba ssl tcpd cups python perl xml2 mysql berkdb
Hope this helps.
Top
eyexer0
Tux's lil' helper
Tux's lil' helper
Posts: 75
Joined: Sat Dec 13, 2003 4:20 pm
Location: Fort Smith, Arkansas
Contact:
Contact eyexer0
Website

  • Quote

Post by eyexer0 » Wed Aug 30, 2006 1:24 pm

yeah I removed kerberos yesterday trying to narrow down what the problem might be and that fixed it.. any idea why it does not work with kerberos?

Thanks!
Top
Post Reply

6 posts • Page 1 of 1

Return to “Networking & Security”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy