Displaying 20 results from an estimated 7000 matches similar to: "getpwnam user not on domain"
2001 Aug 15
2
PAM and getpwnam [ struct passwd *getpwnam(const char * name) ]
Hello!
I use a PAM-module (pam_ncp_auth from ncpfs) for authentication against a
netware server.
pam_ncp_auth can create local UNIX user accounts from information in NDS,
and it works perfect with login, gdm and telnet. But not with openssh (2.5
and 2.9).
It works perfect if the user already is in /etc/passwd, but the first time
he logs on he doesn't exist there. In that case openssh call
2005 Jun 11
1
strange getpwnam issue
hello. i have samba 3.0.14a installed on solaris9 os. i need to allow
users login system by windows domain authorization. winbindd/pam_winbind
compiled installed and working. but, one pam module (pam_dhkeys) fail
all pam stack when try to obtain userinfo about windows domain users.
small investigate show that getpwnam() result with windows user as
parameter different from unix user. for
2017 May 18
2
feature request: use HOME before getpwnam() in misc.c
it's really^3 annoying that no matter the value of $HOME, that tilde_expand_filename() only looks at getpwnam() and friends instead of at least trying getenv("HOME").
What is the use case?
HOME=longpath_to_config1
ssh -i ~/.ssh/key1
HOME=longpath_to_config2
ssh -i ~/.ssh/key2
but getpwnam() defeats this by always accessing what's in the passwd file. So .ssh/known_hosts is
2003 May 19
0
[PATCH] getpwnam() implementation in tftpd.c
Hi,
This patch implements a minimal getpwnam() function in tftpd.c.
The reason for the patch is that I needed tftpd to work in my embedded
system, which are without libnss*. The patch has been tested, and works
for me. Please consider it.
Best regards,
jules
--
Jules Colding <JuBColding at yorkref.com>
York Refrigeration
diff -urN tftp-hpa-0.34.orig/tftpd/Makefile
2024 Jan 25
1
Order of getpwnam call in Get_Pwnam_internals.
My system is not only for CIFS/SMB/domain features , sometime I need to
disable DC so I have to keep local user in /etc/passwd.
I have download samba source code and build it. I modify the order of
getpwnam call in source3/lib/username.c then solve the problem.
I have checked the following list :
https://lists.samba.org/archive/samba-technical/2008-March/058508.html
I think this is same problem.
2004 Mar 24
2
getpwnam() fails!
All Samba domain.
OS FreeBSD 5.2.1
ldap set up with working replication
ldap slave ldap master ldap slave
192.168.4.0-------192.168.1.0--------192.168.3.0
BDC-1 PDC BDC-2
PDC and BDC-2 are fine but on BDC-1 I get the following errors:
- id(1) only return values for system password database users
- machine logs indicates a problem with getpwnam():
2004 Mar 05
1
getpwnam() fails! (with working nss_ldap setup)
Hi list,
I've seen this error now many times (at my own setup and in the
archives):
sam_account_ok: Checking SMB password for user Simon Dassow
[2004/03/05 12:54:19, 1] auth/auth_util.c:make_server_info_sam(821)
User Simon Dassow in passdb, but getpwnam() fails!
But:
# id 'Simon Dassow'
uid=1000(Simon Dassow) gid=513(Domain Users) groups=513(Domain Users),
512(Domain Admins)
2004 Feb 18
0
getpwnam() fails with winbind on samba pdc
Hello List,
I've been running into the following winbind problem and would really
appreciate if anyone could give me a hint here:
I'm currently using Samba 2.2.7a as a fileserver (domain member),
user-authentication is done on a WinNT 4.0 PDC. The Samba fileserver
is running winbind so all the users need not be created locally.
Now I want to replace the old Samba version with Samba
2004 Nov 17
1
User Administrator in passdb, but getpwnam() fails when trying to add XP machine to smb/ldap domain
Hi all
I've been trying to get this sorted out for a day now,
I have done the following:
Followed the howto at http://samba.idealx.org/smbldap-howto.en.html
Changed the reg settings in XP
added the computer to ldap
added administrator to ldap
when I try to add the computer using the settings in XP, when prompted with username and password I use the administrator and password set
2024 Jan 25
1
Order of getpwnam call in Get_Pwnam_internals.
Hi list,
My case :
Local UNIX user : ZTEST
domain : uuq.ork
domain user : UUQ\ztest
smb.conf for standalone samba : /home/hywu/smb.conf
[/home/hywu] # cat /home/hywu/smb.conf
[global]
passdb backend = smbpasswd
workgroup = WORKGROUP
security=user
Smbpasswd fail to change local UNIX user password (ZTEST) when samba role is DC.
I want to change password of local UNIX user "ZTEST" but
2004 Nov 30
2
getpwuid vs. getpwnam
This issue has probably been brought up before, but I'll mention it anyway.
I just downloaded and built openssh 3.9p1 on Solaris 8. In my
environment, I have two root accounts. The normal one and an alternate
one (rjohn - uid 0) with it's own home directory (/export/home/rjohn).
After building and installing openssh, I was having trouble getting my
RSA authentication to work. In
2024 Jan 25
1
Order of getpwnam call in Get_Pwnam_internals.
On Thu, 25 Jan 2024 18:27:48 +0800
hhyy ww via samba <samba at lists.samba.org> wrote:
> Hi list,
>
> My case :
> Local UNIX user : ZTEST
> domain : uuq.ork
> domain user : UUQ\ztest
> smb.conf for standalone samba : /home/hywu/smb.conf
>
> [/home/hywu] # cat /home/hywu/smb.conf
> [global]
> passdb backend = smbpasswd
> workgroup = WORKGROUP
>
2024 Jan 25
1
Order of getpwnam call in Get_Pwnam_internals.
Rowland Penny via samba <samba at lists.samba.org> ? 2024?1?25? ?? ??6:42???
> On Thu, 25 Jan 2024 18:27:48 +0800
> hhyy ww via samba <samba at lists.samba.org> wrote:
>
> > Hi list,
> >
> > My case :
> > Local UNIX user : ZTEST
> > domain : uuq.ork
> > domain user : UUQ\ztest
> > smb.conf for standalone samba : /home/hywu/smb.conf
2006 May 30
0
Samba 3.0.22 w2k3 ad+sfu working but ls shows only uidNumber and not uid
Hi Guys,
i have a problem getting id mapping to work as it should. My setup is as
follows:
Samba 3.0.22 on Debian Sarge 3.1 . I 've got SFU 3.5 installed on a W2K3
DC with SP1. I 'm using winbindd in "idmap proxy only" mode. Here 's my
generic smb.conf:
workgroup = METADS
realm = META.XXX.XX "it 's not the real realm, of course !"
security = ADS
2006 Aug 09
3
[Bug 1215] sshd requires entry from getpwnam for PAM accounts
http://bugzilla.mindrot.org/show_bug.cgi?id=1215
Summary: sshd requires entry from getpwnam for PAM accounts
Product: Portable OpenSSH
Version: 4.3p2
Platform: Other
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P2
Component: PAM support
AssignedTo: bitbucket at mindrot.org
2011 Jul 09
1
ldapsam:trusted=yes, 'user in passdb, but getpwnam() fails'
Hello all,
I am working with samba-3.5.6 on Debian Squeeze.
From the smb.conf(5), I assumed that, by using 'ldapsam:trusted=yes',
one can avoid touching the NSS/PAM configuration. However, I am getting a:
user in passdb, but getpwnam() fails
in the logs. Is my assumption wrong?
Regards,
Joe
--
.o. I'm a Free man. I use Free Software.
..o
ooo http://www.joesteeve.org/
2024 Jan 25
1
Order of getpwnam call in Get_Pwnam_internals.
On Thu, 25 Jan 2024 20:54:07 +0800
hhyy ww via samba <samba at lists.samba.org> wrote:
> Rowland Penny via samba <samba at lists.samba.org> ? 2024?1?25? ??
> ??6:42???
>
> > On Thu, 25 Jan 2024 18:27:48 +0800
> > hhyy ww via samba <samba at lists.samba.org> wrote:
> >
> > > Hi list,
> > >
> > > My case :
> > > Local
2008 Oct 15
0
[Bug 1215] sshd requires entry from getpwnam for PAM accounts
https://bugzilla.mindrot.org/show_bug.cgi?id=1215
--- Comment #12 from Aaron Smith <soccergeek76 at gmail.com> 2008-10-15 16:19:59 ---
Created an attachment (id=1574)
--> (http://bugzilla.mindrot.org/attachment.cgi?id=1574)
Debug output of accounting failure
I am trying to use patches 1171, 1298, and 1300 in conjunction with the
pam_radius library. Authentication works fine, but
2005 Mar 23
0
User bdupuis in passdb, but getpwnam(),fails! ...
Hi,
I have a PDC with samba Version 3.0.9-2.3-SUSE + OpenLDAP 2.2.15
When trying to join my Domain with administrator, it's working
When trying to join my Domain with another account I have this error in
/var/log/samba/log/log.computername :
User xxx in passdb, but getpwnam(),fails! ...
Here is my getent passwd, Administrator is bind to root :
root:x:0:0:root:/root:/bin/bash
2006 Nov 03
0
User nobody in passdb, but getpwnam() fails!
I am getting the following error when I start samba :
startsmbfilepwent_internal: unable to lock file /raj/usr/local/bin. Error
was In
valid function argument
Unable to open passdb database.
User nobody in passdb, but getpwnam() fails!
ERROR: failed to setup guest info.
Can someone help me solve this.
Thanks :)