NSS LDAP and z/Linux

View: New views
2 Messages — Rating Filter:   Alert me  

NSS LDAP and z/Linux

by EquinnoxX :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Greetings,

I've been trying to figure this out and this looks like the place for help.

We're trying to get NSS setup talking to an LDAP server running on z/OS (390 hardware). The Linux image we are using is SLES 9. For some reason for a user to logon, I still need them to have an entry in the local /etc/passwd file.

In /var/log/messages:

For users defined in /etc/passwd I get:
nss_ldap: could not search LDAP server - Server is unwilling to perform

For users not defined in there (but defined in LDAP) i get a
error trying to bind as user "racfid=<userID>,profiletype=USER,ou=racfz" (Invalid credentials)

/etc/nss_ldap.conf is symlinked to ldap.conf.
/etc/nsswitch.conf is below:

passwd: ldap compat
shadow: ldap compat
group:  ldap compat

passwd: compat
group:  compat

There doesn't seem to be a whole lot of info on z/VM/Linux so I'm wondering if I am missing something??
Any help is appreciated.  

<insert non-denominational holiday greeting here>!

Re: NSS LDAP and z/Linux

by Alex Samad :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Fri, Dec 21, 2007 at 07:44:34AM -0800, EquinnoxX wrote:

>
> Greetings,
>
> I've been trying to figure this out and this looks like the place for help.
>
> We're trying to get NSS setup talking to an LDAP server running on z/OS (390
> hardware). The Linux image we are using is SLES 9. For some reason for a
> user to logon, I still need them to have an entry in the local /etc/passwd
> file.
>
> In /var/log/messages:
>
> For users defined in /etc/passwd I get:
> nss_ldap: could not search LDAP server - Server is unwilling to perform
>
> For users not defined in there (but defined in LDAP) i get a
> error trying to bind as user "racfid=<userID>,profiletype=USER,ou=racfz"
> (Invalid credentials)
sounds like your authentication methods don;t match up

try a ldapsearch -x -D "racfid=<userID>,profiletype=USER,ou=racfz" from the
linux box and see if you can log in

>
> /etc/nss_ldap.conf is symlinked to ldap.conf.
> /etc/nsswitch.conf is below:
>
> passwd: ldap compat
> shadow: ldap compat
> group:  ldap compat
>
> passwd: compat
> group:  compat
>
> There doesn't seem to be a whole lot of info on z/VM/Linux so I'm wondering
> if I am missing something??
> Any help is appreciated.  
>
> <insert non-denominational holiday greeting here>!
> --
> View this message in context: http://www.nabble.com/NSS-LDAP-and-z-Linux-tp14445790p14445790.html
> Sent from the NSS LDAP mailing list archive at Nabble.com.
>
>


signature.asc (196 bytes) Download Attachment