search for: getpwname

Displaying 20 results from an estimated 609 matches for "getpwname".

Did you mean: getpwnam
2003 Apr 09
0
One user with a problem accessing shares
I have a RedHat 8 box configured as a Samba server using winbind (version 2.2.7 installed from RedHat's rpms.) The server successfully joined my Win2K domain. Everything works great. Users can log in to the RedHat server via ssh using their AD accounts. Users can connect to the shares from their windows machines. All except one. I have one account that has problems. If I restart
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 May 06
1
idmap_sid_to_uid is not get called?
Hi I have the following question: Joining Win200x as ADS/DOMAIN, I see no problems for windows users to get authenticated even if they don't have local accounts. However, with the same samba (3.06) joining NT4 SP6 domain I see that only users that also have entry in /etc/passwd are been authenticated. I followed winbindd traces and saw that there is no problem communicating with
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():
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
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 Feb 19
0
Windbindd restarts and lost uids
We have a problem with our setup that exposed another problem in winbindd. Setup: Samba 3.0.1, openLDAP 1.2.23 for idmap backend using port 1389, security=ads (w2k). All works after we get the daemons started successfully. The first issue has to do with the initial setup of both a Samba server [smbd, nmbd, winbindd, slapd], and a Samba client [just nmbd and winbindd]. We do the
2005 May 08
2
Samba / AD / Winbind issues
List members, I have an issue that I hope one of you can help me with ... I have set up a AD ( 2003 ) as PDC and a RHE3 AS server running Samba V3.0.6-2.3E following the instructions in the HOW-TO- By example. Here is what I have at the moment .. I had no problems adding the RH server to the Domain and I have Winbind set up in the nsswitch.conf file for passwd, group and hosts I
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
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)
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
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
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
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.
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 >
2017 Aug 22
1
Setup of Samba with Solaris 11.3 to provide Unix File Shares to Windows Users
Does mdecker exist in AD ? => Yes root at solaris1:~# getent passwd "MYDOM.ADS\\mdecker" mdecker:*:13767:613::/home/mdecker:/bin/bash winbind log: getpwnam MYDOM.ADS\mdecker wb_request_done[24254:GETPWNAM]: NT_STATUS_OK Does 'getent passwd mdecker' work ? => No getent passwd mdecker getpwnam mdecker winbindd_getpwnam: My domain -- rejecting getpwnam() for
2010 Oct 20
1
Samba 3.5.6 pam problems
Hi, I've setup Samba 3.5.6 as a member server in a 2003R2 domain with a single dc, idmapping is by rfc2307 with a tdb backend for builtin accounts etc, I can list users and groups using wbinfo and I can create shares and access them from the windows server, files and folders owned by ad users show the correct user and group names so mapping appears to be working, I can su to ad accounts but I
2015 Nov 27
1
Failed to find authenticated user via getpwnam(), denying access
Hi, I have a very strange issue with samba as an ad member server. log.smbd goes: check_ntlm_password: Checking password for unmapped user [TSNR]\[Administrator]@[ADMIN] with the new password interface [2015/11/27 19:09:26.196960, 3] ../source3/auth/auth.c:180(auth_check_ntlm_password) check_ntlm_password: mapped user is: [TSNR]\[Administrator]@[ADMIN] [2015/11/27 19:09:26.196993, 4]
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.
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