More on the smbd -D segmentation violation under Solaris7

Matt Ross m.g.ross at herts.ac.uk
Wed Apr 26 07:53:24 GMT 2000


> hi matt,
>
> can you please send version and smb.conf, thx.

The version is the CVS one from 25 April 9:00AM British summer time. My
complete smb.conf is at the end of this document. Running testparm gives:

Load smb config files from /usr/local/samba/lib/smb.conf
Processing section "[homes]"
Processing section "[netlogon]"
Processing section "[printers]"
Processing section "[tmp]"
Processing section "[public]"
Processing section "[cm1600]"
Processing section "[eisis01]"
Processing section "[eisis02]"
Processing section "[eisis03]"
Processing section "[eisis04]"
Loaded services file OK.

Thanks for your help.


> On Tue, 25 Apr 2000, Matt Ross wrote:
>
> > I have run truss on smbd and the interesting snippet follows:
> >
> > $ truss smbd -D -o truss.log
> > $ more truss.log
> > [snip]
> > open64("/usr/local/samba/var/log.smb",
> O_WRONLY|O_APPEND|O_CREAT, 0666) = 4
> > llseek(4, 0, SEEK_END)           = 36434
> > umask(0)             = 022
> > time()                  = 956665625
> > time()                  = 956665625
> > write(4, " [", 1)          = 1
> > write(4, " 2 0 0 0 / 0 4 / 2 5   1".., 19)   = 19
> > write(4, " ,   1", 3)            = 3
> > write(4, " ]  ", 2)           = 2
> > write(4, " s m b d / s e r v e r .".., 13)   = 13
> > write(4, " :", 1)          = 1
> > write(4, " m a i n", 4)          = 4
> > write(4, " ( 6 8 9", 4)          = 4
> > write(4, " )\n", 2)           = 2
> > getuid()             = 0 [0]
> > write(4, "     s m b d   v e r s i".., 34)   = 34
> > getuid()             = 0 [0]
> > write(4, "     C o p y r i g h t  ".., 38)   = 38
> > getuid()             = 0 [0]
> > stat64("/usr/local/samba/var/log.smb", 0xFFBEED90) = 0
> > stat64("/usr/local/samba/lib/smb.conf", 0xFFBEE920) = 0
> > open64("/usr/local/samba/lib/smb.conf", O_RDONLY) = 5
> > fstat64(5, 0xFFBEECB0)           = 0
> > read(5, " #   S a m b a   c o n f".., 2464)  = 2464
> > close(5)             = 0
> > brk(0x00085358)               = 0
> > brk(0x00087358)               = 0
> > brk(0x00087358)               = 0
> > brk(0x00089358)               = 0
> > pipe()                  = 5 [6]
> > fork()                  = 27656
> > close(6)             = 0
> > read(547616, 0xFFBEE418, 1024)         Err#9 EBADF
> >     Incurred fault #6, FLTBOUNDS  %pc = 0xFF1B6364
> >       siginfo: SIGSEGV SEGV_MAPERR addr=0x00000000
> >     Received signal #11, SIGSEGV [caught]
> >       siginfo: SIGSEGV SEGV_MAPERR addr=0x00000000
> > write(4, " = = = = = = = = = = = =".., 64)   = 64
> > getuid()             = 0 [0]
> > getpid()             = 27647 [27646]
> > write(4, " I N T E R N A L   E R R".., 51)   = 51
> > getuid()             = 0 [0]
> > write(4, " P l e a s e   r e a d  ".., 50)   = 50
> > getuid()             = 0 [0]
> > write(4, " = = = = = = = = = = = =".., 64)   = 64
> > getuid()             = 0 [0]
> > write(4, " P A N I C :   i n t e r".., 22)   = 22
> > [snip]
> >
> > There is an attempted read on a non-existent file descriptor, 547616,
> > fifteen lines from the end. Can anybody suggest what the
> problem might be?

----------------smb.conf-------------------
# Global parameters
[global]
        workgroup = FEISPCLABS
        netbios name = LAWN
        server string = FEIS Samba Server
        encrypt passwords = Yes
        null passwords = Yes
        smb passwd file = /usr/local/samba/private/smbpasswd
        passwd program = /usr/bin/yppasswd
        log file = /usr/local/samba/var/_%m.log
        max log size = 200
        name resolve order = wins host lmhosts bcast
        time server = Yes
        socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
        local group map = /usr/local/samba/lib/localgroups.map
        #domain groups = Users
        #domain guest group = Guests
        domain group map = /usr/local/samba/lib/domaingroups.map
        domain user map = /usr/local/samba/lib/usermap.map
        logon path = \\bantam\user1\profiles\admin
        logon drive = q:
        logon home = e:\auser
        domain logons = Yes
        lm announce = False
        preferred master = Yes
        domain master = Yes
        dns proxy = No
        wins server = xxx.xxx.xxx.52
        admin users = comtmgr comtpm
        hosts allow = xxx.xxx. 127.

[homes]
        comment = Home Directories
        read only = No
        browseable = No

[netlogon]
        comment = Network Logon Service
        path = /usr/local/samba/lib/netlogon
        share modes = No

[printers]
        comment = All Printers
        path = /var/spool/lp/tmp
        guest account = ftp
        printable = Yes
        printer name = lp
        browseable = No

[tmp]
        comment = Temporary file space
        path = /tmp
        admin users = comtpm
        write list = @technical @staff @research
        force security mode = 00
        force directory security mode = 00
        write cache size = 16384
        hide dot files = No

[public]
        comment = Public Area
        path = /usr/local/samba/lib/netlogon
        share modes = No

[cm1600]
        comment = HP 1600CM Colour InkJet (E300)
        path = /tmp
        guest account = ftp
        read only = No
        printable = Yes
        print command = cm -1 %s; rm %s
        printer name = cm1600
        #oplocks = No
        share modes = No

[eisis01]
        comment = EISIS01
        path = /tmp
        guest account = ftp
        read only = No
        printable = Yes
        printer name = lp
        #oplocks = No
        share modes = No

[eisis02]
        comment = EISIS02
        path = /tmp
        guest account = ftp
        read only = No
        printable = Yes
        printer name = lp
        #oplocks = No
        share modes = No

[eisis03]
        comment = EISIS03
        path = /tmp
        guest account = ftp
        read only = No
        printable = Yes
        printer name = eisis03
        #oplocks = No
        share modes = No

[eisis04]
        comment = EISIS04
        path = /tmp
        guest account = ftp
        read only = No
        printable = Yes
        printer name = eisis04
        #oplocks = No
        share modes = No
----------------end----------------------

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
                              Principal Technical Officer
          Faculty of Engineering and Information Sciences
                              University of Hertfordshire
  Phone:  +44 (0)1707 286297 (3297 Internal)
  E-Mail: m.g.ross at herts.ac.uk
  WWW:    http://fly.to/mgr
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-



More information about the samba-ntdom mailing list