search for: sys_getpwnam

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

2002 Jul 28
1
bug or "feature" ?
...ot sure if this is normal or not. I run Samba 2.2.5 with LDAP on RH Linux 7.2. The thing is, it only works correctly when nscd is running. Otherwise it can't getpwnam and fails with no uid error. Interesting thing, there is no such effect on Debian Linux. Weird... pdb_ldap.c: sys_user = sys_getpwnam(username); if (sys_user == NULL) { DEBUG (2,("init_sam_from_ldap: User [%s] does not ave a uid!\n", username))
2005 Oct 20
1
high cpu load with 3.0.20b (not using ldap)
...che_search () from /lib/tls/libc.so.6 #2 0x40317374 in nscd_getpw_r () from /lib/tls/libc.so.6 #3 0x40317662 in __nscd_getpwnam_r () from /lib/tls/libc.so.6 #4 0x402b92bd in getpwnam_r@@GLIBC_2.1.2 () from /lib/tls/libc.so.6 #5 0x402b8c81 in getpwnam () from /lib/tls/libc.so.6 #6 0x081f038c in sys_getpwnam (name=0x798716af "") at system.c:883 #7 0x081f4658 in getpwnam_alloc (name=0xbfffe500 "COLORLASER5QUOTA") at util_pw.c:103 #8 0x081f2aa7 in Get_Pwnam_internals (user=0xbfffec6f "colorlaser5quota", user2=0xbfffe500 "COLORLASER5QUOTA") at username.c:279 #9...
2006 Jan 10
1
double segfault in smbd 3.0.21a
...6fc68 in __libc_dlsym () from /lib/tls/libc.so.6 #12 0x4024db81 in __nss_lookup_function () from /lib/tls/libc.so.6 #13 0x4024d8c3 in __nss_next () from /lib/tls/libc.so.6 #14 0x4020eb49 in getpwnam_r () from /lib/tls/libc.so.6 #15 0x4020e441 in getpwnam () from /lib/tls/libc.so.6 #16 0x081ec962 in sys_getpwnam () #17 0x081f0a7f in getpwnam_alloc () #18 0x081eefbb in Get_Pwnam_internals () #19 0x081ef29c in Get_Pwnam_alloc () #20 0x082385ca in smb_getpwnam () #21 0x08238489 in fill_sam_account () #22 0x08238854 in make_server_info_info3 () #23 0x08233f98 in check_winbind_security () #24 0x08230f88 in chec...
2005 Apr 21
0
smb PANIC: internal error
...d[17958]: #3 [0xffffe420] smbd[17958]: #4 /lib/tls/libc.so.6 [0xb7d31ff4] smbd[17958]: #5 /lib/tls/libc.so.6 [0xb7d322e2] smbd[17958]: #6 /lib/tls/libc.so.6(getpwnam_r+0x14d) [0xb7cd3bed] smbd[17958]: #7 /lib/tls/libc.so.6(getpwnam+0x91) [0xb7cd35b1] smbd[17958]: #8 /usr/sbin/smbd(sys_getpwnam+0x1d) [0x81f9ddd] smbd[17958]: #9 /usr/sbin/smbd(getpwnam_alloc+0x5a) [0x81feb0a] smbd[17958]: #10 /usr/sbin/smbd(Get_Pwnam+0x15f) [0x81fcbdf] smbd[17958]: #11 /usr/sbin/smbd(smb_getpwnam+0x83) [0x8252fa3] smbd[17958]: #12 /usr/sbin/smbd [0x82531da] smbd[17958]: #13 /usr/sbin/smbd(ma...
2007 Apr 30
0
PANIC: internal error in samba rhel4-u4
...0x8a) [0xceb290] #1 smbd(smb_panic+0x19) [0xceb4bc] #2 smbd [0xcd7c9f] #3 /lib/tls/libc.so.6 [0x448898] #4 /lib/tls/libc.so.6 [0x5180f4] #5 /lib/tls/libc.so.6 [0x518452] #6 /lib/tls/libc.so.6(getpwnam_r+0x5a) [0x4aaa8a] #7 /lib/tls/libc.so.6(getpwnam+0x91) [0x4aa5b1] #8 smbd(sys_getpwnam+0x1d) [0xcda970] #9 smbd(getpwnam_alloc+0x1d) [0xcdec80] #10 smbd(make_server_info_sam+0x52) [0xd2d02a] #11 smbd [0xd26493] #12 smbd [0xd2710a] #13 smbd [0xd24349] #14 smbd [0xd2e2ee] #15 smbd [0xc0b946] #16 smbd(ntlmssp_update+0x143) [0xc0ae1a] #17 smbd(auth_ntlmssp_upda...
2008 Feb 25
1
3.0.28 continuously dumping core
...[0x8022831d] #5 /lib/libnss_winbind.so.2(winbindd_request+0x1e) [0x408a2b4a] #6 /lib/libnss_winbind.so.2(_nss_winbind_getpwnam_r+0x7b) [0x408a341f] #7 /lib/tls/libc.so.6(getpwnam_r+0xcc) [0x4033ab9c] #8 /lib/tls/libc.so.6(getpwnam+0x91) [0x4033a5e1] #9 /usr/local/samba/sbin/smbd(sys_getpwnam+0x1d) [0x802079b7] #10 /usr/local/samba/sbin/smbd(getpwnam_alloc+0xcc) [0x8020ab9a] #11 /usr/local/samba/sbin/smbd(Get_Pwnam_alloc+0x29c) [0x8020a75a] #12 /usr/local/samba/sbin/smbd(Get_Pwnam+0x2a) [0x8020a8d7] #13 /usr/local/samba/sbin/smbd(get_user_home_dir+0x1d) [0x8020a924]...
2005 Dec 06
6
getpwnam fails on ldap
Hi all (excuse my poor english): I have a samba PDC on a network with 100 machines and 200 users. Everything worked fine with FC2 and samba 3.0.14a, but a hd crash decided me to update system to FC4. I can see now, in the logs file "User jon in passdb, but getpwnam() fails! when an user try to log in. On XP I can not login neither add new machine to domain. My pass backend is
2003 Dec 01
0
No subject
...se (in); + return tmp; + } + } +} + +/************************************************************************** + Wrapper for getpwnam(). Always returns a static that can be modified. +*************************************************************************** */ + struct passwd *sys_getpwnam(const char *name) { - return setup_pwret(getpwnam(name)); + return setup_pwret(my_getpwnam(name)); } /************************************************************************** @@ -729,7 +775,7 @@ struct passwd *sys_getpwuid(uid_t uid) { - return setup_pwret(getpwuid(uid)); + return setup_pw...