Re: [Samba] Samba 3.2.7 - Lost the abiltity to manage domain using user manager for domains
UPS! thanks for the replay! =) Victor. El vie, 23-01-2009 a las 15:58 -0500, William Jojo escribió: Original message Date: Fri, 23 Jan 2009 14:54:16 -0430 From: Victor Medina victor.med...@bws.com.ve Subject: [Samba] Samba 3.2.7 - Lost the abiltity to manage domain using user manager for domains To: samba samba@lists.samba.org Guys After upgrading my Samba setup, full ldap, 3.0.33 (binaries from sernet - sles9 and sles10) I have lost the ability to manage the domain using User Manager for Domains 1.- i can set account policies 2.- i cannot access user account information (for example to unlock an account, change passoword) It was perfectly working befor upgrading, it also used to work for 3.2.4, same setup, same smb.conf, same ldap config Has anybody had this problem before? Am I the only one with this issue? This sounds like the bug Jeremy recenly fixed for usermgr.exe non-root issues and unable to join domain as non-root user. I applied a manual patch from that thread (found in git) and it worked perfectly. It was literally one line of code that changed. http://lists.samba.org/archive/samba/2008-December/145364.html Cheers, Bill Victor Medina -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] core dump
Hello, I am having a problem with both samba-3.0.34 and samba-3.2.7. Both are doing core dumps. The nmbd daemon seems to be ok but smbd does a core dump. It is almost 1 meg and I think it is too big to send it to this list. Anyone have any ideas please? - sysadm cronomagic.com e-mail ve2...@canasoft.net POWERED BY LINUX -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Trying to access share on a workgroup computer locks domain account
Hi, I'm having a strange problem. I've setup a Samba server in Active Directory without any issues. I can get the group and user list, add ACL to the shares, etc. If I try to access the share from a windows machine on the same domain, everything is fine. But when I try to access the same share from a windows machine which is not on the domain (it's in a workgroup, for example), instead of getting the popup asking for credentials, the user domain account gets locked (because of failed logins). Here's my smb.conf: [global] netbios name = MACHINE socket options = TCP_NODELAY SO_RCVBUF=16384 SO_SNDBUF=16384 idmap uid = 2-3 winbind enum users = yes winbind gid = 2-3 workgroup = WHATEVER os level = 20 winbind enum groups = yes socket address = x.x.x.x password server = * preferred master = no winbind separator = + max log size = 50 log file = /var/log/samba/log.%m encrypt passwords = yes dns proxy = no realm = WHATEVER security = ADS wins server = x.x.x.x wins proxy = no winbind use default domain = yes A sample share: [teste] path = /var/samba/teste browseable = yes read only = no inherit acls = yes inherit permissions = yes create mask = 700 directory mask = 700 valid users = @DOMAIN+Domain Users admin users = @DOMAIN+Domain Admins Thanks in advance for any help. Best regards, Miguel Duarte -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Hello I need help with samba4
Hello I need help with samba4 I need to taste like mapear users of samba4 for a mail server Postfix Thanks Note : I speak Spanish, my English he is bad, please I apologize to them. Gerardo of Cuba -- Este mensaje ha sido analizado por MailScanner en busca de virus y otros contenidos peligrosos, y se considera que está limpio. Departamento de Redes y Servicios Telemáticos. Escuela Internacional de Educación Física y Deportes. Para más información llamar al 861212 ext: 295 -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Samba password problem when in domain
Hi, In our network, I have set up a samba server in a workgroup. We're now migrating to a domain, using SBS 2003. When I locally login on XP and access the samba server, it works just fine. But, when I login on the domain and then try to access the same samba box, it doesn't accept my password. The username for my samba account and account on the domain are the same. Also, the name of the domain is the same as the name of the workgroup. My smb.conf is like this: [global] workgroup = I-OPTICS netbios name = FILESERVER server string = File server passwd program = /usr/bin/passwd %u passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spas sword:* %n\n *password\supdated\ssuccessfully* . unix password sync = Yes log level = 2 load printers = No printcap name = /dev/null ldap ssl = start tls printing = bsd print command = lpr -r -P'%p' %s lpq command = lpq -P'%p' lprm command = lprm -P'%p' %j [homes] valid users = %S read only = No browseable = No The log file contains: [2009/01/26 17:37:35, 2] smbd/sesssetup.c:setup_new_vc_session(1363) setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all old resources. [2009/01/26 17:37:35, 2] smbd/sesssetup.c:setup_new_vc_session(1363) setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all old resources. [2009/01/26 17:37:35, 2] auth/auth.c:check_ntlm_password(318) check_ntlm_password: Authentication for user [koen] - [koen] FAILED with error NT_STATUS_WRONG_PASSWORD Any idea what's going on here? Not being able to access the files on the samba server when logged into the domain makes migrating rather difficult... Best, Koen -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Hello I need help with samba4
Que gran ignorancia! mil disculpas. Bien. ya he probado samba4 en sus versiones alpha, la 6 y 7. Funciona perfectamente como tal, el host donde está instalado no necesita que se mapeen los usuarios ni los grupos ok, con el paquete attr se resuelve ese problema ok. Y puede redirigir las carpetas Mis documentos, Datos de Programa, Escritorio como política de grupo dentro de: \\nameserver\home\%USERNAME% y no vas a tener ningún problema con los permisos de acceso ni con la seguridad. El problema está en que si quieres usar esa misma base de datos para autentificar usuarios en servidores de correos como postfix, tendrias que mapear estos con uid y gid con winbind o libnss. El wbinfo de samba4 funciona perfecto, mapea los usuarios y los grupos. Pero en ese host configurando nsswitch.conf con winbind el comando 'getent passwd' no funciona y por la vía libnss peor. No se si me hago entender ahora en español Gracias por responder Gerardo Con fecha 26/1/2009, David Wells d.we...@vitalcan.com.ar escribió: Gerardo. Lamento no poder ayudarte con tu pregunta ya que no he utilizado samba4 aun. Sin embargo, ya que no se entiende tu pregunta en ingles me ofrezco a traducir tu pregunta al ingles si la envias nuevamente en español. Saludos, David Wells. gerard...@eiefd.co.cu wrote: Hello I need help with samba4 I need to taste like mapear users of samba4 for a mail server Postfix Thanks Note : I speak Spanish, my English he is bad, please I apologize to them. Gerardo of Cuba -- Este mensaje ha sido analizado por MailScanner en busca de virus y otros contenidos peligrosos, y se considera que está limpio. Departamento de Redes y Servicios Telemáticos. Escuela Internacional de Educación Física y Deportes. Para más información llamar al 861212 ext: 295 -- Este mensaje ha sido analizado por MailScanner en busca de virus y otros contenidos peligrosos, y se considera que está limpio. Departamento de Redes y Servicios Telemáticos. Escuela Internacional de Educación Física y Deportes. Para más información llamar al 861212 ext: 295 -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Re: Samba password problem when in domain
Koen Vermeer k.vermeer at i-optics.net writes: In our network, I have set up a samba server in a workgroup. We're now migrating to a domain, using SBS 2003. When I locally login on XP and access the samba server, it works just fine. But, when I login on the domain and then try to access the same samba box, it doesn't accept my password. An extra observation: When I login on the domain as another user and then try to access the samba server as the original user, it does accept my password. Best, Koen -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Trust Question.
Setup: Hundreds of Linux hosts authenticating Domain1(Windows 2003 R2.) using Samba 3.2.7 RID backend. Domain1 (W2k3) Trusts Domain2(W2k3) , so users of Domian2 can login to Linux Hosts. Now we have added Domain3(W2k3) and configured the Domain1(Primary Domain) to trust users of Domain3(W2k3) . So Domain1 is the primary domain and trusts Domain2 and Domain3. Issue: The issue is samba can see only one Trusted Domain, either it can see the users of Domain2 or Domain3 at any point of time. Is my configuration wrong or is it a bug on samba? Any help is appreciated. testparm output: [global] workgroup = DOMAIN1 realm = DOMAIN1.COM server string = Samba security = ADS obey pam restrictions = Yes client NTLMv2 auth = Yes log level = 100 log file = /var/log/winbind local master = No dns proxy = No panic action = /usr/share/samba/panic-action %d idmap domains = default, DOMAIN1, DOMAIN2, DOMAIN3 idmap uid = 1000 - 19 idmap gid = 1000 - 19 template shell = /bin/bash winbind separator = + winbind enum users = Yes winbind enum groups = Yes winbind use default domain = Yes winbind refresh tickets = Yes winbind offline logon = Yes idmap config DOMAIN1:range = 20 - 29 idmap config DOMAIN1:backend = rid idmap config DOMAIN2:range = 10 - 19 idmap config DOMAIN2:backend = rid idmap config DOMAIN3:range = 20 - 29 idmap config DOMAIN3:backend = rid idmap config default:default = Yes ~LA -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Trust Question.
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Linux Addict wrote: winbind offline logon = Yes idmap config DOMAIN1:range = 20 - 29 idmap config DOMAIN1:backend = rid idmap config DOMAIN2:range = 10 - 19 idmap config DOMAIN2:backend = rid idmap config DOMAIN3:range = 20 - 29 idmap config DOMAIN3:backend = rid idmap config default:default = Yes Why is DOMAIN1 and DOMAIN3 using the same range? cheers, jerry -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFJfgiCIR7qMdg1EfYRArBAAKDUv8hmDTuSwGe3yDcUbDLOKlZ2WACfXbRO khr4btSOJQMCOQ1dX9GcnSw= =3cp+ -END PGP SIGNATURE- -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] SMB Signing issues... smbclient works, mount does not...
--- On Sun, 25/1/09, Kai Blin k...@samba.org wrote: snip smbfs has been deprecated quite a while ago. Please try using cifs. snip Hi Kai Thanks for the reply... I will stick to CIFS as you suggest. Thus, as per my previous posting, smbclient works fine. However, trying to mount with the following command results in the usual error: snip [r...@localhost ~]# mount -t cifs -o username=user,password=pass,ip=192.200.200.10,servern=SERVER //server/share /mnt/share/ mount error 13 = Permission denied Refer to the mount.cifs(8) manual page (e.g.man mount.cifs) snip A look at messages shows: snip [r...@localhost cifs]# tail -n 3 /var/log/messages Jan 26 21:22:15 localhost kernel: CIFS VFS: Unexpected SMB signature Jan 26 21:22:15 localhost kernel: CIFS VFS: Send error in SessSetup = -13 Jan 26 21:22:15 localhost kernel: CIFS VFS: cifs_mount failed w/return code = -13 snip My question is, how do I enable SMB Signing for the CIFS kernel module. I'm guessing that I need to add something to the /proc/fs/cifs/ directory? I cannot find an online resource that lists all the possible module parameters... does one exist (the user manual isn't exhuastive)? Thanks. *** Other info that may relate: I am running kernel 2.6.22.17.tex2, with tools mount-cifs-3.0.30-3pclos2007 installed. Running modprobe returns the following: snip [r...@localhost ~]# modinfo cifs.ko filename: /lib/modules/2.6.22.17.tex2/kernel/fs/cifs/cifs.ko.gz author: Steve French sfre...@us.ibm.com license:GPL description:VFS to access servers complying with the SNIA CIFS Specification e.g. Samba and Windows version:1.49 vermagic: 2.6.22.17.tex2 SMP mod_unload 686 depends: srcversion: 30616BA7D30E1F22CF9B850 parm: cifs_max_pending:Simultaneous requests to server. Default: 50 Range: 2 to 256 (int) parm: cifs_min_small:Small network buffers in pool. Default: 30 Range: 2 to 256 (int) parm: cifs_min_rcv:Network buffers in pool. Default: 4 Range: 1 to 64 (int) parm: CIFSMaxBufSize:Network buffer size (not including header). Default: 16384 Range: 8192 to 130048 (int) snip -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Trust Question.
Gerald (Jerry) Carter wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Linux Addict wrote: winbind offline logon = Yes idmap config DOMAIN1:range = 20 - 29 idmap config DOMAIN1:backend = rid idmap config DOMAIN2:range = 10 - 19 idmap config DOMAIN2:backend = rid idmap config DOMAIN3:range = 20 - 29 idmap config DOMAIN3:backend = rid idmap config default:default = Yes Why is DOMAIN1 and DOMAIN3 using the same range? cheers, jerry -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFJfgiCIR7qMdg1EfYRArBAAKDUv8hmDTuSwGe3yDcUbDLOKlZ2WACfXbRO khr4btSOJQMCOQ1dX9GcnSw= =3cp+ -END PGP SIGNATURE- Sorry. That must be a typo. They use different ranges for sure. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Re: Samba 3.0.28a on Ubuntu LTS 8.01 and Vista sp1 offline files (now testing with Samba 3.2.7).
No, 3.2.7 didn't help. Still creating these .tmp files We're testing with a cloned VM and a new Vista SP1 VM to see if it's the PC. It worked fine, but when the suspect PC goes back tp syncing against a Vista PC with Shares no .tmp files are created. So this must be something the Samba is/isn't doing. On 16/01/2009, Jeremy Allison j...@samba.org wrote: On Fri, Jan 16, 2009 at 08:28:36PM +, Gavin Henry wrote: Hi All, We're really having problems with Offline Files/Folders and Vista sp1 laptops/desktops. We working with Microsoft just now to debug this as we're registered partners (for testing Samba/LDAP etc.). We now have a massive thread going in the private Vista 4-hr response support forums and we're on to log files debugging Vista side. We've cleared CSC etc. applied the following: http://blogs.technet.com/filecab/archive/2007/03/16/using-offline-files-with-samba-emc-servers-nas-devices.aspx We applied the registry patch and oplocks settings (even though most are on by default). The map settings olny allowed directories to be shown for some reason though, so we disabled. For now the customer has switched back to doing offline files against a Vista Desktop that is sharing out folders and there are no .tmp files being created anymore, so must be something Samba side. We also compiled up 3.2.7 and are now running it in the hope 3.0.28a is somehow missing the patch that Jeremy did in 2007 to fix this previously. Did this help ? Jeremy. -- Sent from my mobile device http://www.suretecsystems.com/services/openldap/ -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] SMB Signing issues... smbclient works, mount does not...
Am Montag, 26. Januar 2009 schrieb Julian Houghton: --- On Sun, 25/1/09, Kai Blin k...@samba.org wrote: snip smbfs has been deprecated quite a while ago. Please try using cifs. snip Hi Kai Thanks for the reply... I will stick to CIFS as you suggest. Thus, as per my previous posting, smbclient works fine. However, trying to mount with the following command results in the usual error: snip [r...@localhost ~]# mount -t cifs -o username=user,password=pass,ip=192.200.200.10,servern=SERVER //server/share /mnt/share/ mount error 13 = Permission denied Refer to the mount.cifs(8) manual page (e.g.man mount.cifs) snip A look at messages shows: snip [r...@localhost cifs]# tail -n 3 /var/log/messages Jan 26 21:22:15 localhost kernel: CIFS VFS: Unexpected SMB signature Jan 26 21:22:15 localhost kernel: CIFS VFS: Send error in SessSetup = -13 Jan 26 21:22:15 localhost kernel: CIFS VFS: cifs_mount failed w/return code = -13 snip My question is, how do I enable SMB Signing for the CIFS kernel module. I'm guessing that I need to add something to the /proc/fs/cifs/ directory? I cannot find an online resource that lists all the possible module parameters... does one exist (the user manual isn't exhuastive)? Thanks. *** Other info that may relate: I am running kernel 2.6.22.17.tex2, with tools mount-cifs-3.0.30-3pclos2007 installed. Running modprobe returns the following: snip [r...@localhost ~]# modinfo cifs.ko filename: /lib/modules/2.6.22.17.tex2/kernel/fs/cifs/cifs.ko.gz author: Steve French sfre...@us.ibm.com license:GPL description:VFS to access servers complying with the SNIA CIFS Specification e.g. Samba and Windows version:1.49 vermagic: 2.6.22.17.tex2 SMP mod_unload 686 depends: srcversion: 30616BA7D30E1F22CF9B850 parm: cifs_max_pending:Simultaneous requests to server. Default: 50 Range: 2 to 256 (int) parm: cifs_min_small:Small network buffers in pool. Default: 30 Range: 2 to 256 (int) parm: cifs_min_rcv:Network buffers in pool. Default: 4 Range: 1 to 64 (int) parm: CIFSMaxBufSize:Network buffer size (not including header). Default: 16384 Range: 8192 to 130048 (int) snip at least most recent cifs vfs (version 1.56) from kernel 2.6.28 does support the mount option sign. Have a look at the following url for the files README and CHANGES to see the full details regarding options and change notes: (should be _one_ long url line!) http://git.kernel.org/?p=linux/kernel/git/sfrench/cifs-2.6.git;a=tree;f=fs/cifs;h=34a787a31402775e2dffc6f3f3c50aaf2e6e24b9;hb=c996d2b116a0f3e1c4d09cfc0e2c926558fece79 You'll also notice the description of the pseudo file at /proc/fs/cifs/PacketSigningEnabled Cheers, Günter -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] SMB Signing issues... smbclient works, mount does not...
--- On Mon, 26/1/09, Günter Kukkukk li...@kukkukk.com wrote: From: Günter Kukkukk li...@kukkukk.com Subject: Re: [Samba] SMB Signing issues... smbclient works, mount does not... To: samba@lists.samba.org snip at least most recent cifs vfs (version 1.56) from kernel 2.6.28 does support the mount option sign. Have a look at the following url for the files README and CHANGES to see the full details regarding options and change notes: (should be _one_ long url line!) http://git.kernel.org/?p=linux/kernel/git/sfrench/cifs-2.6.git;a=tree;f=fs/cifs;h=34a787a31402775e2dffc6f3f3c50aaf2e6e24b9;hb=c996d2b116a0f3e1c4d09cfc0e2c926558fece79 You'll also notice the description of the pseudo file at /proc/fs/cifs/PacketSigningEnabled snip Hi Günter Mount option sign sounds like a good idea... navigating kernel options is intimidating. Thanks for link, got it all in one line (LOL). Have subsequently downloaded kernel source via apt-get. Browsed to /usr/src/linux-2.6.22.17.tex2/fs/cifs/ and opened README in less. Way more info than the info file. :o) Shot. Okay, so looking at things now, I do not have the PacketSigningEnabled psuedo-file in my /proc/fs/cifs/ directory. And the dir is readonly. How do I create the file? chmod u+w /proc/fs/cifs touch Packet... etc.? I also see that I can play with the SecurityFlags... eg. 0x07007 to enable NTML with signing. However, setting SecurityFlags to 0x7007 and trying the mount again still fails. Sigh. * Further debug info: [r...@localhost cifs]# tail -n 70 /var/log/syslog snip Jan 26 23:18:58 localhost kernel: fs/cifs/cifsfs.c: Devname: //inhep-fs/julian flags: 64 Jan 26 23:18:58 localhost kernel: fs/cifs/connect.c: CIFS VFS: in cifs_mount as Xid: 2345245 with uid: 0 Jan 26 23:18:58 localhost kernel: fs/cifs/connect.c: Username: julian Jan 26 23:18:58 localhost kernel: fs/cifs/connect.c: UNC: \\inhep-fs\julian ip: 192.200.200.10 Jan 26 23:18:58 localhost kernel: fs/cifs/connect.c: Socket created Jan 26 23:18:58 localhost kernel: fs/cifs/connect.c: sndbuf 16384 rcvbuf 87380 rcvtimeo 0x7fff Jan 26 23:18:58 localhost kernel: fs/cifs/connect.c: Demultiplex PID: 21083 Jan 26 23:18:58 localhost kernel: fs/cifs/connect.c: Existing smb sess not found Jan 26 23:18:58 localhost kernel: fs/cifs/cifssmb.c: secFlags 0x1003 Jan 26 23:18:58 localhost kernel: fs/cifs/transport.c: For smb_command 114 Jan 26 23:18:58 localhost kernel: fs/cifs/transport.c: Sending smb of length 47 Jan 26 23:18:58 localhost kernel: fs/cifs/connect.c: rfc1002 length 0x6f) Jan 26 23:18:58 localhost kernel: fs/cifs/cifssmb.c: Dialect: 0 Jan 26 23:18:58 localhost kernel: fs/cifs/cifssmb.c: negprot rc 0 Jan 26 23:18:58 localhost kernel: fs/cifs/connect.c: Security Mode: 0xf Capabilities: 0x1f3fd TimeAdjust: -7200 Jan 26 23:18:58 localhost kernel: fs/cifs/sess.c: sess setup type 1 Jan 26 23:18:58 localhost kernel: fs/cifs/transport.c: For smb_command 115 Jan 26 23:18:58 localhost kernel: fs/cifs/transport.c: Sending smb: total_len 240 Jan 26 23:18:58 localhost kernel: fs/cifs/connect.c: rfc1002 length 0x27) Jan 26 23:18:58 localhost kernel: CIFS VFS: Unexpected SMB signature Jan 26 23:18:58 localhost kernel: fs/cifs/netmisc.c: !!Mapping smb error code 2240 to POSIX err -13 !! Jan 26 23:18:58 localhost kernel: fs/cifs/misc.c: Null buffer passed to cifs_small_buf_release Jan 26 23:18:58 localhost kernel: fs/cifs/sess.c: ssetup rc from sendrecv2 is -13 Jan 26 23:18:58 localhost kernel: fs/cifs/sess.c: ssetup freeing small buf cd70de40 Jan 26 23:18:58 localhost kernel: CIFS VFS: Send error in SessSetup = -13 Jan 26 23:18:58 localhost kernel: fs/cifs/connect.c: No session or bad tcon Jan 26 23:18:58 localhost kernel: fs/cifs/connect.c: CIFS VFS: leaving cifs_mount (xid = 2345245) rc = -13 Jan 26 23:18:58 localhost kernel: CIFS VFS: cifs_mount failed w/return code = -13 snip My /proc/fs/cifs/ dir display as follows: snip [r...@localhost cifs]# grep ^ * cifsFYI:1 DebugData:Display Internal CIFS Data Structures for Debugging DebugData:--- DebugData:CIFS Version 1.49 DebugData:Active VFS Requests: 0 DebugData:Servers: DebugData:Shares: Experimental:0 LinuxExtensionsEnabled:0 LookupCacheEnabled:1 MultiuserMount:0 OplockEnabled:1 SecurityFlags:0x7 Stats:Resources in use Stats:CIFS Session: 0 Stats:Share (unique mount targets): 0 Stats:SMB Request/Response Buffer: 0 Pool size: 4 Stats:SMB Small Req/Resp Buffer: 0 Pool size: 30 Stats:Operations (MIDs): 0 Stats: Stats:124 session 4 share reconnects Stats:Total vfs operations: 2345245 maximum at one time: 2 Stats: traceSMB:0 snip -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Trust Question.
Linux Addict wrote: Gerald (Jerry) Carter wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Linux Addict wrote: winbind offline logon = Yes idmap config DOMAIN1:range = 20 - 29 idmap config DOMAIN1:backend = rid idmap config DOMAIN2:range = 10 - 19 idmap config DOMAIN2:backend = rid idmap config DOMAIN3:range = 20 - 29 idmap config DOMAIN3:backend = rid idmap config default:default = Yes Why is DOMAIN1 and DOMAIN3 using the same range? cheers, jerry -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFJfgiCIR7qMdg1EfYRArBAAKDUv8hmDTuSwGe3yDcUbDLOKlZ2WACfXbRO khr4btSOJQMCOQ1dX9GcnSw= =3cp+ -END PGP SIGNATURE- Sorry. That must be a typo. They use different ranges for sure. Here is the winbindd log pertaning to the trusts and related information. 2009/01/26 17:03:35, 10] rpc_client/cli_pipe.c:rpc_api_pipe(893) rpc_api_pipe: Remote machine dc02x-ops-08 pipe \NETLOGON fnum 0xc002 returned 888 bytes. netr_DsrEnumerateDomainTrusts: struct netr_DsrEnumerateDomainTrusts out: struct netr_DsrEnumerateDomainTrusts trusts : * trusts: struct netr_DomainTrustList count: 0x0003 (3) array: * array: ARRAY(3) array: struct netr_DomainTrust netbios_name : * netbios_name : 'DOMAIN2' dns_name : * dns_name : 'DOMAIN2.net' trust_flags : 0x0022 (34) 0: NETR_TRUST_FLAG_IN_FOREST 1: NETR_TRUST_FLAG_OUTBOUND 0: NETR_TRUST_FLAG_TREEROOT 0: NETR_TRUST_FLAG_PRIMARY 0: NETR_TRUST_FLAG_NATIVE 1: NETR_TRUST_FLAG_INBOUND parent_index : 0x (0) trust_type : NETR_TRUST_TYPE_UPLEVEL (2) trust_attributes : 0x0004 (4) 0: NETR_TRUST_ATTRIBUTE_NON_TRANSITIVE 0: NETR_TRUST_ATTRIBUTE_UPLEVEL_ONLY 1: NETR_TRUST_ATTRIBUTE_QUARANTINED_DOMAIN 0: NETR_TRUST_ATTRIBUTE_FOREST_TRANSITIVE 0: NETR_TRUST_ATTRIBUTE_CROSS_ORGANIZATION 0: NETR_TRUST_ATTRIBUTE_WITHIN_FOREST 0: NETR_TRUST_ATTRIBUTE_TREAT_AS_EXTERNAL sid : * sid : S-1-5-21-1801674531-362288127-725345543 guid : ---- array: struct netr_DomainTrust netbios_name : * netbios_name : 'DOMAIN3' dns_name : * dns_name : 'DOMAIN3.net' trust_flags : 0x0002 (2) 0: NETR_TRUST_FLAG_IN_FOREST 1: NETR_TRUST_FLAG_OUTBOUND 0: NETR_TRUST_FLAG_TREEROOT 0: NETR_TRUST_FLAG_PRIMARY 0: NETR_TRUST_FLAG_NATIVE 0: NETR_TRUST_FLAG_INBOUND parent_index : 0x (0) trust_type : NETR_TRUST_TYPE_UPLEVEL (2) trust_attributes : 0x0008 (8) 0: NETR_TRUST_ATTRIBUTE_NON_TRANSITIVE 0: NETR_TRUST_ATTRIBUTE_UPLEVEL_ONLY 0: NETR_TRUST_ATTRIBUTE_QUARANTINED_DOMAIN 1: NETR_TRUST_ATTRIBUTE_FOREST_TRANSITIVE 0: NETR_TRUST_ATTRIBUTE_CROSS_ORGANIZATION 0: NETR_TRUST_ATTRIBUTE_WITHIN_FOREST 0:
Re: [Samba] Update: Winbind+nss working on one centOS 5.2 box but not another
Make sure to have different Netbios Name, else only one box will be able to successfully join to AD + export Samba shares. Cheers, -Kums On Fri, Jan 23, 2009 at 1:18 AM, Ben Tisdall b...@redcircleit.com wrote: tim clusters wrote: What is your id backend? AD or RID? Can you post your smb.conf? Hi Tim thanks for replying. This is very minimal smb.conf - the history is that it was copied verbatim from a Guardian snap appliance worked perfectly well on 'Box A'. workgroup = OURDOMAIN security = ads server string = Samba Server Version %v netbios name = testukmcsstor1 realm = OURDOMAIN.PRIV idmap uid = 1-2 idmap gid = 1-2 ;interfaces = lo eth0 192.168.12.2/24 192.168.13.2/24 ;hosts allow = 127. 10 # logs split per machine log file = /var/log/samba/log.%m # max 50KB per log file, then rotate max log size = 50 preferred master = no wins support = yes ; wins server = w.x.y.z ; wins proxy = yes ; dns proxy = yes load printers = yes cups options = raw ; map archive = no ; map hidden = no ; map read only = no ; map system = no ; store dos attributes = yes Include = /etc/samba/shares.conf NB: I can testparm the conf from both boxes the output diffs perfectly. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] NETBEUI, Linux and Samba. Anyone done it lately?
All, I have a *very* old embedded system that only talks netbeui between machines with hard coded names and paths and other such goodness. No this machine cannot be changed. Rather than having windows 2k or a forced xp box to act as a wedge between the old black box and the rest of the network, I'd like to have a linux solution. Searches have revealed some old discussion on this list about it, especially around the time that procomm released some kernel code to support it, but I can't find any recent discussion. Has anyone successfully got a NETBEUI stack on a linux machine working lately and gotten samba to play nice with it? Any advice would be gratefully accepted. Thanks, Brad -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[SCM] Samba Shared Repository - branch v3-3-stable updated - release-3-3-0rc2-174-g49aa7c4
The branch, v3-3-stable has been updated via 49aa7c46f0a8d49bc88298b1de4c963d7014211c (commit) via 0deec6d94965e5bf833007401075820db0703ae7 (commit) via 8d50f63e748364f048dc634aeea415b2a3b71f9b (commit) via 8e339dd2138e0b39c7a00087cf90e9acdca13ecd (commit) via 4815b97e7aa28169b48a95be848713233255b1bb (commit) via eec43963c5b5acaf80c9b7a8310d4cbe6ca03a1e (commit) via ee8c0d93456ee0087f7f41816f24944f7cdc4aaf (commit) from c05bd1e52e7a56ae2233b5e2dbfe001994cb28da (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-3-stable - Log - commit 49aa7c46f0a8d49bc88298b1de4c963d7014211c Author: Günther Deschner g...@samba.org Date: Sat Jan 24 02:10:47 2009 +0100 s3-eventlog: fix various invalid memcpy in read_package_entry(). Guenther (cherry picked from commit 75fff603625e0259f187e0fa47efd85887092fae) commit 0deec6d94965e5bf833007401075820db0703ae7 Author: Günther Deschner g...@samba.org Date: Sat Jan 24 02:07:40 2009 +0100 s3-eventlog: fix buffer allocation in eventlog read call. This broke with f6fa3080fee1b20df9f1968500840a88cf0ee592 back in April 2007... Guenther (cherry picked from commit 547c70e896b6890dd5f7b911e4e0ca107c8a3fa3) commit 8d50f63e748364f048dc634aeea415b2a3b71f9b Author: Karolin Seeger ksee...@samba.org Date: Fri Jan 23 13:02:46 2009 +0100 docs: Fix formatting issue in man libsmbclient. Karolin (cherry picked from commit aa2fb0efb7ce2bc732569b4baf20c57375fdce59) (cherry picked from commit e1e3a0554fcaabacc5bec51c213622271a83ad04) commit 8e339dd2138e0b39c7a00087cf90e9acdca13ecd Author: Karolin Seeger ksee...@samba.org Date: Fri Jan 23 11:51:56 2009 +0100 WHATSNEW: Add note about libsmbclient changes. Karolin (cherry picked from commit 3a4e410e7802073e159b6e4dfdfb3319053503f9) commit 4815b97e7aa28169b48a95be848713233255b1bb Author: Stefan Metzmacher me...@samba.org Date: Thu Jan 22 11:52:54 2009 +0100 lib/replace: add defines to let the callers find out if pwrite and pread are thread/fork safe metze (cherry picked from commit 7fc7ee9331d0539359ad88c527f59d5fdf212209) (cherry picked from commit d74b63091781e442e42b1fa7881e903a0bcc928c) commit eec43963c5b5acaf80c9b7a8310d4cbe6ca03a1e Author: Karolin Seeger ksee...@samba.org Date: Fri Jan 23 11:09:07 2009 +0100 WHATSNEW: Add Changes since sections of pre releases and RCs. Karolin (cherry picked from commit 646468f1a504a1ab00b27f9e61d56acbc42ffda9) commit ee8c0d93456ee0087f7f41816f24944f7cdc4aaf Author: Karolin Seeger ksee...@samba.org Date: Fri Jan 23 10:36:25 2009 +0100 WHATSNEW: Update changes since 3.3.0rc2. Karolin (cherry picked from commit 50b8d5a1625d22512cf32b0bcd2f068e364a7403) --- Summary of changes: WHATSNEW.txt | 457 docs-xml/manpages-3/libsmbclient.7.xml |7 +- source/lib/replace/replace.h |6 + source/rpc_parse/parse_eventlog.c |4 +- source/rpc_server/srv_eventlog_nt.c| 10 +- 5 files changed, 473 insertions(+), 11 deletions(-) Changeset truncated at 500 lines: diff --git a/WHATSNEW.txt b/WHATSNEW.txt index 49d28cc..dc2de98 100644 --- a/WHATSNEW.txt +++ b/WHATSNEW.txt @@ -37,6 +37,8 @@ Major enhancements in Samba 3.3.0 include: Libraries: o NetApi library implements various new calls for User- and Group Account Management. + o libsmbclient does now determine case sensitivity based on file system + attributes. General changes @@ -184,6 +186,19 @@ A basic config using the current trunk code would look like: Please refer to the idmap_adex(8) man page for more details. +Libraries += + +libsmbclient will now treat file names case-sensitive by default if the filesystem +we are connecting to supports case sensitivity. This change of behavior is +considered a bug fix, as it was previously possible to accidentally overwrite a +file that had the same case-insensitive name but a different case-sensitive name +as a previously-existing file, while creating a new file. + +If it is not possible to detect if the filesystem supports case sensitivity, +the user-specified option value will be used. + + ## Changes ### @@ -199,6 +214,7 @@ smb.conf changes init logon delayed hosts New init logon delay New 100 ldap ssl Changed Default start tls +share modesDeprecated winbind reconnect delayNew 30 @@ -207,20 +223,39 @@ Changes since 3.3.0rc2: o Jeremy Allison j...@samba.org +* BUG 4308: Fix corrupting of file ACLs
[SCM] Samba Shared Repository - branch master updated - release-4-0-0alpha6-146-g512cf0a
The branch, master has been updated via 512cf0ad50d30fcb35a28b0ef1b859d754f42a99 (commit) from 7f25e0da7348d786a36fa14403938b4f209fb52b (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master - Log - commit 512cf0ad50d30fcb35a28b0ef1b859d754f42a99 Author: Karolin Seeger ksee...@samba.org Date: Mon Jan 26 14:17:23 2009 +0100 docs: Add manpage for vfs_shadow_copy2. Karolin --- Summary of changes: docs-xml/manpages-3/vfs_shadow_copy2.8.xml | 174 1 files changed, 174 insertions(+), 0 deletions(-) create mode 100644 docs-xml/manpages-3/vfs_shadow_copy2.8.xml Changeset truncated at 500 lines: diff --git a/docs-xml/manpages-3/vfs_shadow_copy2.8.xml b/docs-xml/manpages-3/vfs_shadow_copy2.8.xml new file mode 100644 index 000..364dd59 --- /dev/null +++ b/docs-xml/manpages-3/vfs_shadow_copy2.8.xml @@ -0,0 +1,174 @@ +?xml version=1.0 encoding=iso-8859-1? +!DOCTYPE refentry PUBLIC -//Samba-Team//DTD DocBook V4.2-Based Variant V1.0//EN http://www.samba.org/samba/DTD/samba-doc; +refentry id=vfs_shadow_copy2.8 + +refmeta + refentrytitlevfs_shadow_copy2/refentrytitle + manvolnum8/manvolnum + refmiscinfo class=sourceSamba/refmiscinfo + refmiscinfo class=manualSystem Administration tools/refmiscinfo + refmiscinfo class=version3.2/refmiscinfo +/refmeta + + +refnamediv + refnamevfs_shadow_copy2/refname + refpurposeExpose snapshots to Windows clients as shadow copies./refpurpose +/refnamediv + +refsynopsisdiv + cmdsynopsis + commandvfs objects = shadow_copy2/command + /cmdsynopsis +/refsynopsisdiv + +refsect1 + titleDESCRIPTION/title + + paraThis VFS module is part of the + citerefentryrefentrytitlesamba/refentrytitle + manvolnum7/manvolnum/citerefentry suite./para + + paraThe commandvfs_shadow_copy2/command VFS module functionality + that is similar to Microsoft Shadow Copy services. When setup properly, + this module allows Microsoft Shadow Copy clients to browse + shadow copies on Samba shares. + /para + + paraThis is a 2nd implementation of a shadow copy module. This + version has the following features:/para + orderedlist continuation=restarts inheritnum=ignore numeration=arabic +listitemparaYou don't need to populate your shares with symlinks to the + snapshots. This can be very important when you have thousands of + shares, or use [homes]./para/listitem + listitemparaThe inode number of the files is altered so it is different + from the original. This allows the 'restore' button to work + without a sharing violation./para/listitem + /orderedlist + + paraThis module is stackable./para + +/refsect1 + +refsect1 + titleCONFIGURATION/title + + paracommandvfs_shadow_copy2/command relies on a filesystem + snapshot implementation. Many common filesystems have native + support for this. + /para + + paraFilesystem snapshots must be mounted on + specially named directories in order to be recognized by + commandvfs_shadow_copy2/command. The snapshot mount points must + be immediate children of a the directory being shared./para + + paraThe snapshot naming convention is @GMT-.MM.DD-hh.mm.ss, + where: + itemizedlist + listitemparacommand/command is the 4 digit year/para/listitem + listitemparacommandMM/command is the 2 digit month/para/listitem + listitemparacommandDD/command is the 2 digit day/para/listitem + listitemparacommandhh/command is the 2 digit hour/para/listitem + listitemparacommandmm/command is the 2 digit minute/para/listitem + listitemparacommandss/command is the 2 digit second./para/listitem + /itemizedlist + /para + + paraThe commandvfs_shadow_copy2/command snapshot naming convention can be + produced with the following citerefentryrefentrytitledate/refentrytitle + manvolnum1/manvolnum/citerefentry command: + programlisting + TZ=GMT date +...@gmt-%y.%m.%d-%h.%m.%s + /programlisting/para + +/refsect1 + +refsect1 +titleOPTIONS/title + +variablelist + varlistentry +termshadow:snapdir = SNAPDIR +/term +listitem +paraPath to the directory where snapshots are kept. +/para +/listitem +/varlistentry + +varlistentry +termshadow:basedir = BASEDIR + /term +listitem +paraPath to the base directory that snapshots are from. +/para +/listitem +
[SCM] Samba Shared Repository - branch v3-3-test updated - release-3-2-0pre2-4869-g3069401
The branch, v3-3-test has been updated via 3069401f5b46cfe2d2909c3d7ae75419ac5e673e (commit) via fd5ee7b35ffb7dd7dab1e17a01534470c12f415b (commit) via 7ca4b8ec65d5f8794c58f27f3f17033143732897 (commit) from 75fff603625e0259f187e0fa47efd85887092fae (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-3-test - Log - commit 3069401f5b46cfe2d2909c3d7ae75419ac5e673e Author: Karolin Seeger ksee...@samba.org Date: Mon Jan 26 14:19:48 2009 +0100 docs: Adapt version number in new vfs_fileid manpage. Karolin commit fd5ee7b35ffb7dd7dab1e17a01534470c12f415b Author: Karolin Seeger ksee...@samba.org Date: Mon Jan 26 14:19:07 2009 +0100 docs: Adapt version number in new vfs_shadow_copy2 manpage. Karolin commit 7ca4b8ec65d5f8794c58f27f3f17033143732897 Author: Karolin Seeger ksee...@samba.org Date: Mon Jan 26 14:17:23 2009 +0100 docs: Add manpage for vfs_shadow_copy2. Karolin (cherry picked from commit 512cf0ad50d30fcb35a28b0ef1b859d754f42a99) --- Summary of changes: docs-xml/manpages-3/vfs_fileid.8.xml |2 +- docs-xml/manpages-3/vfs_shadow_copy2.8.xml | 174 2 files changed, 175 insertions(+), 1 deletions(-) create mode 100644 docs-xml/manpages-3/vfs_shadow_copy2.8.xml Changeset truncated at 500 lines: diff --git a/docs-xml/manpages-3/vfs_fileid.8.xml b/docs-xml/manpages-3/vfs_fileid.8.xml index 202d693..c790cda 100644 --- a/docs-xml/manpages-3/vfs_fileid.8.xml +++ b/docs-xml/manpages-3/vfs_fileid.8.xml @@ -7,7 +7,7 @@ manvolnum8/manvolnum refmiscinfo class=sourceSamba/refmiscinfo refmiscinfo class=manualSystem Administration tools/refmiscinfo - refmiscinfo class=version3.2/refmiscinfo + refmiscinfo class=version3.3/refmiscinfo /refmeta diff --git a/docs-xml/manpages-3/vfs_shadow_copy2.8.xml b/docs-xml/manpages-3/vfs_shadow_copy2.8.xml new file mode 100644 index 000..e671408 --- /dev/null +++ b/docs-xml/manpages-3/vfs_shadow_copy2.8.xml @@ -0,0 +1,174 @@ +?xml version=1.0 encoding=iso-8859-1? +!DOCTYPE refentry PUBLIC -//Samba-Team//DTD DocBook V4.2-Based Variant V1.0//EN http://www.samba.org/samba/DTD/samba-doc; +refentry id=vfs_shadow_copy2.8 + +refmeta + refentrytitlevfs_shadow_copy2/refentrytitle + manvolnum8/manvolnum + refmiscinfo class=sourceSamba/refmiscinfo + refmiscinfo class=manualSystem Administration tools/refmiscinfo + refmiscinfo class=version3.3/refmiscinfo +/refmeta + + +refnamediv + refnamevfs_shadow_copy2/refname + refpurposeExpose snapshots to Windows clients as shadow copies./refpurpose +/refnamediv + +refsynopsisdiv + cmdsynopsis + commandvfs objects = shadow_copy2/command + /cmdsynopsis +/refsynopsisdiv + +refsect1 + titleDESCRIPTION/title + + paraThis VFS module is part of the + citerefentryrefentrytitlesamba/refentrytitle + manvolnum7/manvolnum/citerefentry suite./para + + paraThe commandvfs_shadow_copy2/command VFS module functionality + that is similar to Microsoft Shadow Copy services. When setup properly, + this module allows Microsoft Shadow Copy clients to browse + shadow copies on Samba shares. + /para + + paraThis is a 2nd implementation of a shadow copy module. This + version has the following features:/para + orderedlist continuation=restarts inheritnum=ignore numeration=arabic +listitemparaYou don't need to populate your shares with symlinks to the + snapshots. This can be very important when you have thousands of + shares, or use [homes]./para/listitem + listitemparaThe inode number of the files is altered so it is different + from the original. This allows the 'restore' button to work + without a sharing violation./para/listitem + /orderedlist + + paraThis module is stackable./para + +/refsect1 + +refsect1 + titleCONFIGURATION/title + + paracommandvfs_shadow_copy2/command relies on a filesystem + snapshot implementation. Many common filesystems have native + support for this. + /para + + paraFilesystem snapshots must be mounted on + specially named directories in order to be recognized by + commandvfs_shadow_copy2/command. The snapshot mount points must + be immediate children of a the directory being shared./para + + paraThe snapshot naming convention is @GMT-.MM.DD-hh.mm.ss, + where: + itemizedlist + listitemparacommand/command is the 4 digit year/para/listitem + listitemparacommandMM/command is the 2 digit month/para/listitem + listitemparacommandDD/command is the 2 digit day/para/listitem + listitemparacommandhh/command is the 2 digit
[SCM] Samba Shared Repository - branch v3-3-stable updated - release-3-3-0rc2-177-ga19a0b7
The branch, v3-3-stable has been updated via a19a0b7f8c8abd7bb68a8d8d093fbda2744c55eb (commit) via 50f3577484ead161bdc2ea9603d857f324650465 (commit) via addd0f41eeaf255217f1ab156e970c41a929aa43 (commit) from 49aa7c46f0a8d49bc88298b1de4c963d7014211c (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-3-stable - Log - commit a19a0b7f8c8abd7bb68a8d8d093fbda2744c55eb Author: Karolin Seeger ksee...@samba.org Date: Mon Jan 26 14:19:48 2009 +0100 docs: Adapt version number in new vfs_fileid manpage. Karolin (cherry picked from commit 3069401f5b46cfe2d2909c3d7ae75419ac5e673e) commit 50f3577484ead161bdc2ea9603d857f324650465 Author: Karolin Seeger ksee...@samba.org Date: Mon Jan 26 14:19:07 2009 +0100 docs: Adapt version number in new vfs_shadow_copy2 manpage. Karolin (cherry picked from commit fd5ee7b35ffb7dd7dab1e17a01534470c12f415b) commit addd0f41eeaf255217f1ab156e970c41a929aa43 Author: Karolin Seeger ksee...@samba.org Date: Mon Jan 26 14:17:23 2009 +0100 docs: Add manpage for vfs_shadow_copy2. Karolin (cherry picked from commit 512cf0ad50d30fcb35a28b0ef1b859d754f42a99) (cherry picked from commit 7ca4b8ec65d5f8794c58f27f3f17033143732897) --- Summary of changes: docs-xml/manpages-3/vfs_fileid.8.xml |2 +- docs-xml/manpages-3/vfs_shadow_copy2.8.xml | 174 2 files changed, 175 insertions(+), 1 deletions(-) create mode 100644 docs-xml/manpages-3/vfs_shadow_copy2.8.xml Changeset truncated at 500 lines: diff --git a/docs-xml/manpages-3/vfs_fileid.8.xml b/docs-xml/manpages-3/vfs_fileid.8.xml index 202d693..c790cda 100644 --- a/docs-xml/manpages-3/vfs_fileid.8.xml +++ b/docs-xml/manpages-3/vfs_fileid.8.xml @@ -7,7 +7,7 @@ manvolnum8/manvolnum refmiscinfo class=sourceSamba/refmiscinfo refmiscinfo class=manualSystem Administration tools/refmiscinfo - refmiscinfo class=version3.2/refmiscinfo + refmiscinfo class=version3.3/refmiscinfo /refmeta diff --git a/docs-xml/manpages-3/vfs_shadow_copy2.8.xml b/docs-xml/manpages-3/vfs_shadow_copy2.8.xml new file mode 100644 index 000..e671408 --- /dev/null +++ b/docs-xml/manpages-3/vfs_shadow_copy2.8.xml @@ -0,0 +1,174 @@ +?xml version=1.0 encoding=iso-8859-1? +!DOCTYPE refentry PUBLIC -//Samba-Team//DTD DocBook V4.2-Based Variant V1.0//EN http://www.samba.org/samba/DTD/samba-doc; +refentry id=vfs_shadow_copy2.8 + +refmeta + refentrytitlevfs_shadow_copy2/refentrytitle + manvolnum8/manvolnum + refmiscinfo class=sourceSamba/refmiscinfo + refmiscinfo class=manualSystem Administration tools/refmiscinfo + refmiscinfo class=version3.3/refmiscinfo +/refmeta + + +refnamediv + refnamevfs_shadow_copy2/refname + refpurposeExpose snapshots to Windows clients as shadow copies./refpurpose +/refnamediv + +refsynopsisdiv + cmdsynopsis + commandvfs objects = shadow_copy2/command + /cmdsynopsis +/refsynopsisdiv + +refsect1 + titleDESCRIPTION/title + + paraThis VFS module is part of the + citerefentryrefentrytitlesamba/refentrytitle + manvolnum7/manvolnum/citerefentry suite./para + + paraThe commandvfs_shadow_copy2/command VFS module functionality + that is similar to Microsoft Shadow Copy services. When setup properly, + this module allows Microsoft Shadow Copy clients to browse + shadow copies on Samba shares. + /para + + paraThis is a 2nd implementation of a shadow copy module. This + version has the following features:/para + orderedlist continuation=restarts inheritnum=ignore numeration=arabic +listitemparaYou don't need to populate your shares with symlinks to the + snapshots. This can be very important when you have thousands of + shares, or use [homes]./para/listitem + listitemparaThe inode number of the files is altered so it is different + from the original. This allows the 'restore' button to work + without a sharing violation./para/listitem + /orderedlist + + paraThis module is stackable./para + +/refsect1 + +refsect1 + titleCONFIGURATION/title + + paracommandvfs_shadow_copy2/command relies on a filesystem + snapshot implementation. Many common filesystems have native + support for this. + /para + + paraFilesystem snapshots must be mounted on + specially named directories in order to be recognized by + commandvfs_shadow_copy2/command. The snapshot mount points must + be immediate children of a the directory being shared./para + + paraThe snapshot naming convention is @GMT-.MM.DD-hh.mm.ss, + where: + itemizedlist + listitemparacommand/command is the 4 digit year/para/listitem +
[SCM] Samba Shared Repository - branch v3-2-test updated - release-3-2-0pre2-3398-ga09ca37
The branch, v3-2-test has been updated via a09ca37c438f31133943238b15c63a5834226c73 (commit) from a691e29b466fdf1776160d92704e1ca958fa9eee (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test - Log - commit a09ca37c438f31133943238b15c63a5834226c73 Author: Karolin Seeger ksee...@samba.org Date: Mon Jan 26 14:17:23 2009 +0100 docs: Add manpage for vfs_shadow_copy2. Karolin (cherry picked from commit 512cf0ad50d30fcb35a28b0ef1b859d754f42a99) (cherry picked from commit 7ca4b8ec65d5f8794c58f27f3f17033143732897) (cherry picked from commit addd0f41eeaf255217f1ab156e970c41a929aa43) --- Summary of changes: docs-xml/manpages-3/vfs_shadow_copy2.8.xml | 174 1 files changed, 174 insertions(+), 0 deletions(-) create mode 100644 docs-xml/manpages-3/vfs_shadow_copy2.8.xml Changeset truncated at 500 lines: diff --git a/docs-xml/manpages-3/vfs_shadow_copy2.8.xml b/docs-xml/manpages-3/vfs_shadow_copy2.8.xml new file mode 100644 index 000..364dd59 --- /dev/null +++ b/docs-xml/manpages-3/vfs_shadow_copy2.8.xml @@ -0,0 +1,174 @@ +?xml version=1.0 encoding=iso-8859-1? +!DOCTYPE refentry PUBLIC -//Samba-Team//DTD DocBook V4.2-Based Variant V1.0//EN http://www.samba.org/samba/DTD/samba-doc; +refentry id=vfs_shadow_copy2.8 + +refmeta + refentrytitlevfs_shadow_copy2/refentrytitle + manvolnum8/manvolnum + refmiscinfo class=sourceSamba/refmiscinfo + refmiscinfo class=manualSystem Administration tools/refmiscinfo + refmiscinfo class=version3.2/refmiscinfo +/refmeta + + +refnamediv + refnamevfs_shadow_copy2/refname + refpurposeExpose snapshots to Windows clients as shadow copies./refpurpose +/refnamediv + +refsynopsisdiv + cmdsynopsis + commandvfs objects = shadow_copy2/command + /cmdsynopsis +/refsynopsisdiv + +refsect1 + titleDESCRIPTION/title + + paraThis VFS module is part of the + citerefentryrefentrytitlesamba/refentrytitle + manvolnum7/manvolnum/citerefentry suite./para + + paraThe commandvfs_shadow_copy2/command VFS module functionality + that is similar to Microsoft Shadow Copy services. When setup properly, + this module allows Microsoft Shadow Copy clients to browse + shadow copies on Samba shares. + /para + + paraThis is a 2nd implementation of a shadow copy module. This + version has the following features:/para + orderedlist continuation=restarts inheritnum=ignore numeration=arabic +listitemparaYou don't need to populate your shares with symlinks to the + snapshots. This can be very important when you have thousands of + shares, or use [homes]./para/listitem + listitemparaThe inode number of the files is altered so it is different + from the original. This allows the 'restore' button to work + without a sharing violation./para/listitem + /orderedlist + + paraThis module is stackable./para + +/refsect1 + +refsect1 + titleCONFIGURATION/title + + paracommandvfs_shadow_copy2/command relies on a filesystem + snapshot implementation. Many common filesystems have native + support for this. + /para + + paraFilesystem snapshots must be mounted on + specially named directories in order to be recognized by + commandvfs_shadow_copy2/command. The snapshot mount points must + be immediate children of a the directory being shared./para + + paraThe snapshot naming convention is @GMT-.MM.DD-hh.mm.ss, + where: + itemizedlist + listitemparacommand/command is the 4 digit year/para/listitem + listitemparacommandMM/command is the 2 digit month/para/listitem + listitemparacommandDD/command is the 2 digit day/para/listitem + listitemparacommandhh/command is the 2 digit hour/para/listitem + listitemparacommandmm/command is the 2 digit minute/para/listitem + listitemparacommandss/command is the 2 digit second./para/listitem + /itemizedlist + /para + + paraThe commandvfs_shadow_copy2/command snapshot naming convention can be + produced with the following citerefentryrefentrytitledate/refentrytitle + manvolnum1/manvolnum/citerefentry command: + programlisting + TZ=GMT date +...@gmt-%y.%m.%d-%h.%m.%s + /programlisting/para + +/refsect1 + +refsect1 +titleOPTIONS/title + +variablelist + varlistentry +termshadow:snapdir = SNAPDIR +/term +listitem +paraPath to the directory where snapshots are kept. +/para +/listitem +/varlistentry + +varlistentry +
[SCM] Samba Shared Repository - branch master updated - release-4-0-0alpha6-147-gd8f15e4
The branch, master has been updated via d8f15e4efc00b9d509ff5761e9ca8ff5c6f443f7 (commit) from 512cf0ad50d30fcb35a28b0ef1b859d754f42a99 (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master - Log - commit d8f15e4efc00b9d509ff5761e9ca8ff5c6f443f7 Author: Andreas Schneider anschnei...@suse.de Date: Mon Jan 26 14:38:34 2009 +0100 Document default of the printing config variable. Signed-off-by: Andreas Schneider anschnei...@suse.de --- Summary of changes: docs-xml/smbdotconf/printing/printing.xml |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) Changeset truncated at 500 lines: diff --git a/docs-xml/smbdotconf/printing/printing.xml b/docs-xml/smbdotconf/printing/printing.xml index 3be0f42..c365594 100644 --- a/docs-xml/smbdotconf/printing/printing.xml +++ b/docs-xml/smbdotconf/printing/printing.xml @@ -33,4 +33,6 @@ paraSee also the discussion in the link linkend=PRINTERSSECT [printers]/link section./para /description +value type=defaultDepends on the operating system, see +command moreinfo=nonetestparm -v./command/value /samba:parameter -- Samba Shared Repository
[SCM] Samba Shared Repository - branch v3-3-stable updated - release-3-3-0rc2-178-g69880da
The branch, v3-3-stable has been updated via 69880dac28ac1681bb0c3d84280494de3d788cc6 (commit) from a19a0b7f8c8abd7bb68a8d8d093fbda2744c55eb (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-3-stable - Log - commit 69880dac28ac1681bb0c3d84280494de3d788cc6 Author: Andreas Schneider anschnei...@suse.de Date: Mon Jan 26 14:38:34 2009 +0100 Document default of the printing config variable. Signed-off-by: Andreas Schneider anschnei...@suse.de (cherry picked from commit d8f15e4efc00b9d509ff5761e9ca8ff5c6f443f7) (cherry picked from commit 541704e253f06f8b33006b6c27f51b934c2eb51f) --- Summary of changes: docs-xml/smbdotconf/printing/printing.xml |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) Changeset truncated at 500 lines: diff --git a/docs-xml/smbdotconf/printing/printing.xml b/docs-xml/smbdotconf/printing/printing.xml index 3be0f42..c365594 100644 --- a/docs-xml/smbdotconf/printing/printing.xml +++ b/docs-xml/smbdotconf/printing/printing.xml @@ -33,4 +33,6 @@ paraSee also the discussion in the link linkend=PRINTERSSECT [printers]/link section./para /description +value type=defaultDepends on the operating system, see +command moreinfo=nonetestparm -v./command/value /samba:parameter -- Samba Shared Repository
[SCM] Samba Shared Repository - branch v3-2-test updated - release-3-2-0pre2-3399-gc2d30b0
The branch, v3-2-test has been updated via c2d30b0a8e3609854908aeff19174e8e4e291cb7 (commit) from a09ca37c438f31133943238b15c63a5834226c73 (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test - Log - commit c2d30b0a8e3609854908aeff19174e8e4e291cb7 Author: Andreas Schneider anschnei...@suse.de Date: Mon Jan 26 14:38:34 2009 +0100 Document default of the printing config variable. Signed-off-by: Andreas Schneider anschnei...@suse.de (cherry picked from commit d8f15e4efc00b9d509ff5761e9ca8ff5c6f443f7) (cherry picked from commit 541704e253f06f8b33006b6c27f51b934c2eb51f) (cherry picked from commit 69880dac28ac1681bb0c3d84280494de3d788cc6) --- Summary of changes: docs-xml/smbdotconf/printing/printing.xml |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) Changeset truncated at 500 lines: diff --git a/docs-xml/smbdotconf/printing/printing.xml b/docs-xml/smbdotconf/printing/printing.xml index 3be0f42..c365594 100644 --- a/docs-xml/smbdotconf/printing/printing.xml +++ b/docs-xml/smbdotconf/printing/printing.xml @@ -33,4 +33,6 @@ paraSee also the discussion in the link linkend=PRINTERSSECT [printers]/link section./para /description +value type=defaultDepends on the operating system, see +command moreinfo=nonetestparm -v./command/value /samba:parameter -- Samba Shared Repository
[SCM] Samba Shared Repository - branch v3-0-test updated - release-3-0-32-126-gab3e06e
The branch, v3-0-test has been updated via ab3e06e58b3b82377621262002837a63429ef87d (commit) from 2d4997f9bb7aa7b99c384defe6c7766d5169653d (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-0-test - Log - commit ab3e06e58b3b82377621262002837a63429ef87d Author: Andreas Schneider anschnei...@suse.de Date: Mon Jan 26 14:38:34 2009 +0100 Document default of the printing config variable. Signed-off-by: Andreas Schneider anschnei...@suse.de (cherry picked from commit d8f15e4efc00b9d509ff5761e9ca8ff5c6f443f7) (cherry picked from commit 541704e253f06f8b33006b6c27f51b934c2eb51f) (cherry picked from commit 69880dac28ac1681bb0c3d84280494de3d788cc6) (cherry picked from commit c2d30b0a8e3609854908aeff19174e8e4e291cb7) --- Summary of changes: docs-xml/smbdotconf/printing/printing.xml |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) Changeset truncated at 500 lines: diff --git a/docs-xml/smbdotconf/printing/printing.xml b/docs-xml/smbdotconf/printing/printing.xml index 3be0f42..c365594 100644 --- a/docs-xml/smbdotconf/printing/printing.xml +++ b/docs-xml/smbdotconf/printing/printing.xml @@ -33,4 +33,6 @@ paraSee also the discussion in the link linkend=PRINTERSSECT [printers]/link section./para /description +value type=defaultDepends on the operating system, see +command moreinfo=nonetestparm -v./command/value /samba:parameter -- Samba Shared Repository
[SCM] Samba Shared Repository - branch v3-3-test updated - release-3-2-0pre2-4870-g541704e
The branch, v3-3-test has been updated via 541704e253f06f8b33006b6c27f51b934c2eb51f (commit) from 3069401f5b46cfe2d2909c3d7ae75419ac5e673e (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-3-test - Log - commit 541704e253f06f8b33006b6c27f51b934c2eb51f Author: Andreas Schneider anschnei...@suse.de Date: Mon Jan 26 14:38:34 2009 +0100 Document default of the printing config variable. Signed-off-by: Andreas Schneider anschnei...@suse.de (cherry picked from commit d8f15e4efc00b9d509ff5761e9ca8ff5c6f443f7) --- Summary of changes: docs-xml/smbdotconf/printing/printing.xml |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) Changeset truncated at 500 lines: diff --git a/docs-xml/smbdotconf/printing/printing.xml b/docs-xml/smbdotconf/printing/printing.xml index 3be0f42..c365594 100644 --- a/docs-xml/smbdotconf/printing/printing.xml +++ b/docs-xml/smbdotconf/printing/printing.xml @@ -33,4 +33,6 @@ paraSee also the discussion in the link linkend=PRINTERSSECT [printers]/link section./para /description +value type=defaultDepends on the operating system, see +command moreinfo=nonetestparm -v./command/value /samba:parameter -- Samba Shared Repository
[SCM] Samba Shared Repository - branch master updated - release-4-0-0alpha6-150-gcce04c6
The branch, master has been updated via cce04c606e7a91fcaf75c8efd7ca0cd4aa15ece9 (commit) via d30b6af9532c0ea4e9610b30d13e7a4d9b763834 (commit) via 79255cec6a75cd96b05a42845ff39040d1a1dfbf (commit) from d8f15e4efc00b9d509ff5761e9ca8ff5c6f443f7 (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master - Log - commit cce04c606e7a91fcaf75c8efd7ca0cd4aa15ece9 Merge: d30b6af9532c0ea4e9610b30d13e7a4d9b763834 d8f15e4efc00b9d509ff5761e9ca8ff5c6f443f7 Author: Jelmer Vernooij jel...@samba.org Date: Mon Jan 26 18:14:41 2009 +0100 Merge branch 'master' of ssh://git.samba.org/data/git/samba commit d30b6af9532c0ea4e9610b30d13e7a4d9b763834 Author: Jelmer Vernooij jel...@samba.org Date: Mon Jan 26 17:31:50 2009 +0100 pyrpc: Raise proper NDR error codes with matching strings rather than mapping to NTSTATUS first. commit 79255cec6a75cd96b05a42845ff39040d1a1dfbf Author: Jelmer Vernooij jel...@samba.org Date: Mon Jan 26 17:31:22 2009 +0100 Add function for mapping NDR error codes to strings. --- Summary of changes: librpc/ndr/libndr.h|1 + librpc/ndr/ndr.c | 35 +++ source4/librpc/rpc/pyrpc.h |2 +- 3 files changed, 37 insertions(+), 1 deletions(-) Changeset truncated at 500 lines: diff --git a/librpc/ndr/libndr.h b/librpc/ndr/libndr.h index fdecddc..4ab0bf5 100644 --- a/librpc/ndr/libndr.h +++ b/librpc/ndr/libndr.h @@ -342,6 +342,7 @@ struct ndr_interface_list { Map an NT error code from a NDR error code. */ NTSTATUS ndr_map_error2ntstatus(enum ndr_err_code ndr_err); +const char *ndr_map_error2string(enum ndr_err_code ndr_err); /* FIXME: Use represent_as instead */ struct dom_sid; diff --git a/librpc/ndr/ndr.c b/librpc/ndr/ndr.c index 22b9fcc..2341f51 100644 --- a/librpc/ndr/ndr.c +++ b/librpc/ndr/ndr.c @@ -1122,3 +1122,38 @@ _PUBLIC_ enum ndr_err_code ndr_pull_relative_ptr2(struct ndr_pull *ndr, const vo NDR_CHECK(ndr_token_retrieve(ndr-relative_list, p, rel_offset)); return ndr_pull_set_offset(ndr, rel_offset); } + +const static struct { + enum ndr_err_code err; + const char *string; +} ndr_err_code_strings[] = { + { NDR_ERR_SUCCESS, Success }, + { NDR_ERR_ARRAY_SIZE, Bad Array Size }, + { NDR_ERR_BAD_SWITCH, Bad Switch }, + { NDR_ERR_OFFSET, Offset Error }, + { NDR_ERR_RELATIVE, Relative Pointer Error }, + { NDR_ERR_CHARCNV, Character Conversion Error }, + { NDR_ERR_LENGTH, Length Error }, + { NDR_ERR_SUBCONTEXT, Subcontext Error }, + { NDR_ERR_COMPRESSION, Compression Error }, + { NDR_ERR_STRING, String Error }, + { NDR_ERR_VALIDATE, Validate Error }, + { NDR_ERR_BUFSIZE, Buffer Size Error }, + { NDR_ERR_ALLOC, Allocation Error }, + { NDR_ERR_RANGE, Range Error }, + { NDR_ERR_TOKEN, Token Error }, + { NDR_ERR_IPV4ADDRESS, IPv4 Address Error }, + { NDR_ERR_INVALID_POINTER, Invalid Pointer }, + { NDR_ERR_UNREAD_BYTES, Unread Bytes }, + { 0, NULL } +}; + +_PUBLIC_ const char *ndr_map_error2string(enum ndr_err_code ndr_err) +{ + int i; + for (i = 0; ndr_err_code_strings[i].string != NULL; i++) { + if (ndr_err_code_strings[i].err == ndr_err) + return ndr_err_code_strings[i].string; + } + return Unknown error; +} diff --git a/source4/librpc/rpc/pyrpc.h b/source4/librpc/rpc/pyrpc.h index 6d5193f..ae622b5 100644 --- a/source4/librpc/rpc/pyrpc.h +++ b/source4/librpc/rpc/pyrpc.h @@ -48,7 +48,7 @@ typedef struct { PyAPI_DATA(PyTypeObject) dcerpc_InterfaceType; -#define PyErr_FromNdrError(err) PyErr_FromNTSTATUS(ndr_map_error2ntstatus(err)) +#define PyErr_FromNdrError(err) Py_BuildValue((is), err, ndr_map_error2string(err)) #define PyErr_SetNdrError(err) \ PyErr_SetObject(PyExc_RuntimeError, PyErr_FromNdrError(err)) -- Samba Shared Repository
[SCM] Samba Shared Repository - branch master updated - release-4-0-0alpha6-151-g3aeee79
The branch, master has been updated via 3aeee79096e7a3c4f1467228d5cbee6986866400 (commit) from cce04c606e7a91fcaf75c8efd7ca0cd4aa15ece9 (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master - Log - commit 3aeee79096e7a3c4f1467228d5cbee6986866400 Author: Tim Prouty tpro...@samba.org Date: Sun Jan 25 14:38:44 2009 -0800 s3 make test: Add the ability to specify a custom smb.conf for make test - Adds new -c custom conf option to selftest.sh that when specified adds a line to make test's server.conf: include custom conf - Adds getopts processing to selftest.sh - Changes selftest.sh shrdir arg to use -s shrdir - Changes selftest.sh smbtorture4_path arg to use -t smbtortur4 path - Adds configure option --with-selftest-custom-conf=custom conf - Updates Makefile.in to take advantage of the new/changed parameters --- Summary of changes: source3/Makefile.in | 18 +++- source3/m4/check_path.m4 | 19 + source3/script/tests/selftest.sh | 55 ++--- 3 files changed, 79 insertions(+), 13 deletions(-) Changeset truncated at 500 lines: diff --git a/source3/Makefile.in b/source3/Makefile.in index cbbf821..a1873eb 100644 --- a/source3/Makefile.in +++ b/source3/Makefile.in @@ -19,6 +19,7 @@ datarootd...@datarootdir@ selftest_pref...@selftest_prefix@ selftest_shrd...@selftest_shrdir@ smbtorture4_pa...@smbtorture4_path@ +selftest_custom_co...@selftest_custom_conf@ li...@libs@ c...@cc@ @@ -2928,9 +2929,22 @@ test_pam_modules:: pam_modules ## ## Targets for 'make test' ## + +ifdef smbtorture4_path +smbtorture4_path_arg=-t ${smbtorture4_path} +endif + +ifdef selftest_shrdir +selftest_shrdir_arg=-s ${selftest_shrdir} +endif + +ifdef selftest_custom_conf +selftest_custom_conf_arg=-c ${selftest_custom_conf} +endif + test:: all torture timelimit @echo Running Test suite - @LIB_PATH_VAR=$(LIB_PATH_VAR) PERL=$(PERL) $(srcdir)/script/tests/selftest.sh ${selftest_prefix} all ${smbtorture4_path} ${selftest_shrdir} + @LIB_PATH_VAR=$(LIB_PATH_VAR) PERL=$(PERL) $(srcdir)/script/tests/selftest.sh ${selftest_prefix} all ${smbtorture4_path_arg} ${selftest_shrdir_arg} ${selftest_custom_conf_arg} valgrindtest:: all torture timelimit @echo Running Test suite with valgrind @@ -2939,7 +2953,7 @@ valgrindtest:: all torture timelimit WINBINDD_VALGRIND=xterm -n winbindd -e valgrind -q --db-attach=yes --num-callers=30 \ SMBD_VALGRIND=xterm -n smbd -e valgrind -q --db-attach=yes --num-callers=30 \ VALGRIND=valgrind -q --num-callers=30 --log-file=${selftest_prefix}/valgrind.log \ -PERL=$(PERL) $(srcdir)/script/tests/selftest.sh ${selftest_prefix} all ${smbtorture4_path} +PERL=$(PERL) $(srcdir)/script/tests/selftest.sh ${selftest_prefix} all ${smbtorture4_path_arg} ${selftest_shrdir_arg} ${selftest_custom_conf_arg} SELFTEST_FORMAT = plain selftestdir = ../selftest diff --git a/source3/m4/check_path.m4 b/source3/m4/check_path.m4 index 444ea1c..962e276 100644 --- a/source3/m4/check_path.m4 +++ b/source3/m4/check_path.m4 @@ -361,6 +361,25 @@ AC_ARG_WITH(smbtorture4_path, esac ]) +# +# set custom conf for make test +selftest_custom_conf= +AC_SUBST(selftest_custom_conf) +AC_ARG_WITH(selftest_custom_conf, +[AS_HELP_STRING([--with-selftest-custom-conf=PATH], [An optional custom smb.conf that is included in the server smb.conf during make test(none)])], +[ case $withval in + yes|no) +AC_MSG_ERROR([--with-selftest-custom-conf should take a path]) + ;; + * ) +selftest_custom_conf=$withval +if test -z $selftest_custom_conf -a ! -f $selftest_custom_conf; then + AC_MSG_ERROR(['$selftest_custom_conf' does not exist!]) +fi + ;; + esac +]) + ## check for --enable-debug first before checking CFLAGS before ## so that we don't mix -O and -g debug=no diff --git a/source3/script/tests/selftest.sh b/source3/script/tests/selftest.sh index 94fd791..ea2260d 100755 --- a/source3/script/tests/selftest.sh +++ b/source3/script/tests/selftest.sh @@ -1,17 +1,44 @@ #!/bin/sh -if [ $# != 3 -a $# != 4 ]; then - echo $0 directory all | quick smbtorture4 [shrdir] +if [ $# -lt 2 ]; then + echo $0 directory all | quick [-t smbtorture4] [-s shrdir] \ +[-c custom conf] exit 1 fi -SMBTORTURE4=$3 -SUBTESTS=$2 +## +## Setup the required args +## +DIRECTORY=$1; shift; +SUBTESTS=$1; shift; + +## +## Parse oprtional args +## +while getopts s:c:t: f +do +case $f in + t) SMBTORTURE4=$OPTARG;; + s) ALT_SHRDIR_ARG=$OPTARG;; + c) CUSTOM_CONF_ARG=$OPTARG;; +esac +done + +echo Running selftest with the following +echo Selftest Directory:\t\t$DIRECTORY +echo Subtests to
[SCM] Samba Shared Repository - branch master updated - release-4-0-0alpha6-152-g7f12eb9
The branch, master has been updated via 7f12eb97611a90e5bc01009d23b419f3669e9e7a (commit) from 3aeee79096e7a3c4f1467228d5cbee6986866400 (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master - Log - commit 7f12eb97611a90e5bc01009d23b419f3669e9e7a Author: Tim Prouty tpro...@samba.org Date: Mon Jan 26 15:38:19 2009 -0800 s3 make test: Fix a bug in the previous commit Luckily the build farm caught this --- Summary of changes: source3/script/tests/selftest.sh | 15 --- 1 files changed, 8 insertions(+), 7 deletions(-) Changeset truncated at 500 lines: diff --git a/source3/script/tests/selftest.sh b/source3/script/tests/selftest.sh index ea2260d..0f1ca32 100755 --- a/source3/script/tests/selftest.sh +++ b/source3/script/tests/selftest.sh @@ -25,11 +25,11 @@ do done echo Running selftest with the following -echo Selftest Directory:\t\t$DIRECTORY -echo Subtests to Run:\t\t$SUBTESTS -echo smbtorture4 Path:\t\t$SMBTORTURE4 -echo Alternative Share Dir:\t\t$ALT_SHRDIR_ARG -echo Custom Configuration:\t\t$CUSTOM_CONF_ARG +echo Selftest Directory: $DIRECTORY +echo Subtests to Run: $SUBTESTS +echo smbtorture4 Path: $SMBTORTURE4 +echo Alternative Share Dir: $ALT_SHRDIR_ARG +echo Custom Configuration: $CUSTOM_CONF_ARG if [ $CUSTOM_CONF_ARG ]; then INCLUDE_CUSTOM_CONF=include = $CUSTOM_CONF_ARG @@ -95,11 +95,12 @@ export WINBINDD_SOCKET_DIR WINBINDD_PRIV_PIPE_DIR PATH=bin:$PATH export PATH -if [ $SMBTORTRE4 ]; then +if [ $SMBTORTURE4 ]; then SAMBA4BINDIR=`dirname $SMBTORTURE4` -SAMBA4SHAREDDIR=$SAMBA4BINDIR/shared fi +SAMBA4SHAREDDIR=$SAMBA4BINDIR/shared + export SAMBA4SHAREDDIR export SMBTORTURE4 -- Samba Shared Repository
Build status as of Tue Jan 27 00:00:01 2009
URL: http://build.samba.org/ --- /home/build/master/cache/broken_results.txt.old 2009-01-26 00:00:26.0 + +++ /home/build/master/cache/broken_results.txt 2009-01-27 00:00:31.0 + @@ -1,4 +1,4 @@ -Build status as of Mon Jan 26 00:00:02 2009 +Build status as of Tue Jan 27 00:00:01 2009 Build counts: Tree Total Broken Panic @@ -6,18 +6,18 @@ ccache 29 6 0 ctdb 0 0 0 distcc 1 0 0 -ldb 26 29 0 +ldb 28 29 0 libreplace 28 10 0 -lorikeet-heimdal 25 16 0 +lorikeet-heimdal 26 16 0 pidl 18 17 0 ppp 11 0 0 rsync29 9 0 samba-docs 0 0 0 samba-gtk4 4 0 -samba_3_X_devel 27 23 1 +samba_3_X_devel 27 24 1 samba_3_X_test 27 22 0 -samba_4_0_test 29 24 1 +samba_4_0_test 29 25 1 smb-build27 6 0 talloc 29 29 0 -tdb 27 8 0 +tdb 26 8 0