Solved

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

Posted on 2014-02-25
3
444 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
wifi not working on Raspberry Pi 3? 2 81
Install Predefined Certificate on Ubunto 4 48
awk file 6 78
RHEL installation problems on HP Proliant DL 360 G6 server 20 69
Over the last ten+ years I have seen Linux configuration tools come and go. In the early days there was the tried-and-true, all-powerful linuxconf that many thought would remain the one and only Linux configuration tool until the end of times. Well,…
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
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.

860 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