search for: getpwuid

Displaying 20 results from an estimated 266 matches for "getpwuid".

2007 Oct 17
2
[patch] ssh.c load_public_identity_files calls getpwuid twice without copy
Hi, getpwuid is called as seen in the patch, and is then called again indirectly by tilde_expand_filename without first copying off the results from the first call. This is fatal on MacOSX (and it would seem it should be fatal elsewhere, too). Please CC me in replies; I'm not a subscriber. --- openssh-4....
2006 Mar 02
0
winbind, sIDHistory and getpwuid problems
...0:10500:myuser:/cifs/home/user:/bin/false # wbinfo --uid-to-sid 10770 S-1-5-21-A-B-C-1372 # net getdomainsid | grep XXX SID for domain XXX is: S-1-5-21-A-B-C "Secondary" SID: # wbinfo --uid-to-sid 11950 S-1-5-21-D-E-F-287591 # wbinfo --sid-to-name S-1-5-21-D-E-F-287591 XXX\myuser 1 But getpwuid(3) doesn't return the mapping from the "secondary" uid to the user name: # perl -e 'print join ":", getpwuid(10770), "\n"'; myuser:*:10770:10500:::myuser:/cifs/home/myuser:/bin/false: # perl -e 'print join ":", getpwuid(11950), "\n&quot...
2004 Nov 30
2
getpwuid vs. getpwnam
...ouble getting my RSA authentication to work. In investigating it, I noticed that it was attempting to use /.ssh/id_rsa.pub as my public key file instead of /export/home/rjohn/.ssh/id_rsa.pub. Digging a little deeper, I found that, in the client modules ssh.c and tildexpand.c, it uses the call getpwuid(uid) as the basis for determining what the user's home directory is. In my case, this resolves to / instead of /export/home/rjohn. Wouldn't it be more appropriate to use something like getpwnam(getenv("LOGNAME")) instead ? Since the login program itself (in both Linux and Sola...
2007 Oct 20
5
[Bug 1377] New: getpwuid called twice without pwcopy (percent_expand: NULL replacement)
https://bugzilla.mindrot.org/show_bug.cgi?id=1377 Summary: getpwuid called twice without pwcopy (percent_expand: NULL replacement) Classification: Unclassified Product: Portable OpenSSH Version: 4.4p1 Platform: ix86 OS/Version: Mac OS X Status: NEW Severity: major Priori...
2016 Mar 14
1
Error 'getpwuid(3000007) failed' is again. (Rowland penny)
I provisioned by 2 way: - as standalone server and in the way I launched nmbd, smbd and winbind => error "getpwuid(3000007) failed" is got and shares are inaccessible; - as DC and in the way I launched samba daemon, which started in its own smbd and winbindd daemons => there wasn' t theerror and shares are available. > Have you provisioned Samba as an AD DC ? > If you have, have you started...
2007 Dec 21
2
[Bug 1414] New: Botched getpwuid usage on Mac OS X
https://bugzilla.mindrot.org/show_bug.cgi?id=1414 Summary: Botched getpwuid usage on Mac OS X Classification: Unclassified Product: Portable OpenSSH Version: 4.7p1 Platform: Other OS/Version: Mac OS X Status: NEW Severity: normal Priority: P2 Component: ssh AssignedTo: bitbucket at...
2016 Mar 14
1
Error 'getpwuid(3000007) failed' is again. (Rowland penny)
...mail.com>: > Sorry. > But my gmail account ... > > > > 2016-03-14 22:34 GMT+03:00 CpServiceSPb . <cpservicespb at gmail.com>: > >> I provisioned by 2 way: >> - as standalone server and in the way I launched nmbd, smbd and winbind >> => error "getpwuid(3000007) failed" is got and shares are inaccessible; >> - as DC and in the way I launched samba daemon, which started in its own >> smbd and winbindd daemons => there wasn' t theerror and shares are >> available. >> >> >> > Have you provisioned Sam...
2019 Nov 29
2
security = ads parameter not working in samba 4.9.5
On 29/11/2019 18:17, S?rgio Basto via samba wrote: > On Fri, 2019-11-29 at 17:19 +0000, Rowland penny via samba wrote: >> Lets start by removing this: krb5-server-1.15.1-37.el7_7.2.x86_64 > ATM I can't, it will remove all samba packages :) Then your packages are depending on the krb5-server package, which is MIT, which is experimental. This shouldn't be a problem on a Unix
2017 May 07
2
Samba login failure: getpwuid failed
Hello, I cannot access a remote drive using Windows or smbclient; my authentication appears successful according to the samba log file, but `getpwuid` fails. The server (remote) is running CentOS 7.2 and Samba 4.2.3. The client is CentOS 7.2 and smbclient 4.2.3. The logfile shows: [2017/05/06 22:57:48.729284, 2] ../source3/auth/auth.c:305(auth_check_ntlm_password) check_ntlm_password: authentication for user [developer_prod] ->...
2017 May 07
0
Samba login failure: getpwuid failed
On Sun, 7 May 2017 09:04:25 -0500 Michael Schwager via samba <samba at lists.samba.org> wrote: > Hello, > I cannot access a remote drive using Windows or smbclient; my > authentication appears successful according to the samba log file, but > `getpwuid` fails. The server (remote) is running CentOS 7.2 and Samba > 4.2.3. The client is CentOS 7.2 and smbclient 4.2.3. The logfile > shows: > > [2017/05/06 22:57:48.729284, 2] > ../source3/auth/auth.c:305(auth_check_ntlm_password) > check_ntlm_password: authentication fo...
2016 Mar 13
1
Error 'getpwuid(3000007) failed' is again.
Hi all. Recently I built from tarball sources 436 version of Samba4 at Ubuntu 14.04 x64. There wasn' t any Samba at the server before. All started successfully, but in 'standalone server' mode, while accessing to shares, error 'getpwuid(3000007) failed' is appeared as was here https://lists.samba.org/archive/samba/2014-May/181010.html. And it is impossible to open it even shares list. All necessary daemons as nmbd, smbd, winbindd are started. There is no the error and shares is accessible while this Samba4 acts as DC. Also th...
2016 Mar 14
1
Error 'getpwuid(3000007) failed' is again. (Rowland penny)
Sorry. But my gmail account ... 2016-03-14 22:34 GMT+03:00 CpServiceSPb . <cpservicespb at gmail.com>: > I provisioned by 2 way: > - as standalone server and in the way I launched nmbd, smbd and winbind => > error "getpwuid(3000007) failed" is got and shares are inaccessible; > - as DC and in the way I launched samba daemon, which started in its own > smbd and winbindd daemons => there wasn' t theerror and shares are > available. > > > > Have you provisioned Samba as an AD DC ? > &g...
2006 Sep 24
2
[Bug 1235] [PATCH] scp does unnecessary getpwuid(), breaking chroot
http://bugzilla.mindrot.org/show_bug.cgi?id=1235 Summary: [PATCH] scp does unnecessary getpwuid(), breaking chroot Product: Portable OpenSSH Version: -current Platform: Other OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: scp AssignedTo: bitbucket at mindrot.org ReportedBy:...
2005 Mar 03
3
winbindd reporting "killing connections to DOMAIN"
I'm seeing the following errors on my SAMBA printserver in the winbindd log : [2005/03/03 14:56:53, 3, pid=3736] nsswitch/winbindd_user.c:winbindd_getpwuid(225) [24610]: getpwuid 10140 [2005/03/03 14:56:53, 3, pid=3736] nsswitch/winbindd_user.c:winbindd_getpwuid(225) [29198]: getpwuid 10266 [2005/03/03 14:56:54, 3, pid=3736] nsswitch/winbindd_misc.c:winbindd_ping(238) [ 6364]: ping [2005/03/03 14:56:54, 3, pid=3736] nsswitch/winbindd_pam.c:winbi...
2011 Apr 15
1
Dovecot v2.0.12 OpenBSD - getpwuid() error
...= DBEC C66B A47A DFA2 792D 650C C69B BE4C 83B6 3A8F -------------- next part -------------- Apr 15 09:11:10 master: Warning: Killed with signal 15 (by pid=0 uid=0 code=kill) Apr 15 09:17:40 lda(daniell at domain): Error: net_connect_unix(/var/dovecot//dict) failed: Permission denied (euid=8001(<getpwuid() error>) egid=8000([?{/?O}D}?L}@W}) missing +r perm: /var/dovecot//dict, euid is not dir owner, conflicting dir gid=0([?{/?O}D}?L}@W})) Apr 15 09:17:40 lda(daniell at domain): Error: Internal quota calculation error Apr 15 09:22:58 pop3(varga at amakft.hu): Error: net_connect_unix(/var/dovecot/...
2014 May 02
2
Auth fail getpwuid(3000007) failed
...contains 0 supplementary groups [2014/05/02 10:29:40.931099, 4] ../source3/smbd/sec_ctx.c:424(pop_sec_ctx) pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0 [2014/05/02 10:29:40.931611, 1] ../source3/auth/token_util.c:430(add_local_groups) SID S-1-5-21-2799780924-1191006566-1534516595-1102 -> getpwuid(3000007) failed [2014/05/02 10:29:40.931654, 3] ../source3/auth/token_util.c:316(create_local_nt_token_from_info3) Failed to finalize nt token [2014/05/02 10:29:40.931677, 1] ../source3/smbd/sesssetup.c:276(reply_sesssetup_and_X_spnego) Failed to generate session_info (user and group toke...
2016 Mar 14
2
Error 'getpwuid(3000007) failed' is again. (Rowland penny)
...But my gmail account ... >> >> >> >> 2016-03-14 22:34 GMT+03:00 CpServiceSPb . <cpservicespb at gmail.com>: >> >>> I provisioned by 2 way: >>> - as standalone server and in the way I launched nmbd, smbd and winbind >>> => error "getpwuid(3000007) failed" is got and shares are inaccessible; >>> - as DC and in the way I launched samba daemon, which started in its own >>> smbd and winbindd daemons => there wasn' t theerror and shares are >>> available. >>> >>> >>> >...
2018 Feb 14
0
getpwuid failed for single user on single file share
...setup failed: NT_STATUS_UNSUCCESSFUL > > but I forgot the most important part, in /var/log/samba/__1.log on > adfs02 it says: > > [2018/02/14 18:51:29.614082, 1] > ../source3/auth/token_util.c:430(add_local_groups) > SID S-1-5-21-456140246-2344957557-3140247660-1174 -> getpwuid(10026) > failed > [2018/02/14 18:51:29.614128, 1] > ../source3/smbd/sesssetup.c:282(reply_sesssetup_and_X_spnego) > Failed to generate session_info (user and group token) for session > setup: NT_STATUS_UNSUCCESSFUL > > > Have you tried changing the password again ? >...
2019 Nov 27
0
Samba share not working: getpwuid(1000) failed, Failed to finalize nt token & NT_STATUS_UNSUCCESSFUL
...Samba, Version 4.7.6-Ubuntu, file sharing is not working on the server > for any of the 5 clients. I have tried both mount.cifs and smbclient. > The same errors are thrown in the server's samba logs for all > connection attempts, regardless of how the client tries to connect: > getpwuid(1000) failed, Failed to finalize nt token & > NT_STATUS_UNSUCCESSFUL > > Below is some data. Please tell me what else is needed to help > diagnose this problem. Thank you for your help. > --------------------------- > SERVER - jazz > Kubuntu VERSION="18.04.3 LTS (Bio...
2017 May 08
1
Samba login failure: getpwuid failed
...: > On Sun, 7 May 2017 09:04:25 -0500 > Michael Schwager via samba <samba at lists.samba.org> wrote: > > > Hello, > > I cannot access a remote drive using Windows or smbclient; my > > authentication appears successful according to the samba log file, but > > `getpwuid` fails. The server (remote) is running CentOS 7.2 and Samba > > 4.2.3. The client is CentOS 7.2 and smbclient 4.2.3. The logfile > > shows: > > > > [2017/05/06 22:57:48.729284, 2] > > ../source3/auth/auth.c:305(auth_check_ntlm_password) > > check_ntlm...