Re: [Samba] Samba + CUPS
Nick if it going on for all printers add to smb.conf cups options = job-hold-until=indefinite -- Damien Dye BSC(hon) On 25 May 2010 00:47, Nick Couchman nick.couch...@seakr.com wrote: The -o job-hold-until=when option tells CUPS to delay printing until the when time, which can be one of the following: Well, I found the option in the Printing Preferences under the Windows driver, but setting it has no effect - the job prints immediately. Something else I need to do? This e-mail may contain confidential and privileged material for the sole use of the intended recipient. If this email is not intended for you, or you are not responsible for the delivery of this message to the intended recipient, please note that this message may contain SEAKR Engineering (SEAKR) Privileged/Proprietary Information. In such a case, you are strictly prohibited from downloading, photocopying, distributing or otherwise using this message, its contents or attachments in any way. If you have received this message in error, please notify us immediately by replying to this e-mail and delete the message from your mailbox. Information contained in this message that does not relate to the business of SEAKR is neither endorsed by nor attributable to SEAKR. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Login Samba/LDAP
From the sounds of it you need a custom GINA see http://en.wikipedia.org/wiki/Graphical_Identification_and_Authentication -- Damien Dye BSC(hon) 2010/5/17 Thiago Gonzaga B. Galvão thiagobandi...@yahoo.com.br: Hello guys, Can you help me? My network has the following configuration: I have a Samba server integrated into an LDAP server. In the future we will implement a mechanism of single sign-on: is a property of access control of multiple, related, but independent software systems. With this property a user logs in once and gains access to all systems without being prompted to log in again at each of them (*). The user logs into their workstation with their username/password,and this username/password used is the same as it use to gain access to other systems that we have in our network. So, my question is: if the user is logged into your workstation (authentication Samba/LDAP), can I store this login/password used for later use it to log on other systems? Hugs, Thanks... (*)http://en.wikipedia.org/wiki/Single_sign-on Thiago Galvão Graduate student in Computer ScienceBrazil In a World without Walls and Fences, who need Windows and Gates? Think different. Think Linux -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Vista error 67 The network name cannot be found
how are you supplying the server with the username from the failing client the username should be sambaservername\username so that the samba server can authenticate against it's local sam. regards -- Damien Dye BSC(hon) On 5 May 2010 03:01, o...@aloha.com wrote: On 2010-05-04 16:16:49 GMT o...@aloha.com (that's me) wrote: I think I can run a test using plain, out-of-the-box Vista. Maybe even XP. Will post results when I have them. It works with out-of-the-box Vista. I'll examine the logs and post what falls out tomorrow. I compared the log from the successful Vista connect to the one from the failed connect. Below are several excerpts. Lines that begin with S are from the successful log, and lines that begin with F are from the failed log. I can post the entire log if that will help. To reiterate, both client computers are running Vista. The one that cannot connect (F) is a member of a domain and has security settings pushed down from the domain controller. It can connect to servers in its domain. The one that can connect (S) is out-of-the-box Vista and is not a member of a domain ... it is still in the WORKGROUP workgroup. The first notable deviation appears at line 99. (I added the asterisks.) The F log has smbd/process.c:smbd_process while the S log has smbd/process.c:process_smb. The next line of the F log suggests that it is out of input, while the S log indicates it has more process. About 60 lines later both show a successful authentication. About 50 lines later (F=235, S=261) we see identical entries about SIDs and permissions. A bit later, while connecting to the IPC$ service, we see a similar divergence as at line 99, the F client gets NT_STATUS_END_OF_FILE while the S client keeps on going. I hope that is enough to shed some light on this issue, and I hope the result is a way to connect from the F client without having to modify its security settings. Is there a simpler way to connect, one that does not trip over the authentication step? Username/password accesses control is sort of overkill given that the hand full of people who connect will be at the same table working together. Physical security should be enough. F = failed session S = successful session F 98 error packet at smbd/sesssetup.c(127) cmd=115 (SMBsesssetupX) NT_STATUS_LOGON_FAILURE F 99 [2010/04/29 15:06:48, 3] smbd/process.c:smbd_process(1930) * F 100 receive_message_or_smb failed: NT_STATUS_END_OF_FILE, exiting F 101 [2010/04/29 15:06:48, 3] smbd/sec_ctx.c:set_sec_ctx(324) F 102 setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 F 103 [2010/04/29 15:06:48, 3] smbd/connection.c:yield_connection(31) F 104 Yielding connection to F 105 [2010/04/29 15:06:48, 3] smbd/server.c:exit_server_common(974) F 106 Server exit (normal exit) S 98 error packet at smbd/sesssetup.c(127) cmd=115 (SMBsesssetupX) NT_STATUS_LOGON_FAILURE S 99 [2010/05/04 15:20:57, 3] smbd/process.c:process_smb(1554) *** S 100 Transaction 3 of length 142 (0 toread) S 101 [2010/05/04 15:20:57, 3] smbd/process.c:switch_message(1378) S 102 switch message SMBsesssetupX (pid 1180) conn 0x0 S 103 [2010/05/04 15:20:57, 3] smbd/sec_ctx.c:set_sec_ctx(324) S 104 setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 S 105 [2010/05/04 15:20:57, 3] smbd/sesssetup.c:reply_sesssetup_and_X(1412) S 106 wct=12 flg2=0xc807 S 107 [2010/05/04 15:20:57, 2] smbd/sesssetup.c:setup_new_vc_session(1368) S 108 setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all old resources. - F 167 [2010/04/29 15:06:56, 3] auth/auth.c:check_ntlm_password(269) F 168 check_ntlm_password: sam authentication for user [g8team] succeeded S 193 [2010/05/04 15:20:57, 3] auth/auth.c:check_ntlm_password(269) S 194 check_ntlm_password: sam authentication for user [g8team] succeeded - F 235 [2010/04/29 15:06:56, 3] lib/privileges.c:get_privileges(63) F 236 get_privileges: No privileges assigned to SID [S-1-5-21-1265442170-81825414-2419232721-501] F 237 [2010/04/29 15:06:56, 3] lib/privileges.c:get_privileges(63) F 238 get_privileges: No privileges assigned to SID [S-1-22-2-1002] F 239 [2010/04/29 15:06:56, 3] lib/privileges.c:get_privileges(63) F 240 get_privileges: No privileges assigned to SID [S-1-5-2] F 241 [2010/04/29 15:06:56, 3] lib/privileges.c:get_privileges(63) F 242 get_privileges: No privileges assigned to SID [S-1-5-11] S 261 [2010/05/04 15:20:57, 3] lib/privileges.c:get_privileges(63) S 262 get_privileges: No privileges assigned to SID [S-1-5-21-1265442170-81825414-2419232721-501] S 263 [2010/05/04 15:20:57, 3] lib/privileges.c:get_privileges(63) S 264 get_privileges: No privileges assigned to SID [S-1-22-2-1002] S 265 [2010/05/04 15:20:57, 3] lib/privileges.c:get_privileges(63) S 266 get_privileges: No privileges assigned to SID [S-1-5-2
Re: [Samba] please wait for the user profile service...
Well the roaming profiles are copied to the host machine when a user logson and back again when they log off. You can use policy to redirect some of the profile folders like my doc desktop and app data live on the server to make the profile significantly smaller. Also enforcing deleting roaming profiles in policy will remove the profile at logoff too -Original Message- From: Evan Ingram evan.ing...@cariss.co.uk Sent: 12 May 2010 09:24 AM To: Damien Dye damien.j@googlemail.com Cc: samba samba@lists.samba.org Subject: Re: [Samba] please wait for the user profile service... On Thu, 2010-05-06 at 18:41 +0100, Damien Dye wrote: Evan whats your profile paths set to in the global section of smb.conf ? because windows thinks you got it set to \\samba\username\ http://pastebin.com/DedrS9Uh no c: users is required you must have the registry part of the profile local the rest does not. so no matter where i have my profile dirs on samba, they always have to be on the windows C: drive as well? i set the server up with a relatively small windows partition and a big samba partition thinking all the user data and shared data could go on the samba partition. as it stands user data is filling my windows partition up. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Samba on top of Windows?
you turned off simple file sharing on the windows 7 host and enabled windows file sharing on the windows firewall ? -- Damien Dye BSC(hon) On 5 May 2010 16:28, Public Mailing Lists li...@lists.cichon.com wrote: Hi all, I just bought a brand new PC for my living room (Asus eee Box) that happens to come with Windows 7. I can nicely plug in large USB hard drives, any my intention was to share these harddrives on the network, for example with my old Windows 98 PC on which I still run some favorite computer games. And of course, I would also like to access the large harddrive occasionally from my linux box (e.g. to put backups on them). However, I had to learn that Windows 7 does not want to share my harddrive with the other computer on the network that are not Windows 7. All tried all different kinds of things: I switched off the home group, I switched off various encryption/security settings in the control panel. I even changed some registry settings that I googled from the web. All without success. I spare you the technical details on this... I can't understand why it has to be so hard to just export a simple harddisk on the network. With every single version upgrade of Windows, it breaks. From Windows 95 to Windows 98. From Windows 98 to Windows XP. And now with Windows 7, again. IMHO, the purpose of networking is to COMMUNICATE with whichever protocol is out there. I don't want to deal with neither Windows domain controllers, nor home groups, nor roaming profiles, nor encryption requirements, nor anything that Windows will come up with in the next release that breaks everything else. I would like just export a hard disk with a user-name and a password and use it with everything from Windows 3.1 to my Linux box without getting a headache. So, my question is: Is it possible to run Samba on top of Windows? Thanks for your help in advance. Cheers, G. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] please wait for the user profile service...
humm do those folders exist ? I would do the profiles diffrently because this methord is prone to problems defining the path as follows should resolve as long as the user has full control on there own folders. [profiles] comment = Users profiles path = /home/samba/profiles/%U browseable = no this will create the two folders you described below and should work. after that the windows XP hosts will work. windows vista / 7 clients will need the profile registry keys removing before this works. HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList make sure you don't remove local user profiles. Regards -- Damien Dye BSC(hon) On 6 May 2010 11:15, Evan Ingram evan.ing...@cariss.co.uk wrote: the samba profile settings?? i've got: [profiles] comment = Users profiles path = /home/samba/profiles/%U/%U.pds browseable = no profile acls = yes [profiles.v2] comment = Users profiles for Vista and Windows 7 path = /home/samba/profiles/%U/%U.pds.v2 browseable = no profile acls = yes but nothing is in those directories in /home/samba/. global settings here: http://pastebin.com/DedrS9Uh should i be able to use group policy management in windows to alter profile settings? or can i do it somewhere else? i try and add the domain to the group policy management tool and it says domain cannot be found. On Thu, 2010-04-29 at 20:22 +0100, Damien Dye wrote: Sounds like your terminal server is creating a new profile on each logon. Whats the profile path set too ? -Original Message- From: Evan Ingram evan.ing...@cariss.co.uk Sent: 29 April 2010 03:00 PM To: samba samba@lists.samba.org Subject: [Samba] please wait for the user profile service... hi all got a windows 2008 server using samba as a primary domain controller. also got terminal services on the windows box for remote desktops, got some clients set up with thinstation to automatically connect to the terminal server with rdesktop. got a problem with logging on and off, its taking about 2 minutes to log in, please wait for the user profile service, time increases if theres lots of users trying to log on at the same time. has anyone had experience of this and can provide any assistance? does it sound like a samba problem or a windows problem? -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] please wait for the user profile service...
Evan whats your profile paths set to in the global section of smb.conf ? because windows thinks you got it set to \\samba\username\ no c: users is required you must have the registry part of the profile local the rest does not. Regards 6 May 2010 12:41, Evan Ingram evan.ing...@cariss.co.uk wrote: On Thu, 2010-05-06 at 12:16 +0100, Damien Dye wrote: windows vista / 7 clients will need the profile registry keys removing before this works. HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList make sure you don't remove local user profiles. which profile registry keys need removing? under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion \ProfileList i can see directories for users (S-1-5-21-26) and in each is a CentralProfile entry which is \\samba\username\profile.V2, and a ProfileImagePath which is C:\Users\username. i dont want profile data in C:\Users, can it just get it all from the samba profile dir? -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] samba and active directory groups
humm am assuming that you want a share that is dynamic and that the group is defined by the primary unix group of the user if so try adding a share like this. [group] comment = my group folder %g path = /path/to/folder/%g browseable = yes writable = yes -- Damien Dye BSC(hon) On 29 April 2010 23:55, Tharanga Abeyseela (RGA) tharanga.abeyse...@rexelga.com.au wrote: Hi list, I have successfully authenticated active directory users with samba. Now I need to create some Active directory security groups and authenticate and redirect those users to a specific directory. Ex: IT_GROUP - user x , user y FIN_group - user a, user b If the user x , access the samba server, that user will be redirected to the specific directory (that's in the samba stanza). This is my smb.conf [global] workgroup = xxx realm = xxx.COM preferred master = no server string = Samba file and print server security = ADS encrypt passwords = yes password server = * log level = 3 log file = /var/log/samba/%m max log size = 50 winbind separator = + idmap uid = 1-2 idmap gid = 1-2 winbind enum users = yes winbind enum groups = yes auth methods = winbind printcap name = cups printing = cups [homes] comment = Home Directories path = /home/IT browseable = no writable = yes inherit acls = yes inherit permissions = yes #valid users = @ADGROUP+domain users valid users = @ADGROUP+domain test_access1 #create mode = 0664 #directory mode = 0775 [IT] comment = Home Directories path = /home/IT browseable = no writable = yes #valid users = @ADGROUP+domain users directory mode = 0775 valid users = @ADGROUP+domain test_access2 write list = @ADGROUP+domain test_access2 read list = @ADGROUP+domain test_access2 If someone try to access the samba server (\\sambaserverfile:///\\sambaserver) it will create ADusername directory on the server. (user Mary access the server it will create a directory named mary automatically ) I need to redirect them to a specific directory based on the Active directory group access . Can someone help to me solve the issue. Thanks, Tharanga -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] The user name could not be found when joining a samba domain
humm cn: workstation75$ description: Computer gecos: Computer gidNumber: 515 homeDirectory: /dev/null loginShell: /bin/false objectClass: top, account, posixAccount uid: workstation75$ uidNumber: 1068 looks like the samba account has not been created only the unix account. does the join work if you have a samba account for the machine defined first ? -- Damien Dye BSC(hon) On 30 April 2010 01:10, Michael Leonetti mleone...@evolutionce.com wrote: Using LDAP and the smbldap-tools. When attempting to join the domain with an administrative user, the computer gets added to the Computers list in LDAP with the following attributes: cn: workstation75$ description: Computer gecos: Computer gidNumber: 515 homeDirectory: /dev/null loginShell: /bin/false objectClass: top, account, posixAccount uid: workstation75$ uidNumber: 1068 Then the workstation displays this message: the following error occurred attempting to join the domain falm the user name could not be found Then the workstation log outputs this at log level 3 [2010/04/29 19:52:33.724539, 3] smbd/process.c:1485(process_smb) Transaction 0 of length 137 (0 toread) [2010/04/29 19:52:33.724570, 3] smbd/process.c:1294(switch_message) switch message SMBnegprot (pid 1986) conn 0x0 [2010/04/29 19:52:33.724593, 3] smbd/sec_ctx.c:310(set_sec_ctx) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 [2010/04/29 19:52:33.724661, 3] smbd/negprot.c:586(reply_negprot) Requested protocol [PC NETWORK PROGRAM 1.0] [2010/04/29 19:52:33.724679, 3] smbd/negprot.c:586(reply_negprot) Requested protocol [LANMAN1.0] [2010/04/29 19:52:33.724692, 3] smbd/negprot.c:586(reply_negprot) Requested protocol [Windows for Workgroups 3.1a] [2010/04/29 19:52:33.724706, 3] smbd/negprot.c:586(reply_negprot) Requested protocol [LM1.2X002] [2010/04/29 19:52:33.724724, 3] smbd/negprot.c:586(reply_negprot) Requested protocol [LANMAN2.1] [2010/04/29 19:52:33.724742, 3] smbd/negprot.c:586(reply_negprot) Requested protocol [NT LM 0.12] [2010/04/29 19:52:33.724846, 3] smbd/negprot.c:404(reply_nt1) using SPNEGO [2010/04/29 19:52:33.724862, 3] smbd/negprot.c:691(reply_negprot) Selected protocol NT LM 0.12 [2010/04/29 19:52:33.736749, 3] smbd/process.c:1485(process_smb) Transaction 1 of length 240 (0 toread) [2010/04/29 19:52:33.736799, 3] smbd/process.c:1294(switch_message) switch message SMBsesssetupX (pid 1986) conn 0x0 [2010/04/29 19:52:33.736880, 3] smbd/sec_ctx.c:310(set_sec_ctx) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 [2010/04/29 19:52:33.736930, 3] smbd/sesssetup.c:1435(reply_sesssetup_and_X) wct=12 flg2=0xc807 [2010/04/29 19:52:33.736952, 2] smbd/sesssetup.c:1390(setup_new_vc_session) setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all old resources. [2010/04/29 19:52:33.737021, 3] smbd/sesssetup.c:1189(reply_sesssetup_and_X_spnego) Doing spnego session setup [2010/04/29 19:52:33.737086, 3] smbd/sesssetup.c:1231(reply_sesssetup_and_X_spnego) NativeOS=[Windows 2002 Service Pack 3 2600] NativeLanMan=[Windows 2002 5.1] PrimaryDomain=[] [2010/04/29 19:52:33.737157, 3] smbd/sesssetup.c:805(reply_spnego_negotiate) reply_spnego_negotiate: Got secblob of size 40 [2010/04/29 19:52:33.737254, 3] libsmb/ntlmssp.c:65(debug_ntlmssp_flags) Got NTLMSSP neg_flags=0xa2088207 [2010/04/29 19:52:33.738057, 3] smbd/process.c:1485(process_smb) Transaction 2 of length 358 (0 toread) [2010/04/29 19:52:33.738121, 3] smbd/process.c:1294(switch_message) switch message SMBsesssetupX (pid 1986) conn 0x0 [2010/04/29 19:52:33.738185, 3] smbd/sec_ctx.c:310(set_sec_ctx) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 [2010/04/29 19:52:33.738244, 3] smbd/sesssetup.c:1435(reply_sesssetup_and_X) wct=12 flg2=0xc807 [2010/04/29 19:52:33.738285, 2] smbd/sesssetup.c:1390(setup_new_vc_session) setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all old resources. [2010/04/29 19:52:33.738337, 3] smbd/sesssetup.c:1189(reply_sesssetup_and_X_spnego) Doing spnego session setup [2010/04/29 19:52:33.738396, 3] smbd/sesssetup.c:1231(reply_sesssetup_and_X_spnego) NativeOS=[Windows 2002 Service Pack 3 2600] NativeLanMan=[Windows 2002 5.1] PrimaryDomain=[] [2010/04/29 19:52:33.738471, 3] libsmb/ntlmssp.c:747(ntlmssp_server_auth) Got user=[administrator] domain=[falm] workstation=[WORKSTATION75] len1=24 len2=24 [2010/04/29 19:52:33.738557, 3] auth/auth.c:216(check_ntlm_password) check_ntlm_password: Checking password for unmapped user [falm]\[administrat...@[workstation75] with the new password interface [2010/04/29 19:52:33.738622, 3] auth/auth.c:219(check_ntlm_password) check_ntlm_password: mapped user is: [falm]\[administrat...@[workstation75] [2010/04/29 19:52:33.738687, 3] smbd/sec_ctx.c:210(push_sec_ctx) push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1 [2010/04/29 19:52:33.738728, 3] smbd/uid.c
Re: [Samba] please wait for the user profile service...
Sounds like your terminal server is creating a new profile on each logon. Whats the profile path set too ? -Original Message- From: Evan Ingram evan.ing...@cariss.co.uk Sent: 29 April 2010 03:00 PM To: samba samba@lists.samba.org Subject: [Samba] please wait for the user profile service... hi all got a windows 2008 server using samba as a primary domain controller. also got terminal services on the windows box for remote desktops, got some clients set up with thinstation to automatically connect to the terminal server with rdesktop. got a problem with logging on and off, its taking about 2 minutes to log in, please wait for the user profile service, time increases if theres lots of users trying to log on at the same time. has anyone had experience of this and can provide any assistance? does it sound like a samba problem or a windows problem? -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Allow Local System user on win2k3 access to Samba share
You could run the service on the windows 2k3 box under another username thats allowed to access samba. As long as the usernames and password match i dont see any issues. -Original Message- From: Kevin A. Brown kevin.br...@digicelgroup.com Sent: 25 April 2010 10:58 PM To: samba@lists.samba.org samba@lists.samba.org Subject: [Samba] Allow Local System user on win2k3 access to Samba share Greetings, I have a service running on a Windows Server 2003 box that I want to write to a Samba share running on Solaris 10. The Samba is not a DC. How can I give access to the Local System user on the Windows box without making the share writeable to any other user or system? Regards, KB Notice of Confidentiality: The information contained in this communication is intended solely for the use of the individual or entity to whom it is addressed and others authorized to receive it. It may contain confidential or legally privileged information. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the contents of this information is strictly prohibited and may be unlawful. If you have received this communication in error, please notify us immediately by responding to this email and then delete it from your system. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Allow Local System user on win2k3 access to Samba share
Well the local system account is not able to log into other machines because it has a blank password. Blank password accountsare not allowed network access -Original Message- From: Kevin A. Brown kevin.br...@digicelgroup.com Sent: 26 April 2010 12:30 AM To: Damien Dye damien.j@googlemail.com; samba@lists.samba.org samba@lists.samba.org Subject: RE: [Samba] Allow Local System user on win2k3 access to Samba share It's a MS SQL database service. Our standard is to have it run as Local System. KB -Original Message- From: Damien Dye [mailto:damien.j@googlemail.com] Sent: Sunday, April 25, 2010 6:27 PM To: Kevin A. Brown; samba@lists.samba.org Subject: RE: [Samba] Allow Local System user on win2k3 access to Samba share You could run the service on the windows 2k3 box under another username thats allowed to access samba. As long as the usernames and password match i dont see any issues. -Original Message- From: Kevin A. Brown kevin.br...@digicelgroup.com Sent: 25 April 2010 10:58 PM To: samba@lists.samba.org samba@lists.samba.org Subject: [Samba] Allow Local System user on win2k3 access to Samba share Greetings, I have a service running on a Windows Server 2003 box that I want to write to a Samba share running on Solaris 10. The Samba is not a DC. How can I give access to the Local System user on the Windows box without making the share writeable to any other user or system? Regards, KB Notice of Confidentiality: The information contained in this communication is intended solely for the use of the individual or entity to whom it is addressed and others authorized to receive it. It may contain confidential or legally privileged information. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the contents of this information is strictly prohibited and may be unlawful. If you have received this communication in error, please notify us immediately by responding to this email and then delete it from your system. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Samba - Swat
Answers below -- Damien Dye BSC(hon) On 16 April 2010 13:54, Lucy Little lucyann.lit...@yahoo.com wrote: My husband has installed Samba - swat and wants to link all the computers in the house, so he can back them up daily. I read the About info on your website, but still have a few questions: 1. I work online, can Samba capture any information (passwords, screen shots, personal information, administrative log on) that might jeopardize my job's security? no. 2. Can personal emails be tracked and passwords captured? no not unless you save the files holding them to the samba server. 3. Can live chat be captured? no it's for windows file sharing !!! 4. Can personal email addresses be opened using Samba? it's for windows file sharing not emails!! Thank you, Lucy -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Windows 7 and samba 3.0.28
Have you place the registry keys in that are stated on the site ??? http://wiki.samba.org/index.php/Windows7 -- Damien Dye BSC(hon) On 16 April 2010 15:12, vishesh kumar linuxtovish...@gmail.com wrote: Sorry , again here. Windows 7 client joined Domain but user is unable to log on error is ' The trust relationship between this workstation and primary doamin failed'. Dumped again what may be reason of this error Thanks On Fri, Apr 16, 2010 at 6:49 PM, vishesh kumar linuxtovish...@gmail.com wrote: Thanks for suggestion. it worked . Thanks On Fri, Apr 16, 2010 at 5:11 PM, Miguel Medalha miguelmeda...@sapo.pt wrote: On 2010-04-16 12:20, Miguel Medalha wrote: May be this question asked earlier in list but i didn't able to search exact . I have samba+ldap domain setup on RHEL 5.1 and samba version is 3.0.28. Today i got a windows 7 system , but i am not able to join that system in our samba+ldap domain. Do i need to do any registry tweaking. I can't upgrade own samba version beyond 3.0.33 because this maximum version i get if i update my system to RHEL 5.5. With the version you have you won't make it work. You can use a more recent Sernet package for CentOS 5: http://ftp.sernet.de/pub/samba/ Ooops! I wrongly assumed you were on CentOS. You will find the Red Hat packages at the same Sernet address. -- http://linuxinterviews.blogspot.com -- http://linuxinterviews.blogspot.com -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Samba 2.2.0. Vista Business Edition
Version 2.2 pre dates vista you should be looking to update to a minimum of 3.4 to ensure compatiblity. If you turn off ntlm v2 on vista and sign and seal does it work then ? -Original Message- From: David McWilliams davidk...@gmail.com Sent: 16 April 2010 08:16 PM To: samba@lists.samba.org Subject: [Samba] Samba 2.2.0. Vista Business Edition I'm trying to get a new Vista Business client to connect a newly created Samba server. Windows XP clients connect without issue. I have tried changing 'Network Security: Lan Manager Authentication Level' to 'Send LM NTLM use NTLMv2 session security if negotiated', as suggested on other sites, but to no avail. We have a domain, but both the Samba server the Vista client are part of a workgroup not on the domain. The client server can ping each other by hostname ip address. The Samba server is a Solaris 8 SPARC box. Here is my smb.conf file; [global] netbios name = SAMBA server string = Samba Server 2.2.0 security = SHARE log level = 2 log file = /var/tmp/samba.out.%m max log size = 50 dns proxy = No [team] path = /team read only = No guest ok = Yes strict sync = Yes oplocks = No Browsing to either the IP of hostname of the Samba server, gives the same error - 'Windows cannot access \\SAMBA file://samba/, Check the spelling of the name...'. Running smbclient gives; bash-2.03# ./smbclient -L 192.168.1.221 INFO: Debug class all level = 2 (pid 5737 from pid 5737) added interface ip=192.168.1.253 bcast=192.168.1.255 nmask=255.255.255.0 session request to 192.168.1.221 failed (Called name not present) session request to 192 failed (Called name not present) session request to *SMBSERVER failed (Called name not present) I appreciate any insight anyone can provide. Sláinte, David Build a man a fire he'll be warm for a day, set a man on fire and he'll be warm for the rest of his life - Terry Pratchett Checkout my photos - http://www.panoramio.com/user/1113507 -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] winxp + sp3 = samba-shared printer hangs the system
Is this with the cups drivers or manufacturer ones ? I would clean all the installed print drivers from the effected systems and connect again. Also is the print spooler busy on the clients because it can be caused by the xps virtual printer from office -Original Message- From: Ryan Suarez ryan.sua...@sheridanc.on.ca Sent: 16 April 2010 08:07 PM To: Simone iceee...@gmail.com; ML Samba samba@lists.samba.org Subject: Re: [Samba] winxp + sp3 = samba-shared printer hangs the system Simone wrote: hi, since I upgraded some winxp-pro sp2 client to sp3, my samba-shared printers are no-longer usable :-/ With sp3, if I run notepad and choose the menù File-Print, the print window hangs and does not show any printer for about 1 minute! The same thing happens when I click on the menù Start-settings-Printer and faxes. With sp2, everything works correctly and I can browse all my configured samba-printers. This is the way I added printers ... In my PDC I configued 2 samba-printers( \\mypdc\printer1 and \\mypdc\printer2), then I logged in as administrator and globally added printers using, as suggested in the samba doc, the RunDLL32 PrintUI.DLL,PrintUIEntry command: :: to delete previously added printers... RunDLL32 PrintUI.DLL,PrintUIEntry /gd /n \\mypdc\printer1 /q RunDLL32 PrintUI.DLL,PrintUIEntry /gd /n \\mypdc\printer2 /q :: to add samba-shared printers GLOBALLY... Rundll32 printui.dll,PrintUIEntry /ga /n \\mypdc\printer1 /q Rundll32 printui.dll,PrintUIEntry /ga /n \\mypdc\printer2 /q Then I rebooted the client once. Should I disable some strange sort of security feature? And ideas or useful pointer ? I'm not sure if it's a samba issue or really an XP client issue. If you google xp sp3 slow printing you see a few people having this problem, not just with samba... -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] question difference of roaming profile between WinXP and Win7
Humm right ok lets see if we can fix it what should happen is that the share should be connected too and there should be a list of profiles. Please define share defined as [nt-profile] comment = Client Profiles path = /BUERO/samba/nt-profile read only = No create mask = 0600 directory mask = 0700 this should create a folder and all the profiles should be listed inside one username and another username.V2 Also what is the profile path assigned to users. Regards -- Damien Dye BSC(hon) On 9 April 2010 15:58, Rhshshgs Sdasdad r...@gmx.at wrote: Hello @Damien I remove nt-profile.v2 and deleted all server profiles in Win7 but I still was logged on using a temporary profile. I found a msg in sambalog like: service [nt-profile.v2] not found @Linda I made the same experince. There was never a profile username.V2 referenced and used. Now I'm fully confused in that topic. I my test environment (1 PDC, 1 WinXP and 1 Win7 virtual machines), I was able to logon with win7 using a server profile with just username. The profile was newly created and empty and samba had defined a [nt-profile.v2] share. The same settings don't work in my production environment. I have the same settings, defined a new user but Win7 is logging on using a temp profile. I set log level to 4, inspected all messages but couldn't find any reason why a temp profile. Does someone have a good tip for me for further investigation or a reason? This there a link available How to setup samba with win 7 clients? regards robert Original-Nachricht Datum: Sun, 4 Apr 2010 16:37:34 +0100 Von: Damien Dye damien.j@googlemail.com An: r...@gmx.at CC: samba@lists.samba.org Betreff: Re: [Samba] question difference of roaming profile between WinXP and Win7 Robert remove the .V2 share and then remove your profiles from vista/win 7 at this reg key HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList then all will work as expected. -- Damien Dye BSC(hon) On 4 April 2010 16:15, r...@gmx.at wrote: Hello Christian This what I expected with Win7 clients. But in my case XP and 7 are using the same profile (which shouldn't be), but from different shares. It seems XP is connecting to the profiles via my share [nt-profile] and Win7 via share [nt-profile.v2]. If i comment [nt-profile.v2], Win7 cannot connect to the profile (it starts always with an temporary profile). My username.V2 profiles are still empty. I never saw an logentry pointing to username.V2. Several hits in google answers just to create/copy a username.V2 directory and that's it. Which didn't work for me. [nt-profile.v2] was just a guess due to entries from the samba logs. The only possibility I see, is to define path = /BUERO/samba/nt-profile/%u.V2 (or something similar) in [nt-profile.v2] to differentiate between XP and 7. Who is adding the v2 extension? Is it samba or Win7? I'm running Samba 3.4.3. regards Robert Original-Nachricht Datum: Sun, 4 Apr 2010 00:00:40 +0200 (CEST) Von: Christian Rost c...@rocon-it.de An: r...@gmx.at CC: samba@lists.samba.org Betreff: RE: [Samba] question difference of roaming profile between WinXP and Win7 Hi, IMHO both profiles can stay within the same share, so you don't need a separate .v2 share. It's the same with Windows 2003 Server and a mixture of XP/ Vista/Seven Clients. What you need to keep in mind is that Windows XP profiles are not compatible with Vista/Seven profiles - hence the .v2 suffix and they're completely different profiles. When you're logging into Vista/Seven for the first time, your exisitng pre-Vista profile will be converted and will be renamed to username.v2. Each time you're logging into Vista/ Seven the username.v2 profile will be updated, and each time you're logging into XP your username profile will be updated. Cheers, Christian === Dipl.-Ing. Christian Rost roCon - Informationstechnologie Glatzer Weg 4 44534 Lünen fon: +49 (0) 2306 910 658 fax: +49 (0) 2306 910 664 url: http://www.rocon-it.de r...@gmx.at wrote Subject: [Samba] question difference of roaming profile between WinXP and Win7 Date: 03.04.2010 17:02 Hello I want to add Win7 machine to my Samba PDC with WinXP clients. Google tells me I have to add a .V2 to my profiles. The samba log ask about a .v2 share. Can someone explain me the difference of the v2 extension at the profile names and the roaming profile share? Following my settings: smb.conf: [global] logon path = \\%L\nt-profile logon home = \\%L\nt-profile
Re: [Samba] question difference of roaming profile between WinXP and Win7
Also please define your profiles path like logon path = \\%L\nt-profile\%U Regards -- Damien Dye BSC(hon) On 9 April 2010 16:17, Damien Dye damien.j@googlemail.com wrote: Humm right ok lets see if we can fix it what should happen is that the share should be connected too and there should be a list of profiles. Please define share defined as [nt-profile] comment = Client Profiles path = /BUERO/samba/nt-profile read only = No create mask = 0600 directory mask = 0700 this should create a folder and all the profiles should be listed inside one username and another username.V2 Also what is the profile path assigned to users. Regards -- Damien Dye BSC(hon) On 9 April 2010 15:58, Rhshshgs Sdasdad r...@gmx.at wrote: Hello @Damien I remove nt-profile.v2 and deleted all server profiles in Win7 but I still was logged on using a temporary profile. I found a msg in sambalog like: service [nt-profile.v2] not found @Linda I made the same experince. There was never a profile username.V2 referenced and used. Now I'm fully confused in that topic. I my test environment (1 PDC, 1 WinXP and 1 Win7 virtual machines), I was able to logon with win7 using a server profile with just username. The profile was newly created and empty and samba had defined a [nt-profile.v2] share. The same settings don't work in my production environment. I have the same settings, defined a new user but Win7 is logging on using a temp profile. I set log level to 4, inspected all messages but couldn't find any reason why a temp profile. Does someone have a good tip for me for further investigation or a reason? This there a link available How to setup samba with win 7 clients? regards robert Original-Nachricht Datum: Sun, 4 Apr 2010 16:37:34 +0100 Von: Damien Dye damien.j@googlemail.com An: r...@gmx.at CC: samba@lists.samba.org Betreff: Re: [Samba] question difference of roaming profile between WinXP and Win7 Robert remove the .V2 share and then remove your profiles from vista/win 7 at this reg key HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList then all will work as expected. -- Damien Dye BSC(hon) On 4 April 2010 16:15, r...@gmx.at wrote: Hello Christian This what I expected with Win7 clients. But in my case XP and 7 are using the same profile (which shouldn't be), but from different shares. It seems XP is connecting to the profiles via my share [nt-profile] and Win7 via share [nt-profile.v2]. If i comment [nt-profile.v2], Win7 cannot connect to the profile (it starts always with an temporary profile). My username.V2 profiles are still empty. I never saw an logentry pointing to username.V2. Several hits in google answers just to create/copy a username.V2 directory and that's it. Which didn't work for me. [nt-profile.v2] was just a guess due to entries from the samba logs. The only possibility I see, is to define path = /BUERO/samba/nt-profile/%u.V2 (or something similar) in [nt-profile.v2] to differentiate between XP and 7. Who is adding the v2 extension? Is it samba or Win7? I'm running Samba 3.4.3. regards Robert Original-Nachricht Datum: Sun, 4 Apr 2010 00:00:40 +0200 (CEST) Von: Christian Rost c...@rocon-it.de An: r...@gmx.at CC: samba@lists.samba.org Betreff: RE: [Samba] question difference of roaming profile between WinXP and Win7 Hi, IMHO both profiles can stay within the same share, so you don't need a separate .v2 share. It's the same with Windows 2003 Server and a mixture of XP/ Vista/Seven Clients. What you need to keep in mind is that Windows XP profiles are not compatible with Vista/Seven profiles - hence the .v2 suffix and they're completely different profiles. When you're logging into Vista/Seven for the first time, your exisitng pre-Vista profile will be converted and will be renamed to username.v2. Each time you're logging into Vista/ Seven the username.v2 profile will be updated, and each time you're logging into XP your username profile will be updated. Cheers, Christian === Dipl.-Ing. Christian Rost roCon - Informationstechnologie Glatzer Weg 4 44534 Lünen fon: +49 (0) 2306 910 658 fax: +49 (0) 2306 910 664 url: http://www.rocon-it.de r...@gmx.at wrote Subject: [Samba] question difference of roaming profile between WinXP and Win7 Date: 03.04.2010 17:02 Hello I want to add Win7 machine to my Samba PDC with WinXP clients. Google tells me I have to add a .V2 to my profiles. The samba log ask about a .v2 share. Can someone explain me the difference of the v2
Re: [Samba] question difference of roaming profile between WinXP and Win7
Also information about the differences and workarounds using profile redirection can be found here http://en.wikipedia.org/wiki/Roaming_user_profile -- Damien Dye BSC(hon) On 9 April 2010 16:20, Damien Dye damien.j@googlemail.com wrote: Also please define your profiles path like logon path = \\%L\nt-profile\%U Regards -- Damien Dye BSC(hon) On 9 April 2010 16:17, Damien Dye damien.j@googlemail.com wrote: Humm right ok lets see if we can fix it what should happen is that the share should be connected too and there should be a list of profiles. Please define share defined as [nt-profile] comment = Client Profiles path = /BUERO/samba/nt-profile read only = No create mask = 0600 directory mask = 0700 this should create a folder and all the profiles should be listed inside one username and another username.V2 Also what is the profile path assigned to users. Regards -- Damien Dye BSC(hon) On 9 April 2010 15:58, Rhshshgs Sdasdad r...@gmx.at wrote: Hello @Damien I remove nt-profile.v2 and deleted all server profiles in Win7 but I still was logged on using a temporary profile. I found a msg in sambalog like: service [nt-profile.v2] not found @Linda I made the same experince. There was never a profile username.V2 referenced and used. Now I'm fully confused in that topic. I my test environment (1 PDC, 1 WinXP and 1 Win7 virtual machines), I was able to logon with win7 using a server profile with just username. The profile was newly created and empty and samba had defined a [nt-profile.v2] share. The same settings don't work in my production environment. I have the same settings, defined a new user but Win7 is logging on using a temp profile. I set log level to 4, inspected all messages but couldn't find any reason why a temp profile. Does someone have a good tip for me for further investigation or a reason? This there a link available How to setup samba with win 7 clients? regards robert Original-Nachricht Datum: Sun, 4 Apr 2010 16:37:34 +0100 Von: Damien Dye damien.j@googlemail.com An: r...@gmx.at CC: samba@lists.samba.org Betreff: Re: [Samba] question difference of roaming profile between WinXP and Win7 Robert remove the .V2 share and then remove your profiles from vista/win 7 at this reg key HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList then all will work as expected. -- Damien Dye BSC(hon) On 4 April 2010 16:15, r...@gmx.at wrote: Hello Christian This what I expected with Win7 clients. But in my case XP and 7 are using the same profile (which shouldn't be), but from different shares. It seems XP is connecting to the profiles via my share [nt-profile] and Win7 via share [nt-profile.v2]. If i comment [nt-profile.v2], Win7 cannot connect to the profile (it starts always with an temporary profile). My username.V2 profiles are still empty. I never saw an logentry pointing to username.V2. Several hits in google answers just to create/copy a username.V2 directory and that's it. Which didn't work for me. [nt-profile.v2] was just a guess due to entries from the samba logs. The only possibility I see, is to define path = /BUERO/samba/nt-profile/%u.V2 (or something similar) in [nt-profile.v2] to differentiate between XP and 7. Who is adding the v2 extension? Is it samba or Win7? I'm running Samba 3.4.3. regards Robert Original-Nachricht Datum: Sun, 4 Apr 2010 00:00:40 +0200 (CEST) Von: Christian Rost c...@rocon-it.de An: r...@gmx.at CC: samba@lists.samba.org Betreff: RE: [Samba] question difference of roaming profile between WinXP and Win7 Hi, IMHO both profiles can stay within the same share, so you don't need a separate .v2 share. It's the same with Windows 2003 Server and a mixture of XP/ Vista/Seven Clients. What you need to keep in mind is that Windows XP profiles are not compatible with Vista/Seven profiles - hence the .v2 suffix and they're completely different profiles. When you're logging into Vista/Seven for the first time, your exisitng pre-Vista profile will be converted and will be renamed to username.v2. Each time you're logging into Vista/ Seven the username.v2 profile will be updated, and each time you're logging into XP your username profile will be updated. Cheers, Christian === Dipl.-Ing. Christian Rost roCon - Informationstechnologie Glatzer Weg 4 44534 Lünen fon: +49 (0) 2306 910 658 fax: +49 (0) 2306 910 664 url: http://www.rocon-it.de r...@gmx.at wrote Subject: [Samba] question difference of roaming profile between WinXP and Win7 Date
Re: [Samba] question difference of roaming profile between WinXP and Win7
Robert remove the .V2 share and then remove your profiles from vista/win 7 at this reg key HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList then all will work as expected. -- Damien Dye BSC(hon) On 4 April 2010 16:15, r...@gmx.at wrote: Hello Christian This what I expected with Win7 clients. But in my case XP and 7 are using the same profile (which shouldn't be), but from different shares. It seems XP is connecting to the profiles via my share [nt-profile] and Win7 via share [nt-profile.v2]. If i comment [nt-profile.v2], Win7 cannot connect to the profile (it starts always with an temporary profile). My username.V2 profiles are still empty. I never saw an logentry pointing to username.V2. Several hits in google answers just to create/copy a username.V2 directory and that's it. Which didn't work for me. [nt-profile.v2] was just a guess due to entries from the samba logs. The only possibility I see, is to define path = /BUERO/samba/nt-profile/%u.V2 (or something similar) in [nt-profile.v2] to differentiate between XP and 7. Who is adding the v2 extension? Is it samba or Win7? I'm running Samba 3.4.3. regards Robert Original-Nachricht Datum: Sun, 4 Apr 2010 00:00:40 +0200 (CEST) Von: Christian Rost c...@rocon-it.de An: r...@gmx.at CC: samba@lists.samba.org Betreff: RE: [Samba] question difference of roaming profile between WinXP and Win7 Hi, IMHO both profiles can stay within the same share, so you don't need a separate .v2 share. It's the same with Windows 2003 Server and a mixture of XP/ Vista/Seven Clients. What you need to keep in mind is that Windows XP profiles are not compatible with Vista/Seven profiles - hence the .v2 suffix and they're completely different profiles. When you're logging into Vista/Seven for the first time, your exisitng pre-Vista profile will be converted and will be renamed to username.v2. Each time you're logging into Vista/ Seven the username.v2 profile will be updated, and each time you're logging into XP your username profile will be updated. Cheers, Christian === Dipl.-Ing. Christian Rost roCon - Informationstechnologie Glatzer Weg 4 44534 Lünen fon: +49 (0) 2306 910 658 fax: +49 (0) 2306 910 664 url: http://www.rocon-it.de r...@gmx.at wrote Subject: [Samba] question difference of roaming profile between WinXP and Win7 Date: 03.04.2010 17:02 Hello I want to add Win7 machine to my Samba PDC with WinXP clients. Google tells me I have to add a .V2 to my profiles. The samba log ask about a .v2 share. Can someone explain me the difference of the v2 extension at the profile names and the roaming profile share? Following my settings: smb.conf: [global] logon path = \\%L\nt-profile logon home = \\%L\nt-profile [nt-profile] comment = Client Profiles path = /BUERO/samba/nt-profile/%u read only = No create mask = 0600 directory mask = 0700 [nt-profile.v2] comment = Client Profiles path = /BUERO/samba/nt-profile/%u read only = No create mask = 0600 directory mask = 0700 ls -l /BUERO/samba/nt-profile drwsrwsr-x 24 kira users 4096 2010-04-03 16:16 kira drwxr-sr-x 2 kira users 4096 2010-04-02 18:59 kira.V2 These are 2 empty profiles. I logged on to user kira with an XP client, set the background colour to green and logged of. Profile kira was filled with data. Now I logged on to user kira with an Win7 client, the background was black. I set the background to yellow and logged of. The profile kira.V2 is still empty. Finally I logged on to kira with XP and the background was yellow. So Win7 and XP are using the same profile, which should be if I understand mr. google right. I thought I just had to copy the roaming profiles to a profile with extension .V2. I found following in the samba log during Win7 logon: : get_referred_path: |nt-profile.V2| in dfs path \testserver\nt-profile.V2 is not a dfs root. : Connect path is '/BUERO/samba/nt-profile/kira' for service [nt-profile.v2] : connect to service nt-profile.v2 initially as user kira (uid=524, gid=100) (pid 12087) : reduce_name [.] [/BUERO/samba/nt-profile/kira] : Further, there is a reference to nt-profile.V2 (uppercase V2) and next a connect to nt-profile.v2 (lowercase v2). What is the difference? Finally, the profile kira is used and not kira.V2. Why? Can someone explain me the correct setup of samba for Win7 clients? regards robert -- Sicherer, schneller und einfacher. Die aktuellen Internet-Browser - jetzt kostenlos herunterladen! http://portal.gmx.net/de/go/atbrowser -- To unsubscribe from this list go to the following URL and read the instructions
Re: [Samba] Samba 3.5 slow. Help with benchmarks !
removed the socket options let linux deal with it on it's own. -Original Message- From: samba-boun...@lists.samba.org [mailto:samba-boun...@lists.samba.org] On Behalf Of live.fx Sent: 14 March 2010 11:59 To: samba@lists.samba.org Subject: [Samba] Samba 3.5 slow. Help with benchmarks ! Situation: Server: Linux OpenSUSE 11.2 x86 fileserver. Quad Core CPU, 2 Gb RAM, Raid 5 SMB-shared massive. 2TB Samba 3.5.1 Clients: 16 Linux clients (OpenSUSE 11.2) - connect to server trough NFS. 8 Windows clients (5 Windows XP, 3 or 4 Windows 7). Server - is member of windows Domain. (another server - controller) Problem: Linux clients have transfer (to SAMBA server) rates: from 50 MB/s to 100 MB/s - trough NFS. And always 100 MB/s - trough FTP. Windows clients have slow connections (To SAMBA server) - 13-14-15 MB/s and sometimes 30-40 MB/s. Windows 7 clients is little bit faster. Windows - to - Windows connection is 70 - 80 MB/s. This looks like SAMBA is slow for work with windows clients. My smb.conf: [global] log level = 1 debug level = 0 max log size = 50 #use sendfile = yes #read prediction = true #read size = 65536 #strict locking = No strict sync = No sync always = No wide links = yes #read raw = yes #write raw = yes #max protocol = smb2 realm = xxx.xx # client ntlmv2 auth = yes socket options = SO_BROADCAST SO_KEEPALIVE SO_RCVBUF=8192 SO_SNDBUF=8192 TCP_NODELAY IPTOS_LOWDELAY #min receivefile size = 16384 #aio read size = 16384 #aio write size = 16384 #aio write behind = true winbind enum groups = Yes winbind enum users = Yes idmap uid = 1-2 idmap gid = 1-2 auth methods = winbind winbind use default domain = No case sensitive = No #client use spnego = Yes #client signing = Yes === === === I have very simple question: Samba speed is slower than windows native ? If not - show me please proper benchmarks, for detecting problems. I have many questions from Windows users. They talk about slow transfer rates to server. Thanks for answers -- View this message in context: http://old.nabble.com/Samba-3.5-slow.-Help-with-benchmarks-%21-tp27894473p27 894473.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 -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] ADS integration and local users...
to connect as a local user prefix the username machinename\username as am assuming that it is trying to check your user from the domain. -- Damien Dye BSC(hon) On 4 March 2010 10:22, sa...@bercot.org wrote: Hello, I have a Debian server with Samba. I've put this server in AD. Everything is ok for domain users, but I can't connect with a local user !!! I've created this local user : # adduser local_user # smbpasswd -a local_user Then : # smbclient 192.0.0.1\\ressource -U local_user Enter local_user's password: Domain=[MY_DOMAIN] OS=[Unix] Server=[Samba 3.2.5] tree connect failed: NT_STATUS_ACCESS_DENIED Here is my [global] section : [global] workgroup = MY_DOMAIN realm = MY_DOMAIN.FR netbios name = my_server server string = Serveur Debian %h log file = /var/log/samba/log.%m log level = 3 max log size = 1000 syslog = 0 display charset = UTF8 panic action = /usr/share/samba/panic-action %d security = ADS map to guest = bad user encrypt passwords = true obey pam restrictions = yes socket options = TCP_NODELAY idmap uid = 1-2 idmap gid = 1-2 template shell = /bin/bash template homedir = /data/%D/%U passdb backend = tdbsam unix password sync = yes passwd program = /usr/bin/passwd %u passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* . pam password change = yes smb passwd file = /etc/smbpasswd Do you have any idea ? Thank you very much. David. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Missing files and folders on Vista
this happens with windows 2003 servers too it's a problem with explorer. the best way it s to limit the folder list to 100 and use subfolders with a max of 100 etc the xp64 and vista 64 have a different limit of 1000 in my experience. Antoine Leblanc wrote: Antoine Leblanc a écrit : Antoine Leblanc a écrit : Hello everyone. I'm having a small problem while using samba 3.0.30 on FreeBSD that two months of googling haven't managed to fix: when a folder contains two many elements, Vista only lists a small amount of them. I made my tests with a folder containing around 1000 sub-folders (which have the same unix file mode). Vista was first only showing around 250 of them. After upgrading samba to 3.0.30, Vista sees around 400... When connecting from Mac OS X I can see the whole 1000 sub-folders. Has anyone already met this kind of problem? Thanks for reading (and sorry for my poor English). Some news from that: - the missing folders contain no accent or any specific character that may cause any problem, - if I move any of the missing folders into any other less crowded folder, I can see it and access it without any problem, - if I enter the name of the missing folder in the address bar, I can also access it without any problem. - XP sees exactly the same amount of folders that Vista does, - by just creating a new directory (`mkdir test`) in the folder, the number of folders seen jumped from 411 to 548. Thanks in advance for your help! I might even add (sorry for spamming) that the number of folders seen highly depends on actions such as creating a new sub-folder : - as mentioned, creating a test folder increases the number of folders seen to 548 ; deleting it brings back the counter to 411, - creating a new folder test with Vista brings down the counter to 135, - if I move all the folders in a new sub-folder, Vista now sees n - 1 of them. Moving them back brings the number of folders seen to what it was. That seems to be highly irrational... I tried to set a high debug level, but accessing and refreshing the folder does not seem to trigger any log. I also tried to deinstall and reinstall samba then reboot the server, but that didn't change anything. Thanks in advance for any help! -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Permission denied on mounted CIFS share
what the unix file permissions like on the system A ? Sledz, Steffen wrote: We have this situation: System A (running openSUSE 11.0 with samba-3.2.3-0.1) exports user home shares (e.g. for user sledz). On system B (running openSUSE 11.0 with samba-3.2.3-0.1) user hydra mounts the home share from sledz at system A with this command: sudo mount -t cifs -o user=sledz,uid=hydra //A/sledz localdir A subdir of this directory seen from A looks like this: [EMAIL PROTECTED] ls -laF . total 12 drwxr-xr-x 3 sledz domain users 4096 2008-09-02 10:33 ./ drwxr-xr-x 3 sledz domain users 4096 2008-09-02 09:54 ../ drwxr-xr-x 2 sledz domain users 4096 2008-09-02 09:52 foo/ [EMAIL PROTECTED] ls -laF foo total 16 drwxr-xr-x 2 sledz domain users 4096 2008-09-02 09:52 ./ drwxr-xr-x 3 sledz domain users 4096 2008-09-02 10:33 ../ -rw-r--r-- 1 sledz domain users3 2008-09-02 09:52 23.txt -rw-r--r-- 1 sledz domain users3 2008-09-02 09:52 42.txt The same dir seen from B looks like this: [EMAIL PROTECTED] ls -laF . total 0 drwxr-xr-x 3 hydra domain users 0 2008-09-02 10:33 ./ drwxr-xr-x 3 hydra domain users 0 2008-09-02 09:54 ../ drwxr-xr-x 2 hydra domain users 0 2008-09-02 09:52 foo/ [EMAIL PROTECTED] ls -laF foo total 8 drwxr-xr-x 2 hydra domain users 0 2008-09-02 09:52 ./ drwxr-xr-x 3 hydra domain users 0 2008-09-02 10:33 ../ -rw-r--r-- 1 hydra domain users 3 2008-09-02 09:52 23.txt -rw-r--r-- 1 hydra domain users 3 2008-09-02 09:52 42.txt When I try to copy the subdir foo on B a error occurs: [EMAIL PROTECTED] cp -rv foo bar `foo' - `bar' `foo/23.txt' - `bar/23.txt' cp: cannot create regular file `bar/23.txt': Permission denied `foo/42.txt' - `bar/42.txt' cp: cannot create regular file `bar/42.txt': Permission denied The access rights of bar look like this: [EMAIL PROTECTED] ls -laF bar total 0 drwxr-xr-x 2 hydra domain users 0 2008-09-02 10:38 ./ drwxr-xr-x 4 hydra domain users 0 2008-09-02 10:38 ../ If I try to copy the files now everything is fine: [EMAIL PROTECTED]:~/ssz/bla/tmp cp -v foo/* bar/ `foo/23.txt' - `bar/23.txt' `foo/42.txt' - `bar/42.txt' So what's the cause for the Permission denied error above? :( -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] shadow_copy for homes share
I don't think that will work because homes is dynamic I believe that the snapshots have to be mounted at the root of the share and homes has the root of the share at /home/username you have the snapshots mounted at /home hope this helps Damien Cory Coager wrote: I have successfully setup shadow_copy for normal shares on our samba test server. However, I cannot get it working for the homes share because of its uniqueness. Here is the homes share: [homes] comment = Home Directories read only = No create mask = 0700 directory mask = 0700 browseable = no fstype = XFS 1.2 vfs object = shadow_copy shadow_copy: path = /samba/homes/ shadow_copy: subpath = %D+%U The users authenticate against Active Directory. The path to the snapshots is located at /samba/homes/@GMT-.MM.DD-HH.MM.SS Using the subpath each individual files should be located at /samba/homes/@GMT-.MM.DD-HH.MM.SS/DOMAIN+user but the previous versions tab is missing on this share. What am I doing wrong? ~Cory Coager The information contained in this communication is intended only for the use of the recipient(s) named above. It may contain information that is privileged or confidential, and may be protected by State and/or Federal Regulations. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication, or any of its contents, is strictly prohibited. If you have received this communication in error, please return it to the sender immediately and delete the original message and any copy of it from your computer system. If you have any questions concerning this message, please contact the sender. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba