Solved

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

Posted on 2014-02-25
3
425 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
ID: 39889194
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
ID: 39889430
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
ID: 39889458
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Daily system administration tasks often require administrators to connect remote systems. But allowing these remote systems to accept passwords makes these systems vulnerable to the risk of brute-force password guessing attacks. Furthermore there ar…
Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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.

863 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

27 Experts available now in Live!

Get 1:1 Help Now