Re: [Samba] Share size limits NFS file transfer
> Take a look at the "dfree command" in the smb.conf. Yeah sorry... 5 minutes after I asked I found it. Executable shell script will do the job. This little annoyance only took me 5 years to fix :-) -Kristian -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Samba] Share size limits NFS file transfer
My samba server has a 1GB partition on which I have a bunch of symlinks to the correct storage via NFS - there are completely valid reasons for this. Unfortunately clients see the share size as 1GB rather than the 200TB cluster that's attached via NFS and thus I can't copy over a 2GB file. Is there anyway to fake the advertised share size on a per share basis (clients can't write to the local partition anyway) - my google foo hasn't led me to the answer. Cheers, Kristian -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Samba] AD 3.3.x issues
I have a 3.2.8 samba server (centos4) connected to AD which works perfectly. My other machine 3.3.0 was suffering from a bug where MAC users would copy a file to the network and would get an error message regarding permissions, which I tracked down to it creating ._files and putting MAC permission on files, which 3.2.8 doesn't do. Unable to solve that I upgraded to 3.3.2 which did solve the issue but left me with another. The user logs in locally, but the machine is part of an old NT domain. Before I upgraded the samba server it was using 3.3.0 but worked fine for this user. Now on 3.3.2 I get errrors like "domain_client_validate: unable to validate password for user DAVE in domain MACHINENAME to Domain controller myserver.ad.domain.local Error was NT_STATUS_NO_SUCH_USER." This happens even if you \\samba\share and use domain\DAVE... still get the same error like it's expecting a trust relationship all of a sudden. ./configure --prefix=/disk1/samba --with-ads --with-krb5 --with-pam --with-winbind --with-syslog --with-quotas --with-acl-support --with-automount --with-cifsmount --enable-socket-wrapper --with-configdir=/etc/samba --with-logfilebase=/var/log/samba Cheers, Kristian -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Samba + RAID + High speed...
> I have some questions regarding RAID5 + XFS + Samba + High speed network. I > have configured a server with an Areca Controler (SATA) with 10 x 1 TB HDs. > The controle is configured with two RAID5, one of 5 TB the other 3 TB. The > machine also has 8Gb of ram, the OS runs on a SDD drive (no mechanical > parts), and has two dual quadcore Opterons. > > I formated the partitions with XFS to have the best speed. The two RAID > partitions are mounted over specific folders that are shared via Samba to > the network. > > Since a lot of data will be moved I created a bonding over 6 Intel Gbit > ports connected to the switch (the switch is also configured with the proper > LAG). > > I still "feel" this configuration could be running faster, anyone has any > idea where I could optimize it ? (the XFS format paramaters, Areca setup, > bonding parameters, etc). How fast is it already, what are the throughputs? -Kristian -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Samba utilization monitoring
> I use BB with a user-contributed script to check out Samba servers. You > can find that probably on DeadCat. > BMC Patrol Both look quite comprehensive but I should have added that I was looking for something that was more open source/free. -Kristian -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Samba utilization monitoring
What tools do people use to monitor their samba server? I realise the use of top, ntop (I recently heard of iftop) and smbstatus but I was thinking more along the lines of historical data and possibly web based nagios/cacti style. Any suggestions? Cheers, Kristian -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Problem with Save-As in Photoshop/InDesign on a samba server.
> I have a quite "interesting" problem on a samba server: > > We (or better: our client) had a WinXP-system with a shared folder with > lots of data, which has been replaced with a dedicated fileserver using > Samba (on Linux). > All data has been migrated and everything seemed to be fine, however > Photoshop (CS3) and InDesign have some problems on WinXP: > - files can be opened and modified just fine (using "Save") > - however when the user tries to use "Save as", he is unable to save > (user says that he can browse directories just fine, however "Save" is > grayed out). > - CS3 on Vista works. > - Saving the file locally and moving it with explorer works too. > - Behaviour is not consistent across directories, i.e. there is a Folder > "Projects" with ~30 subfolders. Saving to the first 4 works, the others > do not work. > - On the old WinXP "server", everything worked > > I have currently no / only limited control on the server. > (I'm not on-site currently, I have only remote-access by ssh to the server) > > Has anybody an idea what this can be? Maybe In CS in the save dialog box, bottom left I think there is a button says something like "use OS save" and if you press it again "use adobe save", I think OS save is the way to go. I have quite a few CS users using samba. -Kristian -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Write/Modify issues
I'm having problems with one share. It's mounting a directory on an isilon over NFS. I've re-created the setup on the same machine where the data is and that works fine, it's just the existing share gives trouble. I can create a file, but not rename and sometimes not delete. Also saving file from say photoshop result in two empty files being created one with the proper filename and another with a temp one, then error with "the file is write protected/disk full". Below is a log file snippet with "fill_share_mode_lock failed", could that be an indicator? I'm using 3.2.4, and I tried 3.0.32. Our old/current setup works fine 3.0.20. Cheers, Kristian smb.conf [global] unix charset = LOCALE workgroup = ABC realm = AD.ABC.LOCAL password server = * netbios name = samba server string = SAMBA security = ADS encrypt passwords = yes preferred master = no local master = no os level = 33 log level = 10 syslog = 1 log file = /var/log/samba/%m max log size = 5dap ssl = no idmap uid = 950-2 idmap gid = 600-2 template shell = /bin/bash winbind separator = + winbind use default domain = Yes socket options = TCP_NODELAY logon home = \\samba\%U [share] read only = No create mask = 0664 directory mask = 0775 blocking locks = No locking = No oplocks = No level2 oplocks = No posix locking = No strict locking = No case sensitive = yes [2008/10/13 13:35:28, 5] smbd/filename.c:unix_convert(149) unix_convert called on file "art_dept/allRender/New Text Document.txt" [2008/10/13 13:35:28, 5] smbd/filename.c:unix_convert(290) conversion finished art_dept/allRender/New Text Document.txt -> art_dept/allRender/New Text Document.txt [2008/10/13 13:35:28, 5] smbd/trans2.c:call_trans2findfirst(2007) dir=art_dept/allRender, mask = New Text Document.txt [2008/10/13 13:35:28, 5] smbd/dir.c:dptr_create(402) dptr_create dir=art_dept/allRender [2008/10/13 13:35:28, 3] smbd/dir.c:dptr_create(520) creating new dirptr 256 for path art_dept/allRender, expect_close = 1 [2008/10/13 13:35:28, 4] smbd/trans2.c:call_trans2findfirst(2074) dptr_num is 256, wcard = New Text Document.txt, attr = 22 [2008/10/13 13:35:28, 8] smbd/trans2.c:call_trans2findfirst(2079) dirpath= dontdescend=<> [2008/10/13 13:35:28, 8] smbd/trans2.c:get_lanman2_dir_entry(1312) get_lanman2_dir_entry:readdir on dirptr 0x861cd10 now at offset -1 [2008/10/13 13:35:28, 8] smbd/dosmode.c:dos_mode(354) dos_mode: art_dept/allRender/New Text Document.txt [2008/10/13 13:35:28, 8] smbd/dosmode.c:dos_mode_from_sbuf(170) dos_mode_from_sbuf returning [2008/10/13 13:35:28, 8] smbd/dosmode.c:dos_mode(394) dos_mode returning [2008/10/13 13:35:28, 3] locking/locking.c:fetch_share_mode_unlocked(857) fill_share_mode_lock failed [2008/10/13 13:35:28, 5] smbd/trans2.c:get_lanman2_dir_entry(1443) get_lanman2_dir_entry: found art_dept/allRender/New Text Document.txt fname=New Text Document.txt [2008/10/13 13:35:28, 10] smbd/trans2.c:get_lanman2_dir_entry(1592) get_lanman2_dir_entry: SMB_FIND_FILE_BOTH_DIRECTORY_INFO [2008/10/13 13:35:28, 10] smbd/mangle_hash2.c:hash2_name_to_8_3(609) hash2_name_to_8_3: New Text Document.txt -> 124541D5 -> N52HZ2~T.TXT (cache=1) [2008/10/13 13:35:28, 5] smbd/trans2.c:call_trans2findfirst(2135) call_trans2findfirst - (2) closing dptr_num 256 [2008/10/13 13:35:28, 4] smbd/dir.c:dptr_close_internal(251) closing dptr key 256 [2008/10/13 13:35:28, 9] smbd/trans2.c:send_trans2_replies(833) t2_rep: params_sent_thistime = 10, data_sent_thistime = 136, useable_space = 131010 [2008/10/13 13:35:28, 9] smbd/trans2.c:send_trans2_replies(835) t2_rep: params_to_send = 10, data_to_send = 136, paramsize = 10, datasize = 136 [2008/10/13 13:35:28, 5] lib/util.c:show_msg(642) -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Re: In place upgrade
> As root: > > killall smbd nmbd winbindd > make install > /usr/local/samba/sbin/nmbd > /usr/local/samba/sbin/winbindd > /usr/local/samba/sbin/smbd > > Upgrade done ! :-). Another good suggestion. Cheers, Kristian -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Re: In place upgrade
On Fri, Oct 10, 2008 at 2:23 PM, Rubin Bennett <[EMAIL PROTECTED]> wrote: > On Fri, 2008-10-10 at 13:56 +0100, Kristian Davies wrote: >> > For a system installed without a package manager (i.e. make install), >> > then you make a copy of your passdb.tdb, secrets.tdb and smb.conf, >> > upgrade, and put those 3 files back in. >> >> That's the puppy. So, stop services, mv sambadir, install new version >> afresh, copy over those three files and start services. >> >> Will that affect the machines AD machine account with sid's etc... or >> is that why the secrets.tdb are copied over? >> > That's why secrets.tdb is copied over. However, if you're changing > machines or upgrading OS at the same time, you'll need to copy the user/ > machine entries in /etc/passwd, /etc/group and /etc/shadow as well or > you'll get lots of ugly messages about your password database being > corrupt. Awesome, thanks for the pointers! Cheers, Kristian -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Re: In place upgrade
> For a system installed without a package manager (i.e. make install), > then you make a copy of your passdb.tdb, secrets.tdb and smb.conf, > upgrade, and put those 3 files back in. That's the puppy. So, stop services, mv sambadir, install new version afresh, copy over those three files and start services. Will that affect the machines AD machine account with sid's etc... or is that why the secrets.tdb are copied over? Cheers, Kristian -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Re: In place upgrade
On Wed, Oct 8, 2008 at 3:24 PM, Kristian Davies <[EMAIL PROTECTED]> wrote: > Excuse the basic question but how do I do an in place upgrade from > src? 3.2.2 to say 3.2.4. *bump* Please feel free to berate me on no already knowing this and if I don't already know it, maybe I shouldn't be installing src. The docs don't mention anything, I'm assuming this is because it expects you to already know how. -Kristian -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] In place upgrade
Excuse the basic question but how do I do an in place upgrade from src? 3.2.2 to say 3.2.4. Cheers, Kristian -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Re: smbclient AD v NT4
On Mon, Aug 25, 2008 at 3:26 PM, Kristian Davies <[EMAIL PROTECTED]> wrote: > I have two domains, one being NT4 and one being AD. I have an XP > workstation connected to each (called xp_nt and xp_ad). I have a > CentOS4.4 workstation (called linux01) which needs to connect to the > shares on each XP workstation without using local xp accounts. I have > a network account in both the AD and NT4 domain with the same password > as on the linux machine. > > Samba is installed on Linux01 but not configured or running > (samba-3.0.10-1.4E.9), just for the tools. I can run "smbclient -L > xp_nt" which then asks for a password, then lists the shares. However > It doesn't work for the AD connected XP machine. > > Is it possible to mount a machine connected to an AD domain without > running winbindd etc...? erm... smbclient -W MYDOMAIN -L xp_ad Always the obvious ones -Kristian -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] smbclient AD v NT4
I have two domains, one being NT4 and one being AD. I have an XP workstation connected to each (called xp_nt and xp_ad). I have a CentOS4.4 workstation (called linux01) which needs to connect to the shares on each XP workstation without using local xp accounts. I have a network account in both the AD and NT4 domain with the same password as on the linux machine. Samba is installed on Linux01 but not configured or running (samba-3.0.10-1.4E.9), just for the tools. I can run "smbclient -L xp_nt" which then asks for a password, then lists the shares. However It doesn't work for the AD connected XP machine. Is it possible to mount a machine connected to an AD domain without running winbindd etc...? Cheers, Kristian -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Sanity check my setup....
This is my first step into the world of samba and I was wondering if the members of the group wouldn't mind casting a quick eye on my setup. Essentially we just want Samba integrated with AD so we can access the Unix file systems. Any comment will be gratefully received...! Cheers, Kristian Everything seems to work, although we do get these errors: [2008/08/08 11:41:13, 1] smbd/sesssetup.c:reply_spnego_kerberos(474) Username ABC+MYMACHINE$ is invalid on this system [2008/08/08 11:50:24, 1] libsmb/clientgen.c:cli_rpc_pipe_close(559) cli_rpc_pipe_close: cli_close failed on pipe \lsarpc, fnum 0x800f to machine abcosdcmp01.ad.abc.local. Error was SUCCESS - 0 [2008/08/08 11:50:24, 1] libsmb/clientgen.c:cli_rpc_pipe_close(559) cli_rpc_pipe_close: cli_close failed on pipe \NETLOGON, fnum 0x4023 to machine abcosdcmp01.ad.abc.local. Error was SUCCESS - 0 Samba server is CentOS 4.4 Samba version is 3.2.1 remove all samba rpms ./configure --prefix=/disk1/samba --with-ads --with-krb5 --with-pam --with-winbind \ --with-syslog --with-quotas --with-acl-support --with-automount --with-cifsmount \ --with-aio --enable-socket-wrapper --with-configdir=/etc/samba --with-logfilebase=/var/log/samba make make install cd /disk1/samba/lib ln -s libtalloc.so libtalloc.so.1 ln -s libtdb.so libtdb.so.1 ln -s libwbclient.so libwbclient.so.0 add to root account ~/.bashrc export PATH=/disk1/samba/bin:$PATH export LD_LIBRARY_PATH=/disk1/samba/lib /etc/init.d/samba start #(contains winbind too) net ads join -Udomain_admin%"password" FIN. /etc/krb5.conf [logging] default = FILE:/var/log/krb5libs.log kdc = FILE:/var/log/krb5kdc.log admin_server = FILE:/var/log/kadmind.log [libdefaults] default_realm = AD.ABC.LOCAL dns_lookup_realm = false dns_lookup_kdc = true [libdefaults] default_tkt_enctypes = rc4-hmac default_tgs_enctypes = rc4-hmac permitted_enctypes = rc4-hmac [realms] AD.ABC.LOCAL = { kdc = abcosdcmp03.ad.abc.local:88 admin_server = abcosdcmp03.ad.abc.local:389 default_domain = ad.abc.local } [domain_realm] .ad.abc.local = .AD.ABC.LOCAL ad.abc.local = AD.ABC.LOCAL [kdc] profile = /var/kerberos/krb5kdc/kdc.conf [appdefaults] pam = { debug = false ticket_lifetime = 36000 renew_lifetime = 36000 forwardable = true krb4_convert = false } /etc/nsswitch.conf passwd: files winbind nisplus nis shadow: files winbind nisplus nis group: files winbind nisplus nis hosts: files dns bootparams: nisplus [NOTFOUND=return] files ethers: files netmasks: files networks: files dns protocols: files rpc:files services: files netgroup: nis publickey: files automount: files aliases:files /etc/samba/smb.conf [global] unix charset = LOCALE workgroup = ABC realm = AD.ABC.LOCAL password server = * netbios name = satansgate server string = satansgate %v on (%I) security = ADS local master = no os level = 33 log level = 1 syslog = 1 log file = /var/log/samba/%m max log size = 50 ldap ssl = no idmap uid = 1-2 idmap gid = 1-2 template shell = /bin/bash winbind separator = + socket options = TCP_NODELAY -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba