From: <And...@Be...> - 2004-03-02 08:50:15
|
Hi, What is the DN of the object ? I do not think, that you can clear container objects from the user. Did = you try a plain attribute like sn ? Later, Andreas -----Urspr=FCngliche Nachricht----- Von: rlr...@dc... [mailto:rlr...@dc...]=20 Gesendet: Dienstag, 2. M=E4rz 2004 00:37 An: ope...@li... Cc: Phil Banh Betreff: [Openinteract-help] SPOPS::LDAP _clear not working Hello, I have an SPOPS::LDAP subclass called DCA::User for which the = automatically generated $FIELD_clear() methods do not seem to=20 work. Here is an example (I have overridden as_string from=20 SPOPS to produce LDIF output): perl -MDCA::Users -e 'my $user =3D DCA::User->fetch("rlrevell");=20 $user->_o_clear; print $user->as_string' uid: rlrevell userpassword: {crypt}********** dcanetuserclass: dcanet dcanetaccounttype: pppsh dcanethours: 0 cn: R. Lee Revell sn: Revell givenname: R. Lee mail: rlr...@dc... dcanetpasid: dcanetbillingid: DCAN001 o: DCANet seealso: objectclass: posixAccount objectclass: top objectclass: shadowAccount objectclass: dcanetShellAccount objectclass: person objectclass: organizationalPerson objectclass: radiusProfile objectclass: dcanetDialupAccount objectclass: dcanetAccount objectclass: dcanetPostofficeAccount objectclass: inetOrgPerson uidnumber: 11337 gidnumber: 5000 gecos: R. Lee Revell,DCANet,, homedirectory: /home/rlrevell loginshell: /local/bin/bash shadowlastchange: 11548 shadowmin: 0 shadowmax: 99999 shadowwarning: 7 shadowinactive: shadowexpire: shadowflag: The o: line should be blank, correct? I have also tried this with an SPOPS::DBI subclass; I am also unable to = delete an attribute from an object once I have set it. Lee Revell DCANet ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=3D1356&alloc_id=3D3438&op=3Dclick _______________________________________________ openinteract-help mailing list ope...@li... https://lists.sourceforge.net/lists/listinfo/openinteract-help |