[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-tracker] [bug #14827] Modification of a user within PHPGW
From: |
Armando Ortiz |
Subject: |
[Phpgroupware-tracker] [bug #14827] Modification of a user within PHPGW that is created with smbldap-tools kills LDAP entry |
Date: |
Wed, 19 Oct 2005 16:53:45 +0000 |
User-agent: |
Mozilla/5.0 (compatible; Konqueror/3.4; Linux) KHTML/3.4.0 (like Gecko) |
URL:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=14827>
Summary: Modification of a user within PHPGW that is created
with smbldap-tools kills LDAP entry
Project: phpGroupWare
Submitted by: warpkat
Submitted on: Wed 10/19/05 at 16:53
Category: API - phpGWapi
Item Group: 0.9.16.008
Severity: 3 - Normal
Priority: 7 - High
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Component Version: None
Platform Version: GNU/Linux - SuSE
Reproducibility: Every Time
Planned Release: None
Fixed Release:
_______________________________________________________
Details:
Here is a BEFORE LDIFF dump of a newly created user using the smbldap-tools
from IDEALX:
dn: uid=testuser,ou=Users,dc=test,dc=com
objectClass: top
objectClass: inetOrgPerson
objectClass: posixAccount
objectClass: shadowAccount
objectClass: sambaSamAccount
objectClass: inetLocalMailRecipient
cn: Test User
sn: testuser
uid: testuser
uidNumber: 5167
gidNumber: 513
homeDirectory: /home/testuser
loginShell: /bin/bash
gecos: Test User
description: Test User
structuralObjectClass: inetOrgPerson
entryUUID: b1b96dd6-d50b-1029-988a-f296c74e6d44
creatorsName: cn=Manager,dc=test,dc=com
createTimestamp: 20051019164652Z
sambaLogonTime: 0
sambaLogoffTime: 2147483647
sambaKickoffTime: 2147483647
sambaPwdCanChange: 0
displayName: Test User
sambaSID: S-1-5-21-301874603-235800216-848762693-11334
sambaLogonScript: STARTUP.BAT
sambaProfilePath: \\PDCSRV\profiles\testuser
sambaHomePath: \\PDCSRV\testuser
sambaPrimaryGroupSID: S-1-5-21-301874603-235800216-848762693-513
sambaHomeDrive: H:
mailLocalAddress: testuser
mail: address@hidden
sambaLMPassword: 0F20048EFC645D0A944E2DF489A880E4
sambaAcctFlags: [U]
sambaNTPassword: D183983EAEA7BE9959C8F4C198ED0E68
sambaPwdLastSet: 1129740418
sambaPwdMustChange: 1133628418
userPassword:: e1NTSEF9ejlwL1FDOHB1N2xtZ1V4WVNqRVl4TWdKU3JaUWRXVk4=
entryCSN: 20051019164658Z#000002#00#000000
modifiersName: cn=Manager,dc=test,dc=com
modifyTimestamp: 20051019164658Z
Here is the same user, but after he has authenticated with PHPGW using the
LDAP authentication method and storage:
dn: uid=testuser,ou=Users,dc=test,dc=com
loginShell: /bin/bash
structuralObjectClass: inetOrgPerson
entryUUID: b1b96dd6-d50b-1029-988a-f296c74e6d44
creatorsName: cn=Manager,dc=test,dc=com
createTimestamp: 20051019164652Z
objectClass: top
objectClass: inetOrgPerson
objectClass: posixAccount
objectClass: shadowAccount
objectClass: sambaSamAccount
objectClass: inetLocalMailRecipient
objectClass: phpgwAccount
phpgwAccountID: 6173
phpgwAccountExpires: -1
phpgwAccountStatus: A
cn: New User
uidNumber: 6173
uid: testuser
description: phpgw-created account
givenName: New
sn: User
userPassword:: e2NyeXB0fSQxJE5adnlwaGhFJFM4ZGNZMTNuOTBZTzdyVEFUTjJ2aC8=
homeDirectory: /home/testuser
gidNumber: 6173
gecos: Test User
sambaLogonTime: 0
sambaLogoffTime: 2147483647
sambaKickoffTime: 2147483647
sambaPwdCanChange: 0
displayName: Test User
sambaSID: S-1-5-21-301874603-235800216-848762693-11334
sambaLogonScript: STARTUP.BAT
sambaProfilePath: \\PDCSRV\profiles\testuser
sambaHomePath: \\PDCSRV\testuser
sambaPrimaryGroupSID: S-1-5-21-301874603-235800216-848762693-513
sambaHomeDrive: H:
mailLocalAddress: testuser
mail: address@hidden
sambaLMPassword: 0F20048EFC645D0A944E2DF489A880E4
sambaAcctFlags: [U]
sambaNTPassword: D183983EAEA7BE9959C8F4C198ED0E68
sambaPwdLastSet: 1129740418
sambaPwdMustChange: 1133628418
phpgwLastLogin: 1129740743
phpgwLastLoginFrom: 127.0.0.1
entryCSN: 20051019164811Z#000002#00#000000
modifiersName: cn=Manager,dc=test,dc=com
modifyTimestamp: 20051019164811Z
If I go into PHPGW as the administrator and try to EDIT this user through the
User Accounts Administration tool, this is what I end up with:
Warning: ldap_add(): Add: Object class violation in
/home/aortiz/public_html/phpgroupware/phpgwapi/inc/class.accounts_ldap.inc.php
on line 1001
ldap_add FAILED: [65] Object class violation
Adds: uid=testuser,ou=Users,dc=test,dc=com
Array
(
[objectclass] => Array
(
[0] => phpgwAccount
[1] => phpgwContact
[2] => posixAccount
[3] => account
)
[phpgwaccountid] => 6173
[phpgwaccountexpires] => -1
[phpgwaccountstatus] => A
[phpgwcontactid] => 13
[cn] => New User
[uidnumber] => 6173
[uid] => testuser
[description] => phpgw-created account
[givenname] => New
[sn] => User
[homedirectory] => /home/testuser
[gidnumber] => 6173
[gecos] => Array
(
[0] => Test User
)
[sambalogontime] => Array
(
[0] => 0
)
[sambalogofftime] => Array
(
[0] => 2147483647
)
[sambakickofftime] => Array
(
[0] => 2147483647
)
[sambapwdcanchange] => Array
(
[0] => 0
)
[displayname] => Array
(
[0] => Test User
)
[sambasid] => Array
(
[0] => S-1-5-21-301874603-235800216-848762693-11334
)
[sambalogonscript] => Array
(
[0] => STARTUP.BAT
)
[sambaprofilepath] => Array
(
[0] => \\PDCSRV\profiles\testuser
)
[sambahomepath] => Array
(
[0] => \\PDCSRV\testuser
)
[sambaprimarygroupsid] => Array
(
[0] => S-1-5-21-301874603-235800216-848762693-513
)
[sambahomedrive] => Array
(
[0] => H:
)
[maillocaladdress] => Array
(
[0] => testuser
)
[mail] => Array
(
[0] => address@hidden
)
[sambalmpassword] => Array
(
[0] => 0F20048EFC645D0A944E2DF489A880E4
)
[sambaacctflags] => Array
(
[0] => [U]
)
[sambantpassword] => Array
(
[0] => D183983EAEA7BE9959C8F4C198ED0E68
)
[sambapwdlastset] => Array
(
[0] => 1129740418
)
[sambapwdmustchange] => Array
(
[0] => 1133628418
)
[loginshell] => /bin/bash
[userpassword] => {crypt}$1$NZvyphhE$S8dcY13n90YO7rTATN2vh/
[phpgwlastlogin] => 1129740743
[phpgwlastloginfrom] => 127.0.0.1
)
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=14827>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Phpgroupware-tracker] [bug #14827] Modification of a user within PHPGW that is created with smbldap-tools kills LDAP entry,
Armando Ortiz <=