UNSOLVED

ReedG1

updated

13 years ago

R

ReedG1

7 Posts

0

1216

June 8th, 2013 08:00

ldap naming service vdm

I am trying to setup a NFS service inside a VDM.  I am having trouble with the ldap configuration on the physical DM. 

server log:

2013-06-08 11:33:48: LDAP: 3: 2: LDAP Domain Priv.utc not configured for VDM.

2013-06-08 11:33:48: ADMIN: 6: Command succeeded:  ns_ldap add basedn="ou=Priv,dc=utc" server=172.27.34.17:636 sslenabled=y

2013-06-08 11:33:48: LDAP: 4: Only one LDAP server is configured for LDAP domain Priv.utc.

2013-06-08 11:33:48: LDAP: 3: LdapDomain::setMemberUidSyntax: [Priv.utc]: memberUid syntax is IA5String (Posix)

2013-06-08 11:33:48: LDAP: 6: LdapDomain::configure [Priv.utc]: Finished the configuration

2013-06-08 11:33:48: LDAP: 6: LDAP domain:      Priv.utc

2013-06-08 11:33:48: LDAP: 6: State:            Configured - Connected

2013-06-08 11:33:48: LDAP: 6: Schema:           OpenLDAP (Sun-Directory-Server/11.1.1.5.0)

2013-06-08 11:33:48: LDAP: 6: Base dn:          ou=Priv,dc=utc

2013-06-08 11:33:48: LDAP: 6: Bind dn:         

2013-06-08 11:33:48: LDAP: 6: Configuration:    File: ldap.conf - TTL: 1200 s

2013-06-08 11:33:48: LDAP: 6: Global warnings & errors

2013-06-08 11:33:48: LDAP: 6: {

2013-06-08 11:33:48: LDAP: 4: Only one LDAP server is configured for LDAP domain Priv.utc.

2013-06-08 11:33:48: LDAP: 6: }

2013-06-08 11:33:48: LDAP: 6: LDAP server:      172.27.34.17 - Port: 636 - Active

2013-06-08 11:33:48: LDAP: 6:     SSL:          Enabled - Persona: none specified - Cipher suite: default

2013-06-08 11:33:48: LDAP: 6:     Naming ctx:   (baseDn is ticked)

2013-06-08 11:33:48: LDAP: 6:                   [ ] dc=utc

2013-06-08 11:33:48: LDAP: 6:     Containers:   (no [scope] means ignored, unless parent container with sub scope is valid)

2013-06-08 11:33:48: LDAP: 6:         Passwd:   Class: posixAccount - Attributes: uid, uidNumber, gidNumber, userPassword, homeDirectory

2013-06-08 11:33:48: LDAP: 6:                   [one] ou=Pusers,ou=Priv,dc=utc - prefix=uid

2013-06-08 11:33:48: LDAP: 6:         Group:    Class: posixGroup - Attributes: gidNumber, memberUid

2013-06-08 11:33:48: LDAP: 6:                   memberUid syntax is IA5String (Posix)

2013-06-08 11:33:48: LDAP: 6:                   [one] ou=Pgroups,ou=Priv,dc=utc - prefix=cn

2013-06-08 11:33:48: LDAP: 6:         Hosts:    Class: ipHost - Attributes: ipHostNumber

2013-06-08 11:33:48: LDAP: 6:         Netgroup: Class: nisNetgroup - Attributes: nisNetgroupTriple, memberNisNetgroup

2013-06-08 11:33:48: LDAP: 6:     Server warnings & errors

2013-06-08 11:33:48: LDAP: 6:     {

2013-06-08 11:33:48: LDAP: 4: LDAP server 172.27.34.17: No ipHost container found under the given base DN ou=Priv,dc=utc.

2013-06-08 11:33:48: LDAP: 4: LDAP server 172.27.34.17: No nisNetgroup container found under the given base DN ou=Priv,dc=utc.

2013-06-08 11:33:48: LDAP: 4: LDAP server 172.27.34.17: posixAccount container ou=Pusers,ou=Priv,dc=utc: Attribute userPassword is missing, and is required by FTP.

2013-06-08 11:33:48: LDAP: 4: LDAP server 172.27.34.17: No ipHost container configured yet.

2013-06-08 11:33:48: LDAP: 4: LDAP server 172.27.34.17: No nisNetgroup container configured yet.

2013-06-08 11:33:48: LDAP: 6:     }

We use this naming service for our linux servers just fine.  I do not populate the Hosts or the Netgroup currently in the ldap as they are not used for us.

I don't think the LDAP config is setup correctly cause I can not search:

[nasadmin@vnx1cs0 ~]$ server_ldap server_2 -lookup -uid 1000

server_2 :

LdapDomainTest::lookup: Unable to get a LdapDomainClient

Any ideas?

  • DaveSchaf

    15 Posts

    515

    0

    Posted March 8th, 2014 07:00

    Reed,

    If you managed to get this working, I would  very much appreciate some tips..

    We are currently working towards replacing NIS with LDAP and I'm struggling to get it working correctly on a VNX data mover. We are using Sun DS as well.

    Unlike your post, I can successfully query the ldap server from the CLI to get user/group information. However, it doesn't seem to work properly when I actually start working with NFS shares (permissions/file ownership).

    I am assuming I have some issues with the ldap.conf settings - but I am unsure since we have carved off of a test environment to use (there may be other unix/linux config issues in play).

    Any help would be great!

    Thanks,

    Dave