Re: [Samba] smbclient -M
Adam Nielsen ha scritto: # smbclient -M Client01 Connection to Client01 failed. Error NT_STATUS_BAD_NETWORK_NAME but: # smbclient -L Client01 -U myuser Enter myuser's password: Domain=[MYDOMAIN] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager] That's a bit odd. What happens if you use an IP address instead? Does nmblookup Client01 work? Don't forget that you need the Messenger service running on the target PC otherwise the message won't be sent (Start, Run, services.msc) Cheers, Adam. Hallo, I can confirm that if the Messenger service is not running on the target machine, then NT_STATUS_BAD_NETWORK_NAME error is returned by smbclient -M If the messenger service is running, echo message | smbclient -M machine-name works instead. HTH Marcello -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] smbclient gives strange results
On Fri, Sep 4, 2009 at 9:01 PM, eje4 e...@cornell.edu wrote: Hello, I've been using Samba on a Sun server but we recently discontinued using the Sun and switched to using Samba on a RH linux server. I can't get file sharing to work on the new server. When I test the connection to the samba server (velar) by running smbclient //velar/homes -U eric I get an error message referring to NT_STATUS_BAD_NETWORK_NAME. I can't find any reason for this error because all the names are correct, permissions are correct, etc. My first guess would be whether the nmbd process is running on your host? because that maintains the nameservice for samba process. -- Nikhil Want to win a laptop? : http://ezlaptop.com/?r=78878 -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] New Files do not belong to the User who created them...
Thanks Volker! I will test this. Am 11.09.2009 14:33, Volker Lendecke schrieb: You've set inherit owner = yes. That might influence that behaviour. Volker -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Problems with samba and domain controller
Ok, and how can I get version 3.4 of samba for LINUX Enterprise Server 9 (i586)?? The latest version of samba in their repositories and for my platform is samba-3.0.26a-0.9. With this version can it works? Thanks. Carlos -Mensaje original- De: John Drescher [mailto:dresche...@gmail.com] Enviado el: viernes, 11 de septiembre de 2009 20:24 Para: Carlos Gonzalo Cruz; samba Asunto: Re: [Samba] Problems with samba and domain controller I have a problem with Samba and a Domain Controller. I have a server which it was running with samba and a Windows Server 2000 domain controller, and it's was worked correctly. Now the domain controller has been changed for a Windows Server 2008 and now it doesn't work. I need your help to find the error. I think that the error is caused for the version of Samba but I'm not sure. I'm working with SUSE LINUX Enterprise Server 9 (i586) and the version of Samba is samba-3.0.20b-3.11 and samba-winbind-3.0.20b-3.4. I would upgrade. The current version of samba is 3.4. Your version is over 4 years old. John -- La Información incluida en el presente correo electrónico es SECRETO PROFESIONAL Y CONFIDENCIAL, siendo para el uso exclusivo del destinatario arriba mencionado. Si usted lee este mensaje y no es el destinatario señalado, el empleado o el agente responsable de entregar el mensaje al destinatario, o ha recibido esta comunicación por error, le informamos que esta totalmente prohibida cualquier divulgación, distribución o reproducción de esta comunicación, y le rogamos que nos lo notifique inmediatamente y nos devuelva el mensaje original a la dirección arriba mencionada. Gracias. The information contained in this e-mail is LEGALLY PRIVILEDGED AND CONFIDENTIAL and is intended only for the use of the addressee named above. If the reader of this message is not the intended recipient or the employee or agent responsible for delivering the message to the intended recipient, or you have received this communication in error, please be aware that any dissemination, distribution or duplication of this communication is strictly prohibited, and please notify us immediately and return the original message to us at the address above. Thank you. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] compiling samba-3.4.x on RHEL4
does this this mean we have to wait for 3.4.2? or is it necessary to open a bug report? w. -Original Message- From: Eero Volotinen [mailto:eero.voloti...@iki.fi] Sent: donderdag 10 september 2009 18:03 To: Werner Maes Cc: 'Ralf Hornik Mailings'; samba@lists.samba.org Subject: Re: [Samba] compiling samba-3.4.x on RHEL4 Werner Maes kirjoitti: no I haven't yet. perhaps I will try that tomorrow. but I'm wondering if I'm the only one with this error? No, looks like this problem comes also with my environment running Centos 5.3 32bit. (rhel 5 clone) I think that is bug in make rpms system. -- Eero -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Windows 2008 terminal services with a samba PDC
Am 11.09.2009 17:07, schrieb mailinglis...@stegbauer.info: Hi everybody, in reply to http://lists.samba.org/archive/samba/2009-September/150448.html i am running Samba 3.4.0 on Ubuntu 8.04 (from http://ppa.launchpad.net/pgquiles/ppa/ubuntu hardy main). The tdbsam is within the LDAP Server (created with gosa and Samba 3.0.28). I installed also two Windows 2008 Server's on the first i have also the activated License-Server. (I installed also on the second Terminalserver a Licenseserver, but didn't enable it, to get the License Manager) i added the machine to the samba controlled domain. and it complain's about missing the licenseserver on both computer's. cant say, if it worked before adding it to the domain. When setting within terminalserver configuration the named license server, it say's valid license server found. But even after a reboot, the tsconfig.msc complain's about missing license Server. I checked also the registry http://support.microsoft.com/?kbid=279561 the server is listed correctly. I added also the domainname\nameoftse$ to remote Desktop User's. Does there already an idea? greetings thomas Hello Thomas, i have a suspicion. 1.) the license-Server is running in Workgroup-Mode (can be checked in LicenseManager Properties of the Licenceserver) 2.) your LicenseServer and Terminalserver run both in Licensing perUser can everybody - running a w2k8tse on a sambadomain - check if the licenseserver doesn't get found if this properties are set? Does there exist somebody running a w2k8 tse longer than 120days with this settings? greetings thomas -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] smbclient -M
Marcello Romani wrote: Hallo, I can confirm that if the Messenger service is not running on the target machine, then NT_STATUS_BAD_NETWORK_NAME error is returned by smbclient -M If the messenger service is running, echo message | smbclient -M machine-name works instead. Thank you very much, I'm quite surprised the messenger service is not running on the clients of that LAN, but I take it and check ASAP. However the smbclient manpage is misleading, it says: If they are not running WinPopup the message will be lost, and no error message will occur. So is this a documentation bug or a bug in smbclient code? Assuming a documentation bug, I think there's a bug in the code anyway, because NT_STATUS_BAD_NETWORK_NAME is not the most obvious error message smbclient could give in that case... -- Virtual Bit di Lucio Crusca http://www.virtual-bit.com -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Windows 2008 terminal services with a samba PDC
Hi Thomas Stegbauer, The terminal is indeed licensed in PerUser mode. But where can I find if he is running in Workgroupmode or domain mode? Kind regards, Thomas Six Thomas Stegbauer schreef: Am 11.09.2009 17:07, schrieb mailinglis...@stegbauer.info: Hi everybody, in reply to http://lists.samba.org/archive/samba/2009-September/150448.html i am running Samba 3.4.0 on Ubuntu 8.04 (from http://ppa.launchpad.net/pgquiles/ppa/ubuntu hardy main). The tdbsam is within the LDAP Server (created with gosa and Samba 3.0.28). I installed also two Windows 2008 Server's on the first i have also the activated License-Server. (I installed also on the second Terminalserver a Licenseserver, but didn't enable it, to get the License Manager) i added the machine to the samba controlled domain. and it complain's about missing the licenseserver on both computer's. cant say, if it worked before adding it to the domain. When setting within terminalserver configuration the named license server, it say's valid license server found. But even after a reboot, the tsconfig.msc complain's about missing license Server. I checked also the registry http://support.microsoft.com/?kbid=279561 the server is listed correctly. I added also the domainname\nameoftse$ to remote Desktop User's. Does there already an idea? greetings thomas Hello Thomas, i have a suspicion. 1.) the license-Server is running in Workgroup-Mode (can be checked in LicenseManager Properties of the Licenceserver) 2.) your LicenseServer and Terminalserver run both in Licensing perUser can everybody - running a w2k8tse on a sambadomain - check if the licenseserver doesn't get found if this properties are set? Does there exist somebody running a w2k8 tse longer than 120days with this settings? greetings thomas -- Met vriendelijke groeten, Thomas Six Schaubroeck informatica Tel 0032 9 389 0526 DISCLAIMER http://www.schaubroeck.be/maildisclaimer.htm -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Windows 2008 terminal services with a samba PDC
Hi Thomas Six, start the Terminserver License Manager, rightclick the Licenseserver and klick properties (hopefully correctly translated, have no english gui here) Then there is Information menu, where it show's the path where the keys are located and the mode. the mode can be: Workgroup, Domain, Forest. But Domain and Forest are only there, when it is integrated into a AD. http://technet.microsoft.com/de-de/library/cc772071%28WS.10%29.aspx When the Terminalserver doesn't find a Licenseserver, it complains in the lower right corner, when an Administrator is logged in: http://technet.microsoft.com/de-de/library/cc732346%28WS.10%29.aspx i dont have such an information. greetings thomas Am 14.09.2009 13:32, schrieb Thomas Six: Hi Thomas Stegbauer, The terminal is indeed licensed in PerUser mode. But where can I find if he is running in Workgroupmode or domain mode? Kind regards, Thomas Six Thomas Stegbauer schreef: Am 11.09.2009 17:07, schrieb mailinglis...@stegbauer.info: Hi everybody, in reply to http://lists.samba.org/archive/samba/2009-September/150448.html i am running Samba 3.4.0 on Ubuntu 8.04 (from http://ppa.launchpad.net/pgquiles/ppa/ubuntu hardy main). The tdbsam is within the LDAP Server (created with gosa and Samba 3.0.28). I installed also two Windows 2008 Server's on the first i have also the activated License-Server. (I installed also on the second Terminalserver a Licenseserver, but didn't enable it, to get the License Manager) i added the machine to the samba controlled domain. and it complain's about missing the licenseserver on both computer's. cant say, if it worked before adding it to the domain. When setting within terminalserver configuration the named license server, it say's valid license server found. But even after a reboot, the tsconfig.msc complain's about missing license Server. I checked also the registry http://support.microsoft.com/?kbid=279561 the server is listed correctly. I added also the domainname\nameoftse$ to remote Desktop User's. Does there already an idea? greetings thomas Hello Thomas, i have a suspicion. 1.) the license-Server is running in Workgroup-Mode (can be checked in LicenseManager Properties of the Licenceserver) 2.) your LicenseServer and Terminalserver run both in Licensing perUser can everybody - running a w2k8tse on a sambadomain - check if the licenseserver doesn't get found if this properties are set? Does there exist somebody running a w2k8 tse longer than 120days with this settings? greetings thomas -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Windows 2008 terminal services with a samba PDC
Hi Thomas Stegbauer, I've found it :) It's workgroup mode and no complains in the right corner. regard, Thomas Thomas Stegbauer schreef: Hi Thomas Six, start the Terminserver License Manager, rightclick the Licenseserver and klick properties (hopefully correctly translated, have no english gui here) Then there is Information menu, where it show's the path where the keys are located and the mode. the mode can be: Workgroup, Domain, Forest. But Domain and Forest are only there, when it is integrated into a AD. http://technet.microsoft.com/de-de/library/cc772071%28WS.10%29.aspx When the Terminalserver doesn't find a Licenseserver, it complains in the lower right corner, when an Administrator is logged in: http://technet.microsoft.com/de-de/library/cc732346%28WS.10%29.aspx i dont have such an information. greetings thomas Am 14.09.2009 13:32, schrieb Thomas Six: Hi Thomas Stegbauer, The terminal is indeed licensed in PerUser mode. But where can I find if he is running in Workgroupmode or domain mode? Kind regards, Thomas Six Thomas Stegbauer schreef: Am 11.09.2009 17:07, schrieb mailinglis...@stegbauer.info: Hi everybody, in reply to http://lists.samba.org/archive/samba/2009-September/150448.html i am running Samba 3.4.0 on Ubuntu 8.04 (from http://ppa.launchpad.net/pgquiles/ppa/ubuntu hardy main). The tdbsam is within the LDAP Server (created with gosa and Samba 3.0.28). I installed also two Windows 2008 Server's on the first i have also the activated License-Server. (I installed also on the second Terminalserver a Licenseserver, but didn't enable it, to get the License Manager) i added the machine to the samba controlled domain. and it complain's about missing the licenseserver on both computer's. cant say, if it worked before adding it to the domain. When setting within terminalserver configuration the named license server, it say's valid license server found. But even after a reboot, the tsconfig.msc complain's about missing license Server. I checked also the registry http://support.microsoft.com/?kbid=279561 the server is listed correctly. I added also the domainname\nameoftse$ to remote Desktop User's. Does there already an idea? greetings thomas Hello Thomas, i have a suspicion. 1.) the license-Server is running in Workgroup-Mode (can be checked in LicenseManager Properties of the Licenceserver) 2.) your LicenseServer and Terminalserver run both in Licensing perUser can everybody - running a w2k8tse on a sambadomain - check if the licenseserver doesn't get found if this properties are set? Does there exist somebody running a w2k8 tse longer than 120days with this settings? greetings thomas -- Met vriendelijke groeten, Thomas Six Schaubroeck informatica Tel 0032 9 389 0526 DISCLAIMER http://www.schaubroeck.be/maildisclaimer.htm -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Windows 2008 terminal services with a samba PDC
Hi all, does there exist a windows 2008 running on a samba domain with per-user licensing and running longer than 120day's? an other question. are you sure, there was no error in the tsconfig before you added it the the samba-domain? cause i discovered it after it. and i found also an german list, where somebody had troubles with the licensing, but running in a workgroup. http://www.mcseboard.de/windows-forum-ms-backoffice-31/probleme-lizenzserver-terminalserver-2-151286.html greetings thomas Am 14.09.2009 14:12, schrieb Thomas Six: Hi Thomas Stegbauer, I've found it :) It's workgroup mode and no complains in the right corner. regard, Thomas Thomas Stegbauer schreef: Hi Thomas Six, start the Terminserver License Manager, rightclick the Licenseserver and klick properties (hopefully correctly translated, have no english gui here) Then there is Information menu, where it show's the path where the keys are located and the mode. the mode can be: Workgroup, Domain, Forest. But Domain and Forest are only there, when it is integrated into a AD. http://technet.microsoft.com/de-de/library/cc772071%28WS.10%29.aspx When the Terminalserver doesn't find a Licenseserver, it complains in the lower right corner, when an Administrator is logged in: http://technet.microsoft.com/de-de/library/cc732346%28WS.10%29.aspx i dont have such an information. greetings thomas Am 14.09.2009 13:32, schrieb Thomas Six: Hi Thomas Stegbauer, The terminal is indeed licensed in PerUser mode. But where can I find if he is running in Workgroupmode or domain mode? Kind regards, Thomas Six Thomas Stegbauer schreef: Am 11.09.2009 17:07, schrieb mailinglis...@stegbauer.info: Hi everybody, in reply to http://lists.samba.org/archive/samba/2009-September/150448.html i am running Samba 3.4.0 on Ubuntu 8.04 (from http://ppa.launchpad.net/pgquiles/ppa/ubuntu hardy main). The tdbsam is within the LDAP Server (created with gosa and Samba 3.0.28). I installed also two Windows 2008 Server's on the first i have also the activated License-Server. (I installed also on the second Terminalserver a Licenseserver, but didn't enable it, to get the License Manager) i added the machine to the samba controlled domain. and it complain's about missing the licenseserver on both computer's. cant say, if it worked before adding it to the domain. When setting within terminalserver configuration the named license server, it say's valid license server found. But even after a reboot, the tsconfig.msc complain's about missing license Server. I checked also the registry http://support.microsoft.com/?kbid=279561 the server is listed correctly. I added also the domainname\nameoftse$ to remote Desktop User's. Does there already an idea? greetings thomas Hello Thomas, i have a suspicion. 1.) the license-Server is running in Workgroup-Mode (can be checked in LicenseManager Properties of the Licenceserver) 2.) your LicenseServer and Terminalserver run both in Licensing perUser can everybody - running a w2k8tse on a sambadomain - check if the licenseserver doesn't get found if this properties are set? Does there exist somebody running a w2k8 tse longer than 120days with this settings? greetings thomas -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Windows 2008 terminal services with a samba PDC
Hi, When I put my terminal server in a workgroup again, the licenseserver is found. So It has something to do with the samba domain. regards, Thomas Thomas Stegbauer schreef: Hi all, does there exist a windows 2008 running on a samba domain with per-user licensing and running longer than 120day's? an other question. are you sure, there was no error in the tsconfig before you added it the the samba-domain? cause i discovered it after it. and i found also an german list, where somebody had troubles with the licensing, but running in a workgroup. http://www.mcseboard.de/windows-forum-ms-backoffice-31/probleme-lizenzserver-terminalserver-2-151286.html greetings thomas Am 14.09.2009 14:12, schrieb Thomas Six: Hi Thomas Stegbauer, I've found it :) It's workgroup mode and no complains in the right corner. regard, Thomas Thomas Stegbauer schreef: Hi Thomas Six, start the Terminserver License Manager, rightclick the Licenseserver and klick properties (hopefully correctly translated, have no english gui here) Then there is Information menu, where it show's the path where the keys are located and the mode. the mode can be: Workgroup, Domain, Forest. But Domain and Forest are only there, when it is integrated into a AD. http://technet.microsoft.com/de-de/library/cc772071%28WS.10%29.aspx When the Terminalserver doesn't find a Licenseserver, it complains in the lower right corner, when an Administrator is logged in: http://technet.microsoft.com/de-de/library/cc732346%28WS.10%29.aspx i dont have such an information. greetings thomas Am 14.09.2009 13:32, schrieb Thomas Six: Hi Thomas Stegbauer, The terminal is indeed licensed in PerUser mode. But where can I find if he is running in Workgroupmode or domain mode? Kind regards, Thomas Six Thomas Stegbauer schreef: Am 11.09.2009 17:07, schrieb mailinglis...@stegbauer.info: Hi everybody, in reply to http://lists.samba.org/archive/samba/2009-September/150448.html i am running Samba 3.4.0 on Ubuntu 8.04 (from http://ppa.launchpad.net/pgquiles/ppa/ubuntu hardy main). The tdbsam is within the LDAP Server (created with gosa and Samba 3.0.28). I installed also two Windows 2008 Server's on the first i have also the activated License-Server. (I installed also on the second Terminalserver a Licenseserver, but didn't enable it, to get the License Manager) i added the machine to the samba controlled domain. and it complain's about missing the licenseserver on both computer's. cant say, if it worked before adding it to the domain. When setting within terminalserver configuration the named license server, it say's valid license server found. But even after a reboot, the tsconfig.msc complain's about missing license Server. I checked also the registry http://support.microsoft.com/?kbid=279561 the server is listed correctly. I added also the domainname\nameoftse$ to remote Desktop User's. Does there already an idea? greetings thomas Hello Thomas, i have a suspicion. 1.) the license-Server is running in Workgroup-Mode (can be checked in LicenseManager Properties of the Licenceserver) 2.) your LicenseServer and Terminalserver run both in Licensing perUser can everybody - running a w2k8tse on a sambadomain - check if the licenseserver doesn't get found if this properties are set? Does there exist somebody running a w2k8 tse longer than 120days with this settings? greetings thomas -- Met vriendelijke groeten, Thomas Six Schaubroeck informatica Tel 0032 9 389 0526 DISCLAIMER http://www.schaubroeck.be/maildisclaimer.htm -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] compiling samba-3.4.x on RHEL4
thank you ! werner -Original Message- From: ee...@welho.com [mailto:ee...@welho.com] Sent: maandag 14 september 2009 14:32 To: Werner Maes Cc: 'Eero Volotinen'; 'Ralf Hornik Mailings' Subject: RE: [Samba] compiling samba-3.4.x on RHEL4 I just opened bug about this: https://bugzilla.samba.org/show_bug.cgi?id=6721 Please add, if any comments or ideas. thanks -- Eero, RHCE -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] pam_winbind seems unable to return full list of trusted relationship domain members
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Lazarus Long wrote: Our scenario: - Our domain (ABRANTINA) is a Windows 2003R2 AD (RFC2307 enabled) - Trusted domain (REDE-LC) is a Windows 2003R2 AD - cafs01tst is a Debian stable based SAMBA 3.2.5 file server Our goal: - Serve home and shares for users of both domains ABRANTINA and REDE-LC Our implementation: (following guidelines from Samba-3 by Example, and misc info gathered from the net) - Configured MIT Kerberos with info for both domains - Configured PAM to use pam_winbind - Configured NSS to use nss_winbind - Configured SAMBA to use the ADS security mechanism - Joined cafs01tst to ABRANTINA domain Our problems: - Users from REDE-LC domain are unable to access cafs01tst, being asked for a username/password pair (ABRANTINA users access without problem) - getent passwd only lists five REDE-LC users (always the same five), while wbinfo -u lists all - SSH logging on to the system from REDE-LC users fails with pam_sm_authenticate returning 10 (ABRANTINA users access without problem) Can anybody be so kind to try to help us out here? Although the SAMBA documentation states that this works we have been unable to get it right. Thank you very much, - -- Lazarus Long lazarus (dot) long (at) bigfoot (dot) com +--+ | PGP or GnuPG Key:| | http://wwwkeys.eu.pgp.net:11371/pks/lookup?search=0x5C1DC205 | +--+ Please do not send me attachments in proprietary formats without request (i.e. Word, PowerPoint or Excel documents), see http://www.gnu.org/philosophy/no-word-attachments.html Por favor não me envie anexos em formatos proprietários sem que os tenha pedido (p.e. documentos em Word, PowerPoint ou Excel), veja http://www.gnu.org/philosophy/no-word-attachments.pt.html -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkquQDIACgkQCXRGvVwdwgUHuACfWW7GnnqcOda1CrMEhp2DVDaH eX0AoMTbopqYjJjc+yqBa9bHPDPZwcZK =Lpp5 -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] smbcontrol winbindd online and kinit
Hi list, Can winbind automatically renew kerberos tickets when network come back online ? On my distribution (OpenSUSE 11.1), NetworkManager scripts correctly call smbcontrol winbindd online but when I look in the logs (/var/log/samba/log.wb-DOMAIN) : kinit failed for 'r...@inetpsa.com' with: Client not found in Kerberos database. It sounds like winbind try to renew tickets of root and not tickets of users logged with a AD account. Bug ? Or winbind is not currently able to find this users ? My samba version : 3.2.7 Thanks for your help :-) -Vincent. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Samba] Fwd: Problems with samba and domain controller
On Mon, Sep 14, 2009 at 5:01 AM, Carlos Gonzalo Cruz c-gonzaloc...@chronoexpres.com wrote: Ok, and how can I get version 3.4 of samba for LINUX Enterprise Server 9 (i586)?? The latest version of samba in their repositories and for my platform is samba-3.0.26a-0.9. With this version can it works? That is suse right? http://ftp.sernet.de/pub/samba/experimental/sles/9/i386/ John -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Samba] Help With Permissions
I am running Samba on my Linux file server and have a question with permissions. My current directory for the share is: drwsrwsr-x 7 root dev 4096 Aug 31 13:33 builds As you can see from above the /builds directory is owned by root dev but also have r-x permissions for others. My question is how to I force samba to keep the owner root and group dev for all files placed inside my share? I want to force the parent UID GID and keep 775 permissions on everything. Is this possible to force in my smb.conf? Thanks for any help! -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Samba] Share home with samba 4
Hi, How to share homes directories with samba 4. Thanks. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Samba] Samba PDC + OpenLDAP, Jaunty: Can't join domain
Greetings! I'm trying to get an OpenLDAP (2.4.15-1ubuntu3), Samba PDC (2:3.3.2-1ubuntu3.1) running under Ubuntu Jaunty. I've followed the instructions on the Ubuntu server guide (https://help.ubuntu.com/9.04/serverguide/C/samba-ldap.html) as closely as possible (twice. . .), and spent some time with Chapter 5 of the Samba3 By Example book, trying to use it to get things working. But I can't seem to join a computer to the domain, and I've run out of ideas. I'd like some help trying to identify where I've gone wrong and how to get the server to allow desktops to join. There are three user accounts in the LDAP database, 'nobody', 'root' and 'cswingley': # ldapsearch -xLLL -b 'ou=People,dc=abrinc,dc=com' uid uidNumber dn: ou=People,dc=abrinc,dc=com dn: uid=root,ou=People,dc=abrinc,dc=com uid: root uidNumber: 0 dn: uid=nobody,ou=People,dc=abrinc,dc=com uid: nobody uidNumber: 65534 dn: uid=cswingley,ou=People,dc=abrinc,dc=com uid: cswingley uidNumber: 522 Both 'root' and 'cswingley' are able to connect to the server with smbclient using their account passwords set up in LDAP. Both accounts are also in the Domain Admins group: # getent group | grep Domain Admins Domain Admins:*:512:root,cswingley 'cswingley' has the SeMachineAccountPrivilege right, as does the Domain Admins group: # net rpc rights list accounts -U root%PASSWD TESTDOM\cswingley SeMachineAccountPrivilege TESTDOM\Domain Admins SeMachineAccountPrivilege SeRemoteShutdownPrivilege SePrintOperatorPrivilege SeAddUsersPrivilege SeDiskOperatorPrivilege Here are a few of the /etc/samba/smb.conf settings that seem relevant: passdb backend = ldapsam:ldap://127.0.0.1 ldap admin dn = cn=admin,dc=test,dc=com add machine script = sudo /usr/sbin/smbldap-useradd -t 0 -w %u domain logons = yes wins support = yes log level = 3 passdb:10 auth:10 When I try to join a Windows XP SP3 computer to the domain as 'root' (or 'TESTDOM\root'), I get 'Logon failure: unknown user or bad password'. When I try to join using my account (cswingley), I get 'Access is denied'. Adding the computer to LDAP manually using 'smbldap-useradd -w' doesn't make a difference. I'm not seeing anything in the logs that look like login failures or some other obvious mistake errors, so I don't know where to go next or what else to try. I feel like I'm missing something very simple, because everything goes exactly as expected when I follow along in the guides. But at the end of the day, it doesn't work. Help and advice greatly appreciated. Thanks! Chris -- Christopher S. Swingley http://swingleydev.com/ cswin...@gmail.com -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Fwd: Problems with samba and domain controller
Hi John, Carlos John Drescher schrieb: On Mon, Sep 14, 2009 at 5:01 AM, Carlos Gonzalo Cruz c-gonzaloc...@chronoexpres.com wrote: That is suse right? http://ftp.sernet.de/pub/samba/experimental/sles/9/i386/ No, better use: http://download.opensuse.org/repositories/network:/samba:/STABLE/SLES_9/ Chris -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Help With Permissions
Hi Carlos Carlos Williams schrieb: I am running Samba on my Linux file server and have a question with permissions. My current directory for the share is: drwsrwsr-x 7 root dev 4096 Aug 31 13:33 builds As you can see from above the /builds directory is owned by root dev but also have r-x permissions for others. My question is how to I force samba to keep the owner root and group dev for all files placed inside my share? I want to force the parent UID GID and keep 775 permissions on everything. Is this possible to force in my smb.conf? Thanks for any help! create mask = 0644 directory mask = 0755 force user = root force group = dev Chris -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Samba] Samba server masquerading as another...
We're doing a test deployment of a Samba 3.0.33 server (RHEL 5.4) which is slated to replace two existing file servers -- one running Windows 2003 (known as qalab_server) and another running Samba (known as qalinux). We've brought the new server up and are trying to test client access to it to both DNS names by overriding the hosts files on certain clients. From a Linux client, overriding the IP in DNS for qalinux and qalab_server works fine.. our Linux client can connect and access shares via both names just fine. From a Windows XP client, while the qalinux name works fine, the qalab_server name pops up and authentication prompt and the following appears in the smbd.log file on the new server: [2009/09/14 17:35:14, 1] smbd/sesssetup.c:reply_spnego_kerberos(316) Failed to verify incoming ticket with error NT_STATUS_LOGON_FAILURE! Do XP clients do some additional checking to see if there's another server out there with the same name? We've modifed both the hosts and lmhosts file on the XP client and also tried setting up the netbios aliases config option on the new server to no avail. At one point I noticed an error in nmbd.log file: [2009/09/14 17:11:50, 0] nmbd/nmbd_nameregister.c:register_name_response(130) register_name_response: server at IP 10.49.4.92 rejected our name registration of QALAB_SERVER20 IP 10.49.104.69 with error code 6. Indicating that we probably lost some sort of election to the real Win 2k3 server... however, the Fedora client via smbclient still happily connects without complaints with the QALAB_SERVER name... Any ideas here? Ray -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Samba] doc examples bug regarding 'xattr' special switch need
This may already be fixed, but various places talk about the need for a 'user_xattr' switch on mounts to use extended attributes. I've never known 'xfs' to have such a switch -- if they are enabled in the kernel, they just work -- I tried it. I also tried adding the switch and verified it is not an accepted switch for XFS. Is the documentation referring to some newer filesystem that has incompatible options (regarding external attributes)? I'm running a stock SuSE kernel and they are enabled by default (and fully available to non-root users). -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Samba] How to get Default builtins added?
I recently decided to upgrade to the tdbsam: backend, but I'm missing the built-security principles. Do I need to go back to the smbpasswd backend, and add them in the file *first* before converting? I had them there at one point, but I think I think I deleted them because they weren't working. Cygwin's mkgroup command couldn't seem to pull in the groups from my samba server). But, by default, files I create through the 'gui' get created with group '513' (Domain User). Any scripts to add the default principles to a newly converted TDBSAM? Thanks for any help...been hitting the Samba-3 howto book and the pdf updates and man pages to no avail, and my fingers are falling off (sigh). linda -- 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 get Default builtins added?
FYI -- I tried adding then with pdbedit but it said they don't exist in /etc/passwd -- but they 'do'...just with not the same exact names. I was going to use the 'map' command to map the names from the tdbsam to the unix side, but I have to get them into the tdb sam first. Also, I really wasn't clear about how I am to add the principles -- I know the form of the sids, but isn't a large part of it to be filled in by the samba-server when I add the user? tnx -l -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Build status as of Mon Sep 14 06:00:02 2009
URL: http://build.samba.org/ --- /home/build/master/cache/broken_results.txt.old 2009-09-13 00:00:23.0 -0600 +++ /home/build/master/cache/broken_results.txt 2009-09-14 00:00:03.0 -0600 @@ -1,22 +1,22 @@ -Build status as of Sun Sep 13 06:00:02 2009 +Build status as of Mon Sep 14 06:00:02 2009 Build counts: Tree Total Broken Panic build_farm 0 0 0 -ccache 3 1 0 +ccache 1 0 0 distcc 0 0 0 -ldb 32 32 0 -libreplace 7 2 0 +ldb 31 31 0 +libreplace 6 1 0 lorikeet 0 0 0 -pidl 19 18 0 +pidl 21 20 0 ppp 0 0 0 -rsync29 11 0 +rsync30 11 0 samba-docs 0 0 0 samba-web0 0 0 -samba_3_current 29 27 0 -samba_3_master 30 29 4 -samba_3_next 30 29 1 -samba_4_0_test 32 32 1 -talloc 31 31 0 -tdb 29 29 0 +samba_3_current 8 6 0 +samba_3_master 29 29 3 +samba_3_next 29 28 1 +samba_4_0_test 31 31 0 +talloc 30 30 0 +tdb 28 28 0
[SCM] Samba Shared Repository - branch master updated - tevent-0-9-8-292-gd1457b6
The branch, master has been updated via d1457b6648643eb177d29f4307b9ca88230fb72f (commit) from e29cbda452096ff6b8ce415aa4f0e4c4da675019 (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master - Log - commit d1457b6648643eb177d29f4307b9ca88230fb72f Author: Stefan Metzmacher me...@samba.org Date: Mon Sep 14 09:58:19 2009 +0200 s4:heimdal_build: fix the build with --enable-automatic-dependencies We need to create the header file before we generate the source file. metze --- Summary of changes: source4/heimdal_build/asn1_deps.pl |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) Changeset truncated at 500 lines: diff --git a/source4/heimdal_build/asn1_deps.pl b/source4/heimdal_build/asn1_deps.pl index 3b18755..504f66d 100755 --- a/source4/heimdal_build/asn1_deps.pl +++ b/source4/heimdal_build/asn1_deps.pl @@ -35,7 +35,7 @@ print \...@\$(heimdalbuildsrcdir)/asn1_compile_wrapper.sh \$(builddir) $dirname print $headerx: $output_file\n; print $header: $headerx\n; print \...@cp $headerx $header\n; -print $x_file: $output_file\n; +print $x_file: $header\n; print $c_file: $x_file\n; print \...@echo \#include \\\config.h $c_file cat $x_file $c_file\n\n; -- Samba Shared Repository
[SCM] SAMBA-CTDB repository - branch v3-4-ctdb updated - 3.4.0-ctdb-4-3-g425c5b4
The branch, v3-4-ctdb has been updated via 425c5b479bb92c4fcb50f0d91587d059f7082056 (commit) from 4d64ca1f39fcc58d95c86349451d17e711643992 (commit) http://gitweb.samba.org/?p=obnox/samba-ctdb.git;a=shortlog;h=v3-4-ctdb - Log - commit 425c5b479bb92c4fcb50f0d91587d059f7082056 Author: Michael Adam ob...@samba.org Date: Fri Sep 11 13:23:34 2009 +0200 s3:dbwrap_ctdb: set dmaster in ctdb_transaction_store() also when updating an existing record not only when creating a record. This matches commit e9194a130327d6b05a8ab90bd976475b0e93b06d from ctdb-master. Michael Signed-off-by: Michael Adam ob...@samba.org --- Summary of changes: source3/lib/dbwrap_ctdb.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) Changeset truncated at 500 lines: diff --git a/source3/lib/dbwrap_ctdb.c b/source3/lib/dbwrap_ctdb.c index 4a5bf6d..f492d5f 100644 --- a/source3/lib/dbwrap_ctdb.c +++ b/source3/lib/dbwrap_ctdb.c @@ -469,7 +469,6 @@ static int db_ctdb_transaction_store(struct db_ctdb_transaction_handle *h, This is only safe because we are in a transaction and this is a persistent database */ ZERO_STRUCT(header); - header.dmaster = get_my_vnn(); } else { memcpy(header, rec.dptr, sizeof(struct ctdb_ltdb_header)); rec.dsize -= sizeof(struct ctdb_ltdb_header); @@ -483,6 +482,7 @@ static int db_ctdb_transaction_store(struct db_ctdb_transaction_handle *h, SAFE_FREE(rec.dptr); } + header.dmaster = get_my_vnn(); header.rsn++; if (!h-in_replay) { -- SAMBA-CTDB repository
[SCM] Samba Shared Repository - branch master updated - tevent-0-9-8-294-gd106e72
The branch, master has been updated via d106e728fb0c59900c289055c97f424e4f5d3c75 (commit) via aa089b80de557919d7159606e7ff8a1f7c68464a (commit) from d1457b6648643eb177d29f4307b9ca88230fb72f (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master - Log - commit d106e728fb0c59900c289055c97f424e4f5d3c75 Author: Michael Adam ob...@samba.org Date: Mon Sep 14 11:44:39 2009 +0200 examples/LDAP: remove sambaAccountPolicy from the IBM-DS schema. Michael commit aa089b80de557919d7159606e7ff8a1f7c68464a Author: Michael Adam ob...@samba.org Date: Mon Sep 14 11:40:47 2009 +0200 dsdb: the samba3 ldap schema has no sambaAccountPolicy (any more at least) Michael --- Summary of changes: examples/LDAP/samba.schema.at.IBM-DS |4 examples/LDAP/samba.schema.oc.IBM-DS |2 -- source4/dsdb/samdb/ldb_modules/samba3sam.c |1 - 3 files changed, 0 insertions(+), 7 deletions(-) Changeset truncated at 500 lines: diff --git a/examples/LDAP/samba.schema.at.IBM-DS b/examples/LDAP/samba.schema.at.IBM-DS index 4f4c056..3730a92 100644 --- a/examples/LDAP/samba.schema.at.IBM-DS +++ b/examples/LDAP/samba.schema.at.IBM-DS @@ -73,10 +73,6 @@ IBMAttributetypes=( 1.3.6.1.4.1.7165.2.1.54 DBNAME( 'sambaPasswordHistory' 'sam attributetypes=( 1.3.6.1.4.1.7165.2.1.55 NAME 'sambaLogonHours' DESC 'Logon Hours' EQUALITY caseIgnoreIA5Match SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{42} SINGLE-VALUE ) -attributetypes=( 1.3.6.1.4.1.7165.2.1.56 NAME 'sambaAccountPolicyName' DESC 'Account Policy Name' EQUALITY caseIgnoreMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{255} SINGLE-VALUE ) - -attributetypes=( 1.3.6.1.4.1.7165.2.1.57 NAME 'sambaAccountPolicyValue' DESC 'Account Policy Value' EQUALITY integerMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE ) - attributetypes=( 1.3.6.1.4.1.7165.2.1.58 NAME 'sambaMinPwdLength' DESC 'Minimal password length (default: 5)' EQUALITY integerMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE ) attributetypes=( 1.3.6.1.4.1.7165.2.1.59 NAME 'sambaPwdHistoryLength' DESC 'Length of Password History Entries (default: 0 = off)' EQUALITY integerMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE ) diff --git a/examples/LDAP/samba.schema.oc.IBM-DS b/examples/LDAP/samba.schema.oc.IBM-DS index de3cfb6..736d586 100644 --- a/examples/LDAP/samba.schema.oc.IBM-DS +++ b/examples/LDAP/samba.schema.oc.IBM-DS @@ -19,5 +19,3 @@ objectclasses=( 1.3.6.1.4.1.7165.2.2.11 NAME 'sambaShare' SUP top STRUCTURAL DES objectclasses=( 1.3.6.1.4.1.7165.2.2.12 NAME 'sambaConfigOption' SUP top STRUCTURAL DESC 'Samba Configuration Option' MUST ( sambaOptionName ) MAY ( sambaBoolOption $ sambaIntegerOption $ sambaStringOption $ sambaStringListoption $ description ) ) objectclasses=( 1.3.6.1.4.1.7165.2.2.14 NAME 'sambaTrustPassword' SUP top STRUCTURAL DESC 'Samba Trust Password' MUST ( sambaDomainName $ sambaNTPassword $ sambaTrustFlags ) MAY ( sambaSID $ sambaPwdLastSet )) - -objectclasses=( 1.3.6.1.4.1.7165.2.2.15 NAME 'sambaAccountPolicy' SUP top STRUCTURAL DESC 'Samba Account Policy' MUST ( sambaAccountPolicyName $ sambaAccountPolicyValue ) MAY ( description ) ) diff --git a/source4/dsdb/samdb/ldb_modules/samba3sam.c b/source4/dsdb/samdb/ldb_modules/samba3sam.c index 59cb9de..f5ddff9 100644 --- a/source4/dsdb/samdb/ldb_modules/samba3sam.c +++ b/source4/dsdb/samdb/ldb_modules/samba3sam.c @@ -24,7 +24,6 @@ * sambaTrustPassword * sambaUnixIdPool * sambaIdmapEntry - * sambaAccountPolicy * sambaSidEntry * sambaAcctFlags - systemFlags ? * sambaPasswordHistory - ntPwdHistory*/ -- Samba Shared Repository
[SCM] Samba Shared Repository - branch master updated - tevent-0-9-8-295-g667b825
The branch, master has been updated via 667b825d183f6b438b2329aef32686c20e55b7d3 (commit) from d106e728fb0c59900c289055c97f424e4f5d3c75 (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master - Log - commit 667b825d183f6b438b2329aef32686c20e55b7d3 Author: Jelmer Vernooij jel...@samba.org Date: Mon Sep 14 17:03:30 2009 +0200 pyldb: Don't segfault when invalid type is specified to Dn.get(). (#6722) --- Summary of changes: source4/lib/ldb/pyldb.c | 12 ++-- source4/lib/ldb/tests/python/api.py |4 2 files changed, 14 insertions(+), 2 deletions(-) Changeset truncated at 500 lines: diff --git a/source4/lib/ldb/pyldb.c b/source4/lib/ldb/pyldb.c index 3f7fa2f..b4f03dc 100644 --- a/source4/lib/ldb/pyldb.c +++ b/source4/lib/ldb/pyldb.c @@ -1758,8 +1758,13 @@ static PyObject *py_ldb_msg_keys(PyLdbMessageObject *self) static PyObject *py_ldb_msg_getitem_helper(PyLdbMessageObject *self, PyObject *py_name) { struct ldb_message_element *el; - char *name = PyString_AsString(py_name); + char *name; struct ldb_message *msg = PyLdbMessage_AsMessage(self); + if (!PyString_Check(py_name)) { + PyErr_SetNone(PyExc_TypeError); + return NULL; + } + name = PyString_AsString(py_name); if (!strcmp(name, dn)) return PyLdbDn_FromDn(msg-dn); el = ldb_msg_find_element(msg, name); @@ -1786,8 +1791,11 @@ static PyObject *py_ldb_msg_get(PyLdbMessageObject *self, PyObject *args) return NULL; ret = py_ldb_msg_getitem_helper(self, name); - if (ret == NULL) + if (ret == NULL) { + if (PyErr_Occurred()) + return NULL; Py_RETURN_NONE; + } return ret; } diff --git a/source4/lib/ldb/tests/python/api.py b/source4/lib/ldb/tests/python/api.py index 88983ac..133bd18 100755 --- a/source4/lib/ldb/tests/python/api.py +++ b/source4/lib/ldb/tests/python/api.py @@ -480,6 +480,10 @@ class LdbMsgTests(unittest.TestCase): self.msg.dn = ldb.Dn(ldb.Ldb(foo.tdb), @BASEINFO) self.assertEquals(@BASEINFO, self.msg.get(dn).__str__()) +def test_get_invalid(self): +self.msg.dn = ldb.Dn(ldb.Ldb(foo.tdb), @BASEINFO) +self.assertRaises(TypeError, self.msg.get, 42) + def test_get_other(self): self.msg[foo] = [bar] self.assertEquals(bar, self.msg.get(foo)[0]) -- Samba Shared Repository
[SCM] Samba Shared Repository - branch master updated - tevent-0-9-8-297-g33160b1
The branch, master has been updated via 33160b1a5b2bc498f0dfb5c59d0ec0592cc37e8d (commit) via 3cf73dfdbdd33189e0f9f22e0e494962376f9b86 (commit) from 667b825d183f6b438b2329aef32686c20e55b7d3 (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master - Log - commit 33160b1a5b2bc498f0dfb5c59d0ec0592cc37e8d Author: Andrew Tridgell tri...@samba.org Date: Mon Sep 14 03:44:10 2009 -0700 s4-repl: fixed a memory error handling linked attributes We could get a double free with multiple linked attributes in a message commit 3cf73dfdbdd33189e0f9f22e0e494962376f9b86 Author: Andrew Tridgell tri...@samba.org Date: Mon Sep 14 03:43:26 2009 -0700 s4-repl: fall back to repsFrom if repsTo not set Windows does not seem to be always setting up repsTo using DsUpdateRefs(). For now we will fall back to using repsFrom if repsTo is empty. This is almost certainly incorrect, but it does get notification based replication working with both w2k3 and w2k8. --- Summary of changes: source4/dsdb/repl/drepl_notify.c|6 -- source4/dsdb/samdb/ldb_modules/repl_meta_data.c | 20 ++-- 2 files changed, 14 insertions(+), 12 deletions(-) Changeset truncated at 500 lines: diff --git a/source4/dsdb/repl/drepl_notify.c b/source4/dsdb/repl/drepl_notify.c index 83c6df4..7328091 100644 --- a/source4/dsdb/repl/drepl_notify.c +++ b/source4/dsdb/repl/drepl_notify.c @@ -293,13 +293,16 @@ static WERROR dreplsrv_notify_check(struct dreplsrv_service *s, struct dreplsrv_partition *p, TALLOC_CTX *mem_ctx) { - uint32_t count; + uint32_t count=0; struct repsFromToBlob *reps; WERROR werr; uint64_t uSN; int ret, i; werr = dsdb_loadreps(s-samdb, mem_ctx, p-dn, repsTo, reps, count); + if (count == 0) { + werr = dsdb_loadreps(s-samdb, mem_ctx, p-dn, repsFrom, reps, count); + } if (!W_ERROR_IS_OK(werr)) { DEBUG(0,(__location__ : Failed to load repsTo for %s\n, ldb_dn_get_linearized(p-dn))); @@ -331,7 +334,6 @@ static WERROR dreplsrv_notify_check(struct dreplsrv_service *s, } } - return WERR_OK; } diff --git a/source4/dsdb/samdb/ldb_modules/repl_meta_data.c b/source4/dsdb/samdb/ldb_modules/repl_meta_data.c index 3afe11a..b9323b9 100644 --- a/source4/dsdb/samdb/ldb_modules/repl_meta_data.c +++ b/source4/dsdb/samdb/ldb_modules/repl_meta_data.c @@ -47,6 +47,7 @@ #include lib/util/dlinklist.h struct replmd_private { + TALLOC_CTX *la_ctx; struct la_entry *la_list; uint32_t num_ncs; struct nc_entry { @@ -1896,13 +1897,10 @@ static int replmd_extended_replicated_objects(struct ldb_module *module, struct for (i=0; iar-objs-linked_attributes_count; i++) { struct la_entry *la_entry; - if (replmd_private-la_list) { - la_entry = talloc(replmd_private-la_list, - struct la_entry); - } else { - la_entry = talloc(replmd_private, - struct la_entry); + if (replmd_private-la_ctx == NULL) { + replmd_private-la_ctx = talloc_new(replmd_private); } + la_entry = talloc(replmd_private-la_ctx, struct la_entry); if (la_entry == NULL) { ldb_oom(ldb); return LDB_ERR_OPERATIONS_ERROR; @@ -2108,8 +2106,9 @@ static int replmd_start_transaction(struct ldb_module *module) int i; struct replmd_private *replmd_private = talloc_get_type(ldb_module_get_private(module), struct replmd_private); - talloc_free(replmd_private-la_list); + talloc_free(replmd_private-la_ctx); replmd_private-la_list = NULL; + replmd_private-la_ctx = NULL; for (i=0; ireplmd_private-num_ncs; i++) { replmd_private-ncs[i].mod_usn = 0; @@ -2138,14 +2137,14 @@ static int replmd_prepare_commit(struct ldb_module *module) prev = la-prev; DLIST_REMOVE(replmd_private-la_list, la); ret = replmd_process_linked_attribute(module, la); - talloc_free(la); if (ret != LDB_SUCCESS) { return ret; } } - talloc_free(replmd_private-la_list); + talloc_free(replmd_private-la_ctx); replmd_private-la_list = NULL; + replmd_private-la_ctx = NULL; /* possibly change @REPLCHANGED */ ret = replmd_notify_store(module); @@ -2160,8
[SCM] Samba Shared Repository - branch master updated - tevent-0-9-8-298-gbd40feb
The branch, master has been updated via bd40feb1eb9e267cc8ef2e620c0e93956394fd0b (commit) from 33160b1a5b2bc498f0dfb5c59d0ec0592cc37e8d (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master - Log - commit bd40feb1eb9e267cc8ef2e620c0e93956394fd0b Author: Matt Kraai kr...@ftbfs.org Date: Tue Aug 25 21:19:52 2009 -0700 Prepend $libreplacedir/ to all objects in LIBREPLACEOBJ --- Summary of changes: lib/replace/crypt.m4 |2 +- lib/replace/dlfcn.m4 |2 +- lib/replace/libreplace.m4 |2 +- lib/replace/libreplace_network.m4 | 14 +++--- lib/replace/repdir.m4 |4 ++-- lib/replace/strptime.m4 |2 +- lib/replace/timegm.m4 |2 +- 7 files changed, 14 insertions(+), 14 deletions(-) Changeset truncated at 500 lines: diff --git a/lib/replace/crypt.m4 b/lib/replace/crypt.m4 index 684c351..fae2a58 100644 --- a/lib/replace/crypt.m4 +++ b/lib/replace/crypt.m4 @@ -3,4 +3,4 @@ AC_CHECK_HEADERS(crypt.h) AC_SEARCH_LIBS_EXT(crypt, [crypt], CRYPT_LIBS, [ AC_DEFINE(HAVE_CRYPT,1,[Whether the system has the crypt() function]) ], - [ LIBREPLACEOBJ=${LIBREPLACEOBJ} crypt.o ]) + [ LIBREPLACEOBJ=${LIBREPLACEOBJ} $libreplacedir/crypt.o ]) diff --git a/lib/replace/dlfcn.m4 b/lib/replace/dlfcn.m4 index 42f56f2..722e024 100644 --- a/lib/replace/dlfcn.m4 +++ b/lib/replace/dlfcn.m4 @@ -23,7 +23,7 @@ AC_VERIFY_C_PROTOTYPE([void *dlopen(const char* filename, unsigned int flags)], ]) if test x${libreplace_cv_dlfcn} = xyes;then - LIBREPLACEOBJ=${LIBREPLACEOBJ} dlfcn.o + LIBREPLACEOBJ=${LIBREPLACEOBJ} $libreplacedir/dlfcn.o fi LIBDL=$LIBS diff --git a/lib/replace/libreplace.m4 b/lib/replace/libreplace.m4 index 7815901..af85879 100644 --- a/lib/replace/libreplace.m4 +++ b/lib/replace/libreplace.m4 @@ -16,7 +16,7 @@ done if test x$libreplacedir = x; then AC_MSG_ERROR([cannot find libreplace in $libreplacepaths]) fi -LIBREPLACEOBJ=replace.o +LIBREPLACEOBJ=$libreplacedir/replace.o AC_SUBST(LIBREPLACEOBJ) AC_CANONICAL_BUILD diff --git a/lib/replace/libreplace_network.m4 b/lib/replace/libreplace_network.m4 index 2af0231..b7d15ea 100644 --- a/lib/replace/libreplace_network.m4 +++ b/lib/replace/libreplace_network.m4 @@ -173,7 +173,7 @@ LIBS=${LIBREPLACE_NETWORK_LIBS} libreplace_SAVE_CPPFLAGS=$CPPFLAGS CPPFLAGS=$CPPFLAGS -I$libreplacedir -AC_CHECK_FUNCS(socketpair,[],[LIBREPLACE_NETWORK_OBJS=${LIBREPLACE_NETWORK_OBJS} socketpair.o]) +AC_CHECK_FUNCS(socketpair,[],[LIBREPLACE_NETWORK_OBJS=${LIBREPLACE_NETWORK_OBJS} $libreplacedir/socketpair.o]) AC_CACHE_CHECK([for broken inet_ntoa],libreplace_cv_REPLACE_INET_NTOA,[ AC_TRY_RUN([ @@ -193,14 +193,14 @@ exit(1);}], AC_CHECK_FUNCS(inet_ntoa,[],[libreplace_cv_REPLACE_INET_NTOA=yes]) if test x$libreplace_cv_REPLACE_INET_NTOA = xyes; then AC_DEFINE(REPLACE_INET_NTOA,1,[Whether inet_ntoa should be replaced]) -LIBREPLACE_NETWORK_OBJS=${LIBREPLACE_NETWORK_OBJS} inet_ntoa.o +LIBREPLACE_NETWORK_OBJS=${LIBREPLACE_NETWORK_OBJS} $libreplacedir/inet_ntoa.o fi -AC_CHECK_FUNCS(inet_aton,[],[LIBREPLACE_NETWORK_OBJS=${LIBREPLACE_NETWORK_OBJS} inet_aton.o]) +AC_CHECK_FUNCS(inet_aton,[],[LIBREPLACE_NETWORK_OBJS=${LIBREPLACE_NETWORK_OBJS} $libreplacedir/inet_aton.o]) -AC_CHECK_FUNCS(inet_ntop,[],[LIBREPLACE_NETWORK_OBJS=${LIBREPLACE_NETWORK_OBJS} inet_ntop.o]) +AC_CHECK_FUNCS(inet_ntop,[],[LIBREPLACE_NETWORK_OBJS=${LIBREPLACE_NETWORK_OBJS} $libreplacedir/inet_ntop.o]) -AC_CHECK_FUNCS(inet_pton,[],[LIBREPLACE_NETWORK_OBJS=${LIBREPLACE_NETWORK_OBJS} inet_pton.o]) +AC_CHECK_FUNCS(inet_pton,[],[LIBREPLACE_NETWORK_OBJS=${LIBREPLACE_NETWORK_OBJS} $libreplacedir/inet_pton.o]) dnl test for getaddrinfo/getnameinfo AC_CACHE_CHECK([for getaddrinfo],libreplace_cv_HAVE_GETADDRINFO,[ @@ -232,7 +232,7 @@ if test x$libreplace_cv_HAVE_GETADDRINFO = xyes; then AC_DEFINE(HAVE_FREEADDRINFO,1,[Whether the system has freeaddrinfo]) AC_DEFINE(HAVE_GAI_STRERROR,1,[Whether the system has gai_strerror]) else - LIBREPLACE_NETWORK_OBJS=${LIBREPLACE_NETWORK_OBJS} getaddrinfo.o + LIBREPLACE_NETWORK_OBJS=${LIBREPLACE_NETWORK_OBJS} $libreplacedir/getaddrinfo.o fi AC_CHECK_HEADERS([ifaddrs.h]) @@ -287,7 +287,7 @@ AC_TRY_RUN([ if test x$libreplace_cv_HAVE_IFACE_GETIFADDRS = xyes; then iface=yes;AC_DEFINE(HAVE_IFACE_GETIFADDRS,1,[Whether iface getifaddrs is available]) else - LIBREPLACE_NETWORK_OBJS=${LIBREPLACE_NETWORK_OBJS} getifaddrs.o + LIBREPLACE_NETWORK_OBJS=${LIBREPLACE_NETWORK_OBJS} $libreplacedir/getifaddrs.o fi diff --git a/lib/replace/repdir.m4 b/lib/replace/repdir.m4 index fb3f414..682ab44 100644 --- a/lib/replace/repdir.m4 +++ b/lib/replace/repdir.m4 @@ -45,7 +45,7 @@ fi if test x$libreplace_cv_READDIR_GETDIRENTRIES = xyes; then
[SCM] Samba Shared Repository - branch master updated - tevent-0-9-8-300-g3dd404a
The branch, master has been updated via 3dd404abad878fa7e760ba50ce84fc80b82ea159 (commit) via b9ce122ff27b6d80e74e5b5fa580cd1574e816d7 (commit) from bd40feb1eb9e267cc8ef2e620c0e93956394fd0b (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master - Log - commit 3dd404abad878fa7e760ba50ce84fc80b82ea159 Author: Andrew Tridgell tri...@samba.org Date: Mon Sep 14 13:13:12 2009 -0700 s4-repl: handle rename in repl_meta_data On a rename we need to update uSNChanged, and the max uSN for the partition commit b9ce122ff27b6d80e74e5b5fa580cd1574e816d7 Author: Andrew Tridgell tri...@samba.org Date: Mon Sep 14 13:12:32 2009 -0700 s4-drs: allow replication of renames a rename may have no attribute changes --- Summary of changes: source4/dsdb/samdb/ldb_modules/repl_meta_data.c | 97 +++ source4/rpc_server/drsuapi/getncchanges.c | 13 ++-- 2 files changed, 104 insertions(+), 6 deletions(-) Changeset truncated at 500 lines: diff --git a/source4/dsdb/samdb/ldb_modules/repl_meta_data.c b/source4/dsdb/samdb/ldb_modules/repl_meta_data.c index b9323b9..f9411fe 100644 --- a/source4/dsdb/samdb/ldb_modules/repl_meta_data.c +++ b/source4/dsdb/samdb/ldb_modules/repl_meta_data.c @@ -932,6 +932,102 @@ static int replmd_modify(struct ldb_module *module, struct ldb_request *req) return ldb_next_request(module, down_req); } + +/* + handle a rename request + + On a rename we need to do an extra ldb_modify which sets the + whenChanged and uSNChanged attributes + */ +static int replmd_rename(struct ldb_module *module, struct ldb_request *req) +{ + struct ldb_context *ldb; + int ret, i; + time_t t = time(NULL); + uint64_t seq_num = 0; + struct ldb_message *msg; + struct replmd_private *replmd_private = + talloc_get_type(ldb_module_get_private(module), struct replmd_private); + + /* do not manipulate our control entries */ + if (ldb_dn_is_special(req-op.mod.message-dn)) { + return ldb_next_request(module, req); + } + + ldb = ldb_module_get_ctx(module); + + ldb_debug(ldb, LDB_DEBUG_TRACE, replmd_rename\n); + + /* Get a sequence number from the backend */ + ret = ldb_sequence_number(ldb, LDB_SEQ_NEXT, seq_num); + if (ret != LDB_SUCCESS) { + return ret; + } + + msg = ldb_msg_new(req); + if (msg == NULL) { + ldb_oom(ldb); + return LDB_ERR_OPERATIONS_ERROR; + } + + msg-dn = req-op.rename.olddn; + + if (add_time_element(msg, whenChanged, t) != LDB_SUCCESS) { + talloc_free(msg); + return LDB_ERR_OPERATIONS_ERROR; + } + msg-elements[0].flags = LDB_FLAG_MOD_REPLACE; + + if (add_uint64_element(msg, uSNChanged, seq_num) != LDB_SUCCESS) { + talloc_free(msg); + return LDB_ERR_OPERATIONS_ERROR; + } + msg-elements[1].flags = LDB_FLAG_MOD_REPLACE; + + ret = ldb_modify(ldb, msg); + talloc_free(msg); + if (ret != LDB_SUCCESS) { + return ret; + } + + ret = replmd_load_NCs(module); + if (ret != 0) { + return ret; + } + + /* now update the highest uSNs of the partitions that are + affected. Note that two partitions could be changing */ + for (i=0; ireplmd_private-num_ncs; i++) { + if (ldb_dn_compare_base(replmd_private-ncs[i].dn, + req-op.rename.olddn) == 0) { + break; + } + } + if (i == replmd_private-num_ncs) { + DEBUG(0,(__location__ : rename olddn outside tree? %s\n, +ldb_dn_get_linearized(req-op.rename.olddn))); + return LDB_ERR_OPERATIONS_ERROR; + } + replmd_private-ncs[i].mod_usn = seq_num; + + for (i=0; ireplmd_private-num_ncs; i++) { + if (ldb_dn_compare_base(replmd_private-ncs[i].dn, + req-op.rename.newdn) == 0) { + break; + } + } + if (i == replmd_private-num_ncs) { + DEBUG(0,(__location__ : rename newdn outside tree? %s\n, +ldb_dn_get_linearized(req-op.rename.newdn))); + return LDB_ERR_OPERATIONS_ERROR; + } + replmd_private-ncs[i].mod_usn = seq_num; + + /* go on with the call chain */ + return ldb_next_request(module, req); +} + + static int replmd_replicated_request_error(struct replmd_replicated_request *ar, int ret) { return ret; @@ -2171,6 +2267,7 @@ _PUBLIC_ const struct ldb_module_ops ldb_repl_meta_data_module_ops = { .init_context = replmd_init, .add
[SCM] Samba Shared Repository - branch master updated - tevent-0-9-8-303-ge94361e
The branch, master has been updated via e94361e1e29d015e9cdfde47f7163d1dd7bb596a (commit) via d3a6914e3b3f04b0f2ec2c27995cb7e3975f5d27 (commit) via 9dae2501f1ef21c12385e3abd53c04fdabbed3e9 (commit) from 3dd404abad878fa7e760ba50ce84fc80b82ea159 (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master - Log - commit e94361e1e29d015e9cdfde47f7163d1dd7bb596a Author: Volker Lendecke v...@samba.org Date: Mon Sep 14 22:47:31 2009 +0200 s3:vfs_catia: Make some fns static commit d3a6914e3b3f04b0f2ec2c27995cb7e3975f5d27 Author: Volker Lendecke v...@samba.org Date: Mon Sep 14 22:28:11 2009 +0200 s3:vfs_catia: Use talloc_zero for simplification commit 9dae2501f1ef21c12385e3abd53c04fdabbed3e9 Author: Volker Lendecke v...@samba.org Date: Mon Sep 14 22:22:26 2009 +0200 s3:vfs_modules: Fix Coverity ID 946: OVERRUN_STATIC Tim, please check! --- Summary of changes: source3/modules/vfs_catia.c | 11 +-- 1 files changed, 5 insertions(+), 6 deletions(-) Changeset truncated at 500 lines: diff --git a/source3/modules/vfs_catia.c b/source3/modules/vfs_catia.c index 3c1ab81..0917812 100644 --- a/source3/modules/vfs_catia.c +++ b/source3/modules/vfs_catia.c @@ -55,13 +55,12 @@ static bool build_table(struct char_mappings **cmaps, int value) int i; int start = T_START(value); - (*cmaps) = (struct char_mappings *) - TALLOC_ZERO(NULL, sizeof(struct char_mappings)); + (*cmaps) = talloc_zero(NULL, struct char_mappings); if (!*cmaps) return False; - for (i = 0; i = MAP_SIZE;i++) { + for (i = 0; i MAP_SIZE;i++) { (*cmaps)-entry[i][TO_UNIX] = start + i; (*cmaps)-entry[i][TO_WINDOWS] = start + i; } @@ -104,8 +103,8 @@ static bool build_ranges(struct char_mappings **cmaps, return True; } -struct share_mapping_entry *get_srt(connection_struct *conn, - struct share_mapping_entry **global) +static struct share_mapping_entry *get_srt(connection_struct *conn, + struct share_mapping_entry **global) { struct share_mapping_entry *share; @@ -120,7 +119,7 @@ struct share_mapping_entry *get_srt(connection_struct *conn, return share; } -struct share_mapping_entry *add_srt(int snum, const char **mappings) +static struct share_mapping_entry *add_srt(int snum, const char **mappings) { char *tmp; -- Samba Shared Repository
[SCM] CTDB repository - branch master updated - ctdb-1.0.89-32-g1ae3a40
The branch, master has been updated via 1ae3a40705e14efcc24f558cd4d677932765c4fd (commit) via b5410e7be0525e6e5cd49ccebc7bbc57086f3cb2 (commit) via 5624da65d3fad1905c9f93a9e41a90b98ad692d2 (commit) via 7bf9fff9139a4270496bddb97f9433bab87824bf (commit) via e5ba8e1a832c223496ad72209ce1d3203cdaa2d7 (commit) via b060911683d8ac201806d35a505867fe3ba9519f (commit) via 4899a888d4e2c31b4bd7220f3cd8936168942e61 (commit) via f7a326b560b12f8b46c01d98cdd460e5510c67fb (commit) via 0310a6b17d6167c46482a07c6cd96bcabda6ffbc (commit) via 13b81b6c8e01aa52a31756ecffa797a4761115db (commit) via 4fad47c1af8503385b090be281ffbd284021279c (commit) from 7a6134e684c9ac4763bf198ef1410867b6082c94 (commit) http://gitweb.samba.org/?p=sahlberg/ctdb.git;a=shortlog;h=master - Log - commit 1ae3a40705e14efcc24f558cd4d677932765c4fd Merge: b5410e7be0525e6e5cd49ccebc7bbc57086f3cb2 7bf9fff9139a4270496bddb97f9433bab87824bf Author: Ronnie Sahlberg ronniesahlb...@gmail.com Date: Tue Sep 15 08:05:33 2009 +1000 Merge commit 'obnox/master-rebase' commit b5410e7be0525e6e5cd49ccebc7bbc57086f3cb2 Merge: 7a6134e684c9ac4763bf198ef1410867b6082c94 5624da65d3fad1905c9f93a9e41a90b98ad692d2 Author: Ronnie Sahlberg ronniesahlb...@gmail.com Date: Sat Sep 12 07:05:21 2009 +1000 Merge r...@10.1.1.27:/shared/ctdb/ctdb-git commit 5624da65d3fad1905c9f93a9e41a90b98ad692d2 Author: Ronnie Sahlberg ronniesahlb...@gmail.com Date: Sat Sep 12 07:30:18 2009 +1000 new version 1.0.90 commit 7bf9fff9139a4270496bddb97f9433bab87824bf Author: Michael Adam ob...@samba.org Date: Fri Aug 28 13:01:27 2009 +0200 Introduce sysconfig variable CTDB_SYSLOG=yes/no (default no). This allows for controlling start of ctdbd with or without the option --syslog from the sysconfig/ctdb file. Michael commit e5ba8e1a832c223496ad72209ce1d3203cdaa2d7 Author: Michael Adam ob...@samba.org Date: Fri Aug 28 12:45:43 2009 +0200 ctdb_logging: fix a comment typo. Michael commit b060911683d8ac201806d35a505867fe3ba9519f Author: Michael Adam ob...@samba.org Date: Fri Aug 28 01:04:47 2009 +0200 Rename the CTDB_INIT_STYLE ubuntu to debian - this is where it comes from. Micheal commit 4899a888d4e2c31b4bd7220f3cd8936168942e61 Author: Mathieu Parent math.par...@gmail.com Date: Fri Aug 28 00:58:52 2009 +0200 Update outdated autotools helper files. This fixes https://bugzilla.samba.org/show_bug.cgi?id=6370 and http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=536256 Signed-off-by: Michael Adam ob...@samba.org commit f7a326b560b12f8b46c01d98cdd460e5510c67fb Author: Mathieu Parent math.par...@gmail.com Date: Thu Aug 27 23:44:39 2009 +0200 Fix bashism in nfstickle event script. Signed-off-by: Michael Adam ob...@samba.org commit 0310a6b17d6167c46482a07c6cd96bcabda6ffbc Author: Mathieu Parent math.par...@gmail.com Date: Thu Aug 27 23:36:07 2009 +0200 Fix bashisms in samba event script. Signed-off-by: Michael Adam ob...@samba.org commit 13b81b6c8e01aa52a31756ecffa797a4761115db Author: Mathieu Parent math.par...@gmail.com Date: Thu Aug 27 23:35:41 2009 +0200 Fix bashisms in multipathd event script. Signed-off-by: Michael Adam ob...@samba.org commit 4fad47c1af8503385b090be281ffbd284021279c Author: Mathieu Parent math.par...@gmail.com Date: Thu Aug 27 23:35:03 2009 +0200 Fix bashism in natgw eventscript. Signed-off-by: Michael Adam ob...@samba.org --- Summary of changes: config.guess | 197 + config.sub| 216 +++-- config/ctdb.init |3 +- config/ctdb.sysconfig |6 +- config/events.d/11.natgw |2 +- config/events.d/20.multipathd |4 +- config/events.d/31.clamd |2 +- config/events.d/41.httpd |2 +- config/events.d/50.samba |6 +- config/events.d/61.nfstickle |3 +- config/functions |2 +- lib/replace/config.guess | 197 + lib/replace/config.sub| 216 +++-- lib/talloc/config.guess | 197 + lib/talloc/config.sub | 216 +++-- lib/tdb/config.guess | 197 + lib/tdb/config.sub| 216 +++-- packaging/RPM/ctdb.spec |5 +- server/ctdb_logging.c |2 +- 19 files changed, 1218 insertions(+), 471 deletions(-) Changeset truncated at 500 lines: diff --git a/config.guess b/config.guess index 386626b..e3a2116 100755 --- a/config.guess +++
[SCM] Samba Shared Repository - branch master updated - tevent-0-9-8-304-gf31138e
The branch, master has been updated via f31138ecc778db42b1aa7ce634425a1df663b0eb (commit) from e94361e1e29d015e9cdfde47f7163d1dd7bb596a (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master - Log - commit f31138ecc778db42b1aa7ce634425a1df663b0eb Author: Jeremy Allison j...@samba.org Date: Mon Sep 14 15:06:37 2009 -0700 Fix bug 6726 - Filename length overwrites oplock request field in cli_nt_create(). Jeremy. --- Summary of changes: source3/libsmb/clifile.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) Changeset truncated at 500 lines: diff --git a/source3/libsmb/clifile.c b/source3/libsmb/clifile.c index 696c979..b15aa8d 100644 --- a/source3/libsmb/clifile.c +++ b/source3/libsmb/clifile.c @@ -2044,7 +2044,7 @@ struct tevent_req *cli_ntcreate_send(TALLOC_CTX *mem_ctx, return tevent_req_post(req, ev); } - SIVAL(vwv+2, 1, converted_len); + SSVAL(vwv+2, 1, converted_len); subreq = cli_smb_send(state, ev, cli, SMBntcreateX, 0, 24, vwv, talloc_get_size(bytes), bytes); -- Samba Shared Repository
[SCM] Samba Shared Repository - branch master updated - tevent-0-9-8-305-gca2c93b
The branch, master has been updated via ca2c93b9e578fd9cd565f934b8910d6c738d787b (commit) from f31138ecc778db42b1aa7ce634425a1df663b0eb (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master - Log - commit ca2c93b9e578fd9cd565f934b8910d6c738d787b Author: Jeremy Allison j...@samba.org Date: Mon Sep 14 15:30:05 2009 -0700 Fix bug 6494 - Incorrect FileStatus returned in NT_CREATE_ANDX. Lookup the EA and Stream status on CreateX. Jeremy. --- Summary of changes: source3/include/smb.h |9 + source3/smbd/nttrans.c | 20 +++- source3/smbd/trans2.c | 10 -- 3 files changed, 36 insertions(+), 3 deletions(-) Changeset truncated at 500 lines: diff --git a/source3/include/smb.h b/source3/include/smb.h index f8816b6..3c3ced6 100644 --- a/source3/include/smb.h +++ b/source3/include/smb.h @@ -1511,6 +1511,15 @@ char *strdup(char *s); /* TCONX Flag (smb_vwv2). */ #define TCONX_FLAG_EXTENDED_RESPONSE 0x8 +/* File Status Flags. See: + +http://msdn.microsoft.com/en-us/library/cc246334(PROT.13).aspx +*/ + +#define NO_EAS 0x1 +#define NO_SUBSTREAMS 0x2 +#define NO_REPARSETAG 0x4 + /* Capabilities. see ftp.microsoft.com/developr/drg/cifs/cifs/cifs4.txt */ #define CAP_RAW_MODE 0x0001 diff --git a/source3/smbd/nttrans.c b/source3/smbd/nttrans.c index 434bf34..1b98157 100644 --- a/source3/smbd/nttrans.c +++ b/source3/smbd/nttrans.c @@ -623,7 +623,25 @@ void reply_ntcreate_and_X(struct smb_request *req) SOFF_T(p,0,file_len); p += 8; if (flags EXTENDED_RESPONSE_REQUIRED) { - SSVAL(p,2,0x7); + uint16_t file_status = (NO_EAS|NO_SUBSTREAMS|NO_REPARSETAG); + size_t num_names = 0; + unsigned int num_streams; + struct stream_struct *streams = NULL; + + /* Do we have any EA's ? */ + status = get_ea_names_from_file(ctx, conn, fsp, + smb_fname-base_name, NULL, num_names); + if (NT_STATUS_IS_OK(status) num_names) { + file_status = ~NO_EAS; + } + status = SMB_VFS_STREAMINFO(conn, NULL, smb_fname-base_name, ctx, + num_streams, streams); + /* There is always one stream, ::$DATA. */ + if (NT_STATUS_IS_OK(status) num_streams 1) { + file_status = ~NO_SUBSTREAMS; + } + TALLOC_FREE(streams); + SSVAL(p,2,file_status); } p += 4; SCVAL(p,0,fsp-is_directory ? 1 : 0); diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c index 73873e0..f2c025b 100644 --- a/source3/smbd/trans2.c +++ b/source3/smbd/trans2.c @@ -207,7 +207,9 @@ NTSTATUS get_ea_names_from_file(TALLOC_CTX *mem_ctx, connection_struct *conn, if (sizeret == 0) { TALLOC_FREE(names); - *pnames = NULL; + if (pnames) { + *pnames = NULL; + } *pnum_names = 0; return NT_STATUS_OK; } @@ -244,7 +246,11 @@ NTSTATUS get_ea_names_from_file(TALLOC_CTX *mem_ctx, connection_struct *conn, names[num_names++] = p; } - *pnames = names; + if (pnames) { + *pnames = names; + } else { + TALLOC_FREE(names); + } *pnum_names = num_names; return NT_STATUS_OK; } -- Samba Shared Repository
[SCM] Samba Shared Repository - branch master updated - tevent-0-9-8-306-g54831cc
The branch, master has been updated via 54831cc1a57b7e6237d2397d166b8e23494fe6bd (commit) from ca2c93b9e578fd9cd565f934b8910d6c738d787b (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master - Log - commit 54831cc1a57b7e6237d2397d166b8e23494fe6bd Author: Björn Jacke b...@sernet.de Date: Tue Sep 15 03:41:06 2009 +0200 nss_winbind: remove unused variable --- Summary of changes: nsswitch/winbind_nss_netbsd.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) Changeset truncated at 500 lines: diff --git a/nsswitch/winbind_nss_netbsd.c b/nsswitch/winbind_nss_netbsd.c index 63c068e..f673806 100644 --- a/nsswitch/winbind_nss_netbsd.c +++ b/nsswitch/winbind_nss_netbsd.c @@ -215,7 +215,6 @@ netbsdwinbind_getgroupmembership(void *nsrv, void *nscb, va_list ap) { int *result = va_arg(ap, int *); const char *uname = va_arg(ap, const char *); - gid_tagroup = va_arg(ap, gid_t); gid_t *groups = va_arg(ap, gid_t *); int maxgrp = va_arg(ap, int); int *groupc = va_arg(ap, int *); -- Samba Shared Repository
[SCM] Samba Shared Repository - branch master updated - tevent-0-9-8-307-gf3cc05b
The branch, master has been updated via f3cc05b96d8eb7ea5a7424c26e63222ff70fbd98 (commit) from 54831cc1a57b7e6237d2397d166b8e23494fe6bd (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master - Log - commit f3cc05b96d8eb7ea5a7424c26e63222ff70fbd98 Author: Jeremy Allison j...@samba.org Date: Mon Sep 14 18:45:16 2009 -0700 Torture test for bug 6529 - Offline files conflict with Vista and Office 2003. Ensure we don't regress. Jeremy. --- Summary of changes: source4/torture/basic/delaywrite.c | 131 1 files changed, 131 insertions(+), 0 deletions(-) Changeset truncated at 500 lines: diff --git a/source4/torture/basic/delaywrite.c b/source4/torture/basic/delaywrite.c index eb553ed..71d8cc9 100644 --- a/source4/torture/basic/delaywrite.c +++ b/source4/torture/basic/delaywrite.c @@ -1455,6 +1455,26 @@ static bool test_finfo_after_write(struct torture_context *tctx, struct smbcli_s #define SET_INFO_FILE(finfo, wrtime) \ SET_INFO_FILE_EX(finfo, wrtime, cli-tree, fnum1) +#define SET_INFO_FILE_NS(finfo, wrtime, ns, tree, tfnum) do { \ + NTSTATUS _status; \ + union smb_setfileinfo sfinfo; \ + sfinfo.basic_info.level = RAW_SFILEINFO_BASIC_INFO; \ + sfinfo.basic_info.in.file.fnum = tfnum; \ + sfinfo.basic_info.in.create_time = 0; \ + sfinfo.basic_info.in.access_time = 0; \ + unix_to_nt_time(sfinfo.basic_info.in.write_time, (wrtime)); \ + sfinfo.basic_info.in.write_time += (ns); \ + sfinfo.basic_info.in.change_time = 0; \ + sfinfo.basic_info.in.attrib = finfo1.basic_info.out.attrib; \ + _status = smb_raw_setfileinfo(tree, sfinfo); \ + if (!NT_STATUS_IS_OK(_status)) { \ + torture_result(tctx, TORTURE_FAIL, __location__: setfileinfo failed: %s, \ + nt_errstr(_status)); \ + ret = false; \ + goto done; \ + } \ +} while (0) + static bool test_delayed_write_update3(struct torture_context *tctx, struct smbcli_state *cli, struct smbcli_state *cli2) @@ -2884,6 +2904,115 @@ again: return ret; } +static bool test_delayed_write_update7(struct torture_context *tctx, struct smbcli_state *cli) +{ + union smb_open open_parms; + union smb_fileinfo finfo1, finfo2, finfo3; + const char *fname = BASEDIR \\torture_file7.txt; + NTSTATUS status; + int fnum1 = -1; + bool ret = true; + TALLOC_CTX *mem_ctx; + + torture_comment(tctx, \nRunning test_delayed_write_update7 (timestamp resolution test)\n); + +mem_ctx = talloc_init(test_delayed_write_update7); +if (!mem_ctx) return false; + + ZERO_STRUCT(finfo1); + ZERO_STRUCT(finfo2); + ZERO_STRUCT(finfo3); + ZERO_STRUCT(open_parms); + + if (!torture_setup_dir(cli, BASEDIR)) { + return false; + } + + /* Create the file. */ + fnum1 = smbcli_open(cli-tree, fname, O_RDWR|O_CREAT, DENY_NONE); + if (fnum1 == -1) { + torture_result(tctx, TORTURE_FAIL, Failed to open %s, fname); + return false; + } + + finfo1.basic_info.level = RAW_FILEINFO_BASIC_INFO; + finfo1.basic_info.in.file.fnum = fnum1; + finfo2 = finfo1; + finfo3 = finfo1; + + /* Get the initial timestamps. */ + status = smb_raw_fileinfo(cli-tree, tctx, finfo1); + + torture_assert_ntstatus_ok(tctx, status, fileinfo failed); + + /* Set the pending write time to a value with ns. */ + SET_INFO_FILE_NS(finfo, time(NULL) + 86400, 103, cli-tree, fnum1); + + /* Get the current pending write time by fnum. */ + status = smb_raw_fileinfo(cli-tree, tctx, finfo2); + + torture_assert_ntstatus_ok(tctx, status, fileinfo failed); + + /* Ensure the time is actually different. */ + if (finfo1.basic_info.out.write_time == finfo2.basic_info.out.write_time) { + torture_result(tctx, TORTURE_FAIL, + setfileinfo time matches original fileinfo time); + ret = false; + } + + /* Get the current pending write time by path. */ + finfo3.basic_info.in.file.path = fname; + status = smb_raw_pathinfo(cli-tree, tctx, finfo3); + + if (finfo2.basic_info.out.write_time != finfo3.basic_info.out.write_time) { + torture_result(tctx, TORTURE_FAIL, + qpathinfo time doens't match fileinfo time); + ret = false; + } + + /* Now close the file. Re-open and check that the write + time is identical to the one we wrote. */ + + smbcli_close(cli-tree, fnum1); + + open_parms.ntcreatex.level = RAW_OPEN_NTCREATEX; +
[SCM] Samba Shared Repository - branch master updated - tevent-0-9-8-308-g24309bd
The branch, master has been updated via 24309bdb2efca36375f3c833f72ebec3908d31fd (commit) from f3cc05b96d8eb7ea5a7424c26e63222ff70fbd98 (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master - Log - commit 24309bdb2efca36375f3c833f72ebec3908d31fd Author: Volker Lendecke v...@samba.org Date: Mon Sep 14 19:09:54 2009 -0700 Second part of bug fix for 6606. s3:libsmb: Fix bug 6606 -- short reads in smbclient were not handled --- Summary of changes: source3/libsmb/clireadwrite.c |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) Changeset truncated at 500 lines: diff --git a/source3/libsmb/clireadwrite.c b/source3/libsmb/clireadwrite.c index b690196..6342de4 100644 --- a/source3/libsmb/clireadwrite.c +++ b/source3/libsmb/clireadwrite.c @@ -287,6 +287,12 @@ static void cli_readall_done(struct tevent_req *subreq) return; } + if (received == 0) { + /* EOF */ + tevent_req_done(req); + return; + } + if ((state-received == 0) (received == state-size)) { /* Ideal case: Got it all in one run */ state-buf = buf; -- Samba Shared Repository
[SCM] CTDB repository - branch master updated - ctdb-1.0.89-33-g4f7b39a
The branch, master has been updated via 4f7b39a4871af28df1c4545ec37db179fa47a7da (commit) from 1ae3a40705e14efcc24f558cd4d677932765c4fd (commit) http://gitweb.samba.org/?p=sahlberg/ctdb.git;a=shortlog;h=master - Log - commit 4f7b39a4871af28df1c4545ec37db179fa47a7da Author: Ronnie Sahlberg ronniesahlb...@gmail.com Date: Tue Sep 15 13:35:58 2009 +1000 try to restart statd everytime it fails, not just the first time --- Summary of changes: config.guess | 197 +-- config.sub| 216 +++-- config/ctdb.init |3 +- config/ctdb.sysconfig |6 +- config/events.d/11.natgw |2 +- config/events.d/20.multipathd |4 +- config/events.d/31.clamd |2 +- config/events.d/41.httpd |2 +- config/events.d/50.samba |6 +- config/events.d/60.nfs| 34 ++ config/events.d/61.nfstickle |3 +- config/functions |2 +- doc/onnode.1 | 105 +- doc/onnode.1.html | 17 +-- doc/onnode.1.xml |8 - lib/replace/config.guess | 197 +-- lib/replace/config.sub| 216 +++-- lib/talloc/config.guess | 197 +-- lib/talloc/config.sub | 216 +++-- lib/tdb/config.guess | 197 +-- lib/tdb/config.sub| 216 +++-- server/ctdb_logging.c |2 +- tests/complex/31_nfs_tickle.sh|8 +- tests/complex/32_cifs_tickle.sh |2 +- tests/complex/42_failover_ssh_hostname.sh |4 +- tests/scripts/ctdb_test_functions.bash|4 +- tests/src/ctdb_persistent.c | 25 +--- tests/src/ctdb_transaction.c |2 +- tools/onnode | 25 +--- 29 files changed, 538 insertions(+), 1380 deletions(-) Changeset truncated at 500 lines: diff --git a/config.guess b/config.guess index e3a2116..386626b 100755 --- a/config.guess +++ b/config.guess @@ -1,14 +1,13 @@ #! /bin/sh # Attempt to guess a canonical system name. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, -# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 -# Free Software Foundation, Inc. +# 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. -timestamp='2009-06-10' +timestamp='2007-07-10' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or +# the Free Software Foundation; either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, but @@ -17,9 +16,7 @@ timestamp='2009-06-10' # General Public License for more details. # # You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA -# 02110-1301, USA. +# along with this program; if not, see http://www.gnu.org/licenses/. # # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a @@ -56,8 +53,8 @@ version=\ GNU config.guess ($timestamp) Originally written by Per Bothner. -Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, -2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 +Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. @@ -107,7 +104,7 @@ set_cc_for_build=' trap exitcode=\$?; (rm -f \$tmpfiles 2/dev/null; rmdir \$tmp 2/dev/null) exit \$exitcode 0 ; trap rm -f \$tmpfiles 2/dev/null; rmdir \$tmp 2/dev/null; exit 1 1 2 13 15 ; : ${TMPDIR=/tmp} ; - { tmp=`(umask 077 mktemp -d $TMPDIR/cgXX) 2/dev/null` test -n $tmp test -d $tmp ; } || + { tmp=`(umask 077 mktemp -d -q $TMPDIR/cgXX) 2/dev/null` test -n $tmp test -d $tmp ; } || { test -n $RANDOM tmp=$TMPDIR/cg$$-$RANDOM (umask 077 mkdir $tmp) ; } || { tmp=$TMPDIR/cg-$$ (umask 077 mkdir $tmp) echo Warning: creating insecure temp directory 2 ; } || { echo $me: cannot
[SCM] Samba Shared Repository - branch master updated - tevent-0-9-8-309-gf410d23
The branch, master has been updated via f410d23185f5c81dbc111285ea0ba9daf5fc111d (commit) from 24309bdb2efca36375f3c833f72ebec3908d31fd (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master - Log - commit f410d23185f5c81dbc111285ea0ba9daf5fc111d Author: Björn Jacke b...@sernet.de Date: Tue Sep 15 06:48:49 2009 +0200 s3: BSD needs sys/sysctl.h included to build properly FreeBSD (and other BSDs, too) need sys/sysctl.h inclueded to use sysctlbyname(). Thanks to Timur Bakeyev for that. --- Summary of changes: source3/configure.in |2 +- source3/lib/fault.c |5 + source3/param/loadparm.c |4 3 files changed, 10 insertions(+), 1 deletions(-) Changeset truncated at 500 lines: diff --git a/source3/configure.in b/source3/configure.in index 3255751..4eaebca 100644 --- a/source3/configure.in +++ b/source3/configure.in @@ -652,7 +652,7 @@ AC_CHECK_HEADERS(aio.h sys/fcntl.h sys/select.h fcntl.h sys/time.h sys/unistd.h AC_CHECK_HEADERS(unistd.h grp.h sys/id.h memory.h alloca.h) AC_CHECK_HEADERS(limits.h float.h pthread.h libintl.h) AC_CHECK_HEADERS(rpc/rpc.h rpcsvc/nis.h rpcsvc/ypclnt.h) -AC_CHECK_HEADERS(sys/param.h ctype.h sys/wait.h sys/resource.h sys/ioctl.h sys/ipc.h sys/prctl.h) +AC_CHECK_HEADERS(sys/param.h ctype.h sys/wait.h sys/resource.h sys/ioctl.h sys/ipc.h sys/prctl.h sys/sysctl.h) AC_CHECK_HEADERS(sys/mman.h sys/filio.h sys/priv.h sys/shm.h string.h strings.h stdlib.h) AC_CHECK_HEADERS(sys/mount.h sys/vfs.h sys/fs/s5param.h sys/filsys.h termios.h termio.h) AC_CHECK_HEADERS(sys/termio.h sys/statfs.h sys/dustat.h sys/statvfs.h stdarg.h) diff --git a/source3/lib/fault.c b/source3/lib/fault.c index 51fc53b..bf61bb2 100644 --- a/source3/lib/fault.c +++ b/source3/lib/fault.c @@ -20,6 +20,11 @@ #include includes.h +#ifdef HAVE_SYS_SYSCTL_H +#include sys/sysctl.h +#endif + + #ifdef HAVE_SYS_PRCTL_H #include sys/prctl.h #endif diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c index c91f676..b278b96 100644 --- a/source3/param/loadparm.c +++ b/source3/param/loadparm.c @@ -54,6 +54,10 @@ #include includes.h #include printing.h +#ifdef HAVE_SYS_SYSCTL_H +#include sys/sysctl.h +#endif + #ifdef HAVE_HTTPCONNECTENCRYPT #include cups/http.h #endif -- Samba Shared Repository
[SCM] Samba Shared Repository - branch master updated - tevent-0-9-8-311-gffe8314
The branch, master has been updated via ffe831452b4251dec3049ab08b125d1fade5fa21 (commit) via 7268720ad468b087dc723d4efaf38412603409cb (commit) from f410d23185f5c81dbc111285ea0ba9daf5fc111d (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master - Log - commit ffe831452b4251dec3049ab08b125d1fade5fa21 Author: Andrew Bartlett abart...@samba.org Date: Mon Sep 14 22:37:11 2009 -0700 s4:provision Prevent some invalid combinations of realm and domain We don't do well (even just trying to create duplicate servicePrincipalName values) with some of these combinations, so kill it off early before the administrator thinks it's going to work. Andrew Bartlett commit 7268720ad468b087dc723d4efaf38412603409cb Author: Matthieu Patou m...@matws.net Date: Sat Sep 12 01:03:52 2009 +0400 s4: Script to build or rebuild extend DN attributes This script can be used to upgrade a provision that didn't integrate extended dn. It can also be used to add missing extended DN that weren't created during provision. --- Summary of changes: source4/scripting/bin/rebuildextendeddn | 141 +++ source4/scripting/python/samba/provision.py |9 ++ 2 files changed, 150 insertions(+), 0 deletions(-) create mode 100755 source4/scripting/bin/rebuildextendeddn Changeset truncated at 500 lines: diff --git a/source4/scripting/bin/rebuildextendeddn b/source4/scripting/bin/rebuildextendeddn new file mode 100755 index 000..618d179 --- /dev/null +++ b/source4/scripting/bin/rebuildextendeddn @@ -0,0 +1,141 @@ +#!/usr/bin/python +# +# Unix SMB/CIFS implementation. +# Extended attributes (re)building +# Copyright (C) Matthieu Patou m...@matws.net 2009 +# +# Based on provision a Samba4 server by +# Copyright (C) Jelmer Vernooij jel...@samba.org 2007-2008 +# Copyright (C) Andrew Bartlett abart...@samba.org 2008 +# +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see http://www.gnu.org/licenses/. +# + +import getopt +import optparse +import os +import sys +# Find right directory when running from source tree +sys.path.insert(0, bin/python) + +import samba +from samba.credentials import DONT_USE_KERBEROS +from samba.auth import system_session +from samba import Ldb, substitute_var, valid_netbios_name, check_all_substituted +from ldb import SCOPE_SUBTREE, SCOPE_ONELEVEL, SCOPE_BASE, LdbError, \ + timestring, CHANGETYPE_MODIFY, CHANGETYPE_NONE +import ldb +import samba.getopt as options +from samba.samdb import SamDB +from samba import param +from samba.provision import ProvisionPaths, ProvisionNames,provision_paths_from_lp,get_dnsyntax_attributes,get_linked_attributes + +parser = optparse.OptionParser(provision [options]) +sambaopts = options.SambaOptions(parser) +parser.add_option_group(sambaopts) +parser.add_option_group(options.VersionOptions(parser)) +credopts = options.CredentialsOptions(parser) +parser.add_option_group(credopts) +parser.add_option(--targetdir, type=string, metavar=DIR, + help=Set target directory) + +opts = parser.parse_args()[0] + +def message(text): + print a message if quiet is not set. + if not opts.quiet: + print text + +if len(sys.argv) == 1: + opts.interactive = True + +lp = sambaopts.get_loadparm() +smbconf = lp.configfile + +creds = credopts.get_credentials(lp) + +creds.set_kerberos_state(DONT_USE_KERBEROS) + +session = system_session() + + +def get_paths(targetdir=None,smbconf=None): + if targetdir is not None: + if (not os.path.exists(os.path.join(targetdir, etc))): + os.makedirs(os.path.join(targetdir, etc)) + smbconf = os.path.join(targetdir, etc, smb.conf) + if smbconf is None: + smbconf = param.default_path() + + if not os.path.exists(smbconf): + print sys.stderr, Unable to find smb.conf .. +smbconf + parser.print_usage() + sys.exit(1) + + lp = param.LoadParm() + lp.load(smbconf) + paths = provision_paths_from_lp(lp,foo) + return paths + + + +def rebuild_en_dn(credentials,session_info,paths): + lp = param.LoadParm() + lp.load(paths.smbconf) + names =
[SCM] Samba Shared Repository - branch master updated - tevent-0-9-8-312-gf07e77e
The branch, master has been updated via f07e77e13ff86c76644660e2d574e663c9ffdeb8 (commit) from ffe831452b4251dec3049ab08b125d1fade5fa21 (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master - Log - commit f07e77e13ff86c76644660e2d574e663c9ffdeb8 Author: Stefan Metzmacher me...@samba.org Date: Tue Sep 15 07:48:50 2009 +0200 s4:heimdal_build: fix one more problem with automatic dependecies metze --- Summary of changes: source4/heimdal_build/asn1_deps.pl |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) Changeset truncated at 500 lines: diff --git a/source4/heimdal_build/asn1_deps.pl b/source4/heimdal_build/asn1_deps.pl index 504f66d..b71abc7 100755 --- a/source4/heimdal_build/asn1_deps.pl +++ b/source4/heimdal_build/asn1_deps.pl @@ -31,7 +31,7 @@ my $output_file = $dirname/ . $prefix . _asn1_files; print basics:: $header\n; print $output_file: \$(heimdalsrcdir)/$file \$(ASN1C)\n; print \...@echo \Compiling ASN1 file \$(heimdalsrcdir)/$file\\n; -print \...@\$(heimdalbuildsrcdir)/asn1_compile_wrapper.sh \$(builddir) $dirname \$(ASN1C) \$(call abspath,\$(heimdalsrcdir)/$file) $prefix $options --one-code-file\n\n; +print \...@\$(heimdalbuildsrcdir)/asn1_compile_wrapper.sh \$(builddir) $dirname \$(ASN1C) \$(call abspath,\$(heimdalsrcdir)/$file) $prefix $options --one-code-file touch $output_file\n; print $headerx: $output_file\n; print $header: $headerx\n; print \...@cp $headerx $header\n; -- Samba Shared Repository