Displaying 19 results from an estimated 19 matches for "reload_services".
2000 Jun 16
0
Memory usage in reload_services()
...eves that samba checks if configuration file(s) has changed and
therefore services must be reloaded (function process.c:check_reload()).
Because it is touched right before, samba always decides to reload
services before new connection (function server.c:open_sockets()).
Therefore function server.c:reload_services() is called over and
over again during execution of the script.
We modified reload_services() such that it executes only for
the first time, on all subsequent occurances it just return. With this
modification, process was not growing any more. Then we were moving this
firts time condition down...
2004 May 24
1
debian unstable 3.0.4-3 panics
...bcups.so.2(httpConnectEncrypt+0x22) [0x40118d22]
#15 /usr/lib/libcups.so.2(httpConnect+0x38) [0x40118cf8]
#16 /usr/sbin/smbd(cups_printer_fn+0x41) [0x81b23b1]
#17 /usr/sbin/smbd(pcap_printer_fn+0x8b) [0x81b1fbb]
#18 /usr/sbin/smbd(add_all_printers+0x22) [0x81b7712]
#19 /usr/sbin/smbd(reload_services+0x6a) [0x823a0ca]
#20 /usr/sbin/smbd(main+0x26e) [0x823a89e]
#21 /lib/libc.so.6(__libc_start_main+0xc6) [0x401a0dc6]
#22 /usr/sbin/smbd(ldap_msgfree+0x89) [0x80780c1]
(System 2) Server role: ROLE_DOMAIN_PDC
Smb.conf...
[Global]
domain logons = Yes
os level = 33
preferr...
2001 Mar 16
3
Browsing [PLEASE]
...eter domain master = Yes
doing parameter socket address =
doing parameter guest account = tom
doing parameter valid users = somebody
doing parameter directory mask = 0770
[2001/03/12 20:45:18, 3] param/loadparm.c:lp_load(2805)
pm_process() returned Yes
[2001/03/12 20:45:18, 3] nmbd/nmbd.c:reload_services(289)
2009 Sep 01
1
Samba 3.3.7 -> smbd panic in printing.
...log file /var/log/samba/po-7678.log: Permission denied
#3 smbd(pcap_cache_reload+0x109) [0x2b8c781007b5]
[2009/09/01 12:12:59, 0] lib/debug.c:reopen_logs(663)
#4 smbd(reload_printers+0x25) [0x2b8c78353dfc]
Unable to open new log file /var/log/samba/po-7678.log: Permission denied
#5 smbd(reload_services+0x154) [0x2b8c78354043]
[2009/09/01 12:12:59, 0] lib/debug.c:reopen_logs(663)
#6 smbd(add_printer_hook+0x24d) [0x2b8c7807ed34]
Unable to open new log file /var/log/samba/po-7678.log: Permission denied
#7 smbd(_spoolss_addprinterex+0x205) [0x2b8c78088e2c]
#8 smbd [0x2b8c78073c95]
#9 s...
2016 Sep 22
0
Does the command line "smbcontrol ALL reload-config" force a connected share to flush parameter ?
...f and reload the config (use the command line "smbcontrol ALL reload-config" ),
but it doesn't work, the user still has read and write access to the share.
Doesr the command line "smbcontrol ALL reload-config" force a connected share to flush parameter ?
The code comment in reload_services said set_current_service "this forces service parameters to be flushed", does this already been implemented?
thanks
________________________________
fengwei 11322 (RD)
-----------------------------------------------------------------------------------------------------------------------...
1998 Jul 13
1
password server problem
We are using samba with a NT4.0 Primary Domain Controller as a samba password
server.
Logon validation on the primary domain controller works fine, the NT machine
validates the user password.
BUT: On the NT PDC the event log shows numerous entries saying:
Unknown user or wrong password
Did anybody experience this too ????
Rainer von Bongartz
/D/I/L/
rainer.von-bongartz@dil.de
2005 Apr 18
0
3.0.14a: sig11/panic on redhat6x
...iconv.c:208
#10 0x81a7736 in init_iconv () at lib/charcnv.c:128
#11 0x807b8b7 in handle_charset ()
#12 0x807c411 in lp_do_parameter ()
#13 0x807c58c in do_parameter ()
#14 0x807e23c in Parameter ()
#15 0x807e2a0 in Parse ()
#16 0x807e47e in pm_process ()
#17 0x807d42a in lp_load ()
#18 0x82196c4 in reload_services (test=0) at smbd/server.c:524
#19 0x8219f47 in main (argc=2, argv=0xbffff5f4) at smbd/server.c:816
==
==
[2005/04/18 21:30:37, 5] lib/iconv.c:smb_register_charset(111)
Registered charset 646
[2005/04/18 21:30:37, 5] lib/iconv.c:smb_register_charset(103)
Attempting to register new charset ISO-8...
2002 Nov 21
1
%U in include
.../*
+ * This hack is here to solve problem with %U in include tag
+ */
+ if (strcmp(vuser->user.smb_name,"") && strcmp(current_user_info.smb_name,vuser->user.smb_name)) {
+ DEBUG(0,("Reload services - %U in include\n"));
+ current_user_info = vuser->user;
+ reload_services(True);
+ }
+
next_vuid++;
num_validated_vuids++;
1998 Jun 19
1
SAMBA 1.9.18p8, username map, server security
I have a problem with new version (1.9.18p8) of SAMBA and username
mapping.
Configuration:
WindowsNT 4.0 Workstation + SP1
WindowsNT domain - NTEP01 is PDC
Digital UNIX 3.2C
Username on NT:
Babor
Username on UNIX:
baborl
In SMB.CONF I have following lines:
[global]
security = server
password server = NTEP01
username map = /usr/local/samba/lib/username.map
username.map:
baborl = babor
2002 Nov 20
0
Delay on first Attempt to resolve PDC host name
...id=1293] smbd/reply.c:reply_sesssetup_and_X(865)
Domain=[CYBERARK_DOM] NativeOS=[Windows 2002 2600 Service Pack 1]
NativeLanMan=[Windows 2002 5.1]
[2002/11/20 15:28:52, 3, pid=1293] smbd/reply.c:reply_sesssetup_and_X(876)
sesssetupX:name=[Weiss]
[2002/11/20 15:28:52, 4, pid=1293] smbd/server.c:reload_services(357)
RELOAD 1
[2002/11/20 15:28:52, 1, pid=1293]
/home/devyaron/import/PASmb/paops.c:pa_map_username(6856)
user=Weiss
[2002/11/20 15:28:52, 1, pid=1293]
/home/devyaron/import/PASmb/pasmbusers.c:pa_add_local_user(74)
Local user already exists (weiss)
[2002/11/20 15:28:52, 3, pid=1293] lib/util...
2001 Mar 12
0
Browsing Error
...eter domain master = Yes
doing parameter socket address =
doing parameter guest account = tom
doing parameter valid users = somebody
doing parameter directory mask = 0770
[2001/03/12 20:45:18, 3] param/loadparm.c:lp_load(2805)
pm_process() returned Yes
[2001/03/12 20:45:18, 3] nmbd/nmbd.c:reload_services(289)
services not loaded
[2001/03/12 20:45:18, 2] nmbd/nmbd.c:main(788)
Becoming a daemon.
[2001/03/12 20:45:19, 3] lib/util.c:fcntl_lock(2698)
fcntl lock gave errno 11 (Resource temporarily unavailable)
[2001/03/12 20:45:19, 3] lib/util.c:fcntl_lock(2720)
lock failed at offset 0 count 1 op...
2001 Mar 02
0
Problems with Samba 2.0.7, Solaris 8, and Windows 2K
...ile = /opt/sfw/var/log.%m
doing parameter max log size = 512
doing parameter load printers = No
doing parameter dns proxy = No
doing parameter hosts allow = 192.168. 127.
[2001/03/02 12:56:17, 3] param/loadparm.c:lp_load(2805)
pm_process() returned Yes
[2001/03/02 12:56:17, 3] nmbd/nmbd.c:reload_services(289)
services not loaded
[2001/03/02 12:56:17, 3] nmbd/nmbd.c:main(806)
Opening sockets 137
[2001/03/02 12:56:17, 3] lib/util_sock.c:open_socket_in(875)
bind succeeded on port 138
[2001/03/02 12:56:17, 3] nmbd/nmbd.c:open_sockets(520)
open_sockets: Broadcast sockets opened.
[2001/03/02 12:5...
2010 Mar 04
0
smb panic when trying to use printer (samba 3.3.11/CentOS5.4)
...log file /var/log/samba/po-7678.log: Permission denied
#3 smbd(pcap_cache_reload+0xb8) [0x2b808cad5bf8]
[2010/03/04 18:34:38, 0] lib/debug.c:reopen_logs(663)
#4 smbd(reload_printers+0x25) [0x2b808cd12ba5]
Unable to open new log file /var/log/samba/po-7678.log: Permission denied
#5 smbd(reload_services+0x68) [0x2b808cd12ce8]
[2010/03/04 18:34:38, 0] lib/debug.c:reopen_logs(663)
#6 smbd(delete_printer_hook+0x14c) [0x2b808ca5d8fc]
Unable to open new log file /var/log/samba/po-7678.log: Permission denied
#7 smbd(_spoolss_deleteprinter+0x258) [0x2b808ca64418]
[2010/03/04 18:34:38, 0] lib/de...
2006 Apr 04
0
Need help debugging (long)
...x808ab6c <do_section>, pfunc=0x808a6da <do_parameter>)
at param/params.c:588
#17 0x0808dce3 in lp_load (pszFname=0x83c9900 "/etc/samba/smb.conf",
global_only=0, save_defaults=0, add_ipc=1, initialize_globals=1)
at param/loadparm.c:4896
#18 0x0833ad8a in reload_services (test=0) at smbd/server.c:545
#19 0x0833b712 in main (argc=4, argv=0xbfa8c544) at smbd/server.c:842
(gdb) list
25
26
27 int
28 iconv_close (iconv_t cd)
29 {
30 if (__builtin_expect (cd == (iconv_t *) -1L, 0))
31 {
32 __set_errno (EBADF);
33 retur...
1999 Sep 29
3
AIX 4.32 install (PLEASE HELP)
...do_parameter(1943)
WARNING: The "alternate permissions"option is deprecated
doing parameter interfaces = 172.60.1.107/255.255.255.128
doing parameter dns proxy = no
[1999/09/02 14:24:37, 3] param/loadparm.c:lp_load(2504)
pm_process() returned Yes
[1999/09/02 14:24:37, 3] nmbd/nmbd.c:reload_services(217)
services not loaded
[1999/09/02 14:24:37, 2] nmbd/nmbd.c:main(709)
Becoming a daemon.
[1999/09/02 14:24:37, 3] nmbd/nmbd.c:main(719)
Opening sockets 137
[1999/09/02 14:24:37, 3] lib/util_sock.c:open_socket_in(675)
bind succeeded on port 137
[1999/09/02 14:24:37, 3] lib/util_sock.c:open...
2004 May 26
2
duplicate domains in browse list
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
i recently upgraded some of my servers from 3.0.2a to 3.0.4
after the upgrade my browselist shows duplicate entries for the domains.
one domains is managed by a samba PDC(providing WINS too) and two samba
BDC's.
the other domains are managed by one samba PDC.
'smbclient -N -L <WINS_SERVER>' shows:
- ---
Workgroup
2005 Apr 18
3
Samba Internal Error and Panic
Getting this on a FreeBSD 5.2.1-RELEASE #0: Sat Aug 28 11:56:25 CDT 2004
system when trying to start the smbd process after an upgrade to the
newest release. Didn't see anything helpful in the referenced appendix
bugs of the Samba HOWTO collection. An attempted smbd -d10 yielded a
core dump but no futher info.
-------------------------------log
1999 Jun 30
1
nmbd Problem
...parameter domain logons = Yes
doing parameter os level = 63
doing parameter preferred master = Yes
doing parameter domain master = Yes
doing parameter wins support = Yes
[1999/06/27 14:24:04, 3] param/loadparm.c:lp_load(2542)
pm_process() returned Yes
[1999/06/27 14:24:04, 3] nmbd/nmbd.c:reload_services(217)
services not loaded
[1999/06/27 14:24:04, 2] nmbd/nmbd.c:main(714)
Becoming a daemon.
[1999/06/27 14:24:04, 3] nmbd/nmbd.c:main(724)
Opening sockets 137
[1999/06/27 14:24:04, 3] lib/util_sock.c:open_socket_in(721)
bind succeeded on port 137
[1999/06/27 14:24:04, 3] lib/util_sock.c:open...
1998 Mar 05
14
Browsing
I am configuring Linux (2.0.33) as a local router. I am wanting to use
Samba (1.9.18p3) to "manage" the browse lists on my network so that
computers on each subnet can browse resources on the other subnets. My
local network consists of Win95 and NT40 workstations with NT40 servers.
My test configuration consists one token ring segment on one side of
the Samba box (network .192) and