[Samba] getent and wbinfo not returning expected results?
Doug Sampson
dougs at dawnsign.com
Fri Sep 16 17:34:28 GMT 2005
> Some commands work but not the way i would expect them to, such as
> "wbinfo -u". This command comes back with a list of users
> from the AD
> but the domain name is not prepended as i would expect with the
> domain separator value between the domain name and the username.
>
> "wbinfo -g" is exactly the same, it comes back with a list of AD
> groups but the domain is not prepended, what would cause this
> behavior?
>
> Here is the global section of my smb.conf, maybe i am missing
> something that will be obvious to users on this list.
>
> > [global]
> > workgroup = domain
> > netbios name = mps1intmx01
> > server string = SMB %v for domain.com
> > security = ADS
> > encrypt passwords = Yes
> > template shell = /bin/bash
> > realm = DOMAIN.COM
> >
> > # Winbind settings
> > idmap backend = idmap_rid:DOMAIN=500-5000
> > idmap uid = 500-1000
> > idmap gid = 500-1000
> > winbind separator = /
> > winbind enum users = Yes
> > winbind enum groups = Yes
> > winbind use default domain = Yes
> > winbind nested groups = Yes
> > allow trusted domains = No
> >
> > preferred master = No
> > local master = No
> > wins server = msp1intmx02.domain.com
> >
> > log level = 10
Remove 'winbind use default domain = Yes' from smb.conf and you'll see the
domain name prepended to the output from 'wbinfo -u' & 'wbinfo -g' commands.
~Doug
More information about the samba
mailing list