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

RE: OpenLDAP and Solris bootparams



RFC2307 is flawed in a number of ways. In this case I suggest you change the
syntax (change the code) to allow arbitrary characters in the "path" part of
the bootParameter.

  -- Howard Chu
  Chief Architect, Symas Corp.       Director, Highland Sun
  http://www.symas.com               http://highlandsun.com/hyc
  Symas: Premier OpenSource Development and Support

> -----Original Message-----
> From: owner-openldap-software@OpenLDAP.org
> [mailto:owner-openldap-software@OpenLDAP.org]On Behalf Of Thomas Nau
> Sent: Wednesday, March 20, 2002 5:29 AM
> To: OpenLDAP-software@OpenLDAP.org
> Subject: OpenLDAP and Solris bootparams
>
>
> Hi all.
> I was trying to replace NIS by LDAP on a Solaris 8 and Solaris 9 box. The
> typical stuff like hosts, groups and users works as expected but I run
> into a problem when it comes to bootparams.
>
> Eg:
> 	dn: cn=testbox,ou=Ethers,o=test-org
> 	objectClass: device
> 	objectClass: bootableDevice
> 	objectClass: ieee802Device
> 	cn: testbox
> 	macAddress: 00:01:02:03:04:05
> 	bootParameter: root=fs:/nfsroot/test
> 	bootParameter: swap=fs:/nfsswap/test
> 	bootParameter: dump=fs:/nfsdump/test
>
> ldapadd/ldapmodify complain about the syntax
>
> 	ldap_modify: Invalid syntax
> 		additional info: bootParameter: value #0 invalid per syntax
>
> which is the first value for 'bootParameter'. Looking into the
> code and checking RFC2307 it
> seems that the syntax definition is too narrow minded: for
> example no '/' is allowed which
> makes it useless for UNIX systems.
>
> Any hints on this?
>
> Thomas
>
> -----------------------------------------------------------------
> PGP fingerprint: B1 EE D2 39 2C 82 26 DA  A5 4D E0 50 35 75 9E ED
> Phone:           +49 731 50 22464
> FAX:             +49 731 50 22471