bugphpGroupWare - Bugs: bug #2255, setup in begining w/ldap uses...

 
 

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

bug #2255: setup in begining w/ldap uses posixAccount which needs homedirectory set upon submit to ldap server.

Submitter:  Invalid User ID <#14922>
Submitted:  Sun 19 Jan 2003 11:06:20 PM UTC
   
 
Category:  API - phpGroupware API Item Group:  0.9.14.001 release
Severity:  3 - Normal Priority:  5 - Normal
Status:  None Privacy:  Public
Assigned to:  fipsfuchs Open/Closed:  Closed
Component Version:  TGZ Operating System:  Other
Reproducibility:  Every Time Planned Release:  None
Fixed Release: 

Thu 22 Apr 2004 08:42:20 AM UTC, comment #3: 

we changed the ldap backend totally. If you still expire these problems please reopen this bug.

Philipp Kamps <fipsfuchs>
Thu 22 Apr 2004 08:42:02 AM UTC, comment #2: 

we changed the ldap backend totally. If you still expire these problems please reopen this bug.

Philipp Kamps <fipsfuchs>
Thu 23 Oct 2003 09:34:09 PM UTC, comment #1: 

Is this still a problem?

Hsing-Foo Wang <pooh_>
Sun 19 Jan 2003 11:06:20 PM UTC, original submission:  

I have been wrestling with this for a few days trying to figure out why it dosen't work right.  What I found was :

During the setup if you specify to not use ldap_extra_attributes.  The demo still sets up posixAccount in ldap,  and since the extra attrib is off it bombs on submition to the ldap server.  See below

mail inc # ldapadd -h 127.0.0.1 -D "cn=root,dc=example,dc=com" -w " :) "
dn: uid=demo,ou=phpgwuser,dc=example,dc=com
userpassword: {crypt} :)
phpgwaccounttype: u
phpgwaccountexpires: -1
cn: Demo Account
sn: Account
givenname: Demo
uidnumber: 29
gidnumber: 29
objectClass: top
objectClass: person
objectClass: inetOrgPerson
objectClass: posixAccount
objectClass: phpgwAccount
adding new entry "uid=demo,ou=phpgwuser,dc=example,dc=com"
ldap_add: Object class violation
        additional info: object class 'posixAccount' requires attribute '"homedirectory'

ldif_record() = 65
mail inc #

also it dosen't consider the values you entered for the range of uidnumber to use.  I put to use between 1000 and 10000. it started at 1 and went up from there, you can see that I did quite alot of testing to get to 29 :)

BTW: I am trying this on a Gentoo Linux 1.4 box. 

Invalid User ID <#14922>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

 

Follow 4 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2004-04-22 fipsfuchs Open/ClosedOpen Closed
2004-04-21 cboettger Assigned toNone fipsfuchs
2003-10-23 pooh_ Assigned to#934 None
2003-01-23 skwashd Assigned toNone None

Back to the top

Powered by Savane 3.13-aa77.
Corresponding source code