[Samba] Not able to display domain users using wbinfo

Avinash Rao avinash.aol at gmail.com
Sun Aug 16 23:37:38 MDT 2009


Hi,

I am using Ubuntu 8.04 Server 64-bit Edition and i have installed
samba as a PDC. Samba version is 3.0.28a and all the required OS
updates are installed.
smb.conf

[global]

    workgroup = abc
    server string = Samba for abc
    log level = 1
    interfaces = eth0
    bind interfaces only = True

    log file = /var/log/samba/log.%m
    max log size = 1000

    domain logons = yes
    os level = 65
    prefered master = yes
    domain master = yes
    local master = yes

    add machine script = /usr/sbin/useradd -s /bin/false -d /home/nobody %u
    dns proxy =No
    hosts allow = 127. 10.10.10.
    wins support = Yes
    passdb backend = tdbsam

    encrypt passwords = true
    ;smb passwd file = /etc/samba/smbpasswd
    security = user
    netbios name = human
    ;username map = /etc/samba/smbusers

[homes]
    comment = Home Dir
    read only = NO
    browseable = NO
    valid users = %S
    path = %H
    directory mask = 0700
    create mask = 0700

[share]
    comment = Common Share
    path = /export
    create mask = 0765
    read only = NO

I am not able to list the domain users using wbinfo command.

avi at human:~$ wbinfo -u
Error looking up domain users

avi at human:~$ wbinfo -g
Error looking up domain groups

avi at human:~$ wbinfo --ping
Ping to winbindd succeeded on fd 3

How do i make this work? Winbindd was installed when i installed samba
using the apt-get command and its running? Samba is working without
any problems, even if i stop winbindd process, samba works. What
exactly is the use of winbind and when do we use it?

Many Thanks
Avinash


More information about the samba mailing list