[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

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

Posted on 2014-02-25
3
Medium Priority
?
495 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 21

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 21

Accepted Solution

by:
Daniel McAllister earned 1500 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

Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

Question has a verified solution.

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

How many times have you wanted to quickly do the same thing to a list but found yourself typing it again and again? I first figured out a small time saver with the up arrow to recall the last command but that can only get you so far if you have a bi…
Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
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.
Suggested Courses

649 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