Re: [Samba] Slow Directory Access after upgrade to 3.5.6
hello again, can you make the os level 15 or 20 in order to force SAMBA not to become preferred master by election. and check if you will still have the same issue On Mon, Sep 26, 2011 at 11:08 PM, Mike-14 [via Samba] ml-node+s2283325n3845173...@n4.nabble.com wrote: On Mon, Sep 26, 2011 at 1:51 PM, Dale Schroeder [hidden email] http://user/SendEmail.jtp?type=nodenode=3845173i=0 wrote: If you wish for your Samba system to be the domain master browser, then use domain master = Yes preferred master = Yes local master = Yes os level = 99# (65 or higher) That might solve your master browser error messages. See http://lists.samba.org/**archive/samba-technical/2000-**June/008259.html http://lists.samba.org/archive/samba-technical/2000-June/008259.html Another suggestion here: http://www.mail-archive.com/**samba@.../**msg61180.htmlhttp://www.mail-archive.com/**samba@lists.samba.org/**msg61180.html http://www.mail-archive.com/samba@.../msg61180.htmlhttp://www.mail-archive.com/samba@lists.samba.org/msg61180.html Dale, Thank you to you too for the thoughtful response. I've incorporated both your suggestions for now and want to see if the users report any difference. domain master = yes local master = yes ## preferred master = yes ## os level = 99 I've restarted both the nmbd and smbd daemons but the /var/log/samba.nmbd log continues to report: [2011/09/26 15:31:19.673919, 0] nmbd/nmbd_browsesync.c:350(find_domain_master_name_query_fail) find_domain_master_name_query_fail: Unable to find the Domain Master Browser name MW1b for the workgroup MW. Unable to sync browse lists in this workgroup. [2011/09/26 15:46:20.163072, 0] nmbd/nmbd_browsesync.c:350(find_domain_master_name_query_fail) find_domain_master_name_query_fail: Unable to find the Domain Master Browser name MW1b for the workgroup MW. Unable to sync browse lists in this workgroup. [2011/09/26 16:01:22.148946, 0] nmbd/nmbd_browsesync.c:350(find_domain_master_name_query_fail) find_domain_master_name_query_fail: Unable to find the Domain Master Browser name MW1b for the workgroup MW. Unable to sync browse lists in this workgroup. However, it may be that I need to do a killall to remove stray .pid's I didn't want to do so while all the users were still logged in and working. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba -- If you reply to this email, your message will be added to the discussion below: http://samba.2283325.n4.nabble.com/Slow-Directory-Access-after-upgrade-to-3-5-6-tp3830496p3845173.html To unsubscribe from Slow Directory Access after upgrade to 3.5.6, click herehttp://samba.2283325.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_codenode=3830496code=c2FkZGFtLmFidWdoYWlkYUBnbWFpbC5jb218MzgzMDQ5NnwtMTYxMzg3MzQ5OQ==. -- View this message in context: http://samba.2283325.n4.nabble.com/Slow-Directory-Access-after-upgrade-to-3-5-6-tp3830496p3846498.html Sent from the Samba - General mailing list archive at Nabble.com. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Slow Directory Access after upgrade to 3.5.6
On Tue, Sep 27, 2011 at 4:35 AM, sghaida saddam.abugha...@gmail.com wrote: hello again, can you make the os level 15 or 20 in order to force SAMBA not to become preferred master by election. and check if you will still have the same issue Would the following configuration be acceptable to test your suggestion: domain master = yes local master = yes os level = 15 Thanks for your help. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Slow Directory Access after upgrade to 3.5.6
set local master to yes and domain master to no On Tue, Sep 27, 2011 at 12:07 PM, Mike 1100...@gmail.com wrote: On Tue, Sep 27, 2011 at 4:35 AM, sghaida saddam.abugha...@gmail.comwrote: hello again, can you make the os level 15 or 20 in order to force SAMBA not to become preferred master by election. and check if you will still have the same issue Would the following configuration be acceptable to test your suggestion: domain master = yes local master = yes os level = 15 Thanks for your help. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Slow Directory Access after upgrade to 3.5.6
On Tue, Sep 27, 2011 at 5:30 AM, saddam abu ghaida saddam.abugha...@gmail.com wrote: set local master to yes and domain master to no Excellent, will give it a try. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Slow Directory Access after upgrade to 3.5.6
I tried the settings but still no luck with find_domain_master_name_query_fail message. ~# cat /etc/samba/smb.conf #=== Global Settings = [global] netbios name = a1 workgroup = mw server string = A1 Server security = user hosts allow = 192.168.1. 127. hosts deny = 0.0.0.0/0 log file = /var/log/samba.%m max log size = 500 passdb backend = tdbsam encrypt passwords = Yes domain master = no local master = yes os level = 15 ## time server = yes ## preferred master = yes wins support = yes name resolve order = wins host bcast lmhosts wide links = no log level = 3 = ~#cat /var/log/samba.nmbd: [2011/09/27 07:06:13.170424, 0] nmbd/nmbd_browsesync.c:350(find_domain_master_name_query_fail) find_domain_master_name_query_fail: Unable to find the Domain Master Browser name MW1b for the workgroup MW. Unable to sync browse lists in this workgroup. [2011/09/27 07:21:18.364603, 0] nmbd/nmbd_browsesync.c:350(find_domain_master_name_query_fail) find_domain_master_name_query_fail: Unable to find the Domain Master Browser name MW1b for the workgroup MW. Unable to sync browse lists in this workgroup. [2011/09/27 07:36:25.026395, 0] nmbd/nmbd_browsesync.c:350(find_domain_master_name_query_fail) find_domain_master_name_query_fail: Unable to find the Domain Master Browser name MW1b for the workgroup MW. Unable to sync browse lists in this workgroup. [2011/09/27 07:51:32.479213, 0] nmbd/nmbd_browsesync.c:350(find_domain_master_name_query_fail) find_domain_master_name_query_fail: Unable to find the Domain Master Browser name MW1b for the workgroup MW. Unable to sync browse lists in this workgroup. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Slow Directory Access after upgrade to 3.5.6
On Sun, Sep 25, 2011 at 5:44 PM, sghaida saddam.abugha...@gmail.com wrote: hello, why do you use samba as preferred master ?? . it seems that you are using samba only for shares security=user so you can set preferred master = no and remove the OS entries since it only helps in master election, and regarding the wins (nmblookup) you need to run the nmb service. and to clarify the problem in more understandable way. can you dump the output of testparam -vv Hi Saddam, Thank you very much for your reply. A long time ago when I first set up the server, I thought I read the preferred master parameter was necessary for clients, but it appears I am wrong in this understanding. I will research this in the samba documentation. I am currently running the nmbd process, but I get the feeling perhaps running an nmb service may be something different. I have enclosed the testparm -vv dump below. The server role is stated as: ROLE_STANDALONE Thanks again for taking the time to respond; very much appreciated. Here's the other output: [global] dos charset = CP850 unix charset = UTF-8 display charset = LOCALE workgroup = MW netbios name = A1 netbios aliases = netbios scope = server string = A1 Server interfaces = bind interfaces only = No security = USER auth methods = encrypt passwords = Yes update encrypted = No client schannel = Auto server schannel = Auto allow trusted domains = Yes map to guest = Never null passwords = No obey pam restrictions = No password server = * smb passwd file = /etc/samba/private/smbpasswd private dir = /etc/samba/private passdb backend = tdbsam algorithmic rid base = 1000 root directory = guest account = nobody enable privileges = Yes pam password change = No passwd program = passwd chat = *new*password* %n\n *new*password* %n\n *changed* passwd chat debug = No passwd chat timeout = 2 check password script = username map = password level = 0 username level = 0 unix password sync = No restrict anonymous = 0 lanman auth = No ntlm auth = Yes client NTLMv2 auth = No client lanman auth = No client plaintext auth = No preload modules = dedicated keytab file = kerberos method = default map untrusted to domain = No log level = 3 syslog = 1 syslog only = No log file = /var/log/samba.%m max log size = 500 debug timestamp = Yes debug prefix timestamp = No debug hires timestamp = Yes debug pid = No debug uid = No debug class = No enable core files = Yes smb ports = 445 139 large readwrite = Yes max protocol = NT1 min protocol = CORE min receivefile size = 0 read raw = Yes write raw = Yes disable netbios = No reset on zero vc = No acl compatibility = auto defer sharing violations = Yes nt pipe support = Yes nt status support = Yes announce version = 4.9 announce as = NT max mux = 50 max xmit = 16644 name resolve order = lmhosts wins host bcast max ttl = 259200 max wins ttl = 518400 min wins ttl = 21600 time server = Yes unix extensions = Yes use spnego = Yes client signing = auto server signing = No client use spnego = Yes client ldap sasl wrapping = plain enable asu support = No svcctl list = deadtime = 0 getwd cache = Yes keepalive = 300 lpq cache time = 30 max smbd processes = 0 paranoid server security = Yes max disk size = 0 max open files = 16384 socket options = TCP_NODELAY use mmap = Yes hostname lookups = No name cache timeout = 660 ctdbd socket = cluster addresses = clustering = No ctdb timeout = 0 load printers = Yes printcap cache time = 750 printcap name = cups server = cups encrypt = No cups connection timeout = 30 iprint server = disable spoolss = No addport command = enumports command = addprinter command = deleteprinter command = show add printer wizard = Yes os2 driver map = mangling method = hash2 mangle prefix = 1 max stat cache size = 256 stat cache = Yes machine password timeout = 604800 add user script = rename user script = delete user script = add group script = delete group script = add user to group script = delete user from group script = set primary group script = add machine script = shutdown script = abort shutdown script = username map script = logon script = logon path = \\%N\%U\profile logon drive = logon home = \\%N\%U domain logons = No init logon delayed hosts = init logon delay = 100 os level = 99 lm announce = Auto lm interval = 60 preferred master = Yes local master = Yes domain master = Auto browse list = Yes enhanced browsing = Yes dns proxy =
Re: [Samba] Slow Directory Access after upgrade to 3.5.6
On 09/26/2011 11:05 AM, Mike wrote: On Sun, Sep 25, 2011 at 5:44 PM, sghaidasaddam.abugha...@gmail.com wrote: hello, why do you use samba as preferred master ?? . it seems that you are using samba only for shares security=user so you can set preferred master = no and remove the OS entries since it only helps in master election, and regarding the wins (nmblookup) you need to run the nmb service. and to clarify the problem in more understandable way. can you dump the output of testparam -vv Hi Saddam, Thank you very much for your reply. A long time ago when I first set up the server, I thought I read the preferred master parameter was necessary for clients, but it appears I am wrong in this understanding. I will research this in the samba documentation. If you wish for your Samba system to be the domain master browser, then use domain master = Yes preferred master = Yes local master = Yes os level = 99# (65 or higher) That might solve your master browser error messages. See http://lists.samba.org/archive/samba-technical/2000-June/008259.html Another suggestion here: http://www.mail-archive.com/samba@lists.samba.org/msg61180.html Otherwise, you can do as Saddam suggests. Dale I am currently running the nmbd process, but I get the feeling perhaps running an nmb service may be something different. I have enclosed the testparm -vv dump below. The server role is stated as: ROLE_STANDALONE Thanks again for taking the time to respond; very much appreciated. Here's the other output: [global] dos charset = CP850 unix charset = UTF-8 display charset = LOCALE workgroup = MW netbios name = A1 netbios aliases = netbios scope = server string = A1 Server interfaces = bind interfaces only = No security = USER auth methods = encrypt passwords = Yes update encrypted = No client schannel = Auto server schannel = Auto allow trusted domains = Yes map to guest = Never null passwords = No obey pam restrictions = No password server = * smb passwd file = /etc/samba/private/smbpasswd private dir = /etc/samba/private passdb backend = tdbsam algorithmic rid base = 1000 root directory = guest account = nobody enable privileges = Yes pam password change = No passwd program = passwd chat = *new*password* %n\n *new*password* %n\n *changed* passwd chat debug = No passwd chat timeout = 2 check password script = username map = password level = 0 username level = 0 unix password sync = No restrict anonymous = 0 lanman auth = No ntlm auth = Yes client NTLMv2 auth = No client lanman auth = No client plaintext auth = No preload modules = dedicated keytab file = kerberos method = default map untrusted to domain = No log level = 3 syslog = 1 syslog only = No log file = /var/log/samba.%m max log size = 500 debug timestamp = Yes debug prefix timestamp = No debug hires timestamp = Yes debug pid = No debug uid = No debug class = No enable core files = Yes smb ports = 445 139 large readwrite = Yes max protocol = NT1 min protocol = CORE min receivefile size = 0 read raw = Yes write raw = Yes disable netbios = No reset on zero vc = No acl compatibility = auto defer sharing violations = Yes nt pipe support = Yes nt status support = Yes announce version = 4.9 announce as = NT max mux = 50 max xmit = 16644 name resolve order = lmhosts wins host bcast max ttl = 259200 max wins ttl = 518400 min wins ttl = 21600 time server = Yes unix extensions = Yes use spnego = Yes client signing = auto server signing = No client use spnego = Yes client ldap sasl wrapping = plain enable asu support = No svcctl list = deadtime = 0 getwd cache = Yes keepalive = 300 lpq cache time = 30 max smbd processes = 0 paranoid server security = Yes max disk size = 0 max open files = 16384 socket options = TCP_NODELAY use mmap = Yes hostname lookups = No name cache timeout = 660 ctdbd socket = cluster addresses = clustering = No ctdb timeout = 0 load printers = Yes printcap cache time = 750 printcap name = cups server = cups encrypt = No cups connection timeout = 30 iprint server = disable spoolss = No addport command = enumports command = addprinter command = deleteprinter command = show add printer wizard = Yes os2 driver map = mangling method = hash2 mangle prefix = 1 max stat cache size = 256 stat cache = Yes machine password timeout = 604800 add user script = rename user script = delete user script =
Re: [Samba] Slow Directory Access after upgrade to 3.5.6
On Mon, Sep 26, 2011 at 1:51 PM, Dale Schroeder d...@briannassaladdressing.com wrote: If you wish for your Samba system to be the domain master browser, then use domain master = Yes preferred master = Yes local master = Yes os level = 99# (65 or higher) That might solve your master browser error messages. See http://lists.samba.org/**archive/samba-technical/2000-**June/008259.htmlhttp://lists.samba.org/archive/samba-technical/2000-June/008259.html Another suggestion here: http://www.mail-archive.com/**samba@lists.samba.org/**msg61180.htmlhttp://www.mail-archive.com/samba@lists.samba.org/msg61180.html Dale, Thank you to you too for the thoughtful response. I've incorporated both your suggestions for now and want to see if the users report any difference. domain master = yes local master = yes ## preferred master = yes ## os level = 99 I've restarted both the nmbd and smbd daemons but the /var/log/samba.nmbd log continues to report: [2011/09/26 15:31:19.673919, 0] nmbd/nmbd_browsesync.c:350(find_domain_master_name_query_fail) find_domain_master_name_query_fail: Unable to find the Domain Master Browser name MW1b for the workgroup MW. Unable to sync browse lists in this workgroup. [2011/09/26 15:46:20.163072, 0] nmbd/nmbd_browsesync.c:350(find_domain_master_name_query_fail) find_domain_master_name_query_fail: Unable to find the Domain Master Browser name MW1b for the workgroup MW. Unable to sync browse lists in this workgroup. [2011/09/26 16:01:22.148946, 0] nmbd/nmbd_browsesync.c:350(find_domain_master_name_query_fail) find_domain_master_name_query_fail: Unable to find the Domain Master Browser name MW1b for the workgroup MW. Unable to sync browse lists in this workgroup. However, it may be that I need to do a killall to remove stray .pid's I didn't want to do so while all the users were still logged in and working. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Slow Directory Access after upgrade to 3.5.6
hello, why do you use samba as preferred master ?? . it seems that you are using samba only for shares security=user so you can set preferred master = no and remove the OS entries since it only helps in master election, and regarding the wins (nmblookup) you need to run the nmb service. and to clarify the problem in more understandable way. can you dump the output of testparam -vv Saddam Abu Ghaida -- View this message in context: http://samba.2283325.n4.nabble.com/Slow-Directory-Access-after-upgrade-to-3-5-6-tp3830496p3842178.html Sent from the Samba - General mailing list archive at Nabble.com. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Slow Directory Access after upgrade to 3.5.6
I am now using log level 3 in samba and the nmbd process shows the following just about every 15 minutes: [2011/09/23 12:09:35.535017, 0] nmbd/nmbd_browsesync.c:350(find_domain_master_name_query_fail) find_domain_master_name_query_fail: Unable to find the Domain Master Browser name MW1b for the workgroup MW. Unable to sync browse lists in this workgroup. [2011/09/23 12:24:42.934861, 0] nmbd/nmbd_browsesync.c:350(find_domain_master_name_query_fail) find_domain_master_name_query_fail: Unable to find the Domain Master Browser name MW1b for the workgroup MW. Unable to sync browse lists in this workgroup. [2011/09/23 12:39:50.847643, 0] nmbd/nmbd_browsesync.c:350(find_domain_master_name_query_fail) find_domain_master_name_query_fail: Unable to find the Domain Master Browser name MW1b for the workgroup MW. Unable to sync browse lists in this workgroup. [2011/09/23 12:55:00.264436, 0] nmbd/nmbd_browsesync.c:350(find_domain_master_name_query_fail) find_domain_master_name_query_fail: Unable to find the Domain Master Browser name MW1b for the workgroup MW. Unable to sync browse lists in this workgroup. smbd process shows the following: [2011/09/23 12:35:40.645624, 0] lib/util_sock.c:1432(get_peer_addr_internal) getpeername failed. Error was Transport endpoint is not connected [2011/09/23 12:42:15.882985, 0] lib/util_sock.c:1432(get_peer_addr_internal) getpeername failed. Error was Transport endpoint is not connected -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Slow Directory Access after upgrade to 3.5.6
On Fri, Sep 23, 2011 at 1:01 PM, Mike 1100...@gmail.com wrote: I am now using log level 3 in samba and the nmbd process shows the following just about every 15 minutes: [2011/09/23 12:09:35.535017, 0] nmbd/nmbd_browsesync.c:350(find_domain_master_name_query_fail) find_domain_master_name_query_fail: Unable to find the Domain Master Browser name MW1b for the workgroup MW. Unable to sync browse lists in this workgroup. [2011/09/23 12:24:42.934861, 0] nmbd/nmbd_browsesync.c:350(find_domain_master_name_query_fail) find_domain_master_name_query_fail: Unable to find the Domain Master Browser name MW1b for the workgroup MW. Unable to sync browse lists in this workgroup. [2011/09/23 12:39:50.847643, 0] nmbd/nmbd_browsesync.c:350(find_domain_master_name_query_fail) find_domain_master_name_query_fail: Unable to find the Domain Master Browser name MW1b for the workgroup MW. Unable to sync browse lists in this workgroup. [2011/09/23 12:55:00.264436, 0] nmbd/nmbd_browsesync.c:350(find_domain_master_name_query_fail) find_domain_master_name_query_fail: Unable to find the Domain Master Browser name MW1b for the workgroup MW. Unable to sync browse lists in this workgroup. smbd process shows the following: [2011/09/23 12:35:40.645624, 0] lib/util_sock.c:1432(get_peer_addr_internal) getpeername failed. Error was Transport endpoint is not connected [2011/09/23 12:42:15.882985, 0] lib/util_sock.c:1432(get_peer_addr_internal) getpeername failed. Error was Transport endpoint is not connected Has anyone seen these kinds of log messages before and provide guidance on how to follow-up? Thank you for your help. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Slow Directory Access after upgrade to 3.5.6
Follow-up on first post: /var/log/samba/nmbd.log -- [2011/09/19 13:13:07.959554, 0] nmbd/nmbd_browsesync.c:350(find_domain_master_name_query_fail) find_domain_master_name_query_fail: Unable to find the Domain Master Browser name MW1b for the workgroup MW. Unable to sync browse lists in this workgroup. [2011/09/19 13:28:07.204633, 0] nmbd/nmbd_browsesync.c:350(find_domain_master_name_query_fail) root@a1:/var/log/samba# smbclient -N -L a1 -- Anonymous login successful Domain=[MW] OS=[Unix] Server=[Samba 3.5.6] Sharename Type Comment - --- Ac Disk Ma Disk Ca Disk Ne Disk Ol Disk Ka Disk MzDisk Fa Disk Sc Disk IPC$IPC IPC Service (A1 Server) Anonymous login successful Domain=[MW] OS=[Unix] Server=[Samba 3.5.6] Server Comment ---- A1 A1 Server WorkgroupMaster ---- MW A1 /etc/samba/smb.conf -- #=== Global Settings = [global] netbios name = a1 workgroup = mw server string = A1 Server security = user hosts allow = 192.168.1. 127.0.0. hosts deny = 0.0.0.0/0 log file = /var/log/samba.%m max log size = 500 passdb backend = tdbsam encrypt passwords = Yes local master = yes os level = 99 time server = yes preferred master = yes wins support = yes wide links = no # Share Definitions == [Ac] writable = yes read only = no guest ok = yes public = yes oplocks = true level2 oplocks = true path = /abc/def create mask = 0777 directory mask = 0777 security mask = 0777 directory security mask = 0777 [Ma] writable = yes read only = no guest ok = yes public = yes oplocks = true level2 oplocks = true path = /abc/ghi create mask = 0777 directory mask = 0777 security mask = 0777 directory security mask = 0777 the settings on all other shares are precisely the same. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba