[Fedora-directory-users] ERROR: Can't find component: base
by Graham Leggett
Hi all,
Having managed to get the build to run all the way to the end on Solaris
10, I am now having problems with the setup program. During the setup,
the screen asks what to install like so:
Fedora components:
Components with a number in () contain additional subcomponents
which you can select using subsequent screens.
1. Fedora Directory Server
2. Fedora Directory Server Console
Selecting anything bombs out the setup program like so:
ERROR: Can't find component: base
Press any key to continue.
Does anybody know what the "base" component is, and why it might be missing?
Regards,
Graham
--
18 years, 3 months
[Fedora-directory-users] Probably very stupid problem ....
by Enrico Valsecchi
Hi All,
I have a problem.
My Users, stored correctly into Fedora-DS,
can't login into my Linux System.
(With OpenLdap did not have this problem)
I don't understand where is MY error!
:(
There are my system settings....
Many Thanks!
Bye,
Enrico
/etc/pam.d/system-auth
auth required /lib/security/$ISA/pam_env.so
auth sufficient /lib/security/$ISA/pam_unix.so likeauth nullok
auth sufficient /lib/security/$ISA/pam_ldap.so use_first_pass
auth required /lib/security/$ISA/pam_deny.so
account required /lib/security/$ISA/pam_unix.so broken_shadow
account sufficient /lib/security/$ISA/pam_localuser.so
account sufficient /lib/security/$ISA/pam_succeed_if.so uid < 100 quiet
account [default=bad success=ok
user_unknown=ignore] /lib/security/$ISA/pam_ldap.so
account required /lib/security/$ISA/pam_permit.so
password requisite /lib/security/$ISA/pam_cracklib.so retry=3
password sufficient /lib/security/$ISA/pam_unix.so nullok use_authtok
md5 shadow
password sufficient /lib/security/$ISA/pam_ldap.so use_authtok
password required /lib/security/$ISA/pam_deny.so
session required /lib/security/$ISA/pam_limits.so
session required /lib/security/$ISA/pam_unix.so
session optional /lib/security/$ISA/pam_ldap.so
/etc/nsswitch.conf
passwd: files ldap
shadow: files ldap
group: files ldap
/etc/ldap.conf AND /etc/openldap.conf
suffix "dc=chiccomara,dc=org"
uri ldap://centos.chiccomara.org/
ldap_version 3
pam_filter objectclass=posixAccount
pam_login_attribute uid
pam_member_attribute memberuid
pam_password ssha
nss_base_passwd ou=Users,ou=Mizar Solutions,dc=chiccomara,dc=org
nss_base_shadow ou=Users,ou=Mizar Solutions,dc=chiccomara,dc=org
nss_base_group ou=Groups,ou=Mizar Solutions,dc=chiccomara,dc=org
# nss_base_hosts ou=Host,ou=Mizar Solutions,dc=chiccomara,dc=org
scope one
18 years, 3 months
[Fedora-directory-users] PATCH: fedora-directoryconsole builds clean on JDK v1.5
by Graham Leggett
Hi all,
The attached patch fixes errors compiling on JDK v1.5, caused by the use
of the now reserved word "enum".
Regards,
Graham
--
diff -r -u fedora-directoryconsole-1.0-orig/src/com/netscape/admin/dirserv/panel/DefaultIndexManagementPanel.java fedora-directoryconsole-1.0/src/com/netscape/admin/dirserv/panel/DefaultIndexManagementPanel.java
--- fedora-directoryconsole-1.0-orig/src/com/netscape/admin/dirserv/panel/DefaultIndexManagementPanel.java 2005-12-15 22:30:05.993634000 +0000
+++ fedora-directoryconsole-1.0/src/com/netscape/admin/dirserv/panel/DefaultIndexManagementPanel.java 2005-12-15 22:39:42.845786000 +0000
@@ -902,9 +902,9 @@
LDAPAttribute findAttr =
res.getAttribute( "objectclass");
if( (findAttr != null ) && (findAttr.size() > 0) ) {
- Enumeration enum = findAttr.getStringValues();
- while (!mybool && (enum.hasMoreElements())) {
- String v = (String) enum.nextElement();
+ Enumeration enumeration = findAttr.getStringValues();
+ while (!mybool && (enumeration.hasMoreElements())) {
+ String v = (String) enumeration.nextElement();
Debug.println( "****** IndexManagementPanel.isPluginEntry() value :" + v);
mybool = ((v != null) && (v.compareToIgnoreCase("nsSlapdPlugin") == 0 )) ;
}
diff -r -u fedora-directoryconsole-1.0-orig/src/com/netscape/admin/dirserv/panel/IndexManagementPanel.java fedora-directoryconsole-1.0/src/com/netscape/admin/dirserv/panel/IndexManagementPanel.java
--- fedora-directoryconsole-1.0-orig/src/com/netscape/admin/dirserv/panel/IndexManagementPanel.java 2005-12-15 22:30:06.002135000 +0000
+++ fedora-directoryconsole-1.0/src/com/netscape/admin/dirserv/panel/IndexManagementPanel.java 2005-12-15 22:38:31.320259000 +0000
@@ -1074,9 +1074,9 @@
LDAPAttribute findAttr =
res.getAttribute( "objectclass");
if( (findAttr != null ) && (findAttr.size() > 0) ) {
- Enumeration enum = findAttr.getStringValues();
- while (!mybool && (enum.hasMoreElements())) {
- String v = (String) enum.nextElement();
+ Enumeration enumeration = findAttr.getStringValues();
+ while (!mybool && (enumeration.hasMoreElements())) {
+ String v = (String) enumeration.nextElement();
Debug.println( "****** IndexManagementPanel.isPluginEntry() value :" + v);
mybool = ((v != null) && (v.compareToIgnoreCase("nsSlapdPlugin") == 0 )) ;
}
diff -r -u fedora-directoryconsole-1.0-orig/src/com/netscape/admin/dirserv/panel/ObjectClassDialog.java fedora-directoryconsole-1.0/src/com/netscape/admin/dirserv/panel/ObjectClassDialog.java
--- fedora-directoryconsole-1.0-orig/src/com/netscape/admin/dirserv/panel/ObjectClassDialog.java 2005-12-15 22:30:06.027786000 +0000
+++ fedora-directoryconsole-1.0/src/com/netscape/admin/dirserv/panel/ObjectClassDialog.java 2005-12-15 22:37:56.023430000 +0000
@@ -128,9 +128,9 @@
private void updateAvailAttrList() {
if (_availModel.size() != 0)
_availModel.removeAllElements();
- Enumeration enum = _schema.getAttributeNames();
- while (enum.hasMoreElements()) {
- String attr = (String)enum.nextElement();
+ Enumeration enumeration = _schema.getAttributeNames();
+ while (enumeration.hasMoreElements()) {
+ String attr = (String)enumeration.nextElement();
if (!attr.equals("dncomp") && !attr.equals("entrydn")&&
!attr.equals("entryid") && !attr.equals("parentid")) {
SchemaUtility.InsertElement(_availModel, attr);
diff -r -u fedora-directoryconsole-1.0-orig/src/com/netscape/admin/dirserv/panel/PluginPanel.java fedora-directoryconsole-1.0/src/com/netscape/admin/dirserv/panel/PluginPanel.java
--- fedora-directoryconsole-1.0-orig/src/com/netscape/admin/dirserv/panel/PluginPanel.java 2005-12-15 22:30:06.031102000 +0000
+++ fedora-directoryconsole-1.0/src/com/netscape/admin/dirserv/panel/PluginPanel.java 2005-12-15 22:36:58.624254000 +0000
@@ -1072,10 +1072,10 @@
}
}
- Enumeration enum = _dsEntryFields.keys();
+ Enumeration enumeration = _dsEntryFields.keys();
- while (enum.hasMoreElements()) {
- String attributeName = (String)enum.nextElement();
+ while (enumeration.hasMoreElements()) {
+ String attributeName = (String)enumeration.nextElement();
((DSEntryTextStrict)_dsEntryFields.get(attributeName)).show();
}
}
@@ -1116,10 +1116,10 @@
if (_dsEnableState.isModified())
return true;
- Enumeration enum = _dsEntryFields.keys();
+ Enumeration enumeration = _dsEntryFields.keys();
- while (enum.hasMoreElements()) {
- String attributeName = (String)enum.nextElement();
+ while (enumeration.hasMoreElements()) {
+ String attributeName = (String)enumeration.nextElement();
if (((DSEntryTextStrict)_dsEntryFields.get(attributeName)).isModified())
return true;
}
diff -r -u fedora-directoryconsole-1.0-orig/src/com/netscape/admin/dirserv/panel/SchemaObjectClassesPanel.java fedora-directoryconsole-1.0/src/com/netscape/admin/dirserv/panel/SchemaObjectClassesPanel.java
--- fedora-directoryconsole-1.0-orig/src/com/netscape/admin/dirserv/panel/SchemaObjectClassesPanel.java 2005-12-15 22:30:06.040390000 +0000
+++ fedora-directoryconsole-1.0/src/com/netscape/admin/dirserv/panel/SchemaObjectClassesPanel.java 2005-12-15 22:35:39.351329000 +0000
@@ -202,9 +202,9 @@
return;
}
_ocModel.removeAllElements();
- Enumeration enum = schema.getObjectClassNames();
- while (enum.hasMoreElements()) {
- SchemaUtility.InsertElement(_ocModel, enum.nextElement());
+ Enumeration enumeration = schema.getObjectClassNames();
+ while (enumeration.hasMoreElements()) {
+ SchemaUtility.InsertElement(_ocModel, enumeration.nextElement());
}
}
diff -r -u fedora-directoryconsole-1.0-orig/src/com/netscape/admin/dirserv/propedit/ChooseObjectClassDialog.java fedora-directoryconsole-1.0/src/com/netscape/admin/dirserv/propedit/ChooseObjectClassDialog.java
--- fedora-directoryconsole-1.0-orig/src/com/netscape/admin/dirserv/propedit/ChooseObjectClassDialog.java 2005-12-15 22:30:06.054191000 +0000
+++ fedora-directoryconsole-1.0/src/com/netscape/admin/dirserv/propedit/ChooseObjectClassDialog.java 2005-12-15 22:34:48.205207000 +0000
@@ -45,9 +45,9 @@
// Extract the list of classes from the schema
Vector v = new Vector();
- Enumeration enum = schema.getObjectClassNames();
- while (enum.hasMoreElements()) {
- String objectclass = (String)enum.nextElement();
+ Enumeration enumeration = schema.getObjectClassNames();
+ while (enumeration.hasMoreElements()) {
+ String objectclass = (String)enumeration.nextElement();
/* Check that the objectclass is not a forbidden objectclass */
boolean isForbidden = false;
for (int i=0; i<DSSchemaHelper.FORBIDDEN_OBJECTCLASSES.length; i++) {
18 years, 3 months
[Fedora-directory-users] SambaDomain
by Jim Summers
Hello List,
Everything going well with the evaluation / migration of FDS. I did hit
one snag this morning that I have not been able to debug yet.
1. I used the LdapImport tool to migrate settings/schema from my running
iplanet5.1 ldap.
2. On my existing ldapserver I generated an ldif using db2ldif.
3. Then through the console imported that database. All went well here
except it would not add an entry to my ou=samba that had:
objectClass: sambaDomain
4. Looked through the 99user.ldif and it looks complete.
5. If I try to add the entry without an objectclass it, naturally says
it can't add without an object class.
Here is a ldif I am using:
dn: sambaDomainName=CSN,ou=samba,dc=cs,dc=ou,dc=edu
sambaSID: S-1-5-21-81879834-2421259029-2731548829
sambaAlgorithmicRidBase: 1000
objectClass: sambadomain
sambaNextUserRid: 67109862
sambaNextGroupRid: 67109863
sambaDomainName: CSN
I messed around with caps and stuff but no diff.
Any ideas what I have overlooked?
TIA
--
Jim Summers
School of Computer Science-University of Oklahoma
-------------------------------------------------
18 years, 3 months
[Fedora-directory-users] ldapimport anonymous bind...
by Steve Saady
So.. I am trying to transfer my OpenLDAP schema and data into an FDS
host... and have gotten pretty frustrated.. The LDAPimport utility looks
very promising, but it seems to only use anonymous binds, or at least
unable for some reason to bing w/ privileges, which is unsuccessful, not
for lack of trying. Has anyone been able to get LDAPimport to bing w/
specific credentials?
http://wiki.babel.com.au/index.php?area=Linux_Projects&page=LdapImport
"LdapConnectionManager: Currently connected -- searching.
LdapConnectionManager: We have a search error.
LdapConnectionManager: Error = I/O Error
LdapConnectionManager: Error Name = LDAP_OPERATIONS_ERROR
LdapConnectionManager: Error Text = Server encountered an
internal error
LdapConnectionManager: Sleeping for 1 seconds.
LdapConnectionManager: Reconnect to $VAR1 = '10.10.10.35';
LdapConnectionManager: Reconnection OK
LdapConnectionManager: Binding anonymously
LdapConnectionManager: Bind complete.
LdapConnectionManager: Currently disconnected -- attempting to
reconnect.
LdapConnectionManager: Sleeping for 1 seconds.
LdapConnectionManager: Reconnect to $VAR1 = '10.10.10.35';"
18 years, 3 months
[Fedora-directory-users] Installing FDS on SuSE 10.0
by Daniel Spannbauer
Hallo,
i Try to install the Directory-Server on SuSE 10.0. While the dsbuild I
get an Error.
Here the Complete Log of the dsbuild:
--------------------------------------------------------------
ox:~/dsbuild/meta/ds # make [BUILD_RPM=1]
[===== NOW BUILDING: ds-1 =====]
[fetch] complete for ds.
[checksum] complete for ds.
[extract] complete for ds.
[patch] complete for ds.
==> Building ds/mozilla as a dependency
==> Building ds/icu as a dependency
==> Building ds/adminutil as a dependency
==> Building ds/setuputil as a dependency
make[1]: Entering directory /root/dsbuild/ds/setuputil'
[===== NOW BUILDING: fedora-setuputil-1.0 =====]
[fetch] complete for fedora-setuputil.
[checksum] complete for fedora-setuputil.
[extract] complete for fedora-setuputil.
[patch] complete for fedora-setuputil.
[configure] complete for fedora-setuputil.
==> Running make in work/fedora-setuputil-1.0
cat: /etc/redhat-release: No such file or directory
make[2]: Entering directory
/root/dsbuild/ds/setuputil/work/fedora-setuputil-1.0'
if test ! -d Linux2.6; then mkdir Linux2.6; fi;
perl buildnum.pl -p Linux2.6
perl pumpkin.pl 90 pumpkin.dat
The components are up to date
==== Starting Server Installer Build ==========
gmake BUILD_OPT=1 USE_PTHREADS=1 SECURITY=domestic MOZILLA_SOURCE_ROOT_EXT=
BUILD_MODULE=SetupSDK -w installerSDK
cat: /etc/redhat-release: No such file or directory
gmake[3]: Entering directory
/root/dsbuild/ds/setuputil/work/fedora-setuputil-1.0'
cd installer/lib; gmake BUILD_OPT=1 USE_PTHREADS=1 SECURITY=domestic
MOZILLA_SOURCE_ROOT_EXT= -w PERL5=perl
cat: /etc/redhat-release: No such file or directory
cat: /etc/redhat-release: No such file or directory
gmake[4]: Entering directory
/root/dsbuild/ds/setuputil/work/fedora-setuputil-1.0/installer/lib'
cd ../include; cp nsdefs.h setupldap.h ldapu.h global.h uninstall.h code.h
utf8.h nsutils.h setupapi.h setupdefs.h setupinst.h setupnvpair.h
/root/dsbuild/ds/setuputil/work/fedora-setuputil-1.0/built/Linux2.6_x86_glibc_PTH_OPT.OBJ/include
cd ../unix/lib; gmake BUILD_OPT=1 USE_PTHREADS=1 SECURITY=domestic
MOZILLA_SOURCE_ROOT_EXT= SERVER_BUILD=1 XCFLAGS= USE_PTHREADS=1 NS_PRODUCT=
VERSION= NS_USE_NATIVE= NSPR_BASENAME= -w
cat: /etc/redhat-release: No such file or directory
cat: /etc/redhat-release: No such file or directory
gmake[5]: Entering directory
/root/dsbuild/ds/setuputil/work/fedora-setuputil-1.0/installer/unix/lib'
gcc -c -fPIC -pipe -DLINUX -Dlinux -DBSD -D_POSIX_SOURCE -D_XOPEN_SOURCE
-D_BSD_SOURCE -DHAVE_STRERROR -DNO_DBM -DNO_NODELOCK -DXP_UNIX -DLinux -O2
-DSPAPI20 -DBUILD_NUM=\"2005.342.1316\"
-I/root/dsbuild/ds/mozilla/work/mozilla/dist/public/ldap -I../../include
ux-curse.c -o
/root/dsbuild/ds/setuputil/work/fedora-setuputil-1.0/built/Linux2.6_x86_glibc_PTH_OPT.OBJ/lib/libinstall/ux-curse.o
In file included from ux-curse.c:33:
ux-curse.h:52:38: error: curses.h: No such file or directory
ux-curse.c: In function â<80><98>exit_messageâ<80><99>:
ux-curse.c:78: error: â<80><98>stdscrâ<80><99> undeclared (first use in
this function)
ux-curse.c:78: error: (Each undeclared identifier is reported only once
ux-curse.c:78: error: for each function it appears in.)
ux-curse.c: In function â<80><98>grab_string_genericâ<80><99>:
ux-curse.c:217: error: â<80><98>stdscrâ<80><99> undeclared (first use in
this function)
ux-curse.c: In function â<80><98>print_oneplaceâ<80><99>:
ux-curse.c:313: error: â<80><98>stdscrâ<80><99> undeclared (first use in
this function)
ux-curse.c: In function â<80><98>new_pageâ<80><99>:
ux-curse.c:325: error: â<80><98>stdscrâ<80><99> undeclared (first use in
this function)
ux-curse.c: In function â<80><98>w_initscrâ<80><99>:
ux-curse.c:354: warning: comparison between pointer and integer
ux-curse.c:356: warning: comparison between pointer and integer
ux-curse.c:358: warning: comparison between pointer and integer
gmake[5]: ***
[/root/dsbuild/ds/setuputil/work/fedora-setuputil-1.0/built/Linux2.6_x86_glibc_PTH_OPT.OBJ/lib/libinstall/ux-curse.o]
Error 1gmake[5]: Leaving directory
/root/dsbuild/ds/setuputil/work/fedora-setuputil-1.0/installer/unix/lib'
gmake[4]: *** [all] Error 2
gmake[4]: Leaving directory
/root/dsbuild/ds/setuputil/work/fedora-setuputil-1.0/installer/lib'
gmake[3]: *** [installerSDK] Error 2
gmake[3]: Leaving directory
/root/dsbuild/ds/setuputil/work/fedora-setuputil-1.0'
make[2]: *** [buildInstaller] Error 2
make[2]: Leaving directory
/root/dsbuild/ds/setuputil/work/fedora-setuputil-1.0'
make[1]: *** [build-work/fedora-setuputil-1.0/Makefile] Error 2
make[1]: Leaving directory /root/dsbuild/ds/setuputil'
make: *** [dep-../../ds/setuputil] Error 2
------------------------------------------------------------------
Does anybody know why?
Thanks for helping
Daniel
18 years, 3 months
[Fedora-directory-users] admserv_host_ip_check
by Michael Montgomery
[root@**************** logs]# pwd
/opt/fedora-ds/admin-serv/logs
[root@**************** logs]# tail -n 2 error
[Wed Dec 14 15:22:27 2005] [notice] [client 10.5.1.202] admserv_host_ip_check: ap_get_remote_host could not resolve 10.5.1.202
[Wed Dec 14 15:22:27 2005] [notice] [client 10.5.1.202] admserv_check_authz(): passing [/admin-serv/authenticate] to the userauth handler
Does anyone know how to turn the admserv_host_ip_check off? I've
searched through the documentation, and the mailing lists, to no avail.
It's becoming terribly annoying when trying to administrate the server
from external machines, using a local install of the fedora console.
Thanks.
18 years, 3 months
[Fedora-directory-users] Console Login Problem
by Jim Summers
Hello List,
Now that I have cleaned my glasses and gotten a login prompt for the
console, I am unable to get logged in.
I keep getting an error box stating that the Admin server is not running
or the URL is not correct.
I am using the startconsole command given at the end of the install.
I tried to manully start the server with:
/opt/fedora-ds/start-admin
and got:
Syntax error on line 35 of /opt/fedora-ds/admin-serv/config/console.conf:
Error:\tApache has not been designed to serve pages while\n\trunning as
root. There are known race conditions that\n\twill allow any local user
to read any file on the system.\n\tIf you still desire to serve pages as
root then\n\tadd -DBIG_SECURITY_HOLE to the CFLAGS env variable\n\tand
then rebuild the server.\n\tIt is strongly suggested that you instead
modify the User\n\tdirective in your httpd.conf file to list a
non-root\n\tuser.\n
I then edited:
./admin-serv/config/console.conf
and added the User and Group lines with apache as the user.
Then start-admin does not give any errors but I still can not connect.
Also I do not see any associated running process other than the ns-slapd
Lost again, ideas or suggestions?
I have installed: fedora-ds-1.0.1-1.FC4.i386.opt.rpm on a fully updated
FC4 OS.
TIA
--
Jim Summers
School of Computer Science-University of Oklahoma
-------------------------------------------------
18 years, 3 months