Re: [Samba] Upgrading samba 2.2.8a to 3.6.15 on Solaris 9 -- 3.6.15 brings all inetd services down
Hello, Jordan Verschuer jvsamba...@gmail.com a écrit : Hi samba friends, I'm upgrading our Samba 2.2.8a server to 3.6.15 on a Solaris 9 box, we need to do this as all our latest Mac OS X 10.8 clients cannot map to the 2.2.8a network share, and need the newer Samba (well known issue for mountain lion). My first question would be, why not use the Solaris Samba? IIRC, on S9, it was patched up to 3.something, which could be enough for your needs. I've compiled 3.6.15 and this seemed to go ok, no obvious errors were shown during .configure make and make install, and smbd -V gives output and seems ok, I've updated /etc/inet/inetd.conf and also added the same users to smbpasswd, snip I agree with Marc here: why inetd? It doesn't sound good. Also, I'm maintaining the OpenCSW Samba package for Solaris (http://www.opencsw.org/packages/CSWsamba/). It's currently 3.6.18 for Solaris 10. I've checked that it still builds for Solaris 9 with no trouble. I've put S9 packages there: http://buildfarm.opencsw.org/experimental.html#laurent You're welcome to try them and tell me if they work for you. OpenCSW is focusing on S10 at the moment, but if there is interest in S9, that could be kept running for a while. Laurent -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Samba] Upgrading samba 2.2.8a to 3.6.15 on Solaris 9 -- 3.6.15 brings all inetd services down
Hi samba friends, I'm upgrading our Samba 2.2.8a server to 3.6.15 on a Solaris 9 box, we need to do this as all our latest Mac OS X 10.8 clients cannot map to the 2.2.8a network share, and need the newer Samba (well known issue for mountain lion). I've compiled 3.6.15 and this seemed to go ok, no obvious errors were shown during .configure make and make install, and smbd -V gives output and seems ok, I've updated /etc/inet/inetd.conf and also added the same users to smbpasswd, and smb.conf lists the same shares and passes testparm. However, after rebooting I can log on to swat and see that the smbd and nmbd services are running and I can make quick changes to the configuration, like adding a new user or updating the password, and I can even map to the share... for about a minute! After about 1 minute the swat/smbd/nmbd services stop... as well as all inetd services!! I cannot rlogin from a new terminal, or rsh or finger in the current terminal, however ssh still works but this isn't an inetd service. Has anyone got a clue as to what might be happening? I can attach log files for anyone who might like to help a samba friend out, thanks for reading. Cheers, Jordan -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Samba] Upgrading samba 2.2.8a to 3.6.15 on Solaris 9 -- 3.6.15 brings all inetd services down
Hi samba friends, I'm upgrading our Samba 2.2.8a server to 3.6.15 on a Solaris 9 box, we need to do this as all our latest Mac OS X 10.8 clients cannot map to the 2.2.8a network share, and need the newer Samba (well known issue for mountain lion). I've compiled 3.6.15 and this seemed to go ok, no obvious errors were shown during .configure make and make install, and smbd -V gives output and seems ok, I've updated /etc/inet/inetd.conf and also added the same users to smbpasswd, and smb.conf lists the same shares and passes testparm. However, after rebooting I can log on to swat and see that the smbd and nmbd services are running and I can make quick changes to the configuration, like adding a new user or updating the password, and I can even map to the share... for about a minute! After about 1 minute the swat/smbd/nmbd services stop... as well as all inetd services!! I cannot rlogin from a new terminal, or rsh or finger in the current terminal, however ssh still works but this isn't an inetd service. Has anyone got a clue as to what might be happening? I can attach log files for anyone who might like to help a samba friend out, thanks for reading. Cheers, Jordan -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Upgrading samba 2.2.8a to 3.6.15 on Solaris 9 -- 3.6.15 brings all inetd services down
Hello Jordan, Am 17.09.2013 01:28, schrieb Jordan Verschuer: However, after rebooting I can log on to swat and see that the smbd and nmbd services are running and I can make quick changes to the configuration, like adding a new user or updating the password, and I can even map to the share... for about a minute! After about 1 minute the swat/smbd/nmbd services stop... as well as all inetd services!! I don't know Solaris, but why are you starting Samba through Inetd and not as standalone? And what happens if you start it standalone? I never saw Samba through Inetd. But as I said: I'm not familiar with Solaris. :-) I cannot rlogin from a new terminal, or rsh or finger in the current terminal, however ssh still works but this isn't an inetd service. Has anyone got a clue as to what might be happening? It seems that something crashes the whole Inetd, what causes it's child processes automatically also to die. I haven't used Inetd any more for almost 15 years. Is there anything in the logs or a way to increase Inetd loglevel? I would try to avoid Inetd for starting samba. And why not updating to the latest Samba version? 3.6 goes into security only maintainance mode with it's next version. Regards, Marc -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Samba] Upgrading Samba 3 DC to a Samba 4.0 AD DC
On Mon, 2013-08-05 at 11:09 +0700, ketut.nur...@dexagroup.com wrote: dear Samba team, Today we have used samba ver. 3 as primary domain controller at my company. To improve the Samba technology and feature to support our business , we want to upgrade to Samba 4. Is there any tools or support to provide upgrade solution from Samba 3 to samba 4 ? See https://wiki.samba.org/index.php/Samba4/samba-tool/domain/classicupgrade/HOWTO Thanks, Andrew Bartlett -- Andrew Bartletthttp://samba.org/~abartlet/ Authentication Developer, Samba Team http://samba.org -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Upgrading samba 3.3.x to 3.5.x old smbpasswd file and domainaccounts
Hm, I think the old way having a machine join the domain was at first a entry even in the passwd file called ex.: notetosh$:x:620:100:Workstation Account NT:/dev/null:/bin/false So there need to be a shadow account: notetosh$:!:13909:1:9:14::: This entry are all kept like users. If you make a pdbedit -L -w this entries are shown as users. So this entries should be exported as well. But after all Samba/openldap is the better choice. You only have to export your ldap database and import it to the next Samba/openldap and almost ready to run. Good Luck Daniel --- EDV Daniel Müller Leitung EDV Tropenklinik Paul-Lechler-Krankenhaus Paul-Lechler-Str. 24 72076 Tübingen Tel.: 07071/206-463, Fax: 07071/206-499 eMail: muel...@tropenklinik.de Internet: www.tropenklinik.de --- -Ursprüngliche Nachricht- Von: samba-boun...@lists.samba.org [mailto:samba-boun...@lists.samba.org] Im Auftrag von Gaiseric Vandal Gesendet: Freitag, 14. Januar 2011 17:21 An: samba@lists.samba.org Betreff: Re: [Samba] Upgrading samba 3.3.x to 3.5.x old smbpasswd file and domainaccounts I would have thought you needed to have unix machine accounts in the passwd/shadow file. Or are they using some sore of idmap allocation? On 01/14/2011 04:34 AM, Götz Reinicke - IT-Koordinator wrote: Hi, I plan to update our main RedHat EL 5.6 samba server from samba 3.3.x to 3.5.x . What I noticed as our main challenge so far, is migrating the user and machine accounts from our old smbpasswd file to a tdbsam-.tdm fileformat. pdbedit -i smbpasswd:/etc/samba/smbpasswd -e tdbsam:/etc/samba/passwd.tdb throws a lot of errors regarding useraccounts which did not exist on the posix passwd/shadow side. If I remove the deleted accounts from the sambapasswd file as well, the convertion goes on. But what about the machine accounts which are in the smbpasswdfile and not in the passwd/shadow file? Thanks for any suggestion and comment. Regards . Götz -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Samba] Upgrading samba 3.3.x to 3.5.x old smbpasswd file and domainaccounts
Hi, I plan to update our main RedHat EL 5.6 samba server from samba 3.3.x to 3.5.x . What I noticed as our main challenge so far, is migrating the user and machine accounts from our old smbpasswd file to a tdbsam-.tdm fileformat. pdbedit -i smbpasswd:/etc/samba/smbpasswd -e tdbsam:/etc/samba/passwd.tdb throws a lot of errors regarding useraccounts which did not exist on the posix passwd/shadow side. If I remove the deleted accounts from the sambapasswd file as well, the convertion goes on. But what about the machine accounts which are in the smbpasswdfile and not in the passwd/shadow file? Thanks for any suggestion and comment. Regards . Götz -- Götz Reinicke IT-Koordinator Tel. +49 7141 969 420 Fax +49 7141 969 55 420 E-Mail goetz.reini...@filmakademie.de Filmakademie Baden-Württemberg GmbH Akademiehof 10 71638 Ludwigsburg www.filmakademie.de Eintragung Amtsgericht Stuttgart HRB 205016 Vorsitzende des Aufsichtsrats: Prof. Dr. Claudia Hübner Geschäftsführer: Prof. Thomas Schadt -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Upgrading samba 3.3.x to 3.5.x old smbpasswd file and domainaccounts
I would have thought you needed to have unix machine accounts in the passwd/shadow file. Or are they using some sore of idmap allocation? On 01/14/2011 04:34 AM, Götz Reinicke - IT-Koordinator wrote: Hi, I plan to update our main RedHat EL 5.6 samba server from samba 3.3.x to 3.5.x . What I noticed as our main challenge so far, is migrating the user and machine accounts from our old smbpasswd file to a tdbsam-.tdm fileformat. pdbedit -i smbpasswd:/etc/samba/smbpasswd -e tdbsam:/etc/samba/passwd.tdb throws a lot of errors regarding useraccounts which did not exist on the posix passwd/shadow side. If I remove the deleted accounts from the sambapasswd file as well, the convertion goes on. But what about the machine accounts which are in the smbpasswdfile and not in the passwd/shadow file? Thanks for any suggestion and comment. Regards . Götz -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Upgrading Samba-LDAP
John Drescher wrote: I am looking to upgrade my Samba server to Samba 3.5.x from Samba 3.0.20 and openldap from 2.2.13 to 2.3.43. Is there anyway to do this and still keep my current domain intact? The interest in upgrading is so that we can suppport Win 7 systems. Of course you can keep your current domain intact. Do you have more than 1 ldap server? I highly recommend that. John Is it really as simple as just migrating my ldap data over to another ldap version on a server with a new release of Samba and changing the local sids? I may have gotten confused when reading something in the upgrade from 3.0.x to the 3.0.23 version in the documentation. (old documentation) -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Upgrading Samba-LDAP
I just did that from an older sidux to centos5.5. It worked on the fly. Just grep the old domain sid and give it to your new samba . Export the old ldap database and import it to the new ldap. thats all On Tue, 19 Oct 2010 16:33:06 -0400, John Drescher dresche...@gmail.com wrote: I am looking to upgrade my Samba server to Samba 3.5.x from Samba 3.0.20 and openldap from 2.2.13 to 2.3.43. Is there anyway to do this and still keep my current domain intact? The interest in upgrading is so that we can suppport Win 7 systems. Of course you can keep your current domain intact. Do you have more than 1 ldap server? I highly recommend that. John -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Samba] Upgrading Samba-LDAP
I am looking to upgrade my Samba server to Samba 3.5.x from Samba 3.0.20 and openldap from 2.2.13 to 2.3.43. Is there anyway to do this and still keep my current domain intact? The interest in upgrading is so that we can suppport Win 7 systems. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Upgrading Samba-LDAP
I am looking to upgrade my Samba server to Samba 3.5.x from Samba 3.0.20 and openldap from 2.2.13 to 2.3.43. Is there anyway to do this and still keep my current domain intact? The interest in upgrading is so that we can suppport Win 7 systems. Of course you can keep your current domain intact. Do you have more than 1 ldap server? I highly recommend that. John -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Samba] Upgrading Samba
I have a fairly old Samba server, 3.0.25, on CentOS 4.8. I'd like to update it to something more modern, so I grabbed the Enterprise Samba 3.5 RPMs for RHEL, and went to work on a test machine. After upgrading via rpm -U ./*.rpm, starting nmbd and smbd, I can no longer log in to the domain, I get: netlogon_creds_server_check failed. Rejecting auth request from client FREESCALE machine account FREESCALE$ While /etc/samba/smbpasswd remains seemingly untouched from the upgrade, I have to delete and recreate each account before it will let me log in to the domain. Since there are about a hundred workstations (and more accounts), I'd like to make this a more seamless transition... any tips for a newb? -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Upgrading Samba
On 05/24/2010 04:46 PM, Steve Wolfe wrote: I have a fairly old Samba server, 3.0.25, on CentOS 4.8. I'd like to update it to something more modern, so I grabbed the Enterprise Samba 3.5 RPMs for RHEL, and went to work on a test machine. After upgrading via rpm -U ./*.rpm, starting nmbd and smbd, I can no longer log in to the domain, I get: netlogon_creds_server_check failed. Rejecting auth request from client FREESCALE machine account FREESCALE$ While /etc/samba/smbpasswd remains seemingly untouched from the upgrade, I have to delete and recreate each account before it will let me log in to the domain. Since there are about a hundred workstations (and more accounts), I'd like to make this a more seamless transition... any tips for a newb? I am guessing that smbpasswd is not in the TDB format supported by Samba 3.5.I think the older format got dropped along the way. Are the user accounts OK? You could prob use pdbedit -w (from the old version) to dump the accounts to a text file. And then maybe write a script (perl has a nice split command) to parse the file into a list of machine names. And then run something like for i in `cat thelist.txt` do smbpasswd -x $i smbpaswd -m -a $i done The other option may be to use pdbedit to dump the passwd to a text or TDB file, backup /etc/smbpasswd and then use pdbedit (to reimport the accounts. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Upgrading Samba
On 05/24/2010 3:46 PM, Steve Wolfe wrote: I have a fairly old Samba server, 3.0.25, on CentOS 4.8. I'd like to update it to something more modern, so I grabbed the Enterprise Samba 3.5 RPMs for RHEL, and went to work on a test machine. After upgrading via rpm -U ./*.rpm, starting nmbd and smbd, I can no longer log in to the domain, I get: netlogon_creds_server_check failed. Rejecting auth request from client FREESCALE machine account FREESCALE$ While /etc/samba/smbpasswd remains seemingly untouched from the upgrade, I have to delete and recreate each account before it will let me log in to the domain. If you were using smbpasswd as the passdb backend, note that the default changed to tdbsam in version 3.4.0. http://www.samba.org/samba/history/samba-3.4.0.html To continue to use smbpasswd, you would have to declare it in smb.conf. passdb backend = smbpasswd. Since there are about a hundred workstations (and more accounts), I'd like to make this a more seamless transition... any tips for a newb? You could also export your existing smbpasswd to tdbsam. http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/passdb.html#pdbeditthing Account Import/Export The |pdbedit| tool allows import/export of authentication (account) databases from one backend to another. For example, to import/export accounts from an old |smbpasswd| database to a /|tdbsam|/ backend: 1. |root# |*|pdbedit -i smbpasswd -e tdbsam|* 2. Replace the /|smbpasswd|/ with /|tdbsam|/ in the /|passdb backend|/ configuration in |smb.conf|. Dale -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Upgrading Samba
Perfect! On the test server, I just upgraded, did 'pdbedit -i smbpasswd -e tdbsam', and everything seems to have worked. Thank you very much. steve On Mon, May 24, 2010 at 3:00 PM, Gaiseric Vandal gaiseric.van...@gmail.comwrote: On 05/24/2010 04:46 PM, Steve Wolfe wrote: I have a fairly old Samba server, 3.0.25, on CentOS 4.8. I'd like to update it to something more modern, so I grabbed the Enterprise Samba 3.5 RPMs for RHEL, and went to work on a test machine. After upgrading via rpm -U ./*.rpm, starting nmbd and smbd, I can no longer log in to the domain, I get: netlogon_creds_server_check failed. Rejecting auth request from client FREESCALE machine account FREESCALE$ While /etc/samba/smbpasswd remains seemingly untouched from the upgrade, I have to delete and recreate each account before it will let me log in to the domain. Since there are about a hundred workstations (and more accounts), I'd like to make this a more seamless transition... any tips for a newb? I am guessing that smbpasswd is not in the TDB format supported by Samba 3.5.I think the older format got dropped along the way. Are the user accounts OK? You could prob use pdbedit -w (from the old version) to dump the accounts to a text file. And then maybe write a script (perl has a nice split command) to parse the file into a list of machine names. And then run something like for i in `cat thelist.txt` do smbpasswd -x $i smbpaswd -m -a $i done The other option may be to use pdbedit to dump the passwd to a text or TDB file, backup /etc/smbpasswd and then use pdbedit (to reimport the accounts. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] upgrading samba
Thanks. In my case the .tdb files are in /var/cache/samba Is there a possibility that there are other files anywhere else? 1) /etc/samba 2) /var/cache/samba I was thinking of building from sources and then just trying the new daemon. That way I could go back to the old one easily if necessary. Joel Franco Guzmán wrote: Hi, I use debian but this should be similar. To backup your important files, backup the /etc/samba and /var/lib/samba directories doing like this, after stop the samba daemon: # cp -a /var/lib/samba /var/lib/samba.bak # cp -a /etc/samba /etc/samba.bak Then you could do the upgrade. If something goes wrong, reinstall the old version and restore the copied directories. Regards, # cp -a /var/lib/samba /var/lib/samba.bak # cp -a /etc/samba /etc/samba.bak Then you could do the upgrade. If something goes wrong, reinstall 2009/9/21 Bill Szkotnicki b...@uoguelph.ca: Hi, I would like to appempt a SAFE upgrade on my samba server. ( Centos 5.2 ) Currently the version is: # /usr/sbin/smbd -V Version 3.0.28-1.el5_2.1 There are many users logging on to it and accessing the shares. The last time I tried this ( quite a while ago ) something broke and we had to re-join many windows machines. It would be nice to have a strategy for rolling back if something does not work. Where are all of the important files? Would anyone have any advice, suggestions, indications of what to read, etc...? Thanks, Bill -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] upgrading samba
Hummm. Build from scratch.. I understand that the data files live in /var/lib (except the bind, where it lives in /var/cache/bind). But if your files are there... You should pay attention in the *tdb files yes. This are the data files, and the files that live in /etc. 2009/9/22 Bill Szkotnicki b...@uoguelph.ca: Thanks. In my case the .tdb files are in /var/cache/samba Is there a possibility that there are other files anywhere else? 1) /etc/samba 2) /var/cache/samba I was thinking of building from sources and then just trying the new daemon. That way I could go back to the old one easily if necessary. Joel Franco Guzmán wrote: Hi, I use debian but this should be similar. To backup your important files, backup the /etc/samba and /var/lib/samba directories doing like this, after stop the samba daemon: # cp -a /var/lib/samba /var/lib/samba.bak # cp -a /etc/samba /etc/samba.bak Then you could do the upgrade. If something goes wrong, reinstall the old version and restore the copied directories. Regards, # cp -a /var/lib/samba /var/lib/samba.bak # cp -a /etc/samba /etc/samba.bak Then you could do the upgrade. If something goes wrong, reinstall 2009/9/21 Bill Szkotnicki b...@uoguelph.ca: Hi, I would like to appempt a SAFE upgrade on my samba server. ( Centos 5.2 ) Currently the version is: # /usr/sbin/smbd -V Version 3.0.28-1.el5_2.1 There are many users logging on to it and accessing the shares. The last time I tried this ( quite a while ago ) something broke and we had to re-join many windows machines. It would be nice to have a strategy for rolling back if something does not work. Where are all of the important files? Would anyone have any advice, suggestions, indications of what to read, etc...? Thanks, Bill -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Samba] upgrading samba
Hi, I would like to appempt a SAFE upgrade on my samba server. ( Centos 5.2 ) Currently the version is: # /usr/sbin/smbd -V Version 3.0.28-1.el5_2.1 There are many users logging on to it and accessing the shares. The last time I tried this ( quite a while ago ) something broke and we had to re-join many windows machines. It would be nice to have a strategy for rolling back if something does not work. Where are all of the important files? Would anyone have any advice, suggestions, indications of what to read, etc...? Thanks, Bill -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] upgrading samba
Hi, I use debian but this should be similar. To backup your important files, backup the /etc/samba and /var/lib/samba directories doing like this, after stop the samba daemon: # cp -a /var/lib/samba /var/lib/samba.bak # cp -a /etc/samba /etc/samba.bak Then you could do the upgrade. If something goes wrong, reinstall the old version and restore the copied directories. Regards, # cp -a /var/lib/samba /var/lib/samba.bak # cp -a /etc/samba /etc/samba.bak Then you could do the upgrade. If something goes wrong, reinstall 2009/9/21 Bill Szkotnicki b...@uoguelph.ca: Hi, I would like to appempt a SAFE upgrade on my samba server. ( Centos 5.2 ) Currently the version is: # /usr/sbin/smbd -V Version 3.0.28-1.el5_2.1 There are many users logging on to it and accessing the shares. The last time I tried this ( quite a while ago ) something broke and we had to re-join many windows machines. It would be nice to have a strategy for rolling back if something does not work. Where are all of the important files? Would anyone have any advice, suggestions, indications of what to read, etc...? Thanks, Bill -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Upgrading Samba 2.2.7 to 3.0.1b
El mié, 08-03-2006 a las 13:50 -0600, Kristie escribió: I have successfully installed the new binaries. However, I installed it under a different directory than where my current Samba resides. I moved my smb.conf to the /usr/home/samba/lib directory. After stopping the current damean services, and starting the new services. nmbd and smbd, I cannot logon to the Domain as a user, I get an unknown Domain or Password. Luckily, I just stop the new service and revert back to the old service. Any ideas? Kristie D. Greier HTH http://lists.samba.org/archive/samba/2006-February/118281.html David Ballester -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Upgrading Samba 2.2.7 to 3.0.1b
I have successfully installed the new binaries. However, I installed it under a different directory than where my current Samba resides. I moved my smb.conf to the /usr/home/samba/lib directory. After stopping the current damean services, and starting the new services. nmbd and smbd, I cannot logon to the Domain as a user, I get an unknown Domain or Password. Luckily, I just stop the new service and revert back to the old service. Any ideas? Kristie D. Greier -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Upgrading Samba?
Hello, I'm running SLES 9 with samba installed as a PDC. The version of samba installed by default is version 3.0.4. I would like to be running the current stable verion 3.0.21b. How would I go about upgrading cleanly to the latest version, without interrupting my current configuration? - Delamatrix _ Express yourself instantly with MSN Messenger! Download today - it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Upgrading Samba
I am in the process of planning for a samba upgrade. The current version of Samba (2.2.8a) runs on a Sunfire 280R with Solaris 8. The intended new platform is a sunfire V240 with Solaris 9 as the OS. The new version of Samba will be Samba-3.0.10. Please note that the Samba server will be a member of a domain. I've read Samba-3 by Example, Chapter 8 which describes to the process of updating from Samba 1.x and 2.x (without LDAP). It all seems very straight forward but refers to doing the upgrade on the same box. In my case I will will be doing a migration to a new box and an upgrade at the same time. My plan is to prepare the V240 by installing samba3, and create the users. I will then stop the samba2x, move the smbpasswd, smb.conf and tdb files (including secrets), and move the data files over from the old server. I will then shutdown old 280R and restart the new V240 with the ip address of the the old server. I will then restart the samba daemon on the new server. I am hoping that with the old server already a member of the domain and the fact that I will be using the same ip address it will not be necessary to rejoin the domain. I am hoping this will work because I have had no luck in my attempts to setup Samba3 as a test server (different ip address and netbios name) and have it join the domain. The test machine account has been created and recreated a number of times but I keep getting challenged for a password and end up with 'unable to join the domain' (Frustrating). Any comments/suggestions on the above plan will be much appreciated. This has been a work in progress for sometime now and I would really like to move along. One more question: If my attempt with Samba3 fails would there be any problems restarting the old 2.x server? My conf file follows. Thanks much in advance for all comments/suggestions. == # Global parameters [globals] netbios name = horntail server string = Library's %L %v workgroup = domain_name local master = no allow hosts = 111.222.10. 111.222.200. 111.222.97. 111.222.98.128/255.255.255.192 111.222.98.64/255.255.255.224 security = domain browsable = yes password server = server1 server2 server3 server4 machine password timeout = 314496000 remote announce = 111.222.135.95 wins server = blackbird.nt.domain # force Samba to bind only to hme0 interfaces= 111.222.10.213/255.255.255.0 bind interfaces only = yes socket options = SO_KEEPALIVE TCP_NODELAY deadtime = 0 # Encrypt all passwords stored in /usr/local/samba.private/smbpasswd encrypt passwords = yes username map = /usr/local/samba/lib/nt-names smb passwd file = /usr/local/samba/private/smbpasswd # not allowed to log in invalid users = root daemon bin sys adm lp listen sshd\ erl webspirs samba rob jan daulton writeable = yes # Debug Logging information # lowered from 3 20050302 - dt log level = 2 log file = /usr/local/samba/var/log.%m max log size = 2000 debug timestamp = yes # printing stuff printing = SYSV load printers = yes use client driver = yes printer admin = dtheodor # --- # Home Directory # --- [homedir] comment = %u path = /files1/user/%g/%u browseable = yes writeable = yes create mode = 0700 # --- # Departments # --- [dept] comment = %g path = /files1/user/%g browseable = yes writeable = yes read only = no create mode = 0770 # -- # All department shares # -- [alldepts] comment = All Departments path= /files1/user browseable = no writeable = yes hide files = /lost+found/ # -- # GIS on Array2 # -- [allgis] comment = All GIS path= /files2/gis1 browseable = yes writeable = yes hide files = /lost+found/ # # Shared directory for each department # [deptshr] comment = %g Shared Directory path = /files1/user/%g/common read only= no create mask = 0770 force create mode = 0770 directory mask = 0770 writable = yes browseable = yes invalid users = +circdesk # -- # shared directory for ALL staff # -- [libshare] comment = Library staff shared directory path= /files1/user/common browseable = yes writeable = yes create mask = 0777 force create mode = 0777 directory mask = 0777 valid users = +libsys +libmgmt +libacq +libarc +libcat +libcirc +librs +libmdgc +libgift +libcoll +libtrain +libill +libcof +libgis invalid users = +circdesk train1 train2
[Samba] Upgrading samba from Fedora RPM
Hello, We have a samba file server running on Fedora Core 1. I have installed 3.0.11 from RPM package for Fedora. This release have some problems and I need to upgrade. Instead of usinf RPM, I'd like to build samba myself from the sourcecode. I already do that without problem but when installing binaries, lib and config files, it uses default installation directory (ie /usr/local/samba) instead of directory structure of previous 3.0.11 RPM installation. I look into packaging/Fedora/samba.spec to see ./configure options and tried this : ./configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc --with-privatedir=/etc/samba --enable-debug --with-quotas --with-ldapsam --with-smbmount but after installbin, log.smbd (which is not located in the right directory) says : 2005/04/19 10:38:54, 0] param/params.c:OpenConfFile(537) params.c:OpenConfFile() - Unable to open configuration file /usr/lib/smb.conf: No such file or directory log.smbd is installed in /var instead of /var/log/samba (from RPM installation). Can anyone give me the right parameters for Fedora Core. Thanks Best Regards. JiB. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Upgrading Samba
How easy would it be to upgrade?? Is it a simple matter of overwriting files, or is there more involved? We currently have ver. 2.2.7 and will probably upgrade to 3.0.14a soon... We would be compiling from source... Thanks -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Upgrading Samba
On Friday 15 April 2005 12:52, Jason Lavetan wrote: How easy would it be to upgrade?? Is it a simple matter of overwriting files, or is there more involved? We currently have ver. 2.2.7 and will probably upgrade to 3.0.14a soon... We would be compiling from source... Doesn't anyone read documentation? Sheesh! :-) Please refer to chapter 8 of the Samba-Guide. It is on-line at: http://www.samba.org/samba/docs/Samba-Guide.pdf This book has very recently been updated. I hope the instructions / guide-lines are adequately documented. If you find any difficulty please let me know. - John T. -- John H Terpstra Samba-Team Member Phone: +1 (650) 580-8668 Author: The Official Samba-3 HOWTO Reference Guide, ISBN: 0131453556 Samba-3 by Example, ISBN: 0131472216 Hardening Linux, ISBN: 0072254971 Other books in production. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] upgrading samba on a Xserver 10.2.8
Hi Can anyone advise me, I have a Mac OS 10.2.8 Server. The server is running Samba version 2. I need to upgrade to Samba version 3 because of windows XP problems. Is there a stand alone installer version of Samba V3 that I can download onto my Mac Xserver and install to update my version of Samba. I am new to the Samba world and know little about Samba any advise would be used. Regards Mark -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
RE: [Samba] upgrading samba on a Xserver 10.2.8
[EMAIL PROTECTED] wrote: Hi Can anyone advise me, I have a Mac OS 10.2.8 Server. The server is running Samba version 2. I need to upgrade to Samba version 3 because of windows XP problems. Is there a stand alone installer version of Samba V3 that I can download onto my Mac Xserver and install to update my version of Samba. I am new to the Samba world and know little about Samba any advise would be used. Regards Mark Upgrade the server software eg mac OS X server 10.3. there is no easy way for you to deal with the nasty hacks that Apple do to make Samba work with OS X. Upgrade your OS. Regards Geoff Scott -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Upgrading Samba Print Server
On Wed, 2004-12-29 at 13:55 -0500, Collins, Kevin wrote: This weekend I'm planning on replacing my exisiting Print Server with shiny new hardware. (YEA!!!) Is there any need for shiny new hard disks? But I'm concerned about the 50+ users that I have connected to the 10 printers this machine shares. Is there anything I need to do to make this a quick/easy/painless process? I know I'll have to re-create the printer definitions in the CUPS manager, which should be no problem. But I'm more concerned about having to touch every workststation *after* the upgrade to reconnect to the printers. I need to know whatever I need to avoid having to do that. Currently the server is running Red Hat Enterprise 3 + Samba 3.0.9 + CUPS and is a member server in my Samba+LDAP domain. I'm going to be replacing it with Debian Sid + Samba 3.0.10 + CUPS. I would suggest keeping your setup intact - either rsync your old machine to the new disks, or keep the old disks. This is the way to ensure nothing changes. But if you do wish to change OS, then just copy all the config files (Samba, CUPS), the Samba TDBs, and keep the same machine name. It should work :-) Andrew Bartlett -- Andrew Bartlett [EMAIL PROTECTED] Authentication Developer, Samba Teamhttp://samba.org Student Network Administrator, Hawker College [EMAIL PROTECTED] signature.asc Description: This is a digitally signed message part -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Upgrading Samba Print Server
This weekend I'm planning on replacing my exisiting Print Server with shiny new hardware. (YEA!!!) But I'm concerned about the 50+ users that I have connected to the 10 printers this machine shares. Is there anything I need to do to make this a quick/easy/painless process? I know I'll have to re-create the printer definitions in the CUPS manager, which should be no problem. But I'm more concerned about having to touch every workststation *after* the upgrade to reconnect to the printers. I need to know whatever I need to avoid having to do that. Currently the server is running Red Hat Enterprise 3 + Samba 3.0.9 + CUPS and is a member server in my Samba+LDAP domain. I'm going to be replacing it with Debian Sid + Samba 3.0.10 + CUPS. Any help, tidbits of wisdom, or other info will be welcomed... -- Kevin L. Collins, MCSE Systems Manager Nesbitt Engineering, Inc. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] upgrading samba
Hello, I'm looking to upgrade my Samba from 3.0.4 to 3.0.7. Samba is my PDC currently. Are there any issues that I need to be aware of before I upgrade? Will I need to re-join the domain after the upgrade? Rohan Gilchrist [EMAIL PROTECTED] http://www.e-mailme.org/~rohan/ 0412 648 909 *** This e-mail and any files transmitted with it are privileged and confidential information intended for the use of the addressee. The confidentiality and/or privilege in this e-mail is not waived, lost or destroyed if it has been transmitted to you in error. If you have received this e-mail in error you must: (a) not disseminate, copy or take any action in reliance on it; (b) please notify the sender immediately by return e-mail; and (c) please delete the original e-mail. Except as required by law, we do not represent, warrant and/or guarantee that the integrity of this communication has been maintained nor that the communication is free of errors, virus, interception, inference or interference. *** -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Upgrading Samba: minimum requirements for Samba wrtSolaris and gcc
John, Thank you very much! John P. Nelson [EMAIL PROTECTED] 01/08/04 03:43PM an on Solaris 8, the 'configure' step completes successfully, but 'make' seems to hang early: ... creating /home/troy/src/samba/samba-3.0.1/source/include/proto.h [it hangs here for hours if I let it] This problem occurs if /usr/ucb is in your path ahead of /usr/bin or /bin. I tracked this behavior into mkproto.sh: the problem is with the tr program in /usr/ucb. mkproto.sh uses tr in a pipeline like this: ... | tr ' ' '\n' | ... /usr/ucb/tr substitutes spaces with n characters, where /usr/bin/tr substitutes newlines. It makes a HUGE difference to what mkproto.sh is trying to do. Frankly, I recommend removing /usr/ucb from your path entirely. I followed your advise and this problem goes away. Thanks! I have had trouble compiling Samba version 3.0.1 with gcc version 2.8.1 on Solaris 2.5.1: $ ./configure checking for gcc... gcc checking for C compiler default output... cat: cannot open conftest.c configure: error: C compiler cannot create executables Something fundamental is broken. Look in config.log - the messages there may help you figure out what's going wrong. I looked there and cannot find what is wrong. :-( The file is located here: http://troy.jdmz.net/config.log My first guess would be that something is wrong with gcc: perhaps gcc really CAN'T create executables on this system: try doing a simple compile of a hello world C program. I can compile simple and complex programs, and Samba 2.2.8a (though that has the 'Broken pipe' problem). It's weird that configure can't report on the contents of conftest.c, though. It's almost like something else is wrong with the standard shell scripting tools on this system. I'd try removing any strange directories from your PATH, and try again. I have removed everything but /usr and /usr/bin from the PATH and still get this error. Thank you for helping me progress toward a solution! Thanks again, Troy Johnson P.S. - sorry the quoting is no good here. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Upgrading Samba: minimum requirements for Samba wrt Solaris and gcc
Greetings list! I have a older Samba (v 2.0.7) server compiled with an older gcc (v 2.8.1) running on an older Solaris (v 2.5.1). I would like to upgrade to a newer version of Samba. I have had trouble compiling Samba version 3.0.1 with gcc version 2.8.1 on Solaris 2.5.1: $ ./configure checking for gcc... gcc checking for C compiler default output... cat: cannot open conftest.c configure: error: C compiler cannot create executables an on Solaris 8, the 'configure' step completes successfully, but 'make' seems to hang early: % make Using FLAGS = -O -I./popt -Iinclude -I/home/troy/src/samba/samba-3.0.1/source/include -I/home/troy/src/samba/samba-3.0.1/source/ubiqx -I/home/troy/src/samba/samba-3.0.1/source/smbwrapper -I. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/troy/src/samba/samba-3.0.1/source LIBS = -lsec -lgen -lresolv -lsocket -lnsl -ldl LDSHFLAGS = -G LDFLAGS = Building include/proto.h creating /home/troy/src/samba/samba-3.0.1/source/include/proto.h [it hangs here for hours if I let it] I have successfully compiled Samba version 2.2.8a with gcc version 2.8.1 on Solaris 2.5.1, but I cannot successfully join the NT4 domain. The 'smbpasswd -j' command returns the text: Broken pipe and does the same on Solaris 8 (and gcc 2.8.1). I need to be able to join the NT4 domain right now, but I will want Samba to take over PDC duties soon. The current Samba here (2.0.7) doesn't provide group membership information to the two W2KS Citrix boxes here, so it isn't used as a PDC. Do I have to get a newer version of gcc to compile on Solaris 2.5.1? If so, what version would be best to move to? Or, do I have to upgrade Solaris to compile and run a newer Samba stably? If so, what would be the best choice right now. Does Solaris 9 have any advantage over 8 with regard to Samba serving? Thanks much for reading, Troy Johnson Samba Fan -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Upgrading Samba: minimum requirements for Samba wrt Solaris and gcc
an on Solaris 8, the 'configure' step completes successfully, but 'make' seems to hang early: ... creating /home/troy/src/samba/samba-3.0.1/source/include/proto.h [it hangs here for hours if I let it] Hey, I recognize this one! This problem occurs if /usr/ucb is in your path ahead of /usr/bin or /bin. I tracked this behavior into mkproto.sh: the problem is with the tr program in /usr/ucb. mkproto.sh uses tr in a pipeline like this: ... | tr ' ' '\n' | ... /usr/ucb/tr substitutes spaces with n characters, where /usr/bin/tr substitutes newlines. It makes a HUGE difference to what mkproto.sh is trying to do. Frankly, I recommend removing /usr/ucb from your path entirely. I have had trouble compiling Samba version 3.0.1 with gcc version 2.8.1 on Solaris 2.5.1: $ ./configure checking for gcc... gcc checking for C compiler default output... cat: cannot open conftest.c configure: error: C compiler cannot create executables Something fundamental is broken. Look in config.log - the messages there may help you figure out what's going wrong. My first guess would be that something is wrong with gcc: perhaps gcc really CAN'T create executables on this system: try doing a simple compile of a hello world C program. It's weird that configure can't report on the contents of conftest.c, though. It's almost like something else is wrong with the standard shell scripting tools on this system. I'd try removing any strange directories from your PATH, and try again. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] upgrading samba
hello all, how to uprade samba-2.2.4 to samba-2.2.8 on solaris9? thaks you. norah -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Upgrading Samba on AIX from 2.0.7 to 2.2.8
Can someone provide a reference to documentation, stating how to perform an upgrade of a working version of Samba (v2.0.7) on AIX to v2.2.8? I have found the info on an initial install, but would like to understand if there is a migration/upgrade path. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba