spacerspacerspacerspacerspacerspace ENGLISH site spanish site otros idiomas

easylivecd.com
Software LiveCD
Software Linux LiveCD Router para Banda Ancha y WiFi new!
Download gratis!
Router PRO
LiveCD HotSpot
Firewall PRO
VoIP Server
Documentación
Libro Admin
Soluciones a Medida
Order now
Noticias
WiFi Blog
VoIP
Seguridad y Firewall
Virus Alert
Foros Linux y WiFi
Tutorials new
easylivecd.com
Hardware
Access Points
Tarjetas WiFi
Firewall
VoIP


Sites
English Site
Spanish Site
Other Languages

Escríbanos a info@easylivecd.com

Indice de la Documentación
!==
!== DNIX.txt for Samba release 2.2.0-alpha3 24 Mar 2001
!==
DNIX has a problem with seteuid() and setegid(). These routines are
needed for Samba to work correctly, but they were left out of the DNIX
C library for some reason.

For this reason Samba by default defines the macro NO_EID in the DNIX
section of includes.h. This works around the problem in a limited way,
but it is far from ideal, some things still won't work right.

To fix the problem properly you need to assemble the following two
functions and then either add them to your C library or link them into
Samba.

put this in the file setegid.s:

        .globl  _setegid
_setegid:
        moveq   #47,d0
        movl    #100,a0
        moveq   #1,d1
        movl    4(sp),a1
        trap    #9
        bccs    1$
        jmp     cerror
1$:
        clrl    d0
        rts


put this in the file seteuid.s:

        .globl  _seteuid
_seteuid:
        moveq   #47,d0
        movl    #100,a0
        moveq   #0,d1
        movl    4(sp),a1
        trap    #9
        bccs    1$
        jmp     cerror
1$:
        clrl    d0
        rts

after creating the above files you then assemble them using

as seteuid.s
as setegid.s

that should produce the files seteuid.o and setegid.o

then you need to add these to the LIBSM line in the DNIX section of
the Samba Makefile. Your LIBSM line will then look something like this:

LIBSM = setegid.o seteuid.o -ln

You should then remove the line:

#define NO_EID

from the DNIX section of includes.h

Then recompile and try it out!

Note that this file was derived from an email from Peter Olsson
. I don't have DNIX myself, so you're probably better
off contacting Peter if you have problems.

Andrew


Indice de la Documentación




Productos y Servicios | Software Linux LiveCD Router | Download | Firewall PRO | HotSpot WIFI | E-Mail Server | File Server | E-Mail Server | Documentación | Personalización | Distribuidores | Pedidos
Hardware Access Points | Tarjetas PCMCIA | Firewall
Foros Soporte Linux Noticias WIFI | Tecnologia | Internet | Telecom | Software | Seguridad y Firewall new | Virus Alert new |
Idiomas English Site | Spanish Site Google German Site | Italian Site | French Site | Portuguese Site




Escríbanos a info@wifi.com.ar
© WiFi.com.ar, EasyLiveCD.com, Brujula.Net

>