Shain Miley | 11 Jan 2011 18:29
Favicon

Disabling SUNWattr_ro and SUNWattr_rw

Hello,
I was wondering if there is any way to disable the SUNWattr_ro and SUNWattr_rw file attributes in OpenSolaris.

I am receiving some permission denied error messages assocaited with SUNWattr_ro on some files.  It has
been suggested that there is a way to disable them, or remove them, etc.  However I have been unable to find
any information about doing so.

Example:
admin <at> server1:/ztank/temp# touch test
admin <at> server1:/ztank/temp# runat test ls -l
total 2
-r--r--r-- 1 root root 84 Jan 11 11:58 SUNWattr_ro
-rw-r--r-- 1 root root 408 Jan 11 11:58 SUNWattr_rw

Thanks in advance,

Shain
--

-- 
This message posted from opensolaris.org
Ashley Nicholls | 28 Jan 2011 18:36

Opensolaris client to OpenLDAP - Not attempting connection when id'ing user

I'm attempting to configure ldap auth on my nexenta core platform 3 system. I've followed the usual steps of
1> Modify nsswitch.conf/nsswitch.ldap
2> ldapclient
3> modify pam.conf

Now this worked fine on another machine with the same operating system but fails on this one.
I can do 'ldaplist passwd' and it shows all the users in my ldap database, but if I do 'id <username>' I get 'no
such user'. When performing an 'id' I get the following messages in my log:

Jan 28 17:29:22 joshua nscd[3587]: [ID 725237 auth.error] nss_ldap: could not search LDAP server - Server
is unavailable
Jan 28 17:34:19 joshua nscd[3587]: [ID 163805 auth.error] nss_ldap: could not connect to any LDAP server
as (null) - Can't contact LDAP server

I've tried tcpdump'ing on port 389 and a connection+data shows up when doing an ldaplist but nothing shows
when attempting to id a user.

Can anyone shed some light on this or advise on how to go about debugging?

Thanks
--

-- 
This message posted from opensolaris.org

Gmane