search for: lshadow

Displaying 8 results from an estimated 8 matches for "lshadow".

Did you mean: shadow
2018 Nov 29
2
Where to implement user limit settings ?
Hello, I'm trying to implement setting of user limits (ulimit) in sshd. I'm not using PAM so I need it in the sshd itself. The task is very simple - just to put one line calling setup_limits(pw); and link with -lshadow. But the problem is, where to put this line. I did it in session.c, in do_child(), like this: #ifdef HAVE_OSF_SIA session_setup_sia(pw, s->ttyfd == -1 ? NULL : s->tty); if (!check_quietlogin(s, command)) do_motd(); #else /* HAVE_OSF_SIA */ /* When PA...
2001 Apr 10
2
Compiling openssh 2.5.p1 on unixware 7.0.1
Hi. I'm tryng to compile openssh 2.5.p1 (latest) on sco unixware 7.0.1 and I'm getting this error in make: cc -o sshd sshd.o auth.o auth1.o auth2.o auth-chall.o auth2-chall.o auth-rhosts.o auth-options.o auth-krb4.o auth-pam.o auth2-pam.o auth-passwd.o auth-rsa.o auth-rh-rsa.o auth-sia.o dh.o sshpty.o log-server.o sshlogin.o loginrec.o servconf.o serverloop.o md5crypt.o session.o
1998 Apr 25
0
Compiling smbpass.c
...Makefile: # Use this for Linux with shadow passwords - but not using PAM! # contributed by Andrew.Tridgell@anu.edu.au # add -DLINUX_BIGCRYPT is you have shadow passwords but don't have the # right libraries and includes FLAGSM = -DLINUX -DSHADOW_PWD -DFAST_SHARE_MODES -DLINUX_BIGCRYPT LIBSM = -lshadow And here's the error that I'm getting: Using CFLAGS = -O -DSMBLOGFILE="/usr/local/samba/var/log.smb" -DNMBLOGFILE="/usr/local/samba/var/log.nmb" -DCONFIGFILE="/usr/local/samba/lib/smb.conf" -DLMHOSTSFILE="/usr/local/samba/lib/lmhosts" -DWEB_ROOT=&qu...
1998 Jun 24
1
Compile problems in Slackware
...uot;WORKGROUP" -DGUEST_ACCOUNT="nobody" -DDRIVERFILE="/usr/local/samba/lib/printers.def" -DLINUX -DSHADOW_PWD -DFAST_SHARE_MODES -DSMB_PASSWD="/usr/local/samba/bin/smbpasswd" -DSMB_PASSWD_FILE="/usr/local/samba/private/smbpasswd" Using LIBS = -lshadow Compiling smbpass.c cc: Internal compiler error: program cc1 got fatal signal 6 make: *** [smbpass.o] Error 1 I doubt it's the hardware since the same happens on twototally different machines (but both running Slackware 3.4.0) Any ideas? Hiran
1998 May 02
1
Shadow and OpenLinux
..._ACCOUNT="samba free" -DDRIVERFILE="/usr/local/samba/lib/printers.def" -O3 -m486 -DLINUX -DSHADO W_PWD -DQUOTAS -DFAST_SHARE_MODES -DSMB_PASSWD="/usr/local/samba/bin/smbp asswd" -DSMB_PASSWD_FILE="/usr/local/samba/private/smbpasswd" Using LIBS = -lshadow Compiling util.c Compiling system.c Compiling charset.c Compiling kanji.c Compiling fault.c Compiling smbencrypt.c Compiling smbdes.c Compiling charcnv.c Compiling md4.c Compiling loadparm.c Compiling params.c Compiling pcap.c Compiling username.c Compiling time.c Compiling name...
1999 Jan 27
3
Samba 2.0 RedHat/PAM password troubles found and solved!
I tried upgrading from samba 1.9 to 2.0 on two seperate RedHat servers, and after both upgrades nobody could get authenticated. The windows boxes had the registry hacks to turn off encrypted passwords, and I'm authenticating out of passwd+shadow. I found many similiar posts on DejaNews and in the samba mailing list archives. I broke out strace and found the problem. Samba 2.0 tries to
1997 Aug 28
16
Unsuscribe
...2 box. That went ok. > Then i installed Samba 1.9.17alpha5. > I asked for standard things and just the inclusion of shadow passwords > and quota > > FLAGSM = -03 -m486 -DLINUX -DSHADOW_PWD -DQUOTAS > -DFAST_SHARE_MODES > LIBSM = -lshadow > > When compiling I recived this error: > > ld: cannot open -lshadow: No such file or directory. > make: *** [smbd] Error 1 > > I then copied the file /usr/src/shadow-970616/lib/libshadow.a to /lib > directory and recompiled with the same make file. > > It complea...
1998 Oct 15
1
Problem to map home dir
...mount smbmnt smbumount # Use this for Linux with shadow passwords - but not using PAM! # contributed by Andrew.Tridgell@anu.edu.au # add -DLINUX_BIGCRYPT is you have shadow passwords but don't have the # right libraries and includes # FLAGSM = -DLINUX -DSHADOW_PWD -DFAST_SHARE_MODES # LIBSM = -lshadow # Use this for Linux without shadow passwords or for any Linux # system that uses PAM (eg: RedHat) in which case it handles ALL # authentication methods that are supported by the version of # PAM that is available on your system. # contributed by Andrew.Tridgell@anu.edu.au & John.Terpstra@aqua...