phpgroupware-users
[Top][All Lists]
Advanced

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

[Phpgroupware-users] LDAP Errors


From: Mark Hanze
Subject: [Phpgroupware-users] LDAP Errors
Date: Tue, 01 Oct 2002 22:22:18 -0400
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0

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/class.accounts_ldap.inc.php on line 709

Warning: Cannot add header information - headers already sent by (output started at /var/www/html/phpgroupware/phpgwapi/inc/class.accounts_ldap.inc.php:709) 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





reply via email to

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