Displaying 20 results from an estimated 94 matches for "getpass".
2002 Jun 17
3
Fix for smbpasswd Samba 2.2.4 on Solaris only taking 8 character passwords
...bly earlier), smbpasswd (when run locally) only
really reads the first 8 characters, as opposed to the full password.
Obviously, this can cause mass confusion. :)
The fix is pretty simple (I would offer a diff, but this is the kind of
thing the configure script should check for...) - under Solaris getpass()
will only return 8 characters - you must use getpassphrase() to get up to
256 characters (same syntax as getpass).
So, under source/utils/smbpasswd.c, line 670, change
p = getpass(prompt);
to
p = getpassphrase(prompt);
And it works properly.
---
Andrew Gray
Systems Administrator
Uni...
2009 Jan 29
1
Problem building Samba 3.3 on Solaris 10
...parcv9
-L/usr/lib/sparcv9 -R/usr/lib/sparcv9 -zdefs -lthread -L./bin
SHLIBEXT = so
SONAMEFLAG = -h
Linking shared library bin/libtalloc.so.1
Undefined first referenced
symbol in file
exit lib/replace/getpass.o
free lib/talloc/talloc.o
__iob lib/talloc/talloc.o
abort lib/talloc/talloc.o
fgets lib/replace/getpass.o
fopen lib/replace/getpass.o
fputs...
2003 May 29
2
Interactive Rsync Authentication Problem
...n I specify the
password on the command line:
RSYNC_PASSWORD=the_Password rsync -r /tmp/test test_user@test_server::test_user/topdir/subdir
However, if I do not specify the password on the command line and am
prompted interactively, it always fails. After some investigation I find
that Solaris getpass() returns a maximum of PASS_MAX bytes which on our
systems is set to 8. The comment in authenticate.c is:
cyeoh says that getpass is deprecated, because
it may return a truncated password on some systems,
and it is not in the LSB.
Does this issue deserve a code fix/workaround?
Andy...
2015 Jul 31
0
[LLVMdev] [3.7 Release] RC2 has been tagged, Testing Phase II begins
...gethostent
MemorySanitizer-Unit ::
Msan-x86_64-with-call-Test/MemorySanitizer.gethostent_r
MemorySanitizer-Unit ::
Msan-x86_64-with-call-Test/MemorySanitizer.getmntent
MemorySanitizer-Unit ::
Msan-x86_64-with-call-Test/MemorySanitizer.getmntent_r
SanitizerCommon-asan :: Linux/getpass.cc
SanitizerCommon-asan :: Posix/decorate_proc_maps.cc
SanitizerCommon-lsan :: Linux/getpass.cc
SanitizerCommon-msan :: Linux/getpass.cc
SanitizerCommon-msan :: Posix/decorate_proc_maps.cc
SanitizerCommon-tsan :: Linux/getpass.cc
SanitizerCommon-tsan :: Posix/decorate_...
2002 May 31
3
About password length in solaris 8 and samba 2.2.4
...the Solaris box,
> I can access the share, but I can't from Win95 or Win2000 clients
> (encryption is on). If I try to access using only the first 8 characters
> from my password (without changing the password on the server) it works
> on all three platforms.
Probably Solaris' getpass() routine or something we use. I'll add it to
my list of stuff to look at when I can.
...
Have you found any solution to problem above?
I have the same problem. We change our smb-passwords in solaris 8 /
samba 2.2.4 machine and now when users authenticate themselves to our
domain it accepts...
2015 Jul 16
23
[LLVMdev] [3.7 Release] RC1 has been tagged, Testing Phase I begins
Dear testers,
3.7.0-rc1 was just tagged; please start your testing engines :-)
Upload binaries to the sftp and report your results to this thread.
I'm sorry for the delay between branching and tagging. The changes to
the release script took a little longer than I hoped.
Thanks for helping with the release, and do let me know of any issues,
questions, etc.
The tracking bug for release
2001 Oct 26
2
Expired passwords on Solaris with PAM
...bmitted a fix - it works for me (is it
going into CVS?).
When a user needs to change his password and trys to login in interactive
mode, readpassphrase() gets called, but doesn't seem to be working
correctly on Sol8 - meaning, it doesn't correctly disable echo. Would it
be possible to use getpass() on Solaris instead for the TTY case
(although, getpass() is not MT-Safe if that matters to anyone). Any
ideas?
Ed
Ed Phillips <ed at udel.edu> University of Delaware (302) 831-6082
Systems Programmer III, Network and Systems Services
finger -l ed at polycut.nss.udel.edu for PGP public k...
2015 Jul 31
1
[LLVMdev] [3.7 Release] RC2 has been tagged, Testing Phase II begins
...nitizer-Unit ::
> Msan-x86_64-with-call-Test/MemorySanitizer.gethostent_r
> MemorySanitizer-Unit ::
> Msan-x86_64-with-call-Test/MemorySanitizer.getmntent
> MemorySanitizer-Unit ::
> Msan-x86_64-with-call-Test/MemorySanitizer.getmntent_r
> SanitizerCommon-asan :: Linux/getpass.cc
> SanitizerCommon-asan :: Posix/decorate_proc_maps.cc
> SanitizerCommon-lsan :: Linux/getpass.cc
> SanitizerCommon-msan :: Linux/getpass.cc
> SanitizerCommon-msan :: Posix/decorate_proc_maps.cc
> SanitizerCommon-tsan :: Linux/getpass.cc
> SanitizerCommon...
2015 Jul 22
3
[LLVMdev] [cfe-dev] [3.7 Release] RC1 has been tagged, Testing Phase I begins
...itizer-Unit ::
> Msan-x86_64-with-call-Test/MemorySanitizer.gethostent_r
> MemorySanitizer-Unit :: Msan-x86_64-with-call-
> Test/MemorySanitizer.getmntent
> MemorySanitizer-Unit ::
> Msan-x86_64-with-call-Test/MemorySanitizer.getmntent_r
> SanitizerCommon-asan :: Linux/getpass.cc
> SanitizerCommon-asan :: Posix/decorate_proc_maps.cc
> SanitizerCommon-lsan :: Linux/getpass.cc
> SanitizerCommon-msan :: Linux/getpass.cc
> SanitizerCommon-msan :: Linux/signal_segv_handler.cc
> SanitizerCommon-msan :: Posix/decorate_proc_maps.cc
> San...
2015 Jul 30
8
[LLVMdev] [3.7 Release] RC2 has been tagged, Testing Phase II begins
Dear testers,
3.7.0-rc2 was just tagged. Please test, build binaries, upload to the
sftp, and report results to this thread.
A lot of fixes have been applied since rc1, both to the build script
and the code in general, so hopefully it will be less bumpy this time.
>From this point, I will no longer accept merge requests to finish
existing features; it's now bug-fixes only.
Thanks again
2001 Jun 06
0
snk authentication
...n");
+ fprintf (stderr, "snk -p [-f keyfile] [-o outfile] Change Passphrase\n");
+}
+
+void save_snk() {
+ FILE *fp;
+ char secret[256];
+ char password[256];
+ int i,x1,x2,x3,x4,x5,x6,x7,x8;
+ int y1,y2,y3,y4,y5,y6,y7,y8;
+ unsigned char data[48];
+
+ get_key:
+ strncpy(secret, getpass("Enter SNK secret key: "), sizeof(secret));
+ if (sscanf(secret, "%d %d %d %d %d %d %d %d", &x1, &x2, &x3, &x4, &x5, &x6, &x7, &x8) != 8) {
+ fprintf (stderr, "Error: Invalid secret key\n");
+ goto get_key;
+ }
+ if (sscanf(getpass(&...
2015 Apr 08
0
[PATCH 04/10] Use AC_CONFIG_LIBOBJ_DIR and AC_REPLACE_FUNCS to adhere to autoconf standards
.../getaddrinfo)
+ AC_LIBOBJ(getaddrinfo)
fi
AC_CHECK_MEMBER([struct sockaddr.sa_len],
@@ -750,7 +753,7 @@ if test x"$rsync_cv_HAVE_SOCKETPAIR" = x"yes"; then
AC_DEFINE(HAVE_SOCKETPAIR, 1, [Define to 1 if you have the "socketpair" function])
fi
-AC_CHECK_FUNCS(getpass, , [AC_LIBOBJ(lib/getpass)])
+AC_REPLACE_FUNCS([getpass])
if test x"$with_included_popt" != x"yes"; then
AC_CHECK_LIB(popt, poptGetContext, , [with_included_popt=yes])
--
2.2.1
2002 Nov 25
0
Linux and Samba Code
...sswords for a user.
*
* To work, must be installed SUID-root.
* Uses the current user's username, except that if the program is called
* by the root user, a username can be given as an argument.
* If called interactively (from a tty), is slightly verbose, and uses
* the standard getpass() routine to query for a password twice.
* If called noninteractively, expects the password (once) on stdin.
*
* Customize the locations of the standard Unix and SMB password programs
* in the "#defines" near the top (do NOT be tempted to add code to make
* these changeable...
2008 Nov 14
1
Problems running autoconf on Solaris 10 Update 4
...cannot open
`autoconf-2.60.m4': No such file or directory
/usr/local/bin/m4:configure.in:856: cannot open `system/config.m4': No
such file or directory
/usr/local/bin/m4:configure.in:856: cannot open `dlfcn.m4': No such file
or directory
/usr/local/bin/m4:configure.in:856: cannot open `getpass.m4': No such
file or directory
/usr/local/bin/m4:configure.in:856: cannot open `strptime.m4': No such
file or directory
/usr/local/bin/m4:configure.in:856: cannot open `win32.m4': No such file
or directory
/usr/local/bin/m4:configure.in:856: cannot open `timegm.m4': No such
file or...
2015 Aug 26
3
[3.7 Release] RC4 has been tagged
Dear testers,
3.7.0-rc4 has just been tagged. It is identical to rc3, plus:
- r245902: Revert r245355: change of clang-tools-extra symlink in the
release script
- r245947: Merge of r245927: Fix LLDB build on MIPS
- r245948: Deprecate the DataLayout on the TargetMachine, and backport
the 3.8 API
- Changes to the ReleaseNotes.
Those changes should all be safe, and I expect this to be an extremely
2017 Mar 02
12
[4.0.0 Release] Release Candidate 3 has been tagged
Hello testers,
4.0.0-rc3 was just tagged from the branch at r296762.
This is a release candidate in the real sense: if no major issues show
up with this one, it is the version that will be released.
Please let me know if you find any issues, including in release notes
or documentation, which will be on the pre-release web site later
today.
Please build, test, and upload binaries to the sftp
2010 May 26
1
Samba4 Patch: newuseradv and newgroupadv scripts for net cmd utlity
Hi all,
As per Jelmer's request - in response to bug #7455 attached diff file.
Please let me know what you think and if any modificationes need to be
performed
Regards
Luk
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: newusergroupadv.diff
URL:
2011 Aug 02
0
Can't script failure for missing --password-file
I've a script which calls:
rsync --password-file=password.txt rsync://server/files /files
However, due to an unrelated error password.txt was missing.
In authenticate.c:auth_client, the code tries to read from the password file,
then tries the RSYNC_PASSWORD env var, then calls getpass(3). This last step is
causing problems as, even though the script is intended to run unattended, it
stops at the password prompt.
This only happens when running with a controlling tty (more specifically,
without a controlling tty getpass(3) can't open /dev/tty), for example, in the
%post s...
2007 Mar 27
0
Joining ADS Domain from Solaris9
To everybody who tries do join an ADS Domain from a Samba 3.0.25pre2
server on Solaris 9:
The Solaris9 getpass(3C) takes passwords up to PASS_MAX length,
which is only 8. That means if you try something like
# net ads join -U admin@MY.REALM
and the admin password is more than 8 characters in length,
you'll get "Preauthentication failed".
The solution to this is to use getpassphrase(3C), whi...
2009 Oct 02
3
Cannot compile RHEL rpms using samba 3.4.2 series source
hello
Although https://bugzilla.samba.org/show_bug.cgi?id=6721 has status RESOLVED, I still get an error when trying to compile samba-3.4.2 on RHEL5.
The following command failed:
gcc -O2 -g -march=i386 -mcpu=i686 -D_GNU_SOURCE -fPIC -c ../lib/replace/getpass.c -o ../lib/replace/getpass.o
make: *** [../lib/replace/snprintf.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** [../lib/talloc/talloc.o] Error 1
make: *** [../lib/replace/replace.o] Error 1
kind regards
werner
ps: or maybe the resolution only refers that it is a duplicate of bug...