Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: WXP on September 21, 2001, 12:30:40 AM

Title: Samba 2.2 is missing in SME
Post by: WXP on September 21, 2001, 12:30:40 AM
Hey !

Why did you guys put samba 2.0 in SME ?!
I cant make my W2K PDC work !!

snif snif i'll have to wait for the next version probably...
Title: Re: Samba 2.2 is missing in SME
Post by: Timothée on September 21, 2001, 01:13:40 AM
Yeah...I also don't understand this...it isn't hard at all to put samba 2.2.x in e-smith, so why isn't it standard in this new release???
Title: Re: Samba 2.2 is missing in SME
Post by: Dan Brown on September 21, 2001, 01:39:55 AM
They've said it's because they didn't have time to test it sufficiently, but they intend to do it in the near future.
Title: Re: Samba 2.2 is missing in SME
Post by: Patrick Basile on September 21, 2001, 07:18:17 AM
Hello everyone,

First things first - I love e-smith 4.1.2!  I've been using it now for over a month, and have just completed my second server setup...the product is great!  (I'm downloading V5 tonight, so I'll give my 'two cents' on the new product tomorrow.)

Now the whining.  I just started going through the posts on this forum and the general forum.  When I saw this I thought..."This can't be true - would they really release V5 WITHOUT Samba 2.2.x?!?!"  Not enough time to test it in the new release???  C'mon...I've been using 4.1.2 with Samba 2.2.1a for a month or so, and it works great.

I don't buy that excuse!  I'm very dissapointed to hear this...VERY.

Regards,
Patrick
Title: Re: Samba 2.2 is missing in SME
Post by: WXP on September 21, 2001, 10:22:19 AM
Patrik

I can understand they didnt have time to test it.
You know, they are security problem they have to care about !!
Maybe samba 2.2 has some holes that noboby founds yet.. hackers could use this to crash your system.

But that's right i'm a bit disappointed... the locate command disappear.. php is an "old" version... in fact i'm thinking about keeping the 4.1.2 because it's stable and never had trouble with it.

I think the public release HAVE to be less attractive than the one which costs money...

Hope there will be a 5.1.1 with samba, php and and and...

That's strange.... they added command that I never used before but removed the one I use :((

See ya
Title: Re: Samba 2.2 is missing in SME
Post by: Dan Brown on September 21, 2001, 06:03:23 PM
OK, Patrick, you've been using 2.2.1a and it works great.  For that matter, so have I.  However, lots of people have been having trouble getting it to work properly as a PDC for Win2k, for no obvious reason that I can see.  To solve this takes time, and (they say) they didn't have that time.  If you've been using 2.2.1a anyway, just re-do the Samba upgrade after you install 5.0, and it should still work.
Title: Re: Samba 2.2 is missing in SME
Post by: Patrick Basile on September 21, 2001, 07:45:44 PM
Dan Brown wrote:
>
> OK, Patrick, you've been using 2.2.1a and it works great.
> For that matter, so have I.

I figured you have also had success with 2.2.1a, since I used your fantastic instructions on setting it up - thanks a lot! :)

> However, lots of people have
> been having trouble getting it to work properly as a PDC for
> Win2k, for no obvious reason that I can see.

I didn't realize "lots" of people were still having issues using their e-smith boxes as PDC's for NT/Win2k domains (with 2.2.1a).  In fact, the reason I had to upgrade to 2.2.1a was to allow my Win2k client machines to authenticate to the e-smith PDC.

> To solve this
> takes time, and (they say) they didn't have that time.

I think probably (as has been the case when I ran into trouble with a few things, ie HylaFax) most people just need to follow the instructions in more detail - based on my experience there is NO problem with 2.2.1a itself once it's installed correctly.

> If
> you've been using 2.2.1a anyway, just re-do the Samba upgrade
> after you install 5.0, and it should still work.

I downloaded the SME V5 ISO last night, now I need to figure out how to do the Upgrade to V5 from 4.1.2, and then like you say I will re-do Samba (just wish I didn't have to...guess that's my lazy side coming out!) :)

Thanks for your thoughts and contributions to e-smith, Dan - and all the rest of you out there that have made e-smith a great product.

Any thoughts on the new aXonLinux distro?

Regards,
Patrick
Title: Re: Samba 2.2 is missing in SME
Post by: WXP on September 21, 2001, 08:23:10 PM
>
> I think probably (as has been the case when I ran into
> trouble with a few things, ie HylaFax) most people just need
> to follow the instructions in more detail - based on my
> experience there is NO problem with 2.2.1a itself once it's
> installed correctly.
>

most people need to follow the instructions in more detail ?!

I tried to make a W2k PDC since the very beginning and i cant make it work.
Please believe me that it impossible for some reasons to make it work on my configuration.
I have to try it windows 2k is not the problem because I tried 6 installations of E-Smith 4.1.2 and Samba 2.2.1a and for the moment 1 installation of SME v5 and Samba 2.2.1a and it didnt work.....

And I can tell you I know linux so I'm doing any wrong things on the server side...


See you
Title: Re: Samba 2.2 is missing in SME
Post by: Patrick Basile on September 21, 2001, 09:01:39 PM
Okay, time to calm the rattled nerves...

WXP wrote:
> I tried to make a W2k PDC since the very beginning and i cant
> make it work.
> Please believe me that it impossible for some reasons to make
> it work on my configuration.

I believe you, and I'm sorry you can't seem to get your e-smith PDC's to authenticate your Win2k clients using 2.2.1a.

> I have to try it windows 2k is not the problem because I
> tried 6 installations of E-Smith 4.1.2 and Samba 2.2.1a and
> for the moment 1 installation of SME v5 and Samba 2.2.1a and
> it didnt work.....

However - It would seem there MUST be something wrong with your setup: 7 out of 7 installs...100% failure (!) doesn't add up.  Are you absolutely sure you are setting up 2.2.1a correctly?

> And I can tell you I know linux so I'm doing any wrong things
> on the server side...

I'm a Linux newbie and was able to get Win2k client authentication running with 2.2.1a, so if I can get it working I'd think a Linux expert would have less trouble.  This is not meant to be a slam, just a surprising point to note.

Good luck!

Regards,
Patrick
Title: Re: Samba 2.2 is missing in SME
Post by: WXP on September 21, 2001, 10:11:01 PM
>
> However - It would seem there MUST be something wrong with
> your setup: 7 out of 7 installs...100% failure (!) doesn't
> add up.  Are you absolutely sure you are setting up 2.2.1a
> correctly?

That's the trouble... I did exactly what Dan Brown wrote in his HowTo but it doesnt work..

>
> I'm a Linux newbie and was able to get Win2k client
> authentication running with 2.2.1a, so if I can get it
> working I'd think a Linux expert would have less trouble.
> This is not meant to be a slam, just a surprising point to
> note.
>

I'm not an expert at all.. Lets say I kow how to use it... I dont have any problem making changes to my system...

You have the newbies luck !! ;-)

See you
Title: Re: Samba 2.2 is missing in SME
Post by: Dan Brown on September 21, 2001, 11:18:38 PM
Patrick, it may or may not be user error; I'm not sure, and I'm not able to duplicate the problems myself.  However, I've gotten a number of reports of problems, and as near as I can tell, the people have followed the directions exactly.  It's possible that there's a bug in Samba that only comes up under certain conditions, and it's also possible that there's a bug in my howto.  In any case, it's not as cut and dried as it seems to appear to you.
Title: Re: Samba 2.2 is missing in SME
Post by: Kevin on September 22, 2001, 12:53:20 AM
I have setup Samba 2.21a on 2 servers so far using Dan's HOW-TO and haven't had any problems using it as a PDC for W2K.  The only thing I noticed is that on one client I upgraded W2K from SP1 to SP2 (to testing) it cannot find the roaming profile sometimes but usually a logoff and back on takes care of it. Sometimes it requires a reboot of the client.  The SP1 machines have never had this problem so far.

I probaly shouldn't use the roaming profiles, but it is a small office with all machines being virtually identical.
Title: Re: Samba 2.2 is missing in SME
Post by: Kelvin Lee on September 22, 2001, 02:41:35 AM
Hi all,

Just to add my two bits....

Like some of you, I had a W2K PC that absolutely refuses to log on to the ESSG domain in spite of all patches / updates, etc. Yet, this same W2K PC works perfectly well in all regards and with a NT and a W2K Server. Having worked with networks for the better part of the last 12 years, I can assure you there was nothing unusual about the W2K setup.

Not convinced that ESSG is broken, I bit the bullet and reinstalled a fresh copy of W2K Pro, applied SP2, etc. and tried logging on again, and guess what ? It works ! Can't really give any explanations, just thought I'd share this snippet of info.

Anyway, hope this helps.

Kelvin
Title: Re: Samba 2.2 is missing in SME
Post by: Joseph Morrison on September 22, 2001, 03:01:41 AM
Hello Patrick,

Patrick Basile wrote:
> First things first - I love e-smith 4.1.2!

Glad to hear it!

> Now the whining.  I just started going through the posts on
> this forum and the general forum.  When I saw this I
> thought..."This can't be true - would they really release V5
> WITHOUT Samba 2.2.x?!?!" Not enough time to test it in the
> new release???
> ...
> I don't buy that excuse!  I'm very dissapointed to hear
> this...VERY.

We do not make any excuses. If you look at our total offering - SME Server V5 and ServiceLink, you'll see that our development team has done an incredible amount of work in the last few months.

Our combination of a free open-source server together with subscription-based on-line services will enable us to generate the revenue required to be successful in business. This will provide us with the resources needed to continue developing the open-source server that you all enjoy free of charge.

We are not a charity. We prioritize our development tasks in order to succeed as a business. But if you are dissatisfied with our priorities, at least our commitment to open source gives you the freedom to code your favorite features yourself - and in most cases we will be delighted to maintain them.

Best regards,
- Joe Morrison, co-founder of e-smith
Title: Re: Samba 2.2 is missing in SME
Post by: WXP on September 22, 2001, 11:01:39 PM
Hi Kelvin Lee

Thank you for your intervention !

I was pretty sure the problem was on the the client side since I tried to make about 7 times my server a PDC. And never formatted my computer with W2k.

I'm trying this tomorrow I think ... I have to know :))
Title: Re: Samba 2.2 is missing in SME
Post by: Craig Foster on September 23, 2001, 10:34:01 AM
Following the instructions *very* carefully will get you very close to working. After that it's the full moon, ritual chicken sacrifice, etc.

As I understand it, that is why it's not in SMES 5.0000

And to demonstrate things, 2.2.1 works *very* well for me except for one thing during shutdown of W2KProSP2.

[2001/08/11 07:37:19, 0] rpc_server/srv_samr.c:api_samr_set_userinfo(672)
  api_samr_set_userinfo: Unable to unmarshall SAMR_Q_SET_USERINFO.
[2001/08/11 07:40:39, 0] rpc_server/srv_samr_nt.c:_samr_query_useraliases(2454)
  _samr_query_useraliases: Not yet implemented.
[2001/08/11 07:52:12, 0] smbd/nttrans.c:call_nt_transact_ioctl(1798)
  call_nt_transact_ioctl: Currently not implemented.
[2001/08/11 07:52:13, 0] rpc_server/srv_samr_nt.c:_samr_query_useraliases(2454)
  _samr_query_useraliases: Not yet implemented.
[2001/08/11 08:30:16, 0] smbd/open.c:open_directory(1044)
  open_directory: unable to create craigf/Application Data/Microsoft/Word/STARTUP. Error was No such file or directory
[2001/08/11 08:30:16, 0] smbd/open.c:open_directory(1044)
  open_directory: unable to create craigf/Application Data/Microsoft/Office/Recent. Error was No such file or directory
[2001/08/11 08:30:16, 0] smbd/open.c:open_directory(1044)
  open_directory: unable to create craigf/Application Data/Microsoft/SystemCertificates/My/CTLs. Error was No such file or directory
[2001/08/11 08:30:16, 0] smbd/open.c:open_directory(1044)
  open_directory: unable to create craigf/Application Data/Microsoft/Internet Explorer/Quick Launch. Error was No such file or directory
.
.
.
[2001/08/12 03:45:27, 0] rpc_server/srv_netlog.c:api_net_sam_logon(208)
  api_net_sam_logon: Failed to marshall NET_R_SAM_LOGON.
[2001/08/12 03:45:27, 0] rpc_server/srv_pipe.c:api_rpcTNP(1215)
  api_rpcTNP: api_netlog_rpc: NET_SAMLOGON failed.
[2001/08/12 03:45:50, 0] rpc_server/srv_samr_nt.c:_samr_query_useraliases(2454)
  _samr_query_useraliases: Not yet implemented.


And it comes up on the W2K machine as "Unable to save profile. Another program may be using files on your machine...etc"

Could you image the flak the SMES team would get if everybody with a Samba 2.2.1a problem would ask for help, also considering the move to shore-up income for Mitel?
Title: Re: Samba 2.2 is missing in SME
Post by: WXP on September 23, 2001, 03:49:19 PM
Here are some new stuff !

Someone told me to reinstall Windows 2000. I just did it..
At the end of the installation there was the "Network Identification Wizard"
I choosed the option : "This computer is part of a business network, and I
use it to
connect to other computers at work."
Then : "My compagny uses a network with a domain."
It asked me for my username and password and the domain.
I entered "pbrossin" / "mypassword" / server (which is the workgroup name
under e-smith)
And it told me : "Windows cannot find an account for your computer on the
SERVER domain."
And it asked me for a "Computer Name" and a "Computer Domain"
I put "WXP" and "SERVER"
Then it told me : "Type the name and password of an account with permission
to join the domain."
I entered : "root" / the password I choosed with "smbpasswd root" / and the
domain "SERVER"
it told me : "Your computer could not be joined to the domain because the
following error
occurred : The account used is a computer account. Use your global user
account or local user
account to access this server."

So it's not working... I installed a Fresh 4.1.2 server and upgraded Samba to
2.2.1a as dan brown say in his HowTo and Windows just got installed !

So I thought.. Humm maybe the server does not have an account for my
computer
I went on my server and typed "./machine-account-create
create-machine-account WXP"
and it told me : "Use of uninitialized value in string eq at
./machine-account-create line 47.
Account WXP is not a machine account; create account failed."
So I tried with wxp and not WXP
"Account wxp is not a machine account; create account failed."
no more "use of initialized ......"
That's a start..

I didnt go farther... I tried under Windows, after the installation but I
still get the error that it's a computer user account bla bla... or the Credentials error..

Any idea ?

Thank you !
Title: Re: Samba 2.2 is missing in SME
Post by: Kelvin Lee on September 23, 2001, 04:30:34 PM
Hello again.

Personally, when I reinstalled W2K Pro, I did not allow it to join the domain at the end of installation (at first boot after install). Instead, I chose to just configure the W2K Pro machine to be part of the default "WORKGROUP" workgroup. After I finished installing the base W2K Pro, I went through and did all the drivers, etc. followed by SP2. After all that, THEN I rebooted and from the desktop, right-clicked My Computer -> Properties -> Network Identification -> Properties.

Select the Domain radio button, then typed in my Domain name,  and hit OK. However, since I did this a while back, I can't remember whether I used the root account or the admin account as the account with permission to join the network. Try them both, I suppose. After that, it works straight away -> ie. I got the magical (and elusive) Welcome to the XXXXXX domain message.

Best of luck !

Unfortunately, some of this is still pretty much plug and pray at the moment :)
Title: Re: Samba 2.2 is missing in SME
Post by: WXP on September 23, 2001, 04:48:57 PM
>
> Try them both, I suppose. After that, it works straight away
> -> ie. I got the magical (and elusive) Welcome to the XXXXXX
> domain message.
>

I will never have that fucking message... Windows 2000 doesnt care if you did the Service Pack update... it doesnt care if you try to join a domain at first boot or when you are installing it... it doesnt care of any drivers...

I just reinstalled my network !! and properly...

What I am trying to say is that something is missing on the server side.. It's not working any better now.

I even tried to install SME5 and the samba upgrade and it didnt work.

I dont think the Service Pack upgrade does anything in the domain problem.
Neither when you are trying to join it..

Damn if I could ask god why is wrong !!!! I'm fed up with that @!#$ now... really....

I think I'm gonna install a NT4 PDC and try to connect my computer to it.. if it works, it's a samba or e-smith problem...
Title: Re: Samba 2.2 is missing in SME
Post by: Kelvin Lee on September 23, 2001, 05:18:09 PM
> I will never have that fucking message...

Like you, when I couldn't get my W2K machine to logon to the e-smith domain originally,  I was fairly dissappointed (yes, dissappointed but not totally unprepared for it because, I can remember back when NT 4 PCs could not logon to samba servers either).

> Windows 2000 doesnt care if you did the Service Pack update... it doesnt care
> if you try to join a domain at first boot or when you are installing it... it doesnt
> care of any drivers...

Aahh yes, W2K doesn't care.... but then again, we're not talking about a W2K or an NT 4 Domain either now are we ....

In any case, if you read my post properly, I did not say you HAD to do it this way. I only said that this is the way I did it.


> I just reinstalled my network !! and properly...
>
> What I am trying to say is that something is missing on the server side.. It's not
> working any better now.

And I have no reason to not believe you.

> I dont think the Service Pack upgrade does anything in the domain problem.

Yes it does. If you are using SP2, you MUST use the latest samba upgrade, and yes, I know you have put it in.


> Neither when you are trying to join it..

Cannot confirm this. Like I said, this is NOT a W2K or NT 4 PDC. My first post clearly indicated that my original W2K machine had absolutely no problems loging on to either an NT 4 PDC or a W2K Server. However, it will not log on to the e-smith server even after the samba upgrade not matter which How-To I followed. It wasn't until I reformatted and reinstalled W2K that it successfully logs on to e-smith now (Without changing e-smith in anyway since my initial failed attempts).


> I think I'm gonna install a NT4 PDC and try to connect my computer to it.. if it
> works, it's a samba or e-smith problem...

Oh, I'm pretty sure it's a samba issue (Samba team, please don't flame me). Considering Microsoft was never too open or forthcoming with the internal workings of their networking system to begin with, it's just about a miracle at all that you are even able to connect and share files from a Linux PC let alone make it emulate a domain controller - hats off to you Samba team. After all why should W2K's logon pre-SP2 be any different to it's logon after SP2, yet it is ......


All I can say is persistence and patience worked for me. That is not to say that it will for you, of course, but a little bit of both really does not hurt.
Title: Re: Samba 2.2 is missing in SME
Post by: WXP on September 23, 2001, 05:26:47 PM
>
> Aahh yes, W2K doesn't care.... but then again, we're not
> talking about a W2K or an NT 4 Domain either now are we ....
>

I'm downloading it....
 
> In any case, if you read my post properly, I did not say you
> HAD to do it this way. I only said that this is the way I did
> it.
>

I know I know... I'm just trying to know where the problem..
I dont want to try upgrading stuff and reinstalling.. I need that PDC really fast...

>
> All I can say is persistence and patience worked for me. That
> is not to say that it will for you, of course, but a little
> bit of both really does not hurt.
>

You know, it's been a long while I'm trying to do this.. so i think I wont have patience anymore .. since it's doesnt work... it's doesnt WANT to work because some people like you just got it working...

I'm lost in the PDC world... oouuuuuhhhhhhhh
Title: Re: Samba 2.2 is missing in SME
Post by: WXP on September 23, 2001, 06:15:48 PM
[root@server /]# /sbin/e-smith/db accounts set wxp machine
[root@server /]# /etc/e-smith/events/actions/machine-account-create
machine-create wxp
Changing password for user wxp
Locking password for user wxp
passwd: Success
Added user wxp$.

And guess what !!! IT WORK !!!!!!!!!!

YEESSS FINALLY I GOT IT WORK !!!

YEAH YEAH YEAH YEAH YEAH YEAH YEAH
YEAH YEAH YEAH YEAH YEAH YEAH YEAH
YEAH YEAH YEAH YEAH YEAH YEAH YEAH
YEAH YEAH YEAH YEAH YEAH YEAH YEAH
YEAH YEAH YEAH YEAH YEAH YEAH YEAH
YEAH YEAH YEAH YEAH YEAH YEAH YEAH
YEAH YEAH YEAH YEAH YEAH YEAH YEAH
YEAH YEAH YEAH YEAH YEAH YEAH YEAH
YEAH YEAH YEAH YEAH YEAH YEAH YEAH
YEAH YEAH YEAH YEAH YEAH YEAH YEAH

oh yeah :)

Thanx to Dan Brown because it took time to help !!!! THANK YOU VERY MUCH DUDE !!

And thanx to every people that told me that It will work someday !!!

You were right Kevin !! LoL
Title: Re: Samba 2.2 is missing in SME
Post by: Dan Brown on September 23, 2001, 06:36:15 PM
Cool, glad to hear it's working!
Title: Re: Samba 2.2 is missing in SME
Post by: WXP on September 23, 2001, 06:54:46 PM
I just have one problem.

When I log off, I get this error :

Windows cannot update your roaming profile. Contact your network administrator (Yes i am :-)
DETAIL - The process cannot access the file because another process has locked a portion of the file.

Does it means my files are saved localy and not on the server ?!

Thanks
Title: Re: Samba 2.2 is missing in SME
Post by: Dan Brown on September 23, 2001, 07:06:34 PM
Your computer is trying to save your profile (desktop settings, etc.) on the server, but didn't succeed.  You can either use local (non-roaming) profiles (don't know how to do this), or set strict locking=no in smb.conf.
Title: Re: Samba 2.2 is missing in SME
Post by: WXP on September 23, 2001, 07:14:29 PM
> or set strict locking=no in smb.conf.

what does this option do ?

And why does he have problem to save my profile.
That's why I wanted a PDC :)
I want to be able to format my HD and to have my background picture, internet explorer favorites.. everything back
or to be able to log on any computer in my house and have my profile..
Title: Re: Samba 2.2 is missing in SME
Post by: Craig Foster on September 23, 2001, 07:21:04 PM
To convert a roaming profile to local, right-click on My computer, choose properties from the menu, select the User Profiles tab. This should list the profiles on your machine.

Choose the DOMAIN\username (which should already mention Roaming) and click the Change-Type button at the bottom of the dialog box.

Done.

Regards,

Craig Foster
Title: Re: Samba 2.2 is missing in SME
Post by: WXP on September 23, 2001, 08:05:02 PM
What does it change ?

If I format my computer.. and then relog to my account, am I gonna have all my stuff... like internet explorer favorite and my desktop background ?

Can I log on another computer which is connecte to the domain and have my stuff as well ?

Or are they saved locally ?

Thanx
Title: Re: Samba 2.2 is missing in SME
Post by: Oreo on November 24, 2001, 10:17:16 PM
There's something strange with samba and my computer...

It says the same error but it saves the files on my server anyways...

Could you please help me to get rid of this box?

PS: I installed Service Pack I, and also it takes like 10 to 20 seconds to log in and off, but at the school where I go, they use a Win 2000 Server, and it takes like 5 seconds to do the same...