search for: getpwnam_alloc

Displaying 20 results from an estimated 23 matches for "getpwnam_alloc".

Did you mean: get_pwnam_alloc
2003 Jan 21
2
sort-of fix for net rpc vampire account creation
...tion function for the backend in use. From reading the comments on the top of the local_password_change function, either I shouldn't be going this route or local_password_change is due for some sort of change in status. The only major caveat I've found is that because net rpc vampire does a getpwnam_alloc() immediately after account creation, which fails in my case because I'm using ldap_nua as my backend so getpwnam_alloc() will /always/ fail. Cheers, Waider. Index: source/utils/net_rpc_samsync.c =================================================================== RCS file: /cvsroot/samba/sour...
2003 Jan 20
1
LDAP PDC, net rpc vampire
still digging at this: [2003/01/20 14:26:38, 2] passdb/pdb_ldap.c:ldapsam_connect_system(421) ldap_connect_system: succesful connection to the LDAP server [2003/01/20 14:26:38, 4] passdb/pdb_ldap.c:ldapsam_open(472) The LDAP server is succesful connected [2003/01/20 14:26:38, 4] passdb/pdb_ldap.c:ldapsam_getsampwnam(1573) We don't find this user [Administrator] count=0 [2003/01/20
2006 Jan 05
1
Cannot log in to domain
...make_server_info_sam() failed with 'NT_STATUS_NO_SUCH_USER' This is basically telling me that Samba can't see the user in the passwd file. But it works for Local windows users though, which is just bizarre. This is the C code in auth_util.c that is causing the problem: if ( !(pwd = getpwnam_alloc(pdb_get_username(sampass))) ) { DEBUG(1, ("User %s in passdb, but getpwnam() fails!\n", pdb_get_username(sampass))); free_server_info(server_info); return NT_STATUS_NO_SUCH_USER; I can only assume that for some reason, this particular C function is trying to run getpwnam() an...
2005 Oct 20
1
high cpu load with 3.0.20b (not using ldap)
...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 0x081f2c96 in Get_Pwnam_alloc (user=0xbfffec6f "colorlaser5quota") at...
2004 Sep 05
1
Segfault in Samba
...rom /lib/libnss_ldap.so.2 > #14 0x40464525 in winbindd_fd () from /lib/libnss_ldap.so.2 > #15 0x40465649 in _nss_ldap_getpwnam_r () from /lib/libnss_ldap.so.2 > #16 0x40233e76 in getpwnam_r () from /lib/libc.so.6 > #17 0x4023396f in getpwnam () from /lib/libc.so.6 > #18 0x081c72b1 in getpwnam_alloc () > #19 0x081c57b4 in map_username () > #20 0x081c5a4a in Get_Pwnam () > #21 0x0820fa55 in smb_getpwnam () > #22 0x0820f838 in make_server_info_guest () > #23 0x0820fc10 in make_server_info_info3 () > #24 0x0820cdd8 in auth_server_init () > #25 0x0820d108 in auth_server_init (...
2006 Jan 10
1
double segfault in smbd 3.0.21a
.../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 check_ntlm_password () #25 0x0823a036 in...
2005 Apr 21
0
smb PANIC: internal error
...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(make_server_info_info3+0x168) [0x8253438] smbd[17958]: #14 /usr/sb...
2007 Apr 30
0
PANIC: internal error in samba rhel4-u4
...9) [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_update+0x44) [0xd2e666] #18 smbd [0xbac701]...
2007 May 21
1
3.0.25 breaks "username map"?
...name map" wasn't working correctly. It appears to be that when DOM\jhaar connects, it generates the following error: [2007/05/21 13:18:11, 10] passdb/lookup_sid.c:lookup_name(64) lookup_name: Unix User\jhaar => Unix User (domain), jhaar (name) [2007/05/21 13:18:11, 10] lib/util_pw.c:getpwnam_alloc(76) Got jhaar from pwnam_cache [2007/05/21 13:18:11, 5] passdb/lookup_sid.c:sid_to_uid(1401) winbind failed to find a uid for sid S-1-22-1-500 [2007/05/21 13:18:11, 1] auth/auth_util.c:create_token_from_username(1110) sid_to_uid for jhaar (S-1-22-1-500) failed [2007/05/21 13:18:11, 10] auth/a...
2008 Feb 25
1
3.0.28 continuously dumping core
...[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] #14 /usr/local/samba/sbin/smbd(find_service+0x5e) [0x800bc445] #1...
2005 Mar 23
4
Samba-LDAP TLS problems with inofficial Debian OpenLDAP 2.2 packages
...09acefc] #15 /lib/libnss_ldap.so.2 [0x409ae24a] #16 /lib/libnss_ldap.so.2 [0x409ae81b] #17 /lib/libnss_ldap.so.2(_nss_ldap_getpwnam_r+0x69) [0x409af9e9] #18 /lib/tls/libc.so.6(getpwnam_r+0xfc) [0x4023475c] #19 /lib/tls/libc.so.6(getpwnam+0x91) [0x40234081] #20 /usr/sbin/smbd(getpwnam_alloc+0x11) [0x81d3d21] #21 /usr/sbin/smbd(make_server_info_sam+0x59) [0x821e779] #22 /usr/sbin/smbd(make_server_info_guest+0xbb) [0x821eaab] #23 /usr/sbin/smbd [0x821c882] #24 /usr/sbin/smbd [0x821705f] #25 /usr/sbin/smbd [0x80ad98e] #26 /usr/sbin/smbd(reply_sesssetup_and_X+0x788...
2006 Jul 24
0
samba-3.0.23-1.fc4 upgrade
...: (NULL) [2006/07/24 14:24:59, 5] auth/auth_util.c:debug_unix_user_token(475) UNIX token of user 0 Primary group is 0 and contains 0 supplementary groups [2006/07/24 14:24:59, 3] smbd/sec_ctx.c:pop_sec_ctx(339) pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0 [2006/07/24 14:24:59, 10] lib/util_pw.c:getpwnam_alloc(76) Got t from pwnam_cache [2006/07/24 14:24:59, 10] smbd/share_access.c:user_ok_token(208) User t not in 'valid users' [2006/07/24 14:24:59, 2] smbd/service.c:make_connection_snum(571) user 't' (from session setup) not permitted to access this share (mkovacs3) [2006/07/24 14:...
2007 Apr 21
3
samba pdc issue
I have upgrade the pdc server from debian sarge to etch. After this operation we can't login to the domain (client windows 2000 & XP) smbclient works fine and from a windows local account I can browser the samba directories too (puttin username and password before..) I use tdbsam of course and pdbedit -L let me see all the accounts, it seems to work fine I tried to remove a pc from
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
2006 Jul 28
1
Problem with guest account samba 3.0.23a (smbd wont start)
...b/pdb_compat.c:pdb_set_user_sid_from_rid(73) pdb_set_user_sid_from_rid: setting user sid S-1-5-21-2525780297-265556163-1256307271-501 from rid 501 [2006/07/28 09:59:24, 3] smbd/sec_ctx.c:pop_sec_ctx(339) pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0 [2006/07/28 09:59:24, 10] lib/util_pw.c:getpwnam_alloc(76) Got quser from pwnam_cache [2006/07/28 09:59:24, 5] lib/smbldap.c:smbldap_search_ext(1179) smbldap_search_ext: base => [ou=users,dc=corman,dc=be], filter => [(&(objectClass=sambaSamAccount)(uid=quser))], scope => [2] [2006/07/28 09:59:24, 5] lib/smbldap.c:smbldap_search_ext(11...
2006 Jan 19
0
samba and veritas backup-to-disk directory
...NEGOTIATE_SIGN NTLMSSP_NEGOTIATE_NTLM NTLMSSP_NEGOTIATE_ALWAYS_SIGN NTLMSSP_NEGOTIATE_NTLM2 NTLMSSP_NEGOTIATE_128 NTLMSSP_NEGOTIATE_KEY_EXCH [2006/01/19 11:16:50, 10] smbd/password.c:register_vuid(158) register_vuid: allocated vuid = 156 [2006/01/19 11:16:50, 10] lib/util_pw.c:getpwnam_alloc(98) Got nobody from pwnam_cache [2006/01/19 11:16:50, 10] smbd/password.c:register_vuid(220) register_vuid: (65534,65534) nobody CELAR guest=1 [2006/01/19 11:16:50, 3] smbd/password.c:register_vuid(222) User name: nobody Real name: nobody [2006/01/19 11:16:50, 3] smbd/password.c:register_vui...
2007 Feb 04
0
Samba and Cisco's WebVPN
...c_ctx_stack_ndx = 1 [2007/01/30 15:54:54, 5] auth/auth_util.c:debug_nt_user_token(448) NT user token: (NULL) [2007/01/30 15:54:54, 5] auth/auth_util.c:debug_unix_user_token(474) UNIX token of user 0 Primary group is 0 and contains 0 supplementary groups [2007/01/30 15:54:54, 10] lib/util_pw.c:getpwnam_alloc(76) Got sloeckle from pwnam_cache [2007/01/30 15:54:54, 10] lib/util_pw.c:getpwnam_alloc(76) Got sloeckle from pwnam_cache [2007/01/30 15:54:54, 10] lib/system_smbd.c:sys_getgrouplist(125) sys_getgrouplist: user [sloeckle] [2007/01/30 15:54:54, 3] smbd/sec_ctx.c:push_sec_ctx(208) push_sec_c...
2008 Apr 23
0
Can't get ldap passwd sync = only to send password request to ldap server
...c_ctx_stack_ndx = 1 [2008/04/22 16:12:30, 5] auth/auth_util.c:debug_nt_user_token(448) NT user token: (NULL) [2008/04/22 16:12:30, 5] auth/auth_util.c:debug_unix_user_token(474) UNIX token of user 0 Primary group is 0 and contains 0 supplementary groups [2008/04/22 16:12:30, 10] lib/util_pw.c:getpwnam_alloc(76) Got scott from pwnam_cache [2008/04/22 16:12:30, 10] lib/util_pw.c:getpwnam_alloc(76) Got scott from pwnam_cache [2008/04/22 16:12:30, 10] lib/system_smbd.c:sys_getgrouplist(125) sys_getgrouplist: user [scott] [2008/04/22 16:12:30, 3] smbd/sec_ctx.c:push_sec_ctx(208) push_sec_ctx(0, 0)...
2006 Sep 01
0
[Fwd: Re: Authentication fails (sometimes)]
...2] auth/auth_util.c:debug_nt_user_token(448) > NT user token: (NULL) >[2006/08/27 20:03:03, 5, pid=18112] auth/auth_util.c:debug_unix_user_token(474) > UNIX token of user 0 > Primary group is 0 and contains 0 supplementary groups >[2006/08/27 20:03:03, 10, pid=18112] lib/util_pw.c:getpwnam_alloc(76) > Got law from pwnam_cache >[2006/08/27 20:03:03, 10, pid=18112] lib/util_pw.c:getpwnam_alloc(76) > Got law from pwnam_cache >[2006/08/27 20:03:03, 10, pid=18112] lib/system_smbd.c:sys_getgrouplist(125) > sys_getgrouplist: user [law] >[2006/08/27 20:03:03, 3, pid=18112] smb...
2006 Aug 30
1
Authentication fails (sometimes)
...0:03:03, 5, pid=18112] auth/auth_util.c:debug_nt_user_token(448) NT user token: (NULL) [2006/08/27 20:03:03, 5, pid=18112] auth/auth_util.c:debug_unix_user_token(474) UNIX token of user 0 Primary group is 0 and contains 0 supplementary groups [2006/08/27 20:03:03, 10, pid=18112] lib/util_pw.c:getpwnam_alloc(76) Got law from pwnam_cache [2006/08/27 20:03:03, 10, pid=18112] lib/util_pw.c:getpwnam_alloc(76) Got law from pwnam_cache [2006/08/27 20:03:03, 10, pid=18112] lib/system_smbd.c:sys_getgrouplist(125) sys_getgrouplist: user [law] [2006/08/27 20:03:03, 3, pid=18112] smbd/sec_ctx.c:push_sec_ctx...