[Samba] winbind caused "ls -l" hang on solaris 8

Bai, Junmin junmin.bai at dha.gov.au
Wed Nov 21 05:24:50 GMT 2007

Thanks for the reply.

By disable nscd on solaris, the problem with "ls -l" hung is fixed.

Now I notice another problem with the samba. I created a directory
"test" in the samba share and was editing a file under
the directory "test" and in the meantime the machine was rebooted. After
the machine is started, the 
whole directory "test" is gone. Anybody know this issue.



-----Original Message-----
From: samba-bounces+junmin.bai=dha.gov.au at lists.samba.org
[mailto:samba-bounces+junmin.bai=dha.gov.au at lists.samba.org] On Behalf
Of samba at piven.org
Sent: Wednesday, 21 November 2007 11:48 AM
To: samba at lists.samba.org
Subject: Re: [Samba] winbind caused "ls -l" hang on solaris 8

Bai, Junmin wrote:
> Thanks for your reply. I understand what you mean. The command 
> ldapsearch works fine and wbinfo -u and wbinfo -g work beautifully.

What do "getent passwd" and "getent group" do?  I bet they hang after 
showing the contents of your /etc files.

> It's openldap on solaris 8. Does it need any special configuration?

I admin a Linux system which authenticates against a W2K AD, and have 
the following NSS-related stuff in my /etc/nsswitch.conf:

nss_map_objectclass     posixAccount user
nss_map_objectclass     shadowAccount user
nss_map_objectclass	uniqueMember member
nss_map_attribute       uid sAMAccountName
nss_map_attribute       homeDirectory unixHomeDirectory
nss_map_attribute       shadowLastChange pwdLastSet
nss_map_objectclass     posixGroup group
nss_map_attribute       cn sAMAccountName

If your /etc/nsswitch.conf is missing these, add 'em and see if they 
make a difference.


To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

Important: This email and any attachments may be confidential and may be privileged.
If the email is not addressed to you please return it to us and destroy any copies you may have.
Unauthorised use of this email and any attachment is prohibited.

Defence Housing Australia will send you correspondence and documents
 by email if you request or if you use email to contact us.
Email is not a secure form of communication and may transmit computer viruses.
We take no responsibility for misdirection, corruption or unauthorised use of email communications
 nor for any damage that may be caused as a result of transmitting or receiving an  email communication.
It is your responsibility to establish your own protection against viruses or other damage. 

This message has been scanned for viruses
and spam by SurfControl RiskFilter - E-mail.

More information about the samba mailing list