[Samba] CentOS Samba as Domain Member
Bjoern.Becker at easycash.de
Bjoern.Becker at easycash.de
Fri Feb 14 06:36:34 MST 2014
Hi Louis,
thanks for this hint. It doens't solve the problem.
Mit freundlichen Grüßen / Best regards
Björn
-----Ursprüngliche Nachricht-----
Von: L.P.H. van Belle [mailto:belle at bazuin.nl]
Gesendet: Freitag, 14. Februar 2014 14:07
An: samba at lists.samba.org
Cc: Becker, Björn
Betreff: RE: [Samba] CentOS Samba as Domain Member
im not a centos person,
but this looks like your problem.
http://jamesmcdonald.id.au/it-tips/gnu-linux/getent-passwd-username-on-winbind-enabled-centos-returns-nothing
regards,
louis
>-----Oorspronkelijk bericht-----
>Van: Bjoern.Becker at easycash.de
>[mailto:samba-bounces at lists.samba.org] Namens Bjoern.Becker at easycash.de
>Verzonden: vrijdag 14 februari 2014 13:38
>Aan: rowlandpenny at googlemail.com; samba at lists.samba.org
>Onderwerp: Re: [Samba] CentOS Samba as Domain Member
>
>Hi,
>
>yes, I installed it via yum. But the links under /lib were not
>available:
>
>rpm -qa | grep samba
>samba-winbind-clients-3.6.9-167.el6_5.x86_64
>samba-3.6.9-167.el6_5.x86_64
>samba4-libs-4.0.0-60.el6_5.rc4.x86_64
>samba-client-3.6.9-167.el6_5.x86_64
>samba-winbind-3.6.9-167.el6_5.x86_64
>samba-common-3.6.9-167.el6_5.x86_64
>
>Wondering a bit about samba4-libs....
>
>I connecting against a active directory.
>
># smb.conf
>#======================= Global Settings
>=====================================
>
>[global]
>
> workgroup = DOM_RAT
> server string = Samba Server Version %M
> security = ADS
> realm = DOM.DE
> workgroup = DOM_RAT
> winbind separator = +
> winbind enum users = yes
> winbind enum groups = yes
> template homedir = /home/%D/%U
> template shell = /bin/bash
> client use spnego = yes
> client ntlmv2 auth = yes
> encrypt passwords = yes
> winbind use default domain = yes
> restrict anonymous = 2
> domain master = no
> local master = no
> preferred master = no
> os level = 0
> winbind offline logon = no
>
>
>Mit freundlichen Grüßen / Best regards
>Björn
>
>
>-----Ursprüngliche Nachricht-----
>Von: Rowland Penny [mailto:rowlandpenny at googlemail.com]
>Gesendet: Freitag, 14. Februar 2014 13:34
>An: Becker, Björn; samba at lists.samba.org
>Betreff: Re: [Samba] CentOS Samba as Domain Member
>
>On 14/02/14 11:54, Bjoern.Becker at easycash.de wrote:
>> Hello,
>>
>> I use CentOS 6.5 and smbd 3.6.9-167.el6_5.
>>
>> I can successfully execute wbinfo -u and wbinfo -g, but
>getent passwd doesn't work.
>>
>> nsswitch.conf
>> passwd: files winbind
>> shadow: files
>> group: files winbind
>>
>> I read in samba manual I have to link libnss_winbind.so to
>/lib, I did that but it doesn't work anyway:
>>
>> ls -ltr /lib/lib*
>> lrwxrwxrwx. 1 root root 28 14. Feb 12:34 /lib/libnss_winbind.so ->
>> /usr/lib64/libnss_winbind.so lrwxrwxrwx. 1 root root 26 14.
>Feb 12:38
>> /lib/libnss_files.so -> /usr/lib64/libnss_files.so
>lrwxrwxrwx. 1 root
>> root 26 14. Feb 12:40 /lib/libnss_winbind.so.2 ->
>> /lib64/libnss_winbind.so.2
>>
>> Can anyone help me out?
>>
>> Thanks!
>>
>> Mit freundlichen Grüßen / Best regards Björn
>>
>>
>I take it that you are running the machine as I client and installed
>samba 3.6.9 via yum? If so then you shouldn't have to create the links,
>yum should have done it for you.
>
>What is the client connecting to ? and could you please post the
>smb.conf from this client.
>
>Rowland
>--
>To unsubscribe from this list go to the following URL and read the
>instructions: https://lists.samba.org/mailman/options/samba
>
>
More information about the samba
mailing list