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
Kevin Bramblett wrote:> 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?/etc/group happen to have what you are looking for? -- Michael Lueck Lueck Data Systems Remove the upper case letters NOSPAM to contact me directly.
Michael Lueck wrote:> Kevin Bramblett wrote: > >> 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? > > > /etc/group happen to have what you are looking for?Or since this data is coming from winbind... if you have /etc/nsswitch configured with groups: files winbind try getent group -- Paul Gienger Office: 701-281-1884 Applied Engineering Inc. Information Systems Consultant Fax: 701-281-1322 URL: www.ae-solutions.com mailto: pgienger@ae-solutions.com
On Thu, 02 Sep 2004 14:44:29 -0500, Paul Gienger wrote:>Or since this data is coming from winbind...Yes I had considered that, but the assumed that the Linux OS itself still needed standard group info for the file system, thus assumed that /etc/group is maintained / synced by the winbind process. Michael Lueck Lueck Data Systems http://www.lueckdatasystems.com/
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1>>Or since this data is coming from winbind...>Yes I had considered that, but the assumed that the Linux OS itself still >needed standard group info for the file system, thus assumed that /etc/group is >maintained / synced by the winbind process.The GIDs are not standard OS groups. Winbind does not touch /etc/group, its simliar to using an LDAP backend. The OS will resolve from whatever is in /etc/nsswitch. Cheers - ------------- Kristyan Osborne - IT Technician Longhill High School 01273 391672 / 304086 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (MingW32) iD8DBQFBN34sqrr+KdRYU5gRAvNhAKDI+0shdN3MCxC0O6UXY6uTc542lACgtgiU MvxBB4nt9KgS9oL4BejMifk=G9M2 -----END PGP SIGNATURE-----