Smb.conf Sample is not working

MCCALL,DON (HP-USA,ex1) don_mccall at hp.com
Mon Sep 17 07:22:03 GMT 2001


Hi Sandeep,
what it's telling you is it is trying to attach as the guest account
(which by default is the unix user 'nobody') and failing.  This is because
the uid for 'nobody' is -1 (65535) and samba does not handle negative
uid/gid's,
and panics.
Add the line in your smb.conf file:

guest account = somevaliduser

where somevaliduser is a guest user with little prividleges on the system.

Hope this helps,
Don


-----Original Message-----
From: Sandeep.A..S (ESG) [mailto:sandeepas at ctd.hcltech.com]
Sent: Saturday, September 15, 2001 4:45 AM
To: Samba (E-mail)
Subject: Smb.conf Sample is not working 


  

Hi all

            Pl give me solution for this 

   
            I am running samba2.2.1.a (latest from samba.org) on a DG/UX
machine 

           and my smb.conf file is   as shown below 


           [global]
             netbios name = shark
             workgroup = SIMPLE
              encrypt passwords = yes
           [test]
             path = /export/samba/test
             read only = no
             guest ok = yes

            
          But when i am running  smbclient -U%  -L localhost 

 
          it is giving the following out put ......


  
           added interface ip=192.168.1.33 bcast=192.168.1.63
nmask=255.255.255.192
Domain=[SIMPLE] OS=[Unix] Server=[Samba 2.2.1a]
read_socket_with_timeout: timeout read. read error = Connection reset by
peer.
tree connect failed: code 0

      And in the log.smbd 

         it is giving the following o/p:
          
[ 2001/09/15 03:27:26, 0] smbd/sec_ctx.c:initialise_groups(231)
  Unable to initgroups. Error was Invalid argument
[2001/09/15 03:27:26, 0] smbd/sec_ctx.c:initialise_groups(234)
  This is probably a problem with the account nobody
[2001/09/15 03:27:26, 0] smbd/sec_ctx.c:initialise_groups(231)
  Unable to initgroups. Error was Invalid argument
[2001/09/15 03:27:26, 0] smbd/sec_ctx.c:initialise_groups(234)
  This is probably a problem with the account nobody
[2001/09/15 03:27:26, 0] lib/util_sec.c:assert_gid(97)
  Failed to set gid privileges to (-1,65534) now set to (0,0) uid=(0,0)
[2001/09/15 03:27:26, 0] lib/util.c:smb_panic(1101)
  PANIC: failed to set gid
           
         What would be the problem ?
    
       
           Pl give me the reply 

       Thanks in Advance 
 
         Sandeep .A.S  
       
                  
           


***********************************************************
 Systems Administrator 
 IV th Floor, Greams Road Office 
  HCL Technologies Ltd 
  Ph :8293298- 2431
< email : sandeepas at ctd.hctech.com>
***********************************************************


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba




More information about the samba mailing list