[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Phpgroupware-users] LDAP savy users in the list?

From: Mark Hanze
Subject: Re: [Phpgroupware-users] LDAP savy users in the list?
Date: Sat, 05 Oct 2002 08:49:25 -0400
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0

Just a quick thanks while we look this over :)

Eric Wieling wrote:
Here's a message I sent a while ago.

Date: Thu, 26 Sep 2002 18:37:10 -0500
From: Eric Wieling <address@hidden>
To: address@hidden
Subject: Re: [Phpgroupware-developers] Warning: Variable passed to each() is 
not an
+array or object [path]/ldapmodify.php on line 192

In my case user-group membership is correct according to
rfc2307bis (the ldap migration utilities set this up).
phpGW assumes the the user-group membership is correct according
to rfc2307.  The difference is that rfc2307 specifies group
membership in the memberUid (as userids) and rfc2307bis
specifies group membership in uniqueMember (as a DN).  Therein
is the problem.

Other applications are having the same kinds of problems with
the change between rfc2307 and rfc2307bis. See the following
URLs for more info:

On Fri, Oct 04, 2002 at 09:51:09PM -0400, Mark Hanze wrote:

had a prior post with no response. Getting errors against my existing directory.

Re-post below..

Hi all...

From a command line we can search, add, and modify users in LDAP. From

the phpgw interface i >can only bind a search.

When i try to add, I get...

Warning: LDAP: add operation could not be completed. in /var/www/html/phpgroupware/phpgwapi/inc/ on

line 709

Warning: Cannot add header information - headers already sent by (output

started at

in >/var/www/html/phpgroupware/setup/setup_demo.php on line 217

When I try to Modify an existing LDAP account store for use with

phpGroupWare (for a new >install using LDAP accounts), I select all the users and configure all the rest of the >attributes, I get...

Warning: Variable passed to each() is not an array or object in /var/www/html/phpgroupware/setup/ldapmodify.php on line 192

Warning: Variable passed to each() is not an array or object in /var/www/html/phpgroupware/setup/ldapmodify.php on line 192

Modifications have been completed! Click here to return to setup

Here is what an existing account looks like...

#ldapsearch -x -W -D 'cn=Manager,dc=ourschool,dc=k12,dc=ny,dc=us' -b 'dc=ourschool,dc=k12,dc=ny,dc=us'

# myusername, People, ourschool, k12, ny, us
dn: uid=myusername,ou=People,dc=ourschool,dc=k12,dc=ny,dc=us
uid: myusername
cn: MyFull Name
uidNumber: 1000
homeDirectory: /home/myusername
userPassword:: blahblahblahblah_using_MD5
phpgwAccountStatus: A
objectClass: phpgwContact
objectClass: phpgwAccount
objectClass: posixAccount
objectClass: account
phpgwContactTypeId: fud
phpgwContactCatId: eek
phpgwContactAccess: crap
phpgwContactOwner: 4
phpgwAccountType: u
phpgwAccountExpires: -1
gidNumber: 2
phpgwAccountLastLogin: 1033517008
phpgwAccountLastLoginFrom: my.priv.ip.addr

# search result
search: 2
result: 0 Success

# numResponses: 536
# numEntries: 535

Thanks, Mark

Phpgroupware-users mailing list

Phpgroupware-users mailing list

reply via email to

[Prev in Thread] Current Thread [Next in Thread]