failed to set gid privileges

Haymo Meran e9526813 at stud4.tuwien.ac.at
Sat Jan 22 17:54:02 GMT 2000


Hi !

I got a problem with connection of users at a connection to smbd.
It seems that the authentication is ok and the user accepted and
existing. And for test I just connect to the homes.

I get the following log error.

lib/sec_.c:assert_gid(70)
Failed to set gid priviliges to (-1,100) now set to (0,0) uid (0,0)
lib/util.c:smb_panic(2456)
PANIC: failed to set gid

Does anybody know what that could be ?!
Thank you for helping me!

I add log and config files:

#####################################################
[2000/01/22 12:02:03, 3] smbd/process.c:process_smb(615)
  Transaction 1 of length 168
[2000/01/22 12:02:03, 3] smbd/process.c:switch_message(448)
  switch message SMBnegprot (pid 4497)
[2000/01/22 12:02:03, 3] smbd/negprot.c:reply_negprot(341)
  Requested protocol [PC NETWORK PROGRAM 1.0]
[2000/01/22 12:02:03, 3] smbd/negprot.c:reply_negprot(341)
  Requested protocol [MICROSOFT NETWORKS 1.03]
[2000/01/22 12:02:03, 3] smbd/negprot.c:reply_negprot(341)
  Requested protocol [MICROSOFT NETWORKS 3.0]
[2000/01/22 12:02:03, 3] smbd/negprot.c:reply_negprot(341)
  Requested protocol [LANMAN1.0]
[2000/01/22 12:02:03, 3] smbd/negprot.c:reply_negprot(341)
  Requested protocol [LM1.2X002]
[2000/01/22 12:02:03, 3] smbd/negprot.c:reply_negprot(341)
  Requested protocol [Samba]
[2000/01/22 12:02:03, 3] smbd/negprot.c:reply_negprot(421)
  Selected protocol NT LANMAN 1.0
[2000/01/22 12:02:05, 3] smbd/process.c:process_smb(615)
  Transaction 2 of length 138
[2000/01/22 12:02:05, 3] smbd/process.c:switch_message(448)
  switch message SMBsesssetupX (pid 4497)
[2000/01/22 12:02:05, 3] smbd/reply.c:reply_sesssetup_and_X(789)
  Domain=[DRUIDEN]  NativeOS=[Unix] NativeLanMan=[Samba]
[2000/01/22 12:02:05, 3] smbd/reply.c:reply_sesssetup_and_X(793)
  sesssetupX:name=[HAYMO]
[2000/01/22 12:02:05, 4] smbd/password.c:smb_password_ok(405)
  Checking SMB password for user haymo
[2000/01/22 12:02:05, 4] smbd/password.c:smb_password_ok(432)
  smb_password_ok: Checking NT MD4 password
[2000/01/22 12:02:05, 4] smbd/password.c:smb_password_ok(436)
  NT MD4 password check succeeded
[2000/01/22 12:02:05, 3] param/loadparm.c:lp_add_home(1525)
  adding home directory haymo at /home/haymo
[2000/01/22 12:02:05, 3] smbd/password.c:setup_groups(197)
  haymo is in 1 groups: 100
[2000/01/22 12:02:05, 3] smbd/password.c:register_vuid(275)
  uid 1000 registered to name haymo
[2000/01/22 12:02:05, 3] smbd/password.c:register_vuid(277)
  Clearing default real name
[2000/01/22 12:02:05, 3] smbd/process.c:process_smb(615)
  Transaction 3 of length 69
[2000/01/22 12:02:05, 3] smbd/process.c:switch_message(448)
  switch message SMBtconX (pid 4497)
[2000/01/22 12:02:05, 4] smbd/reply.c:reply_tcon_and_X(312)
  Got device type ?????
[2000/01/22 12:02:05, 3] smbd/password.c:authorise_login(727)
  ACCEPTED: validated uid ok as non-guest
[2000/01/22 12:02:05, 3] smbd/service.c:make_connection(426)
  Connect path is /tmp
[2000/01/22 12:02:05, 0] lib/util_sec.c:assert_gid(70)
  Failed to set gid privileges to (-1,100) now set to (0,0) uid=(0,0)
[2000/01/22 12:02:05, 0] lib/util.c:smb_panic(2456)
  PANIC: failed to set gid

#####################################################
;
; /etc/smb.conf
;
; Sample configuration file for the Samba suite for Debian GNU/Linux
;
; Please see the manual page for smb.conf for detailed description of
; every parameter.
;

[global]
   guest account = nobody
   invalid users = root
   security = user
   workgroup = druiden
   server string = %h server (Samba %v)
   encrypt passwords = yes
   wins support = yes
   os level = 66
   domain master = yes
   local master = yes
   preferred master = yes
   name resolve order = wins bcast host lmhosts
   dns proxy = no
   preserve case = yes
   short preserve case = yes
   unix password sync = false
   passwd program = /usr/bin/passwd %u
   passwd chat = *New\spassword:* %n\n *Re-enter\snew\spassword:* %n\n
*Password\schanged.* .
   max log size = 1000
   interfaces = 192.168.1.1/255.255.255.0
   log level = 4
   lock directory = /var/lock/samba
   log file       = /var/log/smb-mp3.%m
   domain logons  = yes
   logon script   = LOGON.BAT
;   logon path     = \\%L\Profiles\%U


[homes]
   comment = Dein privates Home-Directory
   browseable = no
   read only = no
   writeable = yes
   create mask = 0700
   directory mask = 0700

;[netlogon]
;   comment        = Netzwerk Logon Service
;   path           = /usr/local/share/samba/netlogon
;   guest ok       = yes
;   writeable      = no
;   share modes    = no

;[Profiles]
;   comment        = WinX Profile
;   path           = /usr/local/share/samba/profiles/%U
;   browseable   = no
;   guest ok       = yes

;[ftp]
;   comment        = Ftp Server
;   path           = /home/ftp
;   public         = yes
;   read list      = @users
;   write list     = haymo
;   browseable     = yes
;   create mode    = 0664

;[tmp]
;   comment        = Hier Dateien austauschen! ;-)
;   path           = /var/tmp/samba
;   public         = yes
;   write list     = haymo, lisi, heidi, tanja, christian
;   writeable      = yes
;   browseable     = yes
;   create mode    = 0644




More information about the samba mailing list