Re: [Samba] Upgrading samba 2.2.8a to 3.6.15 on Solaris 9 --> 3.6.15 brings all inetd services down

2013-09-17 Thread Laurent Blume


Hello,

Jordan Verschuer  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,



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

Re: [Samba] Upgrading samba 2.2.8a to 3.6.15 on Solaris 9 --> 3.6.15 brings all inetd services down

2013-09-16 Thread Marc Muehlfeld

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


Re: [Samba] Upgrading samba 3.3.x to 3.5.x old smbpasswd file and domainaccounts

2011-01-16 Thread Daniel Müller
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


Re: [Samba] Upgrading samba 3.3.x to 3.5.x old smbpasswd file and domainaccounts

2011-01-14 Thread Gaiseric Vandal
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

2010-10-21 Thread Clark Johnston

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

2010-10-20 Thread Daniel Müller
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 
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


Re: [Samba] Upgrading Samba-LDAP

2010-10-19 Thread John Drescher
> 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


Re: [Samba] Upgrading Samba

2010-05-24 Thread Steve Wolfe
  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
wrote:

> 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

2010-05-24 Thread Dale Schroeder

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

2010-05-24 Thread Gaiseric Vandal

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

2009-09-22 Thread Joel Franco Guzmán
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 :
> 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 :
>>
>>>
>>> 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

2009-09-22 Thread Bill Szkotnicki

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 :
  

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

2009-09-21 Thread Joel Franco Guzmán
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 :
> 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

2006-03-09 Thread dbm0572
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


Re: [Samba] Upgrading Samba

2005-04-15 Thread John H Terpstra
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


RE: [Samba] upgrading samba on a Xserver 10.2.8

2005-02-20 Thread Geoff Scott
[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

2005-01-01 Thread Andrew Bartlett
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

Re: [Samba] Upgrading Samba: minimum requirements for Samba wrtSolaris and gcc

2004-01-09 Thread Troy.A Johnson
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


Re: [Samba] Upgrading Samba: minimum requirements for Samba wrt Solaris and gcc

2004-01-08 Thread John P. Nelson
>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