[Samba] winbind - wbinfo problem
John Stile
john at stilen.com
Sun Nov 14 11:29:10 MST 2010
You could try to run winbindd manually (winbindd -d 3 -i), and from
another console run 'wbinfo -u', and see if any errors present them
selves in the console where you ran winbindd. First make sure no other
winbind daemon is running, by testing, as root, with: lsof -i tcp -nP |
grep winbind
On Sun, 2010-11-14 at 23:41 +0530, Vivekanandan Nataraj wrote:
> Hi John,
>
>
> Thanks for your reply.
>
>
> I have modified the nsswitch.conf file and smb.conf as per your
> suggestions.
>
>
> Still wbinfo does not list the users... I have rebooted the server
> after modification.
>
>
> and #rm -rf /var/lib/samba/* and restart the services and joined the
> domain again. but no luck..
>
>
> nsswitch.conf
> [
> shadow: files
> passwd: compat winbind
> group: compat winbind
>
>
> hosts: files dns wins
> networks: files dns
>
>
> services: files
> protocols: files
> rpc: files
> ethers: files
> netmasks: files
> netgroup: files nis
> publickey: files
>
>
> bootparams: files
> automount: files nis
> aliases: files
> ]
>
>
> samba
> [
> workgroup = SQUID
> realm = SQUID.BIZ
> security = ADS
> password server = EIS.SQUID.BIZ
> printcap name = cups
> idmap uid = 1000-20000000
> idmap gid = 1000-20000000
> winbind separator = +
> winbind enum users = Yes
> winbind enum groups = Yes
> winbind use default domain = Yes
> winbind nss info = rfc2307
> cups options = raw
> ]
>
>
> Any thing i missed ?
>
>
> Thanks in advance..
>
>
> Regards,
> Vivek
>
> On Sun, Nov 14, 2010 at 10:33 PM, John Stile <john at stilen.com> wrote:
> Does /etc/nsswitch.conf hold winbind?
> Something like this:
> passwd: compat winbind
> group: compat winbind
>
> Also,
> your config doesn't show:
> winbind separator = +
>
> your config doesn't have a fully qualified "password server"
> hostname.
>
>
>
> On Sun, 2010-11-14 at 11:09 +0530, Vivekanandan Nataraj wrote:
> > Hi Guys,
> >
> > I have configured SAMBA with Windows 2003 AD. But "#wbinfo
> -u" and
> > "#wbinfo -g" does not list the users
> >
> > 1. Domain joined successfully.
> >
> > # net rpc testjoin -U Administrator
> > Join to 'DOMAIN' is OK
> >
> > 2. wbinfo -a works ( User authentication )
> >
> > # wbinfo -a 'DOMAIN\user'
> > Enter DOMAIN\user's password:
> > plaintext password authentication succeeded
> > Enter DOMAIN\user's password:
> > challenge/response password authentication succeeded
> >
> > 3. wbinfo -u and wbinfo -g does list nothing
> >
> > # wbinfo -u
> > # wbinfo -g
> >
> > # wbinfo -r 'DOMAIN\user'
> > Could not get groups for user DOMAIN\user
> >
> > SAMBA config : -
> >
> > [global]
> > workgroup = DOMAIN
> > realm = DOMAIN.BIZ
> > security = ADS
> > password server = EIS
> > printcap name = cups
> > idmap uid = 1000-20000000
> > idmap gid = 1000-20000000
> > winbind enum users = Yes
> > winbind enum groups = Yes
> > winbind use default domain = Yes
> > winbind nss info = rfc2307
> > cups options = raw
> >
> > Versions :-
> >
> > # smbd -V
> > Version 3.4.2-1.1.3.1-2229-SUSE-SL11.2
> >
> > # winbindd -V
> > Version 3.4.2-1.1.3.1-2229-SUSE-SL11.2
> >
> > Share your ideas...
> >
> > Regards,
> > Vivek
>
>
>
>
>
More information about the samba
mailing list