[Samba] Groups and Samba and Winbind
swrosch at MarketingAssociates.com
Wed Oct 30 18:55:25 GMT 2002
I'm a relative noob to Samba, so I may be off base, but I'll offer what I can.
Unless it's a mis-type, re-type the groups command like this:
Also, I've found that I need to use the domain as well when I'm using wbinfo as you have below. For instance, when I run it, I get this:
[root at linux-38 samba]# wbinfo -r ma_swros
[root at linux-38 samba]#
I'm sure there's a switch though for converting from numbers to names. Also, the -r switch does resolve to UNIX numbers, not names.
Unfortunately, I don't know why groups would be returning the UNIX group number. Mine looks like this:
[MA_swros at linux-38 swros]$ groups
MA_Domain Users MA_mis
[MA_swros at linux-38 swros]$
And, here's my Winbind related portion of smb.conf for comparison:
# Winbind entires.
winbind separator = _
winbind uid = 10000-20000
winbind gid = 10000-20000
winbind enum users = yes
winbind enum groups = yes
template shell = /bin/bash
# Tell Samba that yes, it does need to obey pam restrictions
obey pam restrictions = yes
When I initially got everything up and running, I was using the \ as my separator as well. Unfortunately I had issues with it and changed it to the _. I doubt that has anything to do with it, but it is possible.
Hope my meaningless drivel has helped some, even though I'm really only offering comparisons.
desk 248.333.7700 x227
text 2488067657 at paging.acswireless.com
email swrosch at marketingassociates.com
"Our greatest glory is not in never falling
but in rising every time we fall." -- Confucius
From: Jennifer Fountain [mailto:JFountain at rbinc.com]
Sent: Wednesday, October 30, 2002 1:38 PM
To: samba at lists.samba.org
Subject: [Samba] Groups and Samba and Winbind
I am having an issue with winbind/samba and my groups.
when I type the following:
$ groups ntdomain\\jfountain
I get the following nothing.
When i type this (logged in as jfountain)
I get the following:
I am assuming this means domain admins.
when i type
$./wbinfo -r jfountain
I get the following:
I don't know where the disconnect is in winbind. why iam not getting my
group listing instead of numbers
wbinfo -g gets all the groups with no problem.
here is my smb.conf
workgroup = ntdomain
netbios name = samba
server string = SAMBA
interfaces = lan4 127.0.0.1
bind interfaces only = Yes
security = DOMAIN
encrypt passwords = Yes
password server = server1
username map = /etc/smbusers
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
preferred master = False
local master = No
domain master = False
wins server = 22.214.171.124
winbind uid = 40000-49999
winbind gid = 50000-59999
template shell = /usr/bin/ksh
winbind separator = \
winbind cache time = 15
winbind enum users = Yes
winbind enum groups = Yes
winbind use default domain = Yes
passwd: files winbind
groups: files winbind
Any thoughts, ideas? what did i not do?
To unsubscribe from this list go to the following URL and read the
More information about the samba