[Samba] WinBind Questions

Faulconer, Steven M steven.m.faulconer at lmco.com
Mon Oct 31 18:22:45 GMT 2005


Just as a point of reference. I'm able to show a performance issue with
'ls' pretty regularly. I've had winbindd running for a while and snoop
shows no really data coming from the domain controllers. When I create a
file as a user through Windows without a local account, then go into the
Solaris system and do an 'ls -l' on the file, the UID/GID lookup is
exceedingly slow. I've had one running for about 5 minutes now waiting.
I'm not catching anything specific in snoop for network traffic, and
there is no appreciable disk or cpu usage. The winbindd_cache.tdb is
roughly 15 GB in size (not sure what's 'normal' or 'large'). If I do an
'ls -ln' I see the UID of 15001 and a GID of 15000.

Any advice for speeding the up the lookups of mapped UID and GIDs?

-----Original Message-----
From: samba-bounces+steven.m.faulconer=lmco.com at lists.samba.org
[mailto:samba-bounces+steven.m.faulconer=lmco.com at lists.samba.org] On
Behalf Of Faulconer, Steven M
Sent: Monday, October 31, 2005 10:35 AM
To: samba at lists.samba.org
Subject: [Samba] WinBind Questions


Hello everyone,

I'm working on integrating the latest version of Samba (3.0.20b) into
our environment. I've been able to get the base of Samba working and
tied into our domain thanks to the HOWTO guide. I did have a quick
question though. In my smb.conf, I've got the tag 'winbind use default
domain = Yes' but when I run something like 'wbinfo -u' I see multiple
domains. I'm noticing some performance issues when looking at
permissions on the UNIX side as it translates things through winbind (my
assumption). I was wondering if the extra domains and the lookup
performance are tied together? Once the data is cached, it's very fast,
but that initial lookup may cause some issues for us. I imagine I am
doing something incorrectly, so any guidance would be greatly
appreciated.

My smb.conf file (run through testparm -s):
----------------- Begin -----------------
[global]
        workgroup = <DOMAIN>
        server string = Samba %v on %h
        security = DOMAIN
        password server = <password server ip>
        lanman auth = No
        log level = 1
        log file = /var/log/samba/%m.log
        hostname lookups = Yes
        local master = No
        wins server = <wins server IP>
        idmap uid = 15000-20000
        idmap gid = 15000-20000
        winbind use default domain = Yes
        read only = No
        hosts allow = <network address>
        map archive = No
        mangled names = No
        include = /usr/local/samba/conf/smb.conf_<hostname of server>

[data]
        comment = Data Share
        path = /export/home/data
----------------- End -----------------

Running 'wbinfo -u' I get tons of entries, so an example would be:

<Domain1>/<UserA>
<Domain1>/<UserB>
<Domain1>/<UserC>
<Domain2>/<User1>
<Domain2>/<User2>

Thanks for any advice you can send.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


More information about the samba mailing list