Click to See Complete Forum and Search --> : Winbind question about wbinfo


Wylan
06-18-2003, 10:58 AM
When I do the wbinfo -g and -u, I get the correct return from my NT 4.0 PDC controlling the Samba box, DOMAIN+(group name) and DOMAIN+(user name). When I do the wbinfo -r (user name), I get an error message saying, could not get group information for (user name). Is the wbinfo -r command supposed to return the groups for a valid user from an NT server or just from another Samba server running as the PDC?

jumpedintothefire
06-18-2003, 02:25 PM
My pdc is NT4.....
You should get a response ie:

[root@mail2 jerry]# wbinfo -r jim
10000
10001
[root@mail2 jerry]# wbinfo -r don
10000
[root@mail2 jerry]#

Are your users in the groups??

When I do a -g -u I don't get the (domain)+ part just the users and groups...

Here is my the windbind part of the smb.conf file
running samba-2.2.7-5.8.0 installed from rpm.

[global]
winbind separator = +
winbind cache time = 10
template shell = /bin/bash
template homedir =/home/%U
winbind uid = 10000-20000
winbind gid = 10000-20000
winbind enum users = yes
winbind enum groups = yes
winbind use default domain = yes
# workgroup = NT-Domain-Name or Workgroup-Name
workgroup = XXXXX

Just a thought, are these users in a "non-stock" group, one that you made up?? Is it a "global group"?

Wylan
06-19-2003, 02:31 PM
Thanks, the "winbind use default domain = yes " fixed the problem. Now I have to figure out permissions. Learning Linux is frustrating and time consuming.

jumpedintothefire
06-19-2003, 07:00 PM
Learning Linux is frustrating and time consuming.

nod.... sigh...... Yes, it can be......

Just wondering what your using winbind with??
I'll using it for pop3/webmail auth.

Wylan
06-24-2003, 01:11 PM
Right now I am just trying to figure out how to make a member server controlled by NT 4.0. Next I am going to try for the Win2k member server using LDAP. I am a Lan Admin for a bank and would just like to have some Linux experience. This is just a test environment. I am trying to talk them into a Linux box to run an SQL based application.