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

Re: An LDAP authentication howto for Debian?



On Sun, May 20, 2001 at 05:19:27PM +0200, Florian Friesdorf wrote:
| On Sun, Apr 29, 2001 at 04:52:54AM -0700, Simon Tennant wrote:
| > I wrote a howto about 6 months back.  It was tricky setting up but I think
| > I cover most of the potential disaster areas in my howto.
| > 	
| > 	http://www.imaginator.com/~simon/ldap/
| 

[...]

Hi I'm trying to get a 12-node cluster to use LDAP as authentication.
But I have ran into trouble. Importing of the users worked fine now
I'm trying to import the groups using the migration tools from
padl.com. Here is what I get.

$ ldapadd -v -x -D "cn=admin,dc=carambole,dc=com" -W -f group.ldif 
ldap_initialize( <DEFAULT> )
Enter LDAP Password: 
add objectClass:
        posixGroup
        top
add cn:
        root
add userPassword:
        {crypt}x
add gidNumber:
        0
adding new entry "cn=root,ou=Group,dc=carambole,dc=com"
ldap_add: No such object
        matched DN: "dc=carambole, dc=com"

ldif_record() = 32


$ ldapsearch -x -L -b "dc=carambole, dc=com" "(objectClass=posixGroup)"
version: 1

#
# filter: (objectClass=posixGroup)
# requesting: ALL
#

# search result

# numResponses: 1

$ cat group.ldif | head -n 7
dn: cn=root,ou=Group,dc=carambole,dc=com
objectClass: posixGroup
objectClass: top
cn: root
userPassword: {crypt}x
gidNumber: 0


$ grep include /etc/ldap/slapd.conf
include         /etc/ldap/schema/core.schema
include         /etc/ldap/schema/cosine.schema
include         /etc/ldap/schema/nis.schema
include         /etc/ldap/schema/misc.schema
include         /etc/ldap/schema/inetorgperson.schema


How do I add the groups?

-- 
.Fredrik Steen
- http://www.stone.nu -

Attachment: pgp_PBWVwUoaN.pgp
Description: PGP signature


Reply to: