[Fwd: CVS update: samba/source/registry]

Bradley W. Langhorst brad at langhorst.com
Sat Aug 10 04:57:32 GMT 2002


dunno what's up with samba-technical today...

I've got it working now.

(can't get a diff since cvs.samba.org is down just now)

probably this is the wrong fix but it does work.
line 790 of groupdb/mapping.c
		/* list only the type or everything if UNKNOWN */
		if (sid_name_use!=SID_NAME_UNKNOWN && 
		    sid_name_use!=map.sid_name_use &&
		    map.sid_name_use!=SID_NAME_UNKNOWN) {


the right fix is probably in the reading or writing to the tdb

here is my debug log
  enum_group_mapping: group power_users is not of the requested type
[2002/08/09 13:38:24, 11] groupdb/mapping.c:enum_group_mapping(792)
  sid_name_use: 2
[2002/08/09 13:38:24, 11] groupdb/mapping.c:enum_group_mapping(793)
  map.sid_name_use = 8
[2002/08/09 13:38:24, 11] groupdb/mapping.c:enum_group_mapping(791)
  enum_group_mapping: group Domain Admins is not of the requested type
[2002/08/09 13:38:24, 11] groupdb/mapping.c:enum_group_mapping(792)
  sid_name_use: 2
[2002/08/09 13:38:24, 11] groupdb/mapping.c:enum_group_mapping(793)
  map.sid_name_use = 8
[2002/08/09 13:38:24, 11] groupdb/mapping.c:enum_group_mapping(799)
  enum_group_mapping: group Domain Guests is non mapped
[2002/08/09 13:38:24, 11] groupdb/mapping.c:enum_group_mapping(791)
  enum_group_mapping: group Account Operators is not of the requested
type
[2002/08/09 13:38:24, 11] groupdb/mapping.c:enum_group_mapping(792)
  sid_name_use: 2

note that my mapped groups are of type 8 (SID_NAME_UNKNOWN)
and the Domain Guest group (which is not mapped)
is type 2

i'll be looking in smbgroupedit for the bug (maybe you or somebody else
will find it first though)

brad




More information about the samba-technical mailing list