[Samba] '/tmp' does not exist or permission denied ...: /tmp has 777 permission
Not sure what caused it. It must be some change to permissions. I know I changed the root password with passwd and changed it back afterwards when problems started. I know for sure I didn't change a thing to the samba config. No firewall running atm. This morning I did smbpasswd as root and set it (to be sure) to same passwd as the original one. But I don't think this matters anymore. I did hope so when I went to sleep :) Debian Etch Samba 3.0.24 All worked well as PDC Exact message: SMBD/SERVICE.C:MAKE_CONNECTION_SNUM(920) 'tmp' does not exist or permission denied when connecting to [IPC$]. Error was permission denied. Permission on /tmp Ls -al / /tmp drwxrwxrwt The weird thing is. I can access 2 out 3 shares even after restarting server and workstation. Netlogon is not accessible and I can't browse the server. The 2 shares are in the same directory as the main share which is inaccessible atm. When I try to login as different user (koenl) on the server (not via workstation), I get can't cd to /data/home/koenl Permissions /data: 775 root.root /data/home 775 root.root /data/home/koenl 755 koenl.ICT /data/shares 755 root.root /data/shares/newton 775 root.root (main directory of share is meant to be readable by world) (This is the inaccessible share) /data/shares/ict770 g+s (accessible share) (Any application to change ALL permissions to default on debian? I can umount the data partition before) Any idea? Koen -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] '/tmp' does not exist or permission denied ...: /tmp has 777 permission
Exact message: SMBD/SERVICE.C:MAKE_CONNECTION_SNUM(920) 'tmp' does not exist or permission denied when connecting to [IPC$]. Error was permission denied. I have no idea, but could it be that 'tmp' is not the directory /tmp, but one of your samba shares, called 'tmp'? MJ -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] '/tmp' does not exist or permission denied ...: /tmp has 777 permission SOLVED
I have no idea, but could it be that 'tmp' is not the directory /tmp, but one of your samba shares, called 'tmp'? MJ Nope, but thx anyway. I changed the permission in the /root dir yesterday with chmod 700 .* I only wanted to change the hidden files that started with . (like .ssh) This caused .. to have wrong permissions. It should have 755 so anything can cd out of the directory. How something small like this, can cause so many problems. Lesson learned here! Koen Linders -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Samba] registry based config
Dear all, the registry based config on samba 3.3.1 suse 10.2: I imported the shares with net conf import fileinsmbconfformat_ofshares. I made them available in smb.conf by: include registry=yes. Users have access to the shares. But I get the error when opening the registry of my sambaserver from an xp client: Klicking on HK_LOCAL_MACHINESoftwareSambasmbconf gives me : An error occurred opening smbconf. No Access!. How can I grant access to show the internal keys. Greetings Daniel --- EDV Daniel Müller Leitung EDV Tropenklinik Paul-Lechler-Krankenhaus Paul-Lechler-Str. 24 72076 Tübingen Tel.: 07071/206-463, Fax: 07071/206-499 eMail: muel...@tropenklinik.de Internet: www.tropenklinik.de --- -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Samba] How to speed up Samba From Mac OS 10.6 to access Windows Share under W2K3
Hi, I have Setup connection from my brand new iMac to my windows Server 2003. I am using gigabit line and I am getting only 15 Mbites / sec speed. Any way to get much better? Many thanks for your help. Jko Jacques KOSTIC Philip Morris International Senior IS Analyst Finance Systems Av Rhodanie 50 1001 Lausanne E-mail: jacques.kos...@pmintl.commailto:jacques.kos...@pmintl.com Phone: +41 (58) 242 7727 Fax: +41 (58) 242 0101 -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] How to speed up Samba From Mac OS 10.6 to access Windows Share under W2K3
On Wed, Jan 20, 2010 at 05:16:38PM +0100, Kostic, Jacques wrote: I have Setup connection from my brand new iMac to my windows Server 2003. I am using gigabit line and I am getting only 15 Mbites / sec speed. Any way to get much better? Hmm. iMac is client or server? Volker signature.asc Description: Digital signature -- 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 NFS. lag?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 That hasnt helped either. Same lag on file modification. Thanks. On 01/16/2010 05:46 AM, Volker Lendecke wrote: On Fri, Jan 15, 2010 at 03:20:36PM -0500, Nathan Lager wrote: Any suggestions? Anything i can check? Am i perhaps looking an an NFS performance issue? I'm able to modify files over the nfs mount from the smb server without an issue. No, this is probably not a NFS performance thing, NFS is not *that* slow. Next try after kernel oplocks = no would be posix locking = no. Volker - -- - -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Nathan Lager System Administrator 11 Pardee Hall Lafayette College, Easton, PA 18042 610-330-5907 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/ iEYEARECAAYFAktXPUkACgkQsZqG4IN3sulhJwCgqciUoWOtxcpRbMORwpWrSXMk MIgAnRRMhaEWU7mynN7B6N8UVOCqJsPk =aypr -END PGP SIGNATURE- -- 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 NFS. lag?
On Wed, Jan 20, 2010 at 12:28:41PM -0500, Nathan Lager wrote: That hasnt helped either. Same lag on file modification. Thanks. Please connect, look in smbstatus which process is responsible for your client and strace it. strace -ttT -o /tmp/smbd.strace -p smbd-pid Upload /tmp/smbd.strace somewhere please. Volker pgpZSCKMDlyzR.pgp Description: PGP signature -- 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 NFS. lag?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thank's, i'll get on that. in the meantime. I've run wireshark during the write process. Here's what i've come up with. When i initiate the write (file-save), i see, from my workstation, to the smb server and NT Create Andx request path: \test\testfile.txt Immediately after that, i get a response from the smb server, to my workstation: microsoft-ds cognex-insight [ACK] seq=1 Ack=127 Win=36448 Len:0 28 seconds later, i get, from my workstation, to the server: Echo Request Immdiately after that, i get another microsoft-ds cognex-insight [ACK] Then the whole thing seems to start over again, except this time, no 28 second pause, and the write completes. On 01/20/2010 12:56 PM, Volker Lendecke wrote: On Wed, Jan 20, 2010 at 12:28:41PM -0500, Nathan Lager wrote: That hasnt helped either. Same lag on file modification. Thanks. Please connect, look in smbstatus which process is responsible for your client and strace it. strace -ttT -o /tmp/smbd.strace -p smbd-pid Upload /tmp/smbd.strace somewhere please. Volker - -- - -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Nathan Lager System Administrator 11 Pardee Hall Lafayette College, Easton, PA 18042 610-330-5907 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/ iEYEARECAAYFAktXRxEACgkQsZqG4IN3suknRQCfUFc86qkDPr1twg4zE2+qA1Tr sxEAn0TsA1sVV1m56QOCbsr+hXec/ywT =hqfY -END PGP SIGNATURE- -- 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 NFS. lag?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 OK, Here we go. http://www.undrground.org/smb/smbd.strace On 01/20/2010 12:56 PM, Volker Lendecke wrote: On Wed, Jan 20, 2010 at 12:28:41PM -0500, Nathan Lager wrote: That hasnt helped either. Same lag on file modification. Thanks. Please connect, look in smbstatus which process is responsible for your client and strace it. strace -ttT -o /tmp/smbd.strace -p smbd-pid Upload /tmp/smbd.strace somewhere please. Volker -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/ iEYEARECAAYFAktXTSIACgkQsZqG4IN3sunZqACffagPWZAH3BKFTfe2NSytiOWx zfAAoJgks2s5Dt1Pg0vh+49o9FMIcRWj =uCY5 -END PGP SIGNATURE- -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Samba] SMB/CIFS seq. transfers top out at 30MiB/s (NFSv4 and HTTP: 100MiB/s+)
Hello list, I'm using Samba 3.4.5 on a home-hosted fileserver of mine to easily share files with both GNU/Linux and Windows XP (Professional 32Bit SP3) clients. The machines are connected to each other via a switched GBit ethernet network, the actual available bandwidth between the server and the nodes over TCP amounts to about 940-980MBit (according to iperf). The server's storage backend is aquite potent, and achieves sequential read and write speeds well over the network's linespeed (somewhere around 180MiB/s read and 130MiB/s write at worst and well over 200MiB/s and 160MiB/s, resp., at best). When serving files from the very same filesystem as with Samba, Apache 2.2 delivers about 110MiB/s on average, and NFSv4-transfers match that number in terms of speed. With Samba and SMB/CIFS, however, the transfer speed tops out at rather disappointing 28-30MiB/s, serving both Windows and GNU/Linux clients. I'm using the in-kernel CIFS support on the GNU/Linux machines, and the default Attach Network Drive-feature with Windows. Using the (afaik pure userspace) `smbclient` implementation on the GNU machine doesn't change anything to the better, the speed remains at the aforementioned ~30MiB/s. The server system isn't really loaded while serving files over CIFS (its cores don't even clock to higher frequencies, but remain at a comfortable 1GHz), and smbd never consumes substantially more than ~15% CPUtime while reading from disk and delivering to the clients. I tried adopting advice from the Samba manual's performance tuning section (http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/speed.html), but that didn't improve the situation at all - transfer speed remained roughly the same, compared to these settings' default values. Playing with the clients' mount options (rsize and wsize, specifically) didn't yield any noticeable improvements, either. I continue to see other peoples' reports on the web that they manage to squeeze much higher transfer rates (70MiB/s+) out of dedicated NAS appliances via SMB/CIFS (most of which supposedly also run Samba for providing that service), and I fail to see why my platform won't deliver similar results, as the hardware should easily match whatever those NAS-devices offer. Below I will list what I think might be relevant information to track down what's wrong; in case I'm missing something that'd be of use, please, let me know! SNIP START: egrep -v '^[[:space:]]*[;#]|^$' /etc/samba/smb.conf [global] workgroup = ARBEITSGRUPPE security = share load printers = no guest account = nobody dns proxy = no syslog = 1 syslog only = yes socket options = SO_RCVBUF=8192 SO_SNDBUF=8192 disable netbios = yes unix extensions = yes unix charset = UTF-8 display charset = UTF-8 use mmap = yes use sendfile = yes wins support = no [files] path = /srv/files/pub/ public = yes only guest = yes writable = yes printable = no SNIP END: egrep -v '^[[:space:]]*[;#]|^$' /etc/samba/smb.conf My GNU/Linux client mounts the share with the following options: SNIP START: /etc/fstab //virtue.local/files /media/network cifs \ auto,user,pass=,rw,uid=1000,gid=100,noexec,nolock,\ file_mode=0664,dir_mode=0775,iocharset=utf8,\ wsize=57344,rsize=57344 0 0 SNIP END: /etc/fstab The output of `smbd -d` is recorded here: http://pasted.at/fb1889588d_nl.html All GNU/Linux clients use recent (2.6.32+) kernels and are x86_64 machines. All clients are able to get the HTTP transfer speeds described above. I'm still using the very same kernel that was used to build Samba/smbd on. There's nothing out of the ordinary recorded in the server's logs. `nmbd` isn't running on the server, as I don't need that kind of name resolution support. Samba is Version 3.4.5, running on Gentoo GNU/Linux ~amd64. If anyone spots something obvious that might limit transfer speeds in the way I described, please leave a comment. Thanks very much in advance for your time and effort! -- with best regards: - Johannes Truschnigg ( johan...@truschnigg.info ) www: http://johannes.truschnigg.info/ phone: +43 650 2 17 xmpp: johan...@truschnigg.info Please do not bother me with HTML-eMail or attachments. Thank you. signature.asc Description: This is a digitally signed message part. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] SMB/CIFS seq. transfers top out at 30MiB/s (NFSv4 and HTTP: 100MiB/s+)
On Wed, 20 Jan 2010 19:41:24 +0100 Johannes Truschnigg johan...@truschnigg.info wrote: Hello list, I'm using Samba 3.4.5 on a home-hosted fileserver of mine to easily share files with both GNU/Linux and Windows XP (Professional 32Bit SP3) clients. The machines are connected to each other via a switched GBit ethernet network, the actual available bandwidth between the server and the nodes over TCP amounts to about 940-980MBit (according to iperf). The server's storage backend is aquite potent, and achieves sequential read and write speeds well over the network's linespeed (somewhere around 180MiB/s read and 130MiB/s write at worst and well over 200MiB/s and 160MiB/s, resp., at best). When serving files from the very same filesystem as with Samba, Apache 2.2 delivers about 110MiB/s on average, and NFSv4-transfers match that number in terms of speed. With Samba and SMB/CIFS, however, the transfer speed tops out at rather disappointing 28-30MiB/s, serving both Windows and GNU/Linux clients. I'm using the in-kernel CIFS support on the GNU/Linux machines, and the default Attach Network Drive-feature with Windows. Using the (afaik pure userspace) `smbclient` implementation on the GNU machine doesn't change anything to the better, the speed remains at the aforementioned ~30MiB/s. The server system isn't really loaded while serving files over CIFS (its cores don't even clock to higher frequencies, but remain at a comfortable 1GHz), and smbd never consumes substantially more than ~15% CPUtime while reading from disk and delivering to the clients. I tried adopting advice from the Samba manual's performance tuning section (http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/speed.html), but that didn't improve the situation at all - transfer speed remained roughly the same, compared to these settings' default values. Playing with the clients' mount options (rsize and wsize, specifically) didn't yield any noticeable improvements, either. I continue to see other peoples' reports on the web that they manage to squeeze much higher transfer rates (70MiB/s+) out of dedicated NAS appliances via SMB/CIFS (most of which supposedly also run Samba for providing that service), and I fail to see why my platform won't deliver similar results, as the hardware should easily match whatever those NAS-devices offer. Below I will list what I think might be relevant information to track down what's wrong; in case I'm missing something that'd be of use, please, let me know! SNIP START: egrep -v '^[[:space:]]*[;#]|^$' /etc/samba/smb.conf [global] workgroup = ARBEITSGRUPPE security = share load printers = no guest account = nobody dns proxy = no syslog = 1 syslog only = yes socket options = SO_RCVBUF=8192 SO_SNDBUF=8192 disable netbios = yes unix extensions = yes unix charset = UTF-8 display charset = UTF-8 use mmap = yes use sendfile = yes wins support = no [files] path = /srv/files/pub/ public = yes only guest = yes writable = yes printable = no SNIP END: egrep -v '^[[:space:]]*[;#]|^$' /etc/samba/smb.conf My GNU/Linux client mounts the share with the following options: SNIP START: /etc/fstab //virtue.local/files /media/network cifs \ auto,user,pass=,rw,uid=1000,gid=100,noexec,nolock,\ file_mode=0664,dir_mode=0775,iocharset=utf8,\ wsize=57344,rsize=57344 0 0 SNIP END: /etc/fstab The output of `smbd -d` is recorded here: http://pasted.at/fb1889588d_nl.html All GNU/Linux clients use recent (2.6.32+) kernels and are x86_64 machines. All clients are able to get the HTTP transfer speeds described above. I'm still using the very same kernel that was used to build Samba/smbd on. There's nothing out of the ordinary recorded in the server's logs. `nmbd` isn't running on the server, as I don't need that kind of name resolution support. Samba is Version 3.4.5, running on Gentoo GNU/Linux ~amd64. If anyone spots something obvious that might limit transfer speeds in the way I described, please leave a comment. Thanks very much in advance for your time and effort! Most likely, you're running into the lack of parallelism in Linux' CIFS client. Writes are done in in turn currently and not in parallel as they should be. Fixing it is something we'd like to do, but it's a non-trivial amount of work and it'll probably be a while before it's fixed. -- Jeff Layton jlay...@samba.org -- 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 NFS. lag?
On Wed, 20 Jan 2010 13:36:18 -0500 Nathan Lager lag...@lafayette.edu wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 OK, Here we go. http://www.undrground.org/smb/smbd.strace On 01/20/2010 12:56 PM, Volker Lendecke wrote: On Wed, Jan 20, 2010 at 12:28:41PM -0500, Nathan Lager wrote: That hasnt helped either. Same lag on file modification. Thanks. Please connect, look in smbstatus which process is responsible for your client and strace it. strace -ttT -o /tmp/smbd.strace -p smbd-pid Upload /tmp/smbd.strace somewhere please. Volker -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/ iEYEARECAAYFAktXTSIACgkQsZqG4IN3sunZqACffagPWZAH3BKFTfe2NSytiOWx zfAAoJgks2s5Dt1Pg0vh+49o9FMIcRWj =uCY5 -END PGP SIGNATURE- Looks like it's taking forever for flock() calls to time out, and then it finally fails with -ENOLCK: 13:24:00.268018 flock(28, 0x60 /* LOCK_??? */) = -1 ENOLCK (No locks available) 30.000971 ...often that means that you don't have rpc.statd running on the client. -- Jeff Layton jlay...@samba.org -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Samba] Change AD user password from Linux
Has anyone gotten Active Directory user passwords changed from a Linux (Ubuntu 8.04) client? I used https://help.ubuntu.com/community/ActiveDirectoryWinbindHowto as a guide, so I'm using Kerberos and Winbind (all apt-get). Samba version is 3.0.28a with a Windows Sever 2008 R2 DC, but running AD 2003 native. The client box is an LTSP box, and I'm able to ssh in with AD accounts. However, when I type passwd I get the error message passwd: Authentication token manipulation error. In the auth.log file I get pam_unix(passwd:chauthtok): user kmasters does not exist in /etc/passwd. Is it possible my Samba version is too old? common-auth: authsufficient pam_krb5.so authrequiredpam_unix.so nullok_secure use_first_pass common-account: account sufficient pam_winbind.so account requiredpam_unix.so common-session: session requiredpam_mkhomedir.so umask=0022 skel=/etc/skel common-password: password sufficient pam_unix.so nullok md5 shadow password sufficient pam_ldap.so use_first_pass password required pam_deny.so smb.conf: [global] workgroup = MYDOMAIN realm = MYDOMAIN.COM server string = %h server (Samba, Ubuntu) security = ADS map to guest = Bad User obey pam restrictions = Yes password server = dc1.mydomain.com passdb backend = tdbsam pam password change = Yes passwd program = /usr/bin/passwd %u passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* . unix password sync = Yes syslog = 0 log file = /var/log/samba/log.%m max log size = 1000 domain master = No dns proxy = No usershare allow guests = Yes panic action = /usr/share/samba/panic-action %d idmap uid = 1-2 idmap gid = 1-2 template homedir = /home/%U template shell = /bin/bash winbind separator = + winbind enum users = Yes winbind enum groups = Yes winbind use default domain = Yes invalid users = root -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] performance tweaks??
On Tue, 2010-01-19 at 01:15 +0100, Volker Lendecke wrote: On Tue, Jan 19, 2010 at 01:10:41PM +1300, steve wrote: I tried this, and ended up woth 2 pc's that could only see the top level of the shaare. So I reverted it, and they *still* can only see one level down. Ok, well... Maybe you have upper/lower case directories in your shares? Sorry, I had thought that the meaning of those parameters is pretty obvious: They assume that all file names on disk are a specific case. You should add default case = lower if you have everything lower-case. My apologies for not telling you in the first place, Volker As these are microsofties, there is mixed case and white space all over the place. Will this have the desired effect? case sensitive = no preserve case = no short preserve case = no I'm seeing noticeable degraded performance when swapping from the old server, with samba 3.0.22, to a new server with double the memory, 50% more horsepower and 30% faster disks, running 3.2.5. Any suggestions will be gratefully received. Steve -- Steve Holdoway st...@greengecko.co.nz http://www.greengecko.co.nz MSN: st...@greengecko.co.nz GPG Fingerprint = B337 828D 03E1 4F11 CB90 853C C8AB AF04 EF68 52E0 signature.asc Description: This is a digitally signed message part -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Change AD user password from Linux
Hi Masao, I have essentially the same setup as you (ltsp, AD, Winbind). My users are able to change their passwords with the 'passwd' command. Here's the contents of /etc/pam.d/common-password file passwordsufficient pam_winbind.so password required pam_unix.so nullok obscure min=4 max=8 md5 Hth, John On Wed, Jan 20, 2010 at 11:22 AM, Masao Garcia mas...@fshac.com wrote: Has anyone gotten Active Directory user passwords changed from a Linux (Ubuntu 8.04) client? I used https://help.ubuntu.com/community/ActiveDirectoryWinbindHowto as a guide, so I'm using Kerberos and Winbind (all apt-get). Samba version is 3.0.28a with a Windows Sever 2008 R2 DC, but running AD 2003 native. The client box is an LTSP box, and I'm able to ssh in with AD accounts. However, when I type passwd I get the error message passwd: Authentication token manipulation error. In the auth.log file I get pam_unix(passwd:chauthtok): user kmasters does not exist in /etc/passwd. Is it possible my Samba version is too old? common-auth: auth sufficient pam_krb5.so auth required pam_unix.so nullok_secure use_first_pass common-account: account sufficient pam_winbind.so account required pam_unix.so common-session: session required pam_mkhomedir.so umask=0022 skel=/etc/skel common-password: password sufficient pam_unix.so nullok md5 shadow password sufficient pam_ldap.so use_first_pass password required pam_deny.so smb.conf: [global] workgroup = MYDOMAIN realm = MYDOMAIN.COM server string = %h server (Samba, Ubuntu) security = ADS map to guest = Bad User obey pam restrictions = Yes password server = dc1.mydomain.com passdb backend = tdbsam pam password change = Yes passwd program = /usr/bin/passwd %u passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* . unix password sync = Yes syslog = 0 log file = /var/log/samba/log.%m max log size = 1000 domain master = No dns proxy = No usershare allow guests = Yes panic action = /usr/share/samba/panic-action %d idmap uid = 1-2 idmap gid = 1-2 template homedir = /home/%U template shell = /bin/bash winbind separator = + winbind enum users = Yes winbind enum groups = Yes winbind use default domain = Yes invalid users = root -- 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] performance tweaks??
On Wed, Jan 20, 2010 at 3:13 PM, steve st...@greengecko.co.nz wrote: On Tue, 2010-01-19 at 01:15 +0100, Volker Lendecke wrote: On Tue, Jan 19, 2010 at 01:10:41PM +1300, steve wrote: I tried this, and ended up woth 2 pc's that could only see the top level of the shaare. So I reverted it, and they *still* can only see one level down. Ok, well... Maybe you have upper/lower case directories in your shares? Sorry, I had thought that the meaning of those parameters is pretty obvious: They assume that all file names on disk are a specific case. You should add default case = lower if you have everything lower-case. My apologies for not telling you in the first place, Volker As these are microsofties, there is mixed case and white space all over the place. I have a script I use to force the case. Here is a link: http://github.com/drescherjm/jmdgentoooverlay/blob/master/Other/shell-scripts/mvcase.sh John -- 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 NFS. lag?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/20/2010 03:00 PM, Jeff Layton wrote: ...often that means that you don't have rpc.statd running on the client. I officially feel like a dolt now. Thank you for pointing out what should have been painfully obvious. I started up the nfslock service on my samba server, and the issue is gone. Thanks! Here's to public humiliation. :P -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/ iEYEARECAAYFAktXaRUACgkQsZqG4IN3sumEiwCgjsu7CywPEauep8TZAufwL2fH RzgAnjgDPui2dwBd75efZ7UPahhtYgko =VNjc -END PGP SIGNATURE- -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Samba] Samba shares freezing
All, Looking for some help here. Not finding anything on the net that looks the same as what I'm seeing. Running Solaris 10 Sparc, on a Sunfire 5220, 16Gb of RAM. Samba version 3.4.5 and using ZFS file systems with user quotas. All cifs clients shares to this server freeze after about 10 to 15 minutes of connectivity. Only fix is to restart samba. I'm not getting any errors from samba or on the /var/adm/messages or /var/log/syslog files. Totally stumped here. This freezing also happened with 3.4.0. Compile of samba ./configure --with-quotas --disable-shared-libs Config: # Samba config file created using SWAT # from UNKNOWN (���) # Date: 2010/01/20 14:18:59 [global] workgroup = ENGR_DOM server string = Samba Server security = DOMAIN password level = 8 lanman auth = Yes client NTLMv2 auth = Yes map untrusted to domain = Yes log level = 1 syslog = 2 log file = /var/log/samba/logs/log.%m max open files = 1 socket options = TCP_NODELAY IPTOS_LOWDELAY load printers = No preferred master = Auto domain master = No dns proxy = No wins server = xxx.xx.xxx.xxx kernel oplocks = No lock spin time = 3 remote announce = xxx.xx.xxx.xxx acl check permissions = No acl group control = Yes oplocks = No level2 oplocks = No strict locking = No [top] comment = Top of the Tree path = /top read only = No create mask = 0755 directory security mask = 0755 [projects] comment = Project space path = /XKA1/projects read only = No create mask = 0775 directory mask = 02771 inherit permissions = Yes inherit acls = Yes [profiles] comment = Windows Roaming Profiles path = /XKA1/profiles valid users = +admin, +ens-students, +ACother read only = No profile acls = Yes [ens$] path = / valid users = name, name2, name3 force user = root read only = No acl map full control = No [dean] comment = Dean Group path = /XKA2/admin/Dean valid users = +Dean force group = Dean read only = No create mask = 0770 directory mask = 02770 inherit acls = Yes [ens] comment = ENS Groups path = /XKA2/admin/ENS valid users = +admin force group = admin read only = No create mask = 0770 directory mask = 02770 inherit acls = Yes [ebo] comment = EBO path = /XKA2/admin/EBO valid users = +ebo, +ebostdnt force group = ebo read only = No create mask = 0770 directory mask = 02770 inherit acls = Yes [adr] comment = Associate Dean for Researc path = /XKA2/admin/ResearchDean valid users = +adr force group = adr read only = No create mask = 0770 directory mask = 02770 inherit acls = Yes [adu] comment = Associate Dean for UnderGraduates path = /XKA2/admin/AcadAffairs valid users = +adu force group = adu read only = No create mask = 0770 directory mask = 02770 inherit acls = Yes [wmep] comment = WomenMinority in Engineering Programs path = /XKA2/admin/WMEP valid users = +wmep force group = wmep read only = No create mask = 0770 directory mask = 02770 inherit acls = Yes [development] comment = Engineering Development path = /XKA2/admin/Development valid users = +Devel force group = Devel read only = No create mask = 0770 directory mask = 02770 inherit acls = Yes [ce] comment = Civil Engineering path = /XKA2/academic/CE valid users = +CEgroup force group = CEgroup read only = No create mask = 0770 directory mask = 02770 inherit acls = Yes [cira] comment = CIRA path = /XKA2/academic/CIRA valid users = +cira force group = cira read only = No create mask = 0770 directory mask = 02770 inherit acls = Yes [atmos] comment = ATMOS path = /XKA2/academic/Atmos valid users = +Atmosfac force group = Atmosfac read only = No create mask = 0770 directory mask = 02770 inherit acls = Yes [ece] comment = Electrical and Computer Engineering path = /XKA2/academic/ECE valid users = +ECEgroup force group = ECEgroup read only = No create mask = 0770 directory mask = 02770 inherit acls = Yes [me] comment = Mechanical Engineering path = /XKA2/academic/ME valid users = +MEgroup
Re: [Samba] Change AD user password from Linux
John, Thanks for the reply. I edited my common-password file like yours and now I am prompted to enter the user's current password but after that, it gives me the User not known to the underlying authentication module error. Auth.log now gives me: pam_winbind(passwd:chauthtok): getting password (0x0020) Jan 20 15:15:33 LTSP2 passwd[6505]: pam_winbind(passwd:chauthtok): request failed: Named pipe dicconnected, PAM error was System error (4), NT error was NT_STATUS_PIPE_DISCONNECTED Jan 20 15:15:33 LTSP2 passwd[6505]: pam_winbind(passwd:chauthtok): internal module error (retval = 4, user = 'idyson') Jan 20 15:15:33 LTSP2 passwd[6505]: pam_unix(passwd:chauthtok): user idyson does not exist in /etc/passwd I forgot to include my /etc/nsswitch.conf file: passwd: files winbind group: files winbind shadow: files hosts: files dns networks: files protocols: db files services: db files ethers: db files rpc:db files netgroup: files ldap -Original Message- From: john [mailto:lists.j...@gmail.com] Sent: Wednesday, January 20, 2010 2:16 PM To: Masao Garcia Cc: samba@lists.samba.org Subject: Re: [Samba] Change AD user password from Linux Hi Masao, I have essentially the same setup as you (ltsp, AD, Winbind). My users are able to change their passwords with the 'passwd' command. Here's the contents of /etc/pam.d/common-password file passwordsufficient pam_winbind.so password required pam_unix.so nullok obscure min=4 max=8 md5 Hth, John -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Samba shares freezing
On Wed, Jan 20, 2010 at 02:23:51PM -0700, CJ Keist wrote: All, Looking for some help here. Not finding anything on the net that looks the same as what I'm seeing. Running Solaris 10 Sparc, on a Sunfire 5220, 16Gb of RAM. Samba version 3.4.5 and using ZFS file systems with user quotas. All cifs clients shares to this server freeze after about 10 to 15 minutes of connectivity. Only fix is to restart samba. I'm not getting any errors from samba or on the /var/adm/messages or /var/log/syslog files. Totally stumped here. This freezing also happened with 3.4.0. Can you attach to a frozen smbd with truss to see where it might be stuck. Or alternatively ensure you are built with symbols, attach to the frozen process with gdb and get a backtrace using the bt command. Jeremy. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Samba shares freezing
Hey, if you are using Solaris 10, not openSol, you might want to look at this page. We are using it here at a hospital with some 2k users (probably a lot less than you, but...) and it's working very well. http://www.nineproductions.com/technology/1-sun-solaris/3-solaris-10-samba-zfs-configuration.html One of the things we had major problems with was not having oplocks. As I recall, they are pretty useful. we have kernel oplocks=yes, oplocks=yes, but use a fair amount of vetos. This serves as a fileserver for everyone's My Documents folder. However, we don't use roaming profiles, so that's probably a blessing on our side there. Hopefully that link helps you as much as it did us. CJ Keist wrote: All, Looking for some help here. Not finding anything on the net that looks the same as what I'm seeing. Running Solaris 10 Sparc, on a Sunfire 5220, 16Gb of RAM. Samba version 3.4.5 and using ZFS file systems with user quotas. All cifs clients shares to this server freeze after about 10 to 15 minutes of connectivity. Only fix is to restart samba. I'm not getting any errors from samba or on the /var/adm/messages or /var/log/syslog files. Totally stumped here. This freezing also happened with 3.4.0. Compile of samba ./configure --with-quotas --disable-shared-libs Config: # Samba config file created using SWAT # from UNKNOWN (���) # Date: 2010/01/20 14:18:59 [global] workgroup = ENGR_DOM server string = Samba Server security = DOMAIN password level = 8 lanman auth = Yes client NTLMv2 auth = Yes map untrusted to domain = Yes log level = 1 syslog = 2 log file = /var/log/samba/logs/log.%m max open files = 1 socket options = TCP_NODELAY IPTOS_LOWDELAY load printers = No preferred master = Auto domain master = No dns proxy = No wins server = xxx.xx.xxx.xxx kernel oplocks = No lock spin time = 3 remote announce = xxx.xx.xxx.xxx acl check permissions = No acl group control = Yes oplocks = No level2 oplocks = No strict locking = No [top] comment = Top of the Tree path = /top read only = No create mask = 0755 directory security mask = 0755 [projects] comment = Project space path = /XKA1/projects read only = No create mask = 0775 directory mask = 02771 inherit permissions = Yes inherit acls = Yes [profiles] comment = Windows Roaming Profiles path = /XKA1/profiles valid users = +admin, +ens-students, +ACother read only = No profile acls = Yes [ens$] path = / valid users = name, name2, name3 force user = root read only = No acl map full control = No [dean] comment = Dean Group path = /XKA2/admin/Dean valid users = +Dean force group = Dean read only = No create mask = 0770 directory mask = 02770 inherit acls = Yes [ens] comment = ENS Groups path = /XKA2/admin/ENS valid users = +admin force group = admin read only = No create mask = 0770 directory mask = 02770 inherit acls = Yes [ebo] comment = EBO path = /XKA2/admin/EBO valid users = +ebo, +ebostdnt force group = ebo read only = No create mask = 0770 directory mask = 02770 inherit acls = Yes [adr] comment = Associate Dean for Researc path = /XKA2/admin/ResearchDean valid users = +adr force group = adr read only = No create mask = 0770 directory mask = 02770 inherit acls = Yes [adu] comment = Associate Dean for UnderGraduates path = /XKA2/admin/AcadAffairs valid users = +adu force group = adu read only = No create mask = 0770 directory mask = 02770 inherit acls = Yes [wmep] comment = WomenMinority in Engineering Programs path = /XKA2/admin/WMEP valid users = +wmep force group = wmep read only = No create mask = 0770 directory mask = 02770 inherit acls = Yes [development] comment = Engineering Development path = /XKA2/admin/Development valid users = +Devel force group = Devel read only = No create mask = 0770 directory mask = 02770 inherit acls = Yes [ce] comment = Civil Engineering path = /XKA2/academic/CE valid users = +CEgroup force group = CEgroup read only = No create mask = 0770 directory mask = 02770 inherit acls = Yes [cira] comment = CIRA path = /XKA2/academic/CIRA valid users = +cira force group = cira read only = No create mask = 0770 directory mask = 02770 inherit acls = Yes [atmos] comment = ATMOS path = /XKA2/academic/Atmos valid users = +Atmosfac force group = Atmosfac read only = No create mask = 0770 directory mask = 02770 inherit acls = Yes [ece] comment =
[Samba] pipe error
Hi, When I try to connect to samba server from windows XP machines, I get an err No process is on the other end of the pipe .But some of the users running windows vista said they are not having any issues on that. The log.wb log says: [2010/01/20 16:43:41.368049, 0, pid=23202, effective(0, 1), real(0, 1)] rpc_client/cli_pipe.c:rpc_api_pipe(790) rpc_api_pipe: Remote machine abc.xyz.com pipe \NETLOGON fnum 0x4000returned critical error. Error was NT_STATUS_PIPE_DISCONNECTED Samba is 3.0.34 running under solaris 9. Thanks Paras. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Change AD user password from Linux
Hi Masao, On Wed, Jan 20, 2010 at 1:33 PM, Masao Garcia mas...@fshac.com wrote: John, Thanks for the reply. I edited my common-password file like yours and now I am prompted to enter the user's current password but after that, it gives me the User not known to the underlying authentication module error. my nsswitch.conf looks like: passwd: files winbind groupfiles winbind shadow files winbind hostsfiles dns wins networks: files protocols: db files services: db files ethers: db files rpc:db files netgroup: nis I can't account for the fact that some of my entries have semi-colon's in them. John -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] SMB/CIFS seq. transfers top out at 30MiB/s (NFSv4 and HTTP: 100MiB/s+)
On Wednesday 20 January 2010 20:55:16 Jeff Layton wrote: […] Most likely, you're running into the lack of parallelism in Linux' CIFS client. Writes are done in in turn currently and not in parallel as they should be. […] Very interesting; but that wouldn't explain why it's slow for Windows XP clients, would it? Is there any SMB/CIFS client implementation that's known for its speed so I could test if it's really a client issue? -- with best regards: - Johannes Truschnigg ( johan...@truschnigg.info ) www: http://johannes.truschnigg.info/ phone: +43 650 2 17 xmpp: johan...@truschnigg.info Please do not bother me with HTML-eMail or attachments. Thank you. signature.asc Description: This is a digitally signed message part. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Change AD user password from Linux
John, Still no go on the password change. I'm going to set up a fresh Ubuntu 8.04 installI'm thinking maybe because my test LTSP server was set up to authenticate to a SambaPDC, maybe something is tainted and is causing the problem. Thank you for your help. -Original Message- From: samba-boun...@lists.samba.org [mailto:samba-boun...@lists.samba.org] On Behalf Of john Sent: Wednesday, January 20, 2010 5:10 PM To: samba@lists.samba.org Subject: Re: [Samba] Change AD user password from Linux Hi Masao, On Wed, Jan 20, 2010 at 1:33 PM, Masao Garcia mas...@fshac.com wrote: John, Thanks for the reply. I edited my common-password file like yours and now I am prompted to enter the user's current password but after that, it gives me the User not known to the underlying authentication module error. my nsswitch.conf looks like: passwd: files winbind groupfiles winbind shadow files winbind hostsfiles dns wins networks: files protocols: db files services: db files ethers: db files rpc:db files netgroup: nis I can't account for the fact that some of my entries have semi-colon's in them. John -- 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 shares freezing
On Wed, Jan 20, 2010 at 03:53:06PM -0700, CJ Keist wrote: Jermey, Thank you for your response. I don't have gdb installed but here is truss of my share until it froze. It's blocked in an fcntl lock call on file descriptor 13. Unfortunately your truss trace doesn't show the open of fd 13, so I don't know what file this is. As it's an wait lock I'm guessing this is a tdb file. Install gdb next, and get the backtrace for more details. Jeremy. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Samba] samba 3.0.25 with Windows 7 or Vista
Hello experts: I have been using samba 3.0.25 and it has been giving decent performance with windows XP or 2003 (about 60MB/s reads). But, I just tried with vista or windows7 but the perf is pretty bad (down to 8MB/s). I even enabled the Customize-video stream option on vista/windows7 but no impact. Any ideas what could be going wrong here? Has someone seen this? Any pointers - greatly appreciated. Thanks! -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] samba 3.0.25 with Windows 7 or Vista
On Wed, Jan 20, 2010 at 11:42 PM, Learner Study learner.st...@gmail.com wrote: Hello experts: I have been using samba 3.0.25 and it has been giving decent performance with windows XP or 2003 (about 60MB/s reads). But, I just tried with vista or windows7 but the perf is pretty bad (down to 8MB/s). I even enabled the Customize-video stream option on vista/windows7 but no impact. Any ideas what could be going wrong here? Has someone seen this? Any pointers - greatly appreciated. Your samba version was from 2007. Please upgrade to a recent release. Samba 3.4.5 has much better support for windows 7. John -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] performance tweaks??
On 2010-01-20 at 15:19 -0500 John Drescher sent off: I have a script I use to force the case. Here is a link: http://github.com/drescherjm/jmdgentoooverlay/blob/master/Other/shell-scripts/mvcase.sh and in case you also have umlauts and other non-ascii characters in file names, you can use convmv, which can also lowercase your files and take care of the encoding, whatever encoding you tell it your files have. Cheers Björn pgpb5W7zzxZFU.pgp Description: PGP signature -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Samba 3.4.4 Windows 7 offline folders
We did fix a bug in this recently (with Microsoft's help). But it should definately be fixed in 3.4.4. I'll take a look at this once I'm back with my full test environment (next week). In the meantime can you log a bug at bugzilla.samba.org so this problem doesn't get lost. Thanks, Jeremy. Jeremy, we don't had the issue with Samba 3.4.5 the last 2 days anymore. If it occurs again somewhere on our clients i will open a bug ticket. Thank you -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[SCM] Samba Shared Repository - branch v3-5-test updated
The branch, v3-5-test has been updated via 9effcc4... s3 net/i18n: Update .po files (cherry picked from commit add4edcd063591839111d474543ceea847413f6f) via c9ffcee... s3 net: Fix compile warnings (cherry picked from commit 66de52c4f4527ef43cfaf11c55616ec7602cce85) via 5d47fdf... s3 net/i18n: update .po files (cherry picked from commit 6d33bb25e1aab72bb3e12a0824a758bacba32672) via 611df88... s3 net/i18n: Use only one spelling for Usage: (cherry picked from commit 09bc13728fc76cf784914a4066c793c297e50cff) via a00de54... s3 net: Fix compile error with WITH_DNS_UPDATES via f70106f... s3/net: split up some printable stings to ease i18n via 5731d96... Ñ3/i18n/de: fix typo (cherry picked from commit fb7a4621134b9054f33ccb48d7d8c1e4e4960b9a) via 45403b2... s3/i18n/de: improve some German translations (cherry picked from commit c3ef7a3d96763719de1df679d50fb8a00d1f7391) via 87a7297... net: Add German translation, specially for the command listing from da2bf2e... WHATSNEW: Update release notes. http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-5-test - Log - commit 9effcc4426d8c11be539598cffb0485761633659 Author: Kai Blin k...@samba.org Date: Tue Jan 19 14:48:12 2010 +0100 s3 net/i18n: Update .po files (cherry picked from commit add4edcd063591839111d474543ceea847413f6f) Part 9/9 of a fix for bug #7039 (German translation of net is not complete). commit c9ffceedfd1bb8a21ade44e33eebc7e7426b1e84 Author: Kai Blin k...@samba.org Date: Tue Jan 19 11:43:54 2010 +0100 s3 net: Fix compile warnings (cherry picked from commit 66de52c4f4527ef43cfaf11c55616ec7602cce85) Part 8/9 of a fix for bug #7039 (German translation of net is not complete). commit 5d47fdf980ec16dd22020b15d82ae127663fcb9c Author: Kai Blin k...@samba.org Date: Tue Jan 19 10:06:26 2010 +0100 s3 net/i18n: update .po files (cherry picked from commit 6d33bb25e1aab72bb3e12a0824a758bacba32672) Part 7/9 of a fix for bug #7039 (German translation of net is not complete). commit 611df88507ca2d69f258ea804e2b4fc4ebe420e3 Author: Kai Blin k...@samba.org Date: Tue Jan 19 09:23:42 2010 +0100 s3 net/i18n: Use only one spelling for Usage: (cherry picked from commit 09bc13728fc76cf784914a4066c793c297e50cff) Part 6/9 of a fix for bug #7039 (German translation of net is not complete). commit a00de540e13afe4772ccc4756364f91f31cc8951 Author: Kai Blin k...@samba.org Date: Tue Jan 19 09:36:55 2010 +0100 s3 net: Fix compile error with WITH_DNS_UPDATES bd3c922e2bc1a163efc1d8c9cb59578bebb79616 introduced a compile-time error when building with WITH_DNS_UPDATES. (cherry picked from commit 28b512f904cee5a79aefd0aca2d839dbe37e5519) Part 5/9 of a fix for bug #7039 (German translation of net is not complete). commit f70106f13a2722b958f95c6d6209788d06c69a07 Author: Björn Jacke b...@sernet.de Date: Mon Jan 18 23:39:19 2010 +0100 s3/net: split up some printable stings to ease i18n If we put strings like Usage: into separate _() macros and not the whole Usage:... string we can cover much more messages by only one single translation. The drawback is that the message in the sources looks less pretty. (cherry picked from commit bd3c922e2bc1a163efc1d8c9cb59578bebb79616) Part 4/9 of a fix for bug #7039 (German translation of net is not complete). commit 5731d96a7a0a499cf984aa4f6bf91fbccd8d7ce2 Author: Björn Jacke b...@sernet.de Date: Mon Jan 18 22:07:55 2010 +0100 Ñ3/i18n/de: fix typo (cherry picked from commit fb7a4621134b9054f33ccb48d7d8c1e4e4960b9a) Part 3/9 of a fix for bug #7039 (German translation of net is not complete). commit 45403b2dede2f52524622c189fc789868ca4c633 Author: Björn Jacke b...@sernet.de Date: Mon Jan 18 23:25:41 2010 +0100 s3/i18n/de: improve some German translations (cherry picked from commit c3ef7a3d96763719de1df679d50fb8a00d1f7391) Part 2/9 of a fix for bug #7039 (German translation of net is not complete). commit 87a729791c896af8b64451e68cc2bf9f43ce9344 Author: André Hentschel n...@dawncrow.de Date: Thu Jan 14 19:49:18 2010 +0100 net: Add German translation, specially for the command listing Signed-off-by: Kai Blin k...@samba.org (cherry picked from commit 46842a68618b4c9faba25580e68a286b97f9337e) Part 1/9 of a fix for bug #7039 (German translation of net is not complete). --- Summary of changes: source3/locale/net/de.po | 3696 +- source3/locale/pam_winbind/de.po | 12 +- source3/utils/net.c | 11 +- source3/utils/net_ads.c | 134 +- source3/utils/net_ads_gpo.c | 41 +- source3/utils/net_afs.c |4 +- source3/utils/net_cache.c
[SCM] Samba Shared Repository - branch master updated
The branch, master has been updated via e1e6b19... s3-docs: Fix typos. from 30ea993... Add cross option to samba_cv_linux_getgrouplist_ok http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master - Log - commit e1e6b19acff6d8ba3b70c3ab474a85de8b6f6a6c Author: Karolin Seeger ksee...@samba.org Date: Wed Jan 20 13:34:50 2010 +0100 s3-docs: Fix typos. Thanks to the Debian samba package maintainers pkg-samba-ma...@lists.alioth.debian.org for providing the patch! Fix bug #7017 (Typos and spelling errors in manpages). Karolin --- Summary of changes: docs-xml/manpages-3/ntlm_auth.1.xml|2 +- docs-xml/manpages-3/smbd.8.xml |2 +- docs-xml/manpages-3/winbindd.8.xml |2 +- docs-xml/smbdotconf/browse/preferredmaster.xml |2 +- docs-xml/smbdotconf/protocol/largereadwrite.xml|2 +- .../smbdotconf/winbind/winbindnormalizenames.xml |2 +- 6 files changed, 6 insertions(+), 6 deletions(-) Changeset truncated at 500 lines: diff --git a/docs-xml/manpages-3/ntlm_auth.1.xml b/docs-xml/manpages-3/ntlm_auth.1.xml index bc52799..a25a985 100644 --- a/docs-xml/manpages-3/ntlm_auth.1.xml +++ b/docs-xml/manpages-3/ntlm_auth.1.xml @@ -35,7 +35,7 @@ users using NT/LM authentication. It returns 0 if the users is authenticated successfully and 1 if access was denied. ntlm_auth uses winbind to access the user and authentication data for a domain. This utility - is only indended to be used by other programs (currently + is only intended to be used by other programs (currently ulink url=http://www.squid-cache.org/;Squid/ulink and ulink url=http://download.samba.org/ftp/unpacked/lorikeet/trunk/mod_ntlm_winbind/;mod_ntlm_winbind/ulink) /para diff --git a/docs-xml/manpages-3/smbd.8.xml b/docs-xml/manpages-3/smbd.8.xml index e22f946..3d41d74 100644 --- a/docs-xml/manpages-3/smbd.8.xml +++ b/docs-xml/manpages-3/smbd.8.xml @@ -120,7 +120,7 @@ listitemparaIf this parameter is specified it causes the server to run interactively, not as a daemon, even if the server is executed on the command line of a shell. Setting this - parameter negates the implicit deamon mode when run from the + parameter negates the implicit daemon mode when run from the command line. commandsmbd/command also logs to standard output, as if the command-S/command parameter had been given. diff --git a/docs-xml/manpages-3/winbindd.8.xml b/docs-xml/manpages-3/winbindd.8.xml index c9905a3..45f1627 100644 --- a/docs-xml/manpages-3/winbindd.8.xml +++ b/docs-xml/manpages-3/winbindd.8.xml @@ -53,7 +53,7 @@ para The Name Service Switch allows user and system information to be obtained from different databases services such as NIS or DNS. The exact behaviour can be configured - throught the filename/etc/nsswitch.conf/filename file. + through the filename/etc/nsswitch.conf/filename file. Users and groups are allocated as they are resolved to a range of user and group ids specified by the administrator of the Samba system./para diff --git a/docs-xml/smbdotconf/browse/preferredmaster.xml b/docs-xml/smbdotconf/browse/preferredmaster.xml index edddae8..9dcffb4 100644 --- a/docs-xml/smbdotconf/browse/preferredmaster.xml +++ b/docs-xml/smbdotconf/browse/preferredmaster.xml @@ -16,7 +16,7 @@ parameter is used in conjunction with smbconfoption name=domain masteryes/smbconfoption, so that command moreinfo=nonenmbd/command can guarantee becoming a domain master. /para - + para Use this option with caution, because if there are several hosts (whether Samba servers, Windows 95 or NT) that are preferred master browsers on the same subnet, they will each periodically and continuously attempt diff --git a/docs-xml/smbdotconf/protocol/largereadwrite.xml b/docs-xml/smbdotconf/protocol/largereadwrite.xml index 12be741..0b4158d 100644 --- a/docs-xml/smbdotconf/protocol/largereadwrite.xml +++ b/docs-xml/smbdotconf/protocol/largereadwrite.xml @@ -7,7 +7,7 @@ paraThis parameter determines whether or not citerefentryrefentrytitlesmbd/refentrytitle manvolnum8/manvolnum/citerefentry supports the new 64k -streaming read and write varient SMB requests introduced with +streaming read and write variant SMB requests introduced with Windows 2000. Note that due to Windows 2000 client redirector bugs this requires Samba to be running on a 64-bit capable operating system such as IRIX, Solaris or a Linux 2.4 kernel. Can improve diff --git
[SCM] Samba Shared Repository - branch v3-5-test updated
The branch, v3-5-test has been updated via eaa10cf... s3-docs: Fix typos. from 9effcc4... s3 net/i18n: Update .po files (cherry picked from commit add4edcd063591839111d474543ceea847413f6f) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-5-test - Log - commit eaa10cfec3c389c79ac3c43f7ec1596015a9b8e1 Author: Karolin Seeger ksee...@samba.org Date: Wed Jan 20 13:34:50 2010 +0100 s3-docs: Fix typos. Thanks to the Debian samba package maintainers pkg-samba-ma...@lists.alioth.debian.org for providing the patch! Fix bug #7017 (Typos and spelling errors in manpages). Karolin (cherry picked from commit e1e6b19acff6d8ba3b70c3ab474a85de8b6f6a6c) --- Summary of changes: docs-xml/manpages-3/ntlm_auth.1.xml|2 +- docs-xml/manpages-3/smbd.8.xml |2 +- docs-xml/manpages-3/winbindd.8.xml |2 +- docs-xml/smbdotconf/browse/preferredmaster.xml |2 +- docs-xml/smbdotconf/protocol/largereadwrite.xml|2 +- .../smbdotconf/winbind/winbindnormalizenames.xml |2 +- 6 files changed, 6 insertions(+), 6 deletions(-) Changeset truncated at 500 lines: diff --git a/docs-xml/manpages-3/ntlm_auth.1.xml b/docs-xml/manpages-3/ntlm_auth.1.xml index 608331a..3ffc354 100644 --- a/docs-xml/manpages-3/ntlm_auth.1.xml +++ b/docs-xml/manpages-3/ntlm_auth.1.xml @@ -35,7 +35,7 @@ users using NT/LM authentication. It returns 0 if the users is authenticated successfully and 1 if access was denied. ntlm_auth uses winbind to access the user and authentication data for a domain. This utility - is only indended to be used by other programs (currently + is only intended to be used by other programs (currently ulink url=http://www.squid-cache.org/;Squid/ulink and ulink url=http://download.samba.org/ftp/unpacked/lorikeet/trunk/mod_ntlm_winbind/;mod_ntlm_winbind/ulink) /para diff --git a/docs-xml/manpages-3/smbd.8.xml b/docs-xml/manpages-3/smbd.8.xml index 1062f28..87b9e28 100644 --- a/docs-xml/manpages-3/smbd.8.xml +++ b/docs-xml/manpages-3/smbd.8.xml @@ -120,7 +120,7 @@ listitemparaIf this parameter is specified it causes the server to run interactively, not as a daemon, even if the server is executed on the command line of a shell. Setting this - parameter negates the implicit deamon mode when run from the + parameter negates the implicit daemon mode when run from the command line. commandsmbd/command also logs to standard output, as if the command-S/command parameter had been given. diff --git a/docs-xml/manpages-3/winbindd.8.xml b/docs-xml/manpages-3/winbindd.8.xml index f773e4e..91ac2c8 100644 --- a/docs-xml/manpages-3/winbindd.8.xml +++ b/docs-xml/manpages-3/winbindd.8.xml @@ -53,7 +53,7 @@ para The Name Service Switch allows user and system information to be obtained from different databases services such as NIS or DNS. The exact behaviour can be configured - throught the filename/etc/nsswitch.conf/filename file. + through the filename/etc/nsswitch.conf/filename file. Users and groups are allocated as they are resolved to a range of user and group ids specified by the administrator of the Samba system./para diff --git a/docs-xml/smbdotconf/browse/preferredmaster.xml b/docs-xml/smbdotconf/browse/preferredmaster.xml index edddae8..9dcffb4 100644 --- a/docs-xml/smbdotconf/browse/preferredmaster.xml +++ b/docs-xml/smbdotconf/browse/preferredmaster.xml @@ -16,7 +16,7 @@ parameter is used in conjunction with smbconfoption name=domain masteryes/smbconfoption, so that command moreinfo=nonenmbd/command can guarantee becoming a domain master. /para - + para Use this option with caution, because if there are several hosts (whether Samba servers, Windows 95 or NT) that are preferred master browsers on the same subnet, they will each periodically and continuously attempt diff --git a/docs-xml/smbdotconf/protocol/largereadwrite.xml b/docs-xml/smbdotconf/protocol/largereadwrite.xml index 12be741..0b4158d 100644 --- a/docs-xml/smbdotconf/protocol/largereadwrite.xml +++ b/docs-xml/smbdotconf/protocol/largereadwrite.xml @@ -7,7 +7,7 @@ paraThis parameter determines whether or not citerefentryrefentrytitlesmbd/refentrytitle manvolnum8/manvolnum/citerefentry supports the new 64k -streaming read and write varient SMB requests introduced with +streaming read and write variant SMB requests introduced with Windows 2000. Note that due to Windows 2000 client redirector bugs this requires Samba to be running on a 64-bit capable operating
[SCM] Samba Shared Repository - branch v3-4-test updated
The branch, v3-4-test has been updated via 436e136... s3-docs: Fix typos. from 20a4052... s3:pdb_ldap: restore Samba 3.0.x behavior and use the first uid value. http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-4-test - Log - commit 436e13608e489b4bd5c00597efca9c9ca66b8be1 Author: Karolin Seeger ksee...@samba.org Date: Wed Jan 20 13:34:50 2010 +0100 s3-docs: Fix typos. Thanks to the Debian samba package maintainers pkg-samba-ma...@lists.alioth.debian.org for providing the patch! Fix bug #7017 (Typos and spelling errors in manpages). Karolin (cherry picked from commit e1e6b19acff6d8ba3b70c3ab474a85de8b6f6a6c) (cherry picked from commit eaa10cfec3c389c79ac3c43f7ec1596015a9b8e1) --- Summary of changes: docs-xml/manpages-3/ntlm_auth.1.xml|2 +- docs-xml/manpages-3/smbd.8.xml |2 +- docs-xml/manpages-3/winbindd.8.xml |2 +- docs-xml/smbdotconf/browse/preferredmaster.xml |2 +- docs-xml/smbdotconf/protocol/largereadwrite.xml|2 +- .../smbdotconf/winbind/winbindnormalizenames.xml |2 +- 6 files changed, 6 insertions(+), 6 deletions(-) Changeset truncated at 500 lines: diff --git a/docs-xml/manpages-3/ntlm_auth.1.xml b/docs-xml/manpages-3/ntlm_auth.1.xml index 8675582..edd1e11 100644 --- a/docs-xml/manpages-3/ntlm_auth.1.xml +++ b/docs-xml/manpages-3/ntlm_auth.1.xml @@ -35,7 +35,7 @@ users using NT/LM authentication. It returns 0 if the users is authenticated successfully and 1 if access was denied. ntlm_auth uses winbind to access the user and authentication data for a domain. This utility - is only indended to be used by other programs (currently + is only intended to be used by other programs (currently ulink url=http://www.squid-cache.org/;Squid/ulink and ulink url=http://download.samba.org/ftp/unpacked/lorikeet/trunk/mod_ntlm_winbind/;mod_ntlm_winbind/ulink) /para diff --git a/docs-xml/manpages-3/smbd.8.xml b/docs-xml/manpages-3/smbd.8.xml index 67ec6a1..b0508fa 100644 --- a/docs-xml/manpages-3/smbd.8.xml +++ b/docs-xml/manpages-3/smbd.8.xml @@ -120,7 +120,7 @@ listitemparaIf this parameter is specified it causes the server to run interactively, not as a daemon, even if the server is executed on the command line of a shell. Setting this - parameter negates the implicit deamon mode when run from the + parameter negates the implicit daemon mode when run from the command line. commandsmbd/command also logs to standard output, as if the command-S/command parameter had been given. diff --git a/docs-xml/manpages-3/winbindd.8.xml b/docs-xml/manpages-3/winbindd.8.xml index c681da8..b1e3465 100644 --- a/docs-xml/manpages-3/winbindd.8.xml +++ b/docs-xml/manpages-3/winbindd.8.xml @@ -53,7 +53,7 @@ para The Name Service Switch allows user and system information to be obtained from different databases services such as NIS or DNS. The exact behaviour can be configured - throught the filename/etc/nsswitch.conf/filename file. + through the filename/etc/nsswitch.conf/filename file. Users and groups are allocated as they are resolved to a range of user and group ids specified by the administrator of the Samba system./para diff --git a/docs-xml/smbdotconf/browse/preferredmaster.xml b/docs-xml/smbdotconf/browse/preferredmaster.xml index edddae8..9dcffb4 100644 --- a/docs-xml/smbdotconf/browse/preferredmaster.xml +++ b/docs-xml/smbdotconf/browse/preferredmaster.xml @@ -16,7 +16,7 @@ parameter is used in conjunction with smbconfoption name=domain masteryes/smbconfoption, so that command moreinfo=nonenmbd/command can guarantee becoming a domain master. /para - + para Use this option with caution, because if there are several hosts (whether Samba servers, Windows 95 or NT) that are preferred master browsers on the same subnet, they will each periodically and continuously attempt diff --git a/docs-xml/smbdotconf/protocol/largereadwrite.xml b/docs-xml/smbdotconf/protocol/largereadwrite.xml index 12be741..0b4158d 100644 --- a/docs-xml/smbdotconf/protocol/largereadwrite.xml +++ b/docs-xml/smbdotconf/protocol/largereadwrite.xml @@ -7,7 +7,7 @@ paraThis parameter determines whether or not citerefentryrefentrytitlesmbd/refentrytitle manvolnum8/manvolnum/citerefentry supports the new 64k -streaming read and write varient SMB requests introduced with +streaming read and write variant SMB requests introduced with Windows 2000. Note that due to Windows 2000 client redirector bugs this requires Samba to be
[SCM] Samba Shared Repository - branch v3-3-test updated
The branch, v3-3-test has been updated via c2cdd4d... s3-docs: Fix typos. via a4e7398... WHATSNEW: Update release notes. via 7242d5a... VERSION: Raise version up to 3.3.11. from 1d61102... s3: Fix a crash in libsmbclient used against the OpenSolaris CIFS server http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-3-test - Log - commit c2cdd4dff7a78c5c4abeb04679f07e3807f88dfb Author: Karolin Seeger ksee...@samba.org Date: Wed Jan 20 13:34:50 2010 +0100 s3-docs: Fix typos. Thanks to the Debian samba package maintainers pkg-samba-ma...@lists.alioth.debian.org for providing the patch! Fix bug #7017 (Typos and spelling errors in manpages). Karolin (cherry picked from commit e1e6b19acff6d8ba3b70c3ab474a85de8b6f6a6c) (cherry picked from commit eaa10cfec3c389c79ac3c43f7ec1596015a9b8e1) (cherry picked from commit 436e13608e489b4bd5c00597efca9c9ca66b8be1) commit a4e7398fead7cb9210932ed14fb4d2e87b472234 Author: Karolin Seeger ksee...@samba.org Date: Wed Jan 20 13:43:15 2010 +0100 WHATSNEW: Update release notes. Karolin commit 7242d5ac288b88e151b368ae7d6fc623f60968da Author: Karolin Seeger ksee...@samba.org Date: Wed Jan 20 13:42:12 2010 +0100 VERSION: Raise version up to 3.3.11. Karolin --- Summary of changes: WHATSNEW.txt | 49 +++- docs-xml/manpages-3/ntlm_auth.1.xml|2 +- docs-xml/manpages-3/smbd.8.xml |2 +- docs-xml/manpages-3/winbindd.8.xml |2 +- docs-xml/smbdotconf/browse/preferredmaster.xml |2 +- docs-xml/smbdotconf/protocol/largereadwrite.xml|2 +- .../smbdotconf/winbind/winbindnormalizenames.xml |2 +- source/VERSION |2 +- 8 files changed, 54 insertions(+), 9 deletions(-) Changeset truncated at 500 lines: diff --git a/WHATSNEW.txt b/WHATSNEW.txt index 8c42cbf..e326a89 100644 --- a/WHATSNEW.txt +++ b/WHATSNEW.txt @@ -1,4 +1,49 @@ == + Release Notes for Samba 3.3.11 +, 2010 + == + + +This is the latest bugfix release of the Samba 3.3 series. + +Major enhancements in Samba 3.3.11 include: + + o + +## +Changes +### + +Changes since 3.3.10 + + + + + +## +Reporting bugs Development Discussion +### + +Please discuss this release on the samba-technical mailing list or by +joining the #samba-technical IRC channel on irc.freenode.net. + +If you do report problems then please try to send high quality +feedback. If you don't provide vital information to help us track down +the problem then you will probably be ignored. All bug reports should +be filed under the Samba 3.3 product in the project's Bugzilla +database (https://bugzilla.samba.org/). + + +== +== Our Code, Our Bugs, Our Responsibility. +== The Samba Team +== + + +Release notes for older releases follow: + + + == Release Notes for Samba 3.3.10 January 14, 2010 == @@ -118,8 +163,8 @@ database (https://bugzilla.samba.org/). == -Release notes for older releases follow: - +-- + = Release Notes for Samba 3.3.9 diff --git a/docs-xml/manpages-3/ntlm_auth.1.xml b/docs-xml/manpages-3/ntlm_auth.1.xml index ac23326..9377972 100644 --- a/docs-xml/manpages-3/ntlm_auth.1.xml +++ b/docs-xml/manpages-3/ntlm_auth.1.xml @@ -35,7 +35,7 @@ users using NT/LM authentication. It returns 0 if the users is authenticated successfully and 1 if access was denied. ntlm_auth uses winbind to access the user and authentication data for a domain. This utility - is only indended to be used by other programs (currently + is only intended to be used by other programs (currently ulink url=http://www.squid-cache.org/;Squid/ulink and ulink url=http://download.samba.org/ftp/unpacked/lorikeet/trunk/mod_ntlm_winbind/;mod_ntlm_winbind/ulink) /para diff --git a/docs-xml/manpages-3/smbd.8.xml
[SCM] Samba Shared Repository - branch master updated
The branch, master has been updated via 45465cb... s4:selftest: add the samr-passwords-lockout test to knownfail via 9764db8... torture: add new test RPC-SAMR-PASSWORDS-LOCKOUT from e1e6b19... s3-docs: Fix typos. http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master - Log - commit 45465cb7da75645f656e9c5dda136d782477ee68 Author: Michael Adam ob...@samba.org Date: Wed Jan 20 16:38:00 2010 +0100 s4:selftest: add the samr-passwords-lockout test to knownfail This is not implemented completely yet. Needs fixing in the future. Michael commit 9764db806fe169cc3a3797b6785868922d5d7a80 Author: Michael Adam ob...@samba.org Date: Fri Jan 15 18:08:57 2010 +0100 torture: add new test RPC-SAMR-PASSWORDS-LOCKOUT This tests account lockout features. Windows 2003r2 and Windows 2008r2 survice this test. Note: Windows does not set the ACB_AUTOLOCK account flag when it locks out an account. One thing that could/should be added to this test is a check of the lockout time property. Michael --- Summary of changes: source4/selftest/knownfail |1 + source4/torture/rpc/rpc.c |1 + source4/torture/rpc/samr.c | 451 3 files changed, 453 insertions(+), 0 deletions(-) Changeset truncated at 500 lines: diff --git a/source4/selftest/knownfail b/source4/selftest/knownfail index a891f03..31c1e2c 100644 --- a/source4/selftest/knownfail +++ b/source4/selftest/knownfail @@ -41,6 +41,7 @@ rpc.netlogon.*.ServerGetTrustInfo rpc.netlogon.*.GetDomainInfo # Also fails against W2K8 (but in a different way) samba4.rpc.samr.passwords.pwdlastset # Not provided by Samba 4 yet samba4.rpc.samr.passwords.badpwdcount # Not provided by Samba 4 yet +samba4.rpc.samr.passwords.lockout samba4.rpc.samr.users.privileges samba4.rpc.spoolss # Not provided by Samba 4 yet base.charset.*.Testing partial surrogate diff --git a/source4/torture/rpc/rpc.c b/source4/torture/rpc/rpc.c index 6e2e40d..1973440 100644 --- a/source4/torture/rpc/rpc.c +++ b/source4/torture/rpc/rpc.c @@ -463,6 +463,7 @@ NTSTATUS torture_rpc_init(void) torture_suite_add_suite(suite, torture_rpc_samr_workstation_auth(suite)); torture_suite_add_suite(suite, torture_rpc_samr_passwords_pwdlastset(suite)); torture_suite_add_suite(suite, torture_rpc_samr_passwords_badpwdcount(suite)); + torture_suite_add_suite(suite, torture_rpc_samr_passwords_lockout(suite)); torture_suite_add_suite(suite, torture_rpc_samr_user_privileges(suite)); torture_suite_add_suite(suite, torture_rpc_samr_large_dc(suite)); torture_suite_add_suite(suite, torture_rpc_epmapper(suite)); diff --git a/source4/torture/rpc/samr.c b/source4/torture/rpc/samr.c index 0e76017..c2b973e 100644 --- a/source4/torture/rpc/samr.c +++ b/source4/torture/rpc/samr.c @@ -51,6 +51,7 @@ enum torture_samr_choice { TORTURE_SAMR_PASSWORDS, TORTURE_SAMR_PASSWORDS_PWDLASTSET, TORTURE_SAMR_PASSWORDS_BADPWDCOUNT, + TORTURE_SAMR_PASSWORDS_LOCKOUT, TORTURE_SAMR_USER_ATTRIBUTES, TORTURE_SAMR_USER_PRIVILEGES, TORTURE_SAMR_OTHER, @@ -3790,6 +3791,390 @@ static bool test_Password_badpwdcount_wrap(struct dcerpc_pipe *p, return ret; } +static bool test_QueryUserInfo_acct_flags(struct dcerpc_pipe *p, + struct torture_context *tctx, + struct policy_handle *handle, + uint32_t *acct_flags) +{ + union samr_UserInfo *info; + struct samr_QueryUserInfo r; + + r.in.user_handle = handle; + r.in.level = 16; + r.out.info = info; + + torture_comment(tctx, Testing QueryUserInfo level %d, r.in.level); + + torture_assert_ntstatus_ok(tctx, dcerpc_samr_QueryUserInfo(p, tctx, r), + failed to query userinfo); + + *acct_flags = info-info16.acct_flags; + + torture_comment(tctx, (acct_flags: 0x%08x)\n, *acct_flags); + + return true; +} + +static bool test_Password_lockout(struct dcerpc_pipe *p, + struct dcerpc_pipe *np, + struct torture_context *tctx, + uint32_t acct_flags, + const char *acct_name, + struct policy_handle *domain_handle, + struct policy_handle *user_handle, + char **password, + struct cli_credentials *machine_credentials, + const char *comment, + bool disable, + bool interactive, +
[SCM] Samba Shared Repository - branch master updated
The branch, master has been updated via fd6a792... s4-winbind: Migrated winbind connection to tsocket. from 3471d36... selftest-s4: set the posix:eadb at the global level http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master - Log - commit fd6a79228347ec032294a1f462dda56095fc1d8b Author: Andreas Schneider a...@redhat.com Date: Sun Jan 17 10:21:21 2010 +0100 s4-winbind: Migrated winbind connection to tsocket. Signed-off-by: Stefan Metzmacher me...@samba.org --- Summary of changes: source4/winbind/wb_samba3_protocol.c | 101 +- source4/winbind/wb_server.c | 157 ++ source4/winbind/wb_server.h | 11 ++- 3 files changed, 191 insertions(+), 78 deletions(-) Changeset truncated at 500 lines: diff --git a/source4/winbind/wb_samba3_protocol.c b/source4/winbind/wb_samba3_protocol.c index 250525c..ae93305 100644 --- a/source4/winbind/wb_samba3_protocol.c +++ b/source4/winbind/wb_samba3_protocol.c @@ -23,6 +23,7 @@ #include winbind/wb_server.h #include smbd/service_stream.h #include lib/stream/packet.h +#include lib/tsocket/tsocket.h /* work out if a packet is complete for protocols that use a 32 bit host byte @@ -43,28 +44,18 @@ NTSTATUS wbsrv_samba3_packet_full_request(void *private_data, DATA_BLOB blob, si } -NTSTATUS wbsrv_samba3_pull_request(DATA_BLOB blob, struct wbsrv_connection *wbconn, - struct wbsrv_samba3_call **_call) +NTSTATUS wbsrv_samba3_pull_request(struct wbsrv_samba3_call *call) { - struct wbsrv_samba3_call *call; - - if (blob.length != sizeof(call-request)) { + if (call-in.length != sizeof(call-request)) { DEBUG(0,(wbsrv_samba3_pull_request: invalid blob length %lu should be %lu\n make sure you use the correct winbind client tools!\n, -(long)blob.length, (long)sizeof(call-request))); +(long)call-in.length, (long)sizeof(call-request))); return NT_STATUS_INVALID_PARAMETER; } - call = talloc_zero(wbconn, struct wbsrv_samba3_call); - NT_STATUS_HAVE_NO_MEMORY(call); - /* the packet layout is the same as the in memory layout of the request, so just copy it */ - memcpy(call-request, blob.data, sizeof(call-request)); + memcpy(call-request, call-in.data, sizeof(call-request)); - call-wbconn = wbconn; - call-event_ctx = call-wbconn-conn-event.ctx; - - *_call = call; return NT_STATUS_OK; } @@ -216,9 +207,8 @@ NTSTATUS wbsrv_samba3_handle_call(struct wbsrv_samba3_call *s3call) return NT_STATUS_OK; } -static NTSTATUS wbsrv_samba3_push_reply(struct wbsrv_samba3_call *call, TALLOC_CTX *mem_ctx, DATA_BLOB *_blob) +static NTSTATUS wbsrv_samba3_push_reply(struct wbsrv_samba3_call *call) { - DATA_BLOB blob; uint8_t *extra_data; size_t extra_data_len = 0; @@ -228,25 +218,28 @@ static NTSTATUS wbsrv_samba3_push_reply(struct wbsrv_samba3_call *call, TALLOC_C sizeof(call-response); } - blob = data_blob_talloc(mem_ctx, NULL, call-response.length); - NT_STATUS_HAVE_NO_MEMORY(blob.data); + call-out = data_blob_talloc(call, NULL, call-response.length); + NT_STATUS_HAVE_NO_MEMORY(call-out.data); /* don't push real pointer values into sockets */ if (extra_data) { call-response.extra_data.data = (void *)0x; } - memcpy(blob.data, call-response, sizeof(call-response)); + memcpy(call-out.data, call-response, sizeof(call-response)); /* set back the pointer */ call-response.extra_data.data = extra_data; if (extra_data) { - memcpy(blob.data + sizeof(call-response), extra_data, extra_data_len); + memcpy(call-out.data + sizeof(call-response), + extra_data, + extra_data_len); } - *_blob = blob; return NT_STATUS_OK; } +static void wbsrv_samba3_send_reply_done(struct tevent_req *subreq); + /* * queue a wbsrv_call reply on a wbsrv_connection * NOTE: that this implies talloc_free(call), @@ -255,38 +248,68 @@ static NTSTATUS wbsrv_samba3_push_reply(struct wbsrv_samba3_call *call, TALLOC_C */ NTSTATUS wbsrv_samba3_send_reply(struct wbsrv_samba3_call *call) { - struct wbsrv_connection *wbconn = call-wbconn; - DATA_BLOB rep; + struct wbsrv_connection *wbsrv_conn = call-wbconn; + struct tevent_req *subreq; NTSTATUS status; - status = wbsrv_samba3_push_reply(call, call, rep); + status = wbsrv_samba3_push_reply(call); NT_STATUS_NOT_OK_RETURN(status); - status = packet_send(call-wbconn-packet, rep); -
[SCM] Samba Shared Repository - branch master updated
The branch, master has been updated via 9ddeac1... pyxattr: Factor out helper functions. via 17d6f56... selftest: Cope with 'multipart' support in subunit. via 8b0f319... pyxattr: Simplify tests. via 05b4e29... pyxattr: Fix tests by not opening tdb files multiple times. via 14b0fed... pyxattr: Fix tests by avoiding opening tdb files multiple times. via 253a232... pyxattr: Fix memory leaks. via 9a25380... pyxattr: Simplify tests. via 7092e22... pyxattr: Fix return value, raise exception, fix memory leak. via 342aff7... pyxattr: Use standard functions for error handling. via 6afb162... pyxattr: Remove unnecessary hacks. via f679def... s4: Fix a few warnings. via 4b11e0c... pidl: Include Python.h first, to avoid warnings. via c42242d... s4: Include Python.h early to avoid double definition errors. from e8a99ac... s3: fix dnsupdate configure check http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master - Log - commit 9ddeac17f58273730be605a1f08097a15a3204d1 Author: Jelmer Vernooij jel...@samba.org Date: Thu Jan 21 17:17:02 2010 +1300 pyxattr: Factor out helper functions. commit 17d6f56646b79ba1acecab6eb661cb6205c9b408 Author: Jelmer Vernooij jel...@samba.org Date: Thu Jan 21 17:16:19 2010 +1300 selftest: Cope with 'multipart' support in subunit. commit 8b0f31994c38b9f349fdda88a74e95a961582902 Author: Jelmer Vernooij jel...@samba.org Date: Thu Jan 21 16:56:23 2010 +1300 pyxattr: Simplify tests. commit 05b4e29f7f35108a7a17f072dc1329fc14d6b9ea Author: Jelmer Vernooij jel...@samba.org Date: Thu Jan 21 16:45:06 2010 +1300 pyxattr: Fix tests by not opening tdb files multiple times. commit 14b0fed96c5d5acf9118156d29e469aed584c33d Author: Jelmer Vernooij jel...@samba.org Date: Thu Jan 21 16:44:20 2010 +1300 pyxattr: Fix tests by avoiding opening tdb files multiple times. commit 253a232d300ac6a5089836eb6d0235d48722 Author: Jelmer Vernooij jel...@samba.org Date: Thu Jan 21 16:44:12 2010 +1300 pyxattr: Fix memory leaks. commit 9a253808383e1a2777c3c05a25be88ed25c51a13 Author: Jelmer Vernooij jel...@samba.org Date: Thu Jan 21 16:41:30 2010 +1300 pyxattr: Simplify tests. commit 7092e220b57867c35425f17d09c4cc1031932eda Author: Jelmer Vernooij jel...@samba.org Date: Thu Jan 21 16:29:15 2010 +1300 pyxattr: Fix return value, raise exception, fix memory leak. commit 342aff75c5400ef6be855094e2fe42f444cc40de Author: Jelmer Vernooij jel...@samba.org Date: Thu Jan 21 16:28:24 2010 +1300 pyxattr: Use standard functions for error handling. commit 6afb16253399a58ac06b0061cd7ceb112bcd172b Author: Jelmer Vernooij jel...@samba.org Date: Thu Jan 21 16:18:19 2010 +1300 pyxattr: Remove unnecessary hacks. commit f679def4f2c4d878c8fac49ea248cfadb665168c Author: Jelmer Vernooij jel...@samba.org Date: Wed Jan 20 16:27:38 2010 +1300 s4: Fix a few warnings. commit 4b11e0c67cbd611b7f295256f0aa6c55a8b88699 Author: Jelmer Vernooij jel...@samba.org Date: Wed Jan 20 16:27:15 2010 +1300 pidl: Include Python.h first, to avoid warnings. commit c42242d132144fbbdce97bd95f0e24bdf58a2c84 Author: Jelmer Vernooij jel...@samba.org Date: Wed Jan 20 15:07:09 2010 +1300 s4: Include Python.h early to avoid double definition errors. --- Summary of changes: lib/talloc/pytalloc.c |1 + pidl/lib/Parse/Pidl/Samba4/Python.pm |2 +- selftest/Subunit.pm |2 +- source4/auth/pyauth.c |1 + source4/lib/ldb/tools/cmdline.c |2 + source4/lib/stream/packet.h |1 + source4/librpc/ndr/py_xattr.c |9 +- source4/param/provision.c |2 +- source4/scripting/python/pyxattr_native.c | 48 +++- source4/scripting/python/pyxattr_tdb.c| 54 - source4/scripting/python/samba/tests/xattr.py | 160 +++-- source4/torture/rpc/samba3rpc.c |1 - source4/torture/smb2/acls.c |4 +- source4/utils/net/net.c |2 +- 14 files changed, 130 insertions(+), 159 deletions(-) Changeset truncated at 500 lines: diff --git a/lib/talloc/pytalloc.c b/lib/talloc/pytalloc.c index c6decf3..ad595a1 100644 --- a/lib/talloc/pytalloc.c +++ b/lib/talloc/pytalloc.c @@ -17,6 +17,7 @@ along with this program. If not, see http://www.gnu.org/licenses/. */ +#include Python.h #include replace.h #include talloc.h #include pytalloc.h diff --git a/pidl/lib/Parse/Pidl/Samba4/Python.pm b/pidl/lib/Parse/Pidl/Samba4/Python.pm index 79c72d7..015c54d 100644 --- a/pidl/lib/Parse/Pidl/Samba4/Python.pm +++ b/pidl/lib/Parse/Pidl/Samba4/Python.pm @@ -1124,8 +1124,8 @@ sub Parse($)
Build status as of Thu Jan 21 07:00:04 2010
URL: http://build.samba.org/ --- /home/build/master/cache/broken_results.txt.old 2010-01-20 00:00:05.0 -0700 +++ /home/build/master/cache/broken_results.txt 2010-01-21 00:00:10.0 -0700 @@ -1,4 +1,4 @@ -Build status as of Wed Jan 20 07:00:04 2010 +Build status as of Thu Jan 21 07:00:04 2010 Build counts: Tree Total Broken Panic @@ -8,15 +8,15 @@ ldb 29 29 0 libreplace 28 12 0 lorikeet 0 0 0 -pidl 0 0 0 +pidl 14 14 0 ppp 1 1 0 rsync2 0 0 samba-docs 0 0 0 samba-web0 0 0 samba_3_current 27 27 0 -samba_3_master 27 26 2 -samba_3_next 27 27 3 +samba_3_master 27 27 4 +samba_3_next 27 26 3 samba_4_0_test 29 28 0 -talloc 27 10 0 -tdb 25 17 0 +talloc 28 10 0 +tdb 26 17 0
[SCM] CTDB repository - branch 1.0.112 updated - ctdb-1.0.111-16-g3e2b183
The branch, 1.0.112 has been updated via 3e2b1839a9f8419eeeb7f22ea5925f6c42f32a65 (commit) via eb68bc6f27f9b10abbd5bc4e4fd62b7af54c9abb (commit) via cd8b1eb75f430c589e71b2837dab9d83a12bb43e (commit) from 910debaa673319a193374ecc75048e3b8da7564d (commit) http://gitweb.samba.org/?p=sahlberg/ctdb.git;a=shortlog;h=1.0.112 - Log - commit 3e2b1839a9f8419eeeb7f22ea5925f6c42f32a65 Author: Ronnie Sahlberg ronniesahlb...@gmail.com Date: Thu Jan 21 18:51:54 2010 +1100 version 1.0.112-4 commit eb68bc6f27f9b10abbd5bc4e4fd62b7af54c9abb Author: Martin Schwenke mar...@meltin.net Date: Thu Jan 21 13:40:03 2010 +1100 onnode: update algorithm for finding nodes file. 2 changes: * If a relative nodes file is specified via -f or $CTDB_NODES_FILE but this file does not exist then try looking for the file in /etc/ctdb (or $CTDB_BASE if set). * If a nodes file is specified via -f or $CTDB_NODES_FILE but this file does not exist (even when checked as per above) then do not fall back to /etc/ctdb/nodes ((or $CTDB_BASE if set). The old behaviour was surprising and hid errors. Signed-off-by: Martin Schwenke mar...@meltin.net commit cd8b1eb75f430c589e71b2837dab9d83a12bb43e Author: Martin Schwenke mar...@meltin.net Date: Thu Jan 21 13:16:18 2010 +1100 onnode - respect $CTDB_BASE rather than hard-coding /etc/ctdb. Signed-off-by: Martin Schwenke mar...@meltin.net --- Summary of changes: packaging/RPM/ctdb.spec.in |4 +++- tools/onnode | 23 +++ 2 files changed, 22 insertions(+), 5 deletions(-) Changeset truncated at 500 lines: diff --git a/packaging/RPM/ctdb.spec.in b/packaging/RPM/ctdb.spec.in index 30545c5..93f5e22 100644 --- a/packaging/RPM/ctdb.spec.in +++ b/packaging/RPM/ctdb.spec.in @@ -5,7 +5,7 @@ Vendor: Samba Team Packager: Samba Team sa...@samba.org Name: ctdb Version: 1.0.112 -Release: 3 +Release: 4 Epoch: 0 License: GNU GPL version 3 Group: System Environment/Daemons @@ -123,6 +123,8 @@ rm -rf $RPM_BUILD_ROOT %{_docdir}/ctdb/tests/bin/ctdb_transaction %changelog +* Wed Jan 21 2010 : Version 1.0.112-4 + - Update onnode with more flexible ways to define the path to the nodes file * Wed Jan 20 2010 : Version 1.0.112-3 - Explicitely source the nfs sysconfig file from the 61.nfstickles script. * Wed Jan 13 2010 : Version 1.0.112-2 diff --git a/tools/onnode b/tools/onnode index 7c0a86e..fa61b47 100755 --- a/tools/onnode +++ b/tools/onnode @@ -63,6 +63,8 @@ quiet=false prefix= names_ok=false +ctdb_base=${CTDB_BASE:-/etc/ctdb} + parse_options () { # $POSIXLY_CORRECT means that the command passed to onnode can @@ -165,7 +167,7 @@ get_nodes_with_status () # Succeeded. Get address. NOTE: this is an optimisation. # It might be better to get the node number and then get # the nth node to get the address. This would make things - # more consistent if /etc/ctdb/nodes actually contained + # more consistent if $ctdb_base/nodes actually contained # hostnames. nodes=${nodes} ${t##*:} fi @@ -229,8 +231,21 @@ get_nodes () if [ -n $CTDB_NODES_SOCKETS ] ; then all_nodes=$CTDB_NODES_SOCKETS else - [ -e $CTDB_NODES_FILE ] || CTDB_NODES_FILE=/etc/ctdb/nodes - all_nodes=$(sed -e 's...@#.*@@g' -e 's@ *@@g' -e 's...@^$@#DEAD@' $CTDB_NODES_FILE) + local f=${ctdb_base}/nodes + if [ -n $CTDB_NODES_FILE ] ; then + f=$CTDB_NODES_FILE + if [ ! -e $f -a ${f#/} = $f ] ; then + # $f is relative, try in $ctdb_base + f=${ctdb_base}/${f} + fi + fi + + if [ ! -r $f ] ; then + echo ${prog}: unable to open nodes file \${f}\ 2 + exit 1 + fi + + all_nodes=$(sed -e 's...@#.*@@g' -e 's@ *@@g' -e 's...@^$@#DEAD@' $f) fi local nodes= @@ -305,7 +320,7 @@ if [ -n $CTDB_NODES_SOCKETS ] ; then SSH=fakessh else # Could 2/dev/null || true but want to see errors from typos in file. -[ -r /etc/ctdb/onnode.conf ] . /etc/ctdb/onnode.conf +[ -r ${ctdb_base}/onnode.conf ] . ${ctdb_base}/onnode.conf [ -n $SSH ] || SSH=ssh if [ $SSH = ssh ] ; then ssh_opts=-n -- CTDB repository
[SCM] CTDB repository - branch master updated - ctdb-1.0.113-64-g60aa570
The branch, master has been updated via 60aa570aaa77d293b963105b3f605f9625a4594b (commit) via 503e4908b3028330bc25dc6de8561dbd53ee6a8d (commit) via 3bab985cf615720eded4d47b4f9f37a9c28840aa (commit) via 0e41a2204fa8a1e77dc83c0d4b253ab272b5c72d (commit) via 48e0af91113d6cead6cae3f28d8d8f610cacaa71 (commit) via 2f44d6f3d290cc1b37b19ec34edfbad12cc0c0a7 (commit) via f5c221e6abc118aefa489aa7e07755af952fd2bb (commit) via 6c456face30606641f6b8beaad3121c9b05ca763 (commit) via 7bc9969c4c28f2c4a4848bd730db3c63bb9204fe (commit) via 72ef5f891f85ce51f5ca7e0c03d0c7cc955be110 (commit) via eded224368dded2264e53546c196b1b485cb2094 (commit) via 8fd6f4aab0c173b4c9c4c02c546e7d2ec1a98423 (commit) via ec87a51660cfa8a6851923f757fed31f7ffc7153 (commit) via 829150e814a5e6c85d0f21421f46f41e81d74c53 (commit) via a5cdf1277387f8c6292153c37fa9ceb64707d04f (commit) via 712ed0c4c0bff1be9e96a54b62512787a4aa6259 (commit) via d054eb33c6ae92560cddb40732e5dcf622591a3c (commit) via f872e8c63a2f8979e6a0d088630575bdd4d7b4f1 (commit) via 615dec051c26aac628f120e96bf12fb39fc6d28a (commit) via c465f63585c419ba59a6b04cbbf78ae615a7259d (commit) via b5ba56dea57db97d6c6ba3e7582e74fe0e3041fc (commit) via 965a65520693e3731b5b0250127b04c777087808 (commit) via 10bc087d0280057962177721bdd6d4f28743b311 (commit) via 38cb972382a09f830673277d0a9bd5d20deafff2 (commit) via dffa2b05acce8b73c2fdd085311732bf57f01b7f (commit) via c24fbea156dfdc9154e94eace725526e44cbcdac (commit) via 27bde04966e22975777b4034dbaccfe158369110 (commit) via e05e236fc019bfd3b316609a7c190e0e028a4bbc (commit) via 8d0c00b60db69bd10f12da4c676e1142dc37af7a (commit) via 80053d09eed967fb76898f4a53437bed2b43a02f (commit) via cff58b27c970e9252d131125941c372019fd6660 (commit) via 0e982a416a126d9856145c19baef320cd0e71d66 (commit) via 486fbd15f4cc4f45a4c110b2ddbba48bade22c9f (commit) via e2d6582001be28c1800e4da8b0f2dc541538c314 (commit) via a21e3765dd83e837d93111f387448bf0a5dd4652 (commit) via 4efab41dfa61d5c7951c583d584df3455ee9c704 (commit) via a2c9e4578e149eccb2c6183f64a6b657eb95c5e1 (commit) via a695a38e49e7c3e15a9706392dc920eeab1f11ba (commit) via 09a5c59bc8d1301edf60d7ae77504dc6d11a7da2 (commit) via 6bd780510058e5589f2f7c3722d37acbba4935ab (commit) via 91122c322fbec08138b92c528d9a946f6727b4fd (commit) via ff5291778f0752e176539397e9530dcf0e546bea (commit) via 080ba5ac2195fb73ef6f18740abdde57a7b97151 (commit) via f9837f8b6f887d28f29aeb3eeffe8cfb423b40b4 (commit) via 33a00ef7233051acdbc66410130ec5d876a8422f (commit) via 9e5532e215892b2e0aadd9b106a730727f92c62e (commit) via 400b4806c4a9686a2ee6398b5d7c3e0ca0793fd1 (commit) via ff5678fbec2daef461143acf00cef3f94d7655fc (commit) via ff9c641763702ae99632bbf4d0825d578440c074 (commit) via e02417b2a55c45ac2c125b1b3463c9c39e7bc07a (commit) via 24cd42769d8f32b90a8876a6a08a36ab23076cd1 (commit) via 2397f13d7b5ca3847ef148187c6b179d06f6a47a (commit) via e953808449c102258abb6cba6f4abf486dda3b82 (commit) via 37d11895e96ba8bc8c9ba159083970c45f76d9bb (commit) via e366e77ba170d2c27110c56004ae1adf97abef9e (commit) via 8171d66f0061fe23ed6dfef87ffe63bfc19596eb (commit) via 9d39ada437b02d84b70a5fea78b61bbb32f16d81 (commit) via 4b4dd5d7f81bf226e05c7f3d40087043da1517a2 (commit) via 18af37e99ef8ff5623161495be432abfe5e3407f (commit) via 898894d3acbcc0add2ab0706a3172a446622f687 (commit) via 49f0488a5e60c74b6b8361dffcd09ebb2db740f0 (commit) from 085d1bea78fabf754ef6dd6d323f74a1d361e45c (commit) http://gitweb.samba.org/?p=sahlberg/ctdb.git;a=shortlog;h=master - Log - commit 60aa570aaa77d293b963105b3f605f9625a4594b Author: Martin Schwenke mar...@meltin.net Date: Thu Jan 21 13:40:03 2010 +1100 onnode: update algorithm for finding nodes file. 2 changes: * If a relative nodes file is specified via -f or $CTDB_NODES_FILE but this file does not exist then try looking for the file in /etc/ctdb (or $CTDB_BASE if set). * If a nodes file is specified via -f or $CTDB_NODES_FILE but this file does not exist (even when checked as per above) then do not fall back to /etc/ctdb/nodes ((or $CTDB_BASE if set). The old behaviour was surprising and hid errors. Signed-off-by: Martin Schwenke mar...@meltin.net commit 503e4908b3028330bc25dc6de8561dbd53ee6a8d Author: Martin Schwenke mar...@meltin.net Date: Thu Jan 21 13:16:18 2010 +1100 onnode - respect $CTDB_BASE rather than hard-coding /etc/ctdb. Signed-off-by: Martin Schwenke mar...@meltin.net commit