[Samba] Matching Group ID Numbers With Names

Kevin Bramblett kbramblett at dssresearch.com
Thu Sep 2 19:26:50 GMT 2004


I am having difficulties figuring out which group has permissions on
directories that I have within a directory.  For example, at the command
line, I use "ls -l" (without the quotes, of course) to get the following
display:

drwxrwx--- 3 MIS+psch MIS+Carb 4096 Sep  2 11:10 MyFolder
Drwxr-xr-x 3 MIS+dzoo MIS+Carb 4096 May 21  2003 ThatFolder

As you can see, MIS+Carb is all I can see, but the name of the two groups is
Carbon_Mine and Carbon_Yours.  When I do the command "ls -ln" (without
quotes), I get 10000 and 10071 as the IDs.

Is there a file somewhere that I can open and read or a command I can type
in that will show me which ID gets matched to which name?  I am running an
older Samba version, (2.2.7a I think it currently is).  Here is the excerpt
from the smb.conf file:

#	separate domain and username with a '+', like DOMAIN+username
	winbind separator = +
#	use uids from 10000 to 20000 for domain users
	winbind uid = 10000-20000
#	use gids from 10000 to 20000 for domain groups
	winbind gid = 10000-20000
#	allow enumeration of winbind users and groups
	winbind enum users = yes
	winbind enum groups = yes

Thanks for your assistance!

Kevin Bramblett



More information about the samba mailing list