[Samba] Couldn't find group @XXXX although group exists 3.01014

Stefan Sabolowitsch Stefan.Sabolowitsch at feltengmbh.de
Sat May 28 11:53:40 GMT 2005


Hi List,

Have here an interesting problem which i do not understand.

OS = RHEL 4 Clone
Samba = 3.01014

Although there are the groups, Samba announces the following error message.

Couldn't find group @XXXX

That happens with all later generated groups.
Are there here possibly problems with GID?

Does someone have an idea?

Thanks for each assistance

Stefan

Smbd.log

[2005/05/28 12:28:22, 10] lib/util.c:dump_data(1999)
  [000] 00 5C 00 5C 00 53 00 44  00 41 00 30 00 30 00 32  .\.\.S.D .A.0.0.2
  [010] 00 5C 00 48 00 4F 00 4D  00 45 00 00 00 3F 3F 3F  .\.H.O.M .E...???
  [020] 3F 3F 00                                          ??. 
[2005/05/28 12:28:22, 3] smbd/process.c:switch_message(886)
  switch message SMBtconX (pid 4984) conn 0x0
[2005/05/28 12:28:22, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2005/05/28 12:28:22, 5] auth/auth_util.c:debug_nt_user_token(486)
  NT user token: (NULL)
[2005/05/28 12:28:22, 5] auth/auth_util.c:debug_unix_user_token(505)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2005/05/28 12:28:22, 5] smbd/uid.c:change_to_root_user(296)
  change_to_root_user: now uid=(0,0) gid=(0,0)
[2005/05/28 12:28:22, 4] smbd/reply.c:reply_tcon_and_X(408)
  Client requested device type [?????] for share [HOME]
[2005/05/28 12:28:22, 5] smbd/service.c:make_connection(813)
  making a connection to 'normal' service home
[2005/05/28 12:28:22, 10] lib/username.c:user_in_list(529)
  user_in_list: checking user stefans in list
[2005/05/28 12:28:22, 10] lib/username.c:user_in_list(533)
  user_in_list: checking user |stefans| against |@smbusers|
[2005/05/28 12:28:22, 5] lib/username.c:user_in_netgroup_list(315)
  Unable to get default yp domain
[2005/05/28 12:28:22, 5] lib/username.c:Get_Pwnam(293)
  Finding user stefans
[2005/05/28 12:28:22, 5] lib/username.c:Get_Pwnam_internals(223)
  Trying _Get_Pwnam(), username as lowercase is stefans
[2005/05/28 12:28:22, 5] lib/username.c:Get_Pwnam_internals(251)
  Get_Pwnam_internals did find user [stefans]!
[2005/05/28 12:28:22, 1] smbd/service.c:make_connection_snum(459)
  Couldn't find group @smbusers
[2005/05/28 12:28:22, 3] smbd/error.c:error_packet(129)
  error packet at smbd/reply.c(416) cmd=117 (SMBtconX)
NT_STATUS_NO_SUCH_GROUP

the group File:

administrator:x:537:
smbusers:x:538:

Administrator works, however starting from smbusers group gives it these
problems.

Smb.conf

[global]
	log file = /var/log/samba/smbd.log
	name resolve order = wins lmhosts bcast
	ldap ssl = no
	socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
	admin users = stefans, administrator, backup
	wins server = 192.168.0.46
	map to guest = Bad User
	interfaces = 192.168.0.48/255.255.255.0
	dns proxy = No
	cups options = raw
	server string = SDA002-Linux-Fileserver
	password server = 192.168.0.46
	local master = No
	workgroup = DACSYS1
	os level = 32
	add user script = /usr/sbin/useradd %u -g smbusers
	security = DOMAIN
	delete user script = /usr/sbin/userdel %u
	log level = 1




More information about the samba mailing list