search for: get_user_home_dir

Displaying 6 results from an estimated 6 matches for "get_user_home_dir".

2020 Jun 30
2
[Announce] Samba 4.11.10 Available for Download
Release Announcements --------------------- This is the latest stable release of the Samba 4.11 release series. Changes since 4.11.9 -------------------- o Jeremy Allison <jra at samba.org> * BUG 14374: Fix segfault when using SMBC_opendir_ctx() routine for share folder that contains incorrect symbols in any file name. o Ralph Boehme <slow at samba.org> * BUG 14350:
2020 Jun 30
2
[Announce] Samba 4.11.10 Available for Download
Release Announcements --------------------- This is the latest stable release of the Samba 4.11 release series. Changes since 4.11.9 -------------------- o Jeremy Allison <jra at samba.org> * BUG 14374: Fix segfault when using SMBC_opendir_ctx() routine for share folder that contains incorrect symbols in any file name. o Ralph Boehme <slow at samba.org> * BUG 14350:
2020 Jun 30
0
[Announce] Samba 4.11.10 Available for Download
...- samba-4.11.10/lib/util/util_paths.c.ORIG 2020-06-30 19:33:05.577758000 +0200 +++ samba-4.11.10/lib/util/util_paths.c 2020-06-30 19:33:29.561225000 +0200 @@ -64,6 +64,10 @@ return get_dyn_SHLIBEXT(); } +#ifndef NSS_BUFLEN_PASSWD +#define NSS_BUFLEN_PASSWD 2048 +#endif + static char *get_user_home_dir(TALLOC_CTX *mem_ctx) { struct passwd pwd = {0}; One might wanna change the code to use a dynamically allocated ?buf? and have a loop around getpwnam_r() that checks for ERANGE and retry with a bigger ?buf? though. (Same basically goes for all the get{pw,gr}xx_r() functions - not 100% imp...
2008 Feb 25
1
3.0.28 continuously dumping core
...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] #15 /usr/local/samba/sbin/smbd(get_referred_path+0x183) [0x800c7751] #16 /usr/local/samba/sbin/smbd(setup_dfs_referral+0x14a) [0x800c7d8f] #17 /usr/local/samba/sbin/smbd(handle_trans2+0x5bff) [0x8009f0...
2005 Oct 20
1
high cpu load with 3.0.20b (not using ldap)
...bfffec6f "colorlaser5quota", user2=0xbfffe500 "COLORLASER5QUOTA") at username.c:279 #9 0x081f2c96 in Get_Pwnam_alloc (user=0xbfffec6f "colorlaser5quota") at username.c:315 #10 0x081f2cb1 in Get_Pwnam (user=0x798716af "") at username.c:329 #11 0x081f21a5 in get_user_home_dir (user=0x798716af "") at username.c:76 #12 0x080eb681 in find_service (service=0xbfffec6f "colorlaser5quota") at service.c:139 #13 0x08149801 in set_printer_hnd_name (Printer=0x83e4ad0, handlename=0xbfffec60 "\\\\134.91.90.52") at srv_spoolss_nt.c:539 #14 0x08149cf8 i...
2011 Apr 15
0
Samba PANIC - running two instances
...28735]: #3 /lib64/libc.so.6 [0x2b2fdfbadc10] Apr 15 08:00:20 shalimar smbd[28735]: #4 /usr/sbin/smbd(Get_Pwnam_alloc+0x2b) [0x55555576693b] Apr 15 08:00:20 shalimar smbd[28735]: #5 /usr/sbin/smbd(Get_Pwnam+0xb) [0x555555766c9b] Apr 15 08:00:20 shalimar smbd[28735]: #6 /usr/sbin/smbd(get_user_home_dir+0x9) [0x555555766cd9] Apr 15 08:00:20 shalimar smbd[28735]: #7 /usr/sbin/smbd [0x555555779fb4] Apr 15 08:00:20 shalimar smbd[28735]: #8 /usr/sbin/smbd(standard_sub_advanced+0x26) [0x55555577a866] Apr 15 08:00:20 shalimar smbd[28735]: #9 /usr/sbin/smbd [0x555555794d0e] Apr 15 08:00:20 shal...