Windows 2000 and Samba

When my Windows 2000 tries to connect to my Linux computer using samba, I get the error :

System error 1727 has occurred.

The remote procedure call failed and did not execute.

I also have a windows 95 computer and this worked just fine. I already tried to set password encyryption in samba to yes. But this didn't work. I tried to change the windows registry to set off password encryption but this won't work either.


LVL 2
evertdAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

j2Commented:
set NT SMB = NO in smb.conf worked for me. ANd you WILL have to use encrypted passwords with Win2000.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
EatEmAndSmileCommented:
1) You SHOULDN'T use encrypted passwords. The gurus of the Samba project themselves don't recommend it. You can apply a little registry patch on your Win2000 box that you'll probably find under /usr/doc/samba*

 2) Make sure your network settings are very basic for testing. Include only the TCP/IP protocol (should be the only you need) and disable everything's unuseful, such as WINS, DHCP, all that MS stuff...

 Good luck!
0
EatEmAndSmileCommented:
By the way: Your Win 95 worked because older versions of 95 use non-encrypted passwords. But if you ever install one of the latest Win 95 versions you'll need one registry patch for it that can be also found under /usr/doc/samba*

 Later.
0
The Ultimate Tool Kit for Technolgy Solution Provi

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy for valuable how-to assets including sample agreements, checklists, flowcharts, and more!

evertdAuthor Commented:
I already tried to change the registry of windows 2000 but that didn't fix the probleme with the "remote procedure call" only another problem I get before with "access denied"
0
evertdAuthor Commented:
I also tried windows nt4.0 with service pack 6a and windows 98 and both worked without problems only windows 2000 gets errors.
0
EatEmAndSmileCommented:
That's why I asked you to check your network settings... Make sure you haven't installed any protocols that could be conflicting... Also make sure the name of your machine and workgroup are correct. Note that in 2000 these settings are located under the "System" section, not under the Network section.
0
j2Commented:
Eatem and smile: Do you REALLY want your passwords sent in plain text? Thats is so unbeleivable dumb.

ANd also note that browsing samba shares win win2k doesnt work as of yet. But if you add the shar in "network places" (or what it might be called in english) everything works just fine.
0
evertdAuthor Commented:
Why is it dumb??? The only persons who can access is my brother and myself!!!
0
j2Commented:
Well, connect to the net and you have a great reason, set up a fake smb-auth-query and your system will gladly send your logon password in clear text, as it will try to logon with those credentials by default. And since setting samba up to do crypted passwords only takes 2 minutes more then patching the registry, it well worth the effort.
0
evertdAuthor Commented:
Yes, but my network is behind a linux firewall. So it is impossible to break in. But that was not my question!!!
0
j2Commented:
Impossible? Hardly.

But anyway, as i said

NT SMB = No in smb.conf

and then add the shares in "my network places" BROWSING samba shares with win2k doesnt work, since samba is not yet fully compatible with W2k.
0
EatEmAndSmileCommented:
Connect to the net with something shared through a MS network? Now that's something unbelievable dumb. Man, the only way to transfer files through the net I have confidence on is FTP and it does the job so well I just don't think about other ways...

 The Samba server with registry patch solution is for local networks, prefferably with fake IP's that connect to the net only through a gateway and optimally with a proxy server. Also note that this should be ok for Winblows stuff, while the real important stuff is stored on a Linux box with no Samba sharings.
0
evertdAuthor Commented:
Yes I know but it is not so much a problem. But will "net view \\samba_server" work ???
0
evertdAuthor Commented:
Hee.... I am using a firewall... so this means that my iwndows 2000 machien is not directely connected to the net.
0
EatEmAndSmileCommented:
Never tried it! I usually install Samba for users that not surprisingly don't like the DOS prompt. It's not shocking that they're Winblows users! :)
0
j2Commented:
SCP beats ftp hands down, and is encrypted ;)

No, net view will not work until samba is Win2k compatible.

Let me guess, the machine that runs your 'firewall' is also your samba server? If so, you are in effect storing plain text passwords on your firewall.. now THATS a security breach.

I am on the admin staff for something like 400 samba servers, and close to 900, NT servers, and close to 6000 Workstations of various kinds. I think i have a fair amount of experience backing my statements.
0
evertdAuthor Commented:
I don't mind the security risks I think it safe enough just for my home network.

But can you tell me how to access the samba server from my win2000 machine.

After that I give you the points.
0
j2Commented:
.but i have a feeling samba will be up to speed soon enough, i mean, after all IBM alone ordered 400.000(!) windows2000 licenses.
0
j2Commented:
i told you.

1. Set NT SMB = no in smb.conf
2. Add the shares to drivemappings in "my network places" on windows2000 after that you have access to the shares.

You can map, but you cannot browse.
0
EatEmAndSmileCommented:
evertd: Seems like accessing Samba sharings through Winblows 2000 is not that fully implemented yet. What about using that Winblows utility called "Network Folders" and access the Linux box through plain FTP? That wouldn't hurt... I think it would be a good try.

 Good luck!
0
evertdAuthor Commented:
oke,
0
EatEmAndSmileCommented:
You could try mapping the network drive... Maybe this would force Winblows to find the sharing... Just a thought... It worked when I had a sub-network without WINS server.
0
j2Commented:
You know, thats exactly what i SAID he should do. But it has changed names to "my network places" in win2k due to the nature of the "flat file system"
0
EatEmAndSmileCommented:
Sorry, didn't notice it. By the way, could you tell me about this "flat file system"? Is it the name of that virtual filesystem Microsoft uses inside the Windows system? I mean, like Desktop folders, My Computer, etc...

 Thanks!
0
j2Commented:
No, win2k has "gone unix" that is you dont need drive letters, you can mount a drive in any directory etc etc etc. So there is a lot of new terminology in w2k.

so i basically have a (to talk *nix)

\mnt\music on my win2k

that infact is a mapping to /mnt/md0/mp3 on my sambaserving linux. works like a charm.
0
EatEmAndSmileCommented:
Very cool, man... I believe MS has read my e-mails!! :)

 Thanks for the info!
0
j2Commented:
I'm NOT saying that it is as flexible as a *NIX filesystem, but it is a huuuge leap for Win.
0
EatEmAndSmileCommented:
Suuuuure... You know, I've never made it to the Windows 2000 series. In the Windows 98 era I was already migrating all of my systems to Linux. At home, there's only Linux. At work, the same. My customers, Linux, or too little Windows. So I couldn't evaluate it yet. And to be sincere, I don't care! :)
0
evertdAuthor Commented:
Cool for you!
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.