[Samba] Linux Workstation x SMB4 DC

Rowland Penny rowlandpenny241155 at gmail.com
Wed Aug 5 14:45:33 UTC 2015


On 05/08/15 15:36, Jefferson B. Limeira wrote:
> An example of how slow is...
>
> [root at CTA1PAPAN001645 ~]# time id teste
> uid=16777232(teste) gid=16777216(domain users) grupos=16777216(domain 
> users),16777220(operacao),16777222(BUILTIN\users)
>
> real    1m15.981s
> user    0m0.005s
> sys    0m0.007s
>
> According this documentation, if I want use File Sharing without AD 
> modifications only option is Winbind (idmap_rid).
>
> https://access.redhat.com/sites/default/files/attachments/rhel-ad-integration-deployment-guidelines-v1.5.pdf 
>
>
>
> Em 2015-07-31 13:19, John Yocum escreveu:
>> On 07/31/2015 06:22 AM, Jefferson B. Limeira wrote:
>>> What is the best way to authenticate users in SMB4 DC on Linux 
>>> workstation?
>>> I'm using pam_winbind, but sometimes its very slow...
>>>
>>
>> How slow is "very slow"?
>>
>> That said, nslcd with LDAP over SSL works, and it's fast in my
>> experience. You could combine nslcd with Kerberos, which also works very
>> well. Of course both of these methods require you to have unix
>> attributes stored in AD for your users.
>>
>> -- 
>> John Yocum, Systems Administrator, DEOHS
>

You seem to have a serious problem there:

rowland at ThinkPad ~/ $ time id rowland
uid=10000(rowland) gid=10000(domain_users) 
groups=10000(domain_users),24(cdrom),10001(administration),4294967295,10002(domain_admins),4294967295,2001(BUILTIN\users),2000(BUILTIN\administrators)

real    0m0.614s
user    0m0.002s
sys    0m0.003s

Just how many users do you have ?

Can we see your smb.conf ?

This could be a network problem, have you investigated this possibility ?

Rowland



More information about the samba mailing list