[Date Prev][Date Next] [Chronological] [Thread] [Top]

RE: can attribute have no values?



I dont want them included at all i guess.  I am generating user information from a webmin module to shove into my ldap server.  If the information is left blank in the module, then I dont want it to print the value in the ldif at all.

-- 
Terry Davis
Systems Administrator
BirdDog Solutions, Inc.
(402) 829-6059


Quoting "oberwetter, josh" <joberwetter@grownetwork.com>:

> I'm confused -- are you in fact trying to leave values _blank_ or was Kevin
> right that your question was "whether or not an attribute can have a value
> of NULL but still be present in the object"?
> 
> What client are you using to add entries?
> Do you have an LDIF that you can look at or send to the OpenLDAP list? If
> no, can you turn on debugging? This will probably show what objectclasses
> you are trying to use.
> 
> > -----Original Message-----
> > From: Terry Davis [mailto:tdavis@birddog.com]
> > Sent: Thursday, September 20, 2001 11:51 AM
> > To: oberwetter, josh
> > Cc: openldap-software@openldap.org
> > Subject: RE: can attribute have no values?
> > 
> > 
> > i dont konw what objectclass but they are 'pager' and 'postalAddress'.
> > 
> > -- 
> > Terry Davis
> > Systems Administrator
> > BirdDog Solutions, Inc.
> > (402) 829-6059
> > 
> > 
> > Quoting "oberwetter, josh" <joberwetter@grownetwork.com>:
> > 
> > > What objectclasses are the entries?
> > > You should check each objectclass definition in the schemas. If the
> > > objectclass defines that attribute as a "must", then it is 
> > required and may
> > > _not_ be blank. If the objectclass defines that attribute 
> > as a "may", then
> > > it is optional. (Note that objectclasses "inherit" from their SUP.)
> > > 
> > > For example, the 'country' objectclass requires 'c' and allows
> > > 'searchGuide'
> > > and 'description'.
> > > 
> > > Generally it's my understanding that if you have to fill required
> > > attributes
> > > with dummy data, then you might want to consider using a different
> > > objectclass.
> > > 
> > > > -----Original Message-----
> > > > From: Terry Davis [mailto:tdavis@birddog.com]
> > > > Sent: Thursday, September 20, 2001 10:58 AM
> > > > To: openldap-software@OpenLDAP.org
> > > > Subject: can attribute have no values?
> > > > 
> > > > 
> > > > Hello,
> > > > 
> > > > I am creating entries in my ldap.  Can some attributes be 
> > > > blank?  It is not letting me leave 'pager' blank.
> > > > 
> > > > Should I fill empties with zeros ?
> > > > 
> > > > -- 
> > > > Terry Davis
> > > > Systems Administrator
> > > > BirdDog Solutions, Inc.
> > > > (402) 829-6059
> > > > 
> > > > 
> > > > 
> > > > 
> > > > 
> > > > -------------------------------------------------
> > > > This mail sent through IMP: http://horde.org/imp/
> > > > 
> > > 
> > 
> > 
> > -------------------------------------------------
> > This mail sent through IMP: http://horde.org/imp/
> > 
> 


-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/