Solved

Winbind on Ubuntu won't populate UID GIDs...

Posted on 2014-02-25
3
409 Views
Last Modified: 2014-02-26
I am running Ubuntu 12.04.4 LTS and Samba 3.6.18

So, I can poll winbind entries when I run wbinfo -u. However, getent passwd gets nothing but local users. Here's my smb.conf file:


[global]
        allow trusted domains = Yes
        disable spoolss = yes
        dns proxy = No
        encrypt passwords = Yes
        idmap backend = rid:SOMEDOMAIN=10000-20000
        idmap gid = 10000-20000
        idmap uid = 10000-20000
        load printers = No
        log level = 0
        map to guest = Never
        max log size = 50
        os level = 10
        password server = SOMEIPADDRESS
        realm = SOMEDOMAIN.LOCAL
        security = ads
        socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=65536 SO_SNDBUF=65536
        stat cache = No
        unix charset = UTF8
        winbind cache time = 300
        winbind enum groups = Yes
        winbind enum users = Yes
        winbind gid = 10000-20000
        winbind nested groups = Yes
        winbind uid = 10000-20000
        winbind use default domain = No
        workgroup = SOMEDOMAIN
    log file = /var/log/samba/log.%m
        max log size = 1000
        syslog = 0
    encrypt passwords = true
        printing = cups
        printcap name = cups

Here's my nss_switch.conf



passwd:         compat winbind
group:          compat winbind
shadow:         compat winbind

hosts:  files mdns4_minimal [NOTFOUND=return] dns mdns4
networks:       files


protocols:      db files
services:       db files
ethers:         db files
rpc:            db files


netgroup:       nis

Poking around, I can't seem to find nss_winbind.so.1 or nss_winbind.so anywhere. Isn't this file needed?

If I run find / -name *nss_winbind* I get the following:


/usr/share/doc/samba-doc/examples/nss/nss_winbind.h
/usr/share/doc/samba-doc/examples/nss/nss_winbind.c.gz

Can someone help me out? Maybe this nss_winbind.so.1 thing is a dead end, but I have not been able to find anything else and this is the second installation of Samba I've tried. Any ideas?
0
Comment
Question by:medium_grade
  • 2
3 Comments
 
LVL 20

Expert Comment

by:Daniel McAllister
Comment Utility
It appears to me that you may have some of the standard (samba-common) elements for winbind, but not the actual samba-winbind package (that is what provides the winbind.so libraries)

I use CentOS, so I don't know how your BASE REPO will list it -- but something like:
   sudo apt-get install samba-winbind
should do the trick.

Post back if you have errors -- I know Ubuntu, I just don't have an install handy to test command syntax for...

Dan
IT4SOHO
0
 

Author Comment

by:medium_grade
Comment Utility
Baaa! Resolved. Apparently I needed to install the Winbind NSS library separately:
 
sudo apt-get install libnss-winbind

Thanks for the attention!
0
 
LVL 20

Accepted Solution

by:
Daniel McAllister earned 500 total points
Comment Utility
Glad to have pointed you into the right direction... (In CentOS, the libnss-winbind is not a separate package... guess I should have looked harder into Ubuntu Samba -- then again, you already did!)

Don't forget to close the question.

Dan
IT4SOHO
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now