bugphpGroupWare - Bugs: bug #382, LDAP Authentifikation Setup failed...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #382: LDAP Authentifikation Setup failed at all

Submitted by:  None
Submitted on:  Sun 12 May 2002 07:55:41 AM UTC  
 
Item Group: 0.9.16RC1Category: API - Setup
Severity: 2,5Priority: 4
Status: FixedPrivacy: Public
Assigned to: Dave Hall <skwashd>Open/Closed: Closed
Component Version: NoneOperating System: GNU/Linux - Mandrake
Reproducibility: Every TimePlanned Release: None
Fixed Release: 

Thu 30 Oct 2003 06:46:33 AM UTC, comment #5:

I can confirm this is fix in 16 cvs

Dave Hall <skwashd>
Project AdministratorIn charge of this item.
Wed 29 Oct 2003 09:31:00 PM UTC, comment #4:

Is this still a problem?

Hsing-Foo Wang <pooh_>
Sat 01 Jun 2002 08:19:17 AM UTC, comment #3:

Probably solution!
slapd logs:
"...posixAccount needs attribut homedirectory..."

If you fill in homedirectory and shell for the users in step two of the setup process, it works.

Anonymous
Sat 18 May 2002 06:44:28 AM UTC, comment #2:

Yes i did enter host rootdn.rootpw, accounts ou groups and ou accounts into setup/config.php.
And adding new groups etc works with other clients like java ldapbrowser.
There are two different error messages depending on how you setup the ldap ou .
1. Export from sql:
"Database error:..... invalid SQL statement..."
Hint: There have been 3 posting in the user mailing lists with the same error.

2. Directly creating the ldap ous from the initial setup:
See the above error messages.
As far as i know this means that the id for the connection between the ldapserver and the client passed by to verify the connection is not correct or identical.

system: openldap 2.0.23-53, Mysql-3.23.48-19, php 4.1.0

Anonymous
Sat 18 May 2002 06:44:11 AM UTC, comment #1:

Yes i did enter host rootdn.rootpw, accounts ou groups and ou accounts into setup/config.php.
And adding new groups etc works with other clients like java ldapbrowser.
There are two different error messages depending on how you setup the ldap ou .
1. Export from sql:
"Database error:..... invalid SQL statement..."
Hint: There have been 3 posting in the user mailing lists with the same error.

2. Directly creating the ldap ous from the initial setup:
See the above error messages.
As far as i know this means that the id for the connection between the ldapserver and the client passed by to verify the connection is not correct or identical.

system: openldap 2.0.23-53, Mysql-3.23.48-19, php 4.1.0

Anonymous
Sun 12 May 2002 07:55:41 AM UTC, original submission:

1.Creating demo accounts and one admin failes with the following error after pressing the submit button:

"Warning: LDAP: add operation could not be completed. in /usr/local/httpd/htdocs/phpgw/phpgwapi/inc/class.accounts_ldap.inc.php on line 688
Database error: Invalid SQL: INSERT INTO phpgw_acl (acl_appname, acl_location, acl_account, acl_rights) VALUES ('preferences', 'changepassword', , 0)

Session halted.
Fatal error: Call to undefined function: parse_navbar_end() in /usr/local/httpd/htdocs/phpgw/phpgwapi/inc/footer.inc.php on line 62
"

Summary:
1.1 LDAP works no problem testet with several clients.
1.2 SQL authentification ok.
1.3 Inserted ou=groups,dc==example,dc=de
ou=users,dc=example,dc=de
into LDAP tree.
1.4 schemas included.
1.5 phpgwc creates groups cn=admins (isn`t that wrong, shouldn`t it be dn: ou=admins,ou=groups,dc=...,dc=dc...)

2. Export from Mysql to ldap failes
2.1 starting point /setup/ldap.php
2.2 choice Export ...SQL ...LDAP >>>> /setup/ldapexport.php
2.3. choice all user (=admin ++ demo users), choice admin and default group
2.4. submit = export
2.5. Error
Error: Can't connect to LDAP server !

Warning: Supplied argument is not a valid ldap link resource in /usr/local/httpd/htdocs/phpgw/phpgwapi/inc/class.accounts_ldap.inc.php on line 405

Warning: Supplied argument is not a valid ldap link resource in /usr/local/httpd/htdocs/phpgw/phpgwapi/inc/class.accounts_ldap.inc.php on line 406

Warning: Supplied argument is not a valid ldap link resource in /usr/local/httpd/htdocs/phpgw/phpgwapi/inc/class.accounts_ldap.inc.php on line 413

Warning: Supplied argument is not a valid ldap link resource in /usr/local/httpd/htdocs/phpgw/phpgwapi/inc/class.accounts_ldap.inc.php on line 415

accountid: 1
accountlid: Default
exists:
Warning: Supplied argument is not a valid ldap link resource in /usr/local/httpd/htdocs/phpgw/phpgwapi/inc/class.accounts_ldap.inc.php on line 405

Warning: Supplied argument is not a valid ldap link resource in /usr/local/httpd/htdocs/phpgw/phpgwapi/inc/class.accounts_ldap.inc.php on line 406

Warning: Supplied argument is not a valid ldap link resource in /usr/local/httpd/htdocs/phpgw/phpgwapi/inc/class.accounts_ldap.inc.php on line 413

Warning: Supplied argument is not a valid ldap link resource in /usr/local/httpd/htdocs/phpgw/phpgwapi/inc/class.accounts_ldap.inc.php on line 415

accountid: 2
accountlid: Admins
exists:
Warning: Supplied argument is not a valid ldap link resource in /usr/local/httpd/htdocs/phpgw/phpgwapi/inc/class.accounts_ldap.inc.php on line 405

Warning: Supplied argument is not a valid ldap link resource in /usr/local/httpd/htdocs/phpgw/phpgwapi/inc/class.accounts_ldap.inc.php on line 406

Warning: Supplied argument is not a valid ldap link resource in /usr/local/httpd/htdocs/phpgw/phpgwapi/inc/class.accounts_ldap.inc.php on line 413

Warning: Supplied argument is not a valid ldap link resource in /usr/local/httpd/htdocs/phpgw/phpgwapi/inc/class.accounts_ldap.inc.php on line 415

Adding3
Warning: LDAP: add operation could not be completed. in /usr/local/httpd/htdocs/phpgw/phpgwapi/inc/class.accounts_ldap.inc.php on line 688

Warning: Supplied argument is not a valid ldap link resource in /usr/local/httpd/htdocs/phpgw/phpgwapi/inc/class.accounts_ldap.inc.php on line 405

Warning: Supplied argument is not a valid ldap link resource in /usr/local/httpd/htdocs/phpgw/phpgwapi/inc/class.accounts_ldap.inc.php on line 406

Warning: Supplied argument is not a valid ldap link resource in /usr/local/httpd/htdocs/phpgw/phpgwapi/inc/class.accounts_ldap.inc.php on line 413

Warning: Supplied argument is not a valid ldap link resource in /usr/local/httpd/htdocs/phpgw/phpgwapi/inc/class.accounts_ldap.inc.php on line 415

Adding4
Warning: LDAP: add operation could not be completed. in /usr/local/httpd/htdocs/phpgw/phpgwapi/inc/class.accounts_ldap.inc.php on line 688

Warning: Supplied argument is not a valid ldap link resource in /usr/local/httpd/htdocs/phpgw/phpgwapi/inc/class.accounts_ldap.inc.php on line 405

Warning: Supplied argument is not a valid ldap link resource in /usr/local/httpd/htdocs/phpgw/phpgwapi/inc/class.accounts_ldap.inc.php on line 406

Warning: Supplied argument is not a valid ldap link resource in /usr/local/httpd/htdocs/phpgw/phpgwapi/inc/class.accounts_ldap.inc.php on line 413

Warning: Supplied argument is not a valid ldap link resource in /usr/local/httpd/htdocs/phpgw/phpgwapi/inc/class.accounts_ldap.inc.php on line 415

Adding5
Warning: LDAP: add operation could not be completed. in /usr/local/httpd/htdocs/phpgw/phpgwapi/inc/class.accounts_ldap.inc.php on line 688

Warning: Supplied argument is not a valid ldap link resource in /usr/local/httpd/htdocs/phpgw/phpgwapi/inc/class.accounts_ldap.inc.php on line 405

Warning: Supplied argument is not a valid ldap link resource in /usr/local/httpd/htdocs/phpgw/phpgwapi/inc/class.accounts_ldap.inc.php on line 406

Warning: Supplied argument is not a valid ldap link resource in /usr/local/httpd/htdocs/phpgw/phpgwapi/inc/class.accounts_ldap.inc.php on line 413

Warning: Supplied argument is not a valid ldap link resource in /usr/local/httpd/htdocs/phpgw/phpgwapi/inc/class.accounts_ldap.inc.php on line 415

Adding6
Warning: LDAP: add operation could not be completed. in /usr/local/httpd/htdocs/phpgw/phpgwapi/inc/class.accounts_ldap.inc.php on line 688

Attention: "Can`t connect to LDAP -SeRVER" is not true due to a in general working parameters insertet in th Configuration and verified with several clients.

I checked this error for 5 times now !
And got no idea !
Is it a bug?
Thanks for any hint !

Wolfgang Buech
-unavailable-

Anonymous

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 7 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Thu 30 Oct 2003 06:46:33 AM UTCskwashdItem Group0.9.14 RC3=>(Error - Not Found)
  StatusNone=>(Error - Not Found)
  Assigned tojarg=>NA
  Open/ClosedOpen=>(Error - Not Found)
Wed 29 Oct 2003 09:31:00 PM UTCpooh_Assigned toInvalid User ID=>NA
Sun 10 Nov 2002 10:16:57 PM UTCskwashdAssigned toseek3r=>NA
Thu 12 Sep 2002 08:12:59 AM UTCskwashdAssigned toInvalid User ID=>NA

Back to the top


Powered by Savane 3.1-cleanup1