Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Guys I got issue with UID mapping from my AD.

I got Centos 5.5 x64 box and AD witk 2k8 Windows Server.

The problem is with username mapping. Example:

getent passwd XF-DEV+prouser01:*:16777231:16777230:Prouserf Prousern:/home/prouser01:/bin/bash

My smb.conf is

    log file = /var/log/samba/log.%m
    log level = 1
    workgroup = XF-DEV
    password server = xf-dev
    realm = XF-DEV
    security = DOMAIN
    wins server  =
    idmap uid = 16777216-33554431
    idmap gid = 16777216-33554431
    winbind enum users = yes
    winbind enum groups = yes
    winbind separator = +
    template shell = /bin/bash
    winbind use default domain = no
    winbind enum users = yes
    winbind enum groups = yes
    template homedir = /home/%U
    domain master = no
    local master = yes
    preferred master = no
    dns proxy = no

Is it possible that I will be albe to do su - prouser01 instead of su - XF-DEV+prouser01 ?

Output from wbinfo -u and wbinfo -g is the same (by that I mean with domain in the front`.

share|improve this question
up vote 0 down vote accepted

The fix was with changing winbind use default domain = no to winbind use default domain = yes

prouser01:*:16777231:16777230:Prouserf Prousern:/home/prouser01:/bin/bash

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.