Help URGENT : Password for IPC$ and public shares - more info

Michel Applaincourt Michel.Applaincourt at umh.ac.be
Thu Oct 15 06:20:51 GMT 1998


yesterday i saked for help because :
- I set a valid guest account (suid to it permit me to use printer)
- I defined a printer share publicly accessible
- my server is in secutity = user and I need to stay it like that

when trying to access to the server from an account not existing on the
Unix part, Samba asks for a password for IPC$

what is wrong in my configuration?


[global]
...
   printing = bsd                                                                                              
   printcap name = /etc/printcap.smb                                                                           
   load printers = yes                                                                                         
   printer driver file=/home/samba/print/drivers/printers.def                                                  

   guest account = sambaguest                                                                                  
   log file = /var/log/samba-log.%m                                                                            
   username map = /etc/smb.map                                                                                 

   security = user                                                                                             


[testprt]                                                                                                      
   comment = Imprimante PENTAPRT test                                                                          
   path = /var/spool/samba                                                                                     
   browseable = yes                                                                                            
   printable = yes                                                                                             
   public = yes
   writable = no                                                                                               
   print command = /home/samba/print/pentaprt.pl '%U' '%m' '%s'                                                
   printer driver=IBM 4029 LaserPrinter PS39                                                                   
   printer driver location=\\%L\PRINTER$\ibm                                                                   


pentaprt.pl is a script i did to print with accounting, front page
generation, .... and this script works fine


I try a level 3 debug and here is what i get when i try to connect :

10/15/1998 08:07:32 Transaction 1 of length 158                                                                
switch message SMBnegprot (pid 25894)                                                                          
Requested protocol [PC NETWORK PROGRAM 1.0]                                                                    
Requested protocol [MICROSOFT NETWORKS 3.0]                                                                    
Requested protocol [DOS LM1.2X002]                                                                             
Requested protocol [DOS LANMAN2.1]                                                                             
Requested protocol [Windows for Workgroups 3.1a]                                                               
Requested protocol [NT LM 0.12]                                                                                
Selected protocol NT LM 0.12                                                                                   
10/15/1998 08:07:32 Transaction 2 of length 156                                                                
switch message SMBsesssetupX (pid 25894)                                                                       
Domain=[NIMY]  NativeOS=[Windows 4.0] NativeLanMan=[Windows 4.0]                                               
sesssetupX:name=[MICHEL]                                                                                       
Trying username micheL                                                                                         
Trying username micheL                                                                                         
Trying username micheL                                                                                         
Couldn't find user michel                                                                                      
10/15/1998 08:07:32 error packet at line 588 cmd=115 (SMBsesssetupX)
eclass=2 ecode=2                          
error string = Connection refused                                                                              


when adding a line to map michel to existing user in mapping file, all
works perfectly (i have to authentified myself as that user)...

following the logs, it appears that the server never tried to get on guest
account, trying three times the user but not the guest account....


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
    Michel  APPLAINCOURT     | E-mail : michel.applaincourt at umh.ac.be
 Computer Sciences Assistant | Phone  : 32 65 373498 
 Universite de Mons-Hainaut  | Fax    : 32 65 373318

                          [Sad...But True]
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-




More information about the samba mailing list