Respawn of smbd

sanalkumar.siva at wipro.com sanalkumar.siva at wipro.com
Thu Jul 13 15:54:40 GMT 2006


Hi,

    We are using Samba (Tried with both 3.0.22 and 3.0.23) in a Linux
Server and two XP machines are connected to the same.

    Some stuff (like Printer Cancel) is not working from one XP (say
PC1) and it is working from the other machine (say PC2).

    From the analysis, it is found that smbd child process for PC1 is
getting exited often and another process for the same PC is getting
created. It is working fine in PC2

    Following is the code flow of smbd exit :-

        smbd_process( )  -- This function exits as the failure from
receive_message_or_smb()
           |-> receive_message_or_smb()
--  Returns False
                |->  receive_smb()
-- Returns False
                     |-> receive_smb_raw()
-- Returns False
                          |-> read_smb_length_return_keepalive()     --
Returns  -1 
                               |-> read_data()
-- Returns 0
                                    |-> sys_read()
-- Returns 0 (EOF of fd)


    Following is the smbd.conf

    [global]
        interfaces = eth0
        netbios name = abcd
        workgroup = ABCD
        server string = Abcd
        guest account = nobody
        guest ok = yes

        printcap name = cups
        load printers = yes
        printing = CUPS

        log file = /var/log/samba/log.%m
        max log size = 50

        security = share
        socket options = TCP_NODELAY

        local master = no
        preferred master = no
        wins support = no
        wins proxy = no
        dns proxy = no
        disable spoolss = yes

        log level = 5

[printers]
        comment = Printers
        path = /var/spool/samba
        public = yes
        use client driver = yes
        writable = no
        printable = yes
        browsable = yes

    It will be helpful, if you provide some information on this issue,


-Sanal


       
                  

   

   



The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments.

WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.

www.wipro.com


More information about the samba-technical mailing list