[Samba] slow samba performance
Hello, We upgraded from Samba 2.2.8 to 3.0 and now Samba performance is really slow !! It takes awefully long to load the profiles than it did before. Even browsing the shares has lag. Please give me some tips on how I should increase this performance. I have attached the smb.conf file. All the parameters are the same. And we are using a much faster system too. [global] workgroup = Bank netbios name = fileserver ; server string = primary domain server running samba%v server string = fileserver security = user read raw = no min password length = 6 obey pam restrictions = Yes admin users = gurnish @employee pam password change = Yes ; username map = /etc/passwd smb passwd file = /etc/samba/smbpasswd passwd program = /usr/bin/passwd %u encrypt passwords = Yes passwd chat = *New*Unix*Password* %n\n *Retype*new*Unix*password*%n\n *passwd: all authentication tokens updated successfully* %n passwd chat debug = Yes username level = 10 unix password sync = no log level = 2 case sensitive = no log file = /var/log/samba/log.%m max log size = 50 time server = Yes unix extensions = Yes socket options = TCP_NODELAY SO_KEEPALIVE IPTOS_LOWDELAY SO_SNDBUF=8576 SO_RCVBUF=8576 admin users = @employee, administrator, @administrators add user script = /usr/sbin/useradd -d /dev/null -g machines -c 'Machine Account' -s /bin/false -M %u logon script = netlogon.bat logon path = \\%L\profile\%u.pds logon home = domain logons = Yes os level = 64 preferred master = Yes domain master = yes wins support = true name resolve order = wins lmhosts hosts bcast hosts allow = 127.0.0.1 172.16.1.0/255.255.255.0 192.168.2.0/255.255.255.0 ; hosts allow = 127.0.0.1 192.168.2.0/255.255.255.0 ; password server = None hosts deny = 0.0.0.0/0 @web 192.168.2.200 veto files = /*.mp3/*.divx/*.eml/ [profile] path = /home/samba/profile force user = %U writeable = yes create mask = 0600 directory mask = 0700 guest ok = Yes profile acls = Yes browseable = No csc policy = disable -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] password change error
Hi, We migrated from redhat 7.1 to redhat 3 ES and ran into one road block after the other. Most of them were solved except this last one. Users cannot change their passwords and then I read somewhere that samba 3.0 and MS KB828471 or 741 don't want to be friends. Then I upgraded my samba to be samba 3.0.7 (which i guess is the latest) Then I un-installed the KBB patch being accused. Still cannot change my passwords. Please advice. The following is my smb.conf # Global parameters [global] workgroup = sambapdc netbios name = PCSERVER server string = primary domain server running samba%v min password length = 6 ; obey pam restrictions = Yes pam password change = Yes ; username map = /etc/passwd smb passwd file = /etc/samba/smbpasswd passwd program = /usr/bin/passwd %u encrypt passwords = yes passwd chat = *New*Unix*Password* %n\n *Retype*new*Unix*password*%n\n *passwd: all authentication tokens updated successfully* %n passwd chat debug = Yes username level = 10 unix password sync = Yes log level = 2 case sensitive = no log file = /var/log/samba/log.%m max log size = 50 time server = Yes unix extensions = Yes socket options = TCP_NODELAY SO_KEEPALIVE IPTOS_LOWDELAY SO_SNDBUF=8192 SO_RCVBUF=8192 admin users = worldofbanking\gurnish, @employee, administrator, @administrators add user script = /usr/sbin/useradd -d /dev/null -g machines -c 'Machine Account' -s /bin/false -M %u logon script = netlogon.bat logon path = \\%L\profile\%u.pds logon home = domain logons = Yes os level = 64 preferred master = Yes domain master = yes wins support = Yes hosts allow = 127.0.0.1 192.168.2.0/255.255.255.0 ; password server = None hosts deny = 0.0.0.0/0 @web 192.168.2.200 [profile] path = /home/samba/profile force user = %U writeable = yes create mask = 0600 directory mask = 0700 guest ok = Yes profile acls = Yes browseable = No csc policy = disable [netlogon] path = /home/samba/netlogon write list = root @administrator browseable = No [pcshare] path = /home/samba writeable = yes create mask = 0 directory mask = 0 guest ok = Yes [Wywo] path = /home/samba/WYWO writeable = yes create mask = 0 directory mask = 0 guest ok = Yes [temp] path = /home/samba/temp writeable = yes create mask = 0 directory mask = 0 guest ok = Yes [Docs] path = /home/samba/MB/DOCS writeable = yes create mask = 0 directory mask = 0 [epsonprint] path = /tmp printable = Yes [EMAIL PROTECTED] root]# -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] smbmount - again
No...nfs is a part of the kernel..and not samba David Morel wrote: SMB is a better choice than NFS for many reasons, especially for the fact that its user based and not kernal based er... smbfs is part of the kernel as far as i know... David -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] user auth and then rejection
I'm trying to get roaming profiles running. I loggon to the domain SAMBAPDC and then get rejected to access the profiles. The following is the log that i get. The operating system I use is Win2k SP2/SP3 Win98 doesnt seems to have a problembut i do not test on it since we have to migrate to win2k. On 98 i loggon to the domain and get all the drives mapped perfectly with the same username/password im using on win2k. Win2k settings are out-of-box kind...I cannot select roaming profiles under user profiles...can that be a problem?? I do send plain text passwords by changing the registry settings. Or do I have to use encrypt passwords on smb.conf... please advice...below is the log file... [2003/03/11 14:01:25, 2] lib/access.c:check_access(329) Allowed connection from (192.168.2.213) [2003/03/11 14:01:25, 2] lib/access.c:check_access(329) Allowed connection from (192.168.2.213) [2003/03/11 14:01:25, 1] lib/util_sock.c:get_socket_name(977) Gethostbyaddr failed for 192.168.2.213 [2003/03/11 14:01:29, 2] lib/access.c:check_access(329) Allowed connection from (192.168.2.213) [2003/03/11 14:01:29, 2] smbd/reply.c:reply_sesssetup_and_X(985) Defaulting to Lanman password for gurnish [2003/03/11 14:01:29, 1] smbd/reply.c:reply_sesssetup_and_X(1001) Rejecting user 'gurnish': authentication failed [2003/03/11 14:01:42, 2] smbd/reply.c:reply_sesssetup_and_X(985) Defaulting to Lanman password for gurnish [2003/03/11 14:01:42, 1] smbd/reply.c:reply_sesssetup_and_X(1001) Rejecting user 'gurnish': authentication failed [2003/03/11 14:01:46, 2] smbd/reply.c:reply_sesssetup_and_X(985) Defaulting to Lanman password for gurnish [2003/03/11 14:01:46, 1] smbd/reply.c:reply_sesssetup_and_X(1001) Rejecting user 'gurnish': authentication failed [2003/03/11 14:01:46, 2] smbd/reply.c:reply_sesssetup_and_X(985) Defaulting to Lanman password for gurnish [2003/03/11 14:01:46, 1] smbd/reply.c:reply_sesssetup_and_X(1001) Rejecting user 'gurnish': authentication failed -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] win2k, roaming profiles and samba
Hi, i have this samba 2.2.7a configured as a PDC. I have been trying hard to make samba pick up the roaming profiles but its not able to. It's says the permission is denied on the server for the client to access its profile. Please help!!! Below is my smb.conf # Global parameters [global] workgroup = SAMBAPDC netbios name = PCSERVER server string = Primary Domain Server running SAMBA%v min passwd length = 6 obey pam restrictions = Yes pam password change = Yes passwd program = /usr/bin/passwd %u passwd chat = *New*Unix*Password* %n\n *Retype*new*Unix*password*%n\n *passwd: all authentication tokens updated successfully* %n passwd chat debug = Yes username level = 7 unix password sync = Yes log level = 2 log file = /var/log/samba/log.%m max log size = 50 socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RNDBUF=8192 SO_SRVBUF=8192 add user script = /usr/sbin/useradd -d /dev/null -g machines -c 'Machine Account' -s /bin/false -M %u logon path = \\%L\profile\%U domain logons = Yes os level = 64 preferred master = True domain master = True admin users = @administrator root hosts allow = 127.0.0.1 192.168.2.0/255.255.255.0 [homes] comment = Home Directories read only = No browseable = No [profile] path = /home/samba/profile create mask = 0600 directory mask = 0700 nt acl support = no read only = no [pcshare] path = /home/samba read only = No create mask = 0 directory mask = 0 guest ok = Yes [Programs] path = /home/samba/programs read only = No create mask = 0 directory mask = 0 guest ok = Yes -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] win2k, roaming profiles and samba
Just to follow up on what i mentioned. when i go and look at log.testwin in /var/log/samba (testwin is the test machine win2k for roaming profiles) The following is what i get Please help!!! [2003/03/08 12:32:56, 2] lib/access.c:check_access(329) Allowed connection from (192.168.2.179) [2003/03/08 12:32:58, 2] lib/access.c:check_access(329) Allowed connection from (192.168.2.179) [2003/03/08 12:32:58, 1] lib/util_sock.c:get_socket_name(977) Gethostbyaddr failed for 192.168.2.179 [2003/03/08 12:33:02, 2] lib/access.c:check_access(329) Allowed connection from (192.168.2.179) [2003/03/08 12:33:02, 2] smbd/reply.c:reply_sesssetup_and_X(985) Defaulting to Lanman password for gurnish [2003/03/08 12:33:02, 1] smbd/reply.c:reply_sesssetup_and_X(1001) Rejecting user 'gurnish': authentication failed [2003/03/08 12:33:36, 2] smbd/reply.c:reply_sesssetup_and_X(985) Defaulting to Lanman password for gurnish [2003/03/08 12:33:36, 1] smbd/reply.c:reply_sesssetup_and_X(1001) Rejecting user 'gurnish': authentication failed [2003/03/08 12:33:39, 2] smbd/reply.c:reply_sesssetup_and_X(985) Defaulting to Lanman password for gurnish [2003/03/08 12:33:39, 1] smbd/reply.c:reply_sesssetup_and_X(1001) Rejecting user 'gurnish': authentication failed [2003/03/08 12:33:39, 2] smbd/reply.c:reply_sesssetup_and_X(985) Defaulting to Lanman password for gurnish [2003/03/08 12:33:39, 1] smbd/reply.c:reply_sesssetup_and_X(1001) Rejecting user 'gurnish': authentication failed [2003/03/08 12:35:26, 2] smbd/server.c:exit_server(461) Closing connections -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] samba + win2k roaming profiles
Hi, I can't get Win 2k to have roaming profiles on the Samba Server. I have added all the required stuff shown below. Whenever I try to loggon, i get an error that the user does not have permissions to access \server\directory\profile Please advice!! Thanks. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] samba passwords
Can we set expire policy for samba passwords and make it work or appear on windows 98 side, and making the communication between samba and windows. Please help... Gurnish -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] PDC and BDC
Hello, How can I make two linux servers sync passwords. Is it something I do with Samba?? I want both the unix accounts and samba accounts be sync'ed. Please help!! Thanks, Gurnish -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba PDC and BDC
Hi, I want to set up Samba servers on our two Linux (Redhat 7.1) machines and get the passwords sync on both of them. How can I go about it. Also, how can i make password restrictions work between Samba and Win98 workstations. Please direct me to a HOW-to or any documentations if any. Thanks, Gurnish -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba