Talkback for article: 247, May2002

Replacing a Windows NT/2000 server using Linux and SAMBA

Back to: http://cgi.linuxfocus.org/English/May2002/article247.shtml

From: Kelvin Chu <kelvin.chu(at)start.com.au> [ date: 2002-05-08 ]
Hi Guys
I've seen alot of posts on Using Samba to authenticate Windows 2000 machines, but does anyone know whether a Linux machine can be configured to join a Windows 2000 domain?

Thanks in advance

Kelvin
From: Reezon [ date: 2002-05-21 ]
Yes, it is possible, a Linux machine can be configured to join a Windows 2000 domain. Please look at sample file. This article contains the answer.
Viewing the sample configuration file, you can find the way to work when a PDC computer exists (not your Linux machine, it will be a simple client), and a way to use some parameters for authentication is explained.
You only need to think a little and solve the puzzle.
From: Sebastian Sasías <A Possible Mission> [ date: 2002-05-21 ]
Hi, Kelvin.
Your question is very interesting, and fortunately the answer is a big "YES".
I'll give you a very summarized answer.
When your Linux machine is connected to a "Windows based Network", you need to have two functions:
1- Access to shared resources in the network.
2- Share resources on your computer.
Function 1, can be obtained by using commands as "smbmount" (see man smbmount).
This command is useful for access to disk units or directories, shared by SMB, and requires
parameters as username, workgroup, password, etc.
Function 2, can be obtained installing a "simple SAMBA" in your computer, with needed configuration to share directories or printers.
If you need a GUI program, LinNeighborhood is very good.

Sebastian.
From: Tony Wang <tony(at)ms.ftt.com.tw> [ date: 2002-05-30 ]
Just FYI..

in the " smb.conf "

[Global]
security = domain

and you may add ur-samba-server to become a member of ur NT domain
so you may

1. in ur NT server, u should let ur-samba-pc be ur domain machine..
2. in ur-samba-server, u type command "smbpasswd -r ur-samba-server-name -j ur-NT-Domain"

and then ... u may find a file " MACHINE.SID " in /etc/samba or /etc (redhat 7.2 + samba 2.2.3)
but for samba 2.2.4 --- I am not sure...

and I thinks this is easy ....and "man" is very important
enjoy it....

From: Scott Wilson <swilson258(at)cox.net> [ date: 2002-07-05 ]
Interesting, I am wondering one the setup for the Linux box did you do the default server or custom setup? Yes Im a newbie..... I am trying to setup a Server/Client network at home, for learning purposes. Any additional Information you could pass along?

From: jacques <jacques(at)prism.co.za> [ date: 2002-07-09 ]
i've always been an avid user of samba, however, i think samba will only make a huge impact when it can live alongside other windows domain controllers and share/exchange user account info (SAM db's). i can tell you now, that as soon as that happens, a lot more sys admins will roll out samba, and slowly phase out m$ boxen. so i wish the samba developers good luck and a speedy release of the samba backup domain controller!

if you have any ideas with the above, i'd love to here your views/advice.

jacques
From: Chee Seng TOH <tohcs(at)yahoo.com> [ date: 2002-07-15 ]
Crisp illustration of Samba install!

btw, I am trying to configure Samba on FreeBSD but am unable to locate the file mksmbpasswd.sh, what is the contents?

secondly, from the article, if the users is deny shell access, how can the users change their domain login password?

Regards
Chee Seng
From: linzi <laixilgl(at)hotmail.com> [ date: 2002-08-05 ]
hi
i want to try to replacing Windows NT/2000 server using solaris8 and SAMBA,but what can i do to move users from nt4.0 to solaris
From: Sebastian [ date: 2002-08-08 ]
Use sam2passwd and passwd2sam utilities for SUN operating Systems (i.e: Solaris).
From: Oshcha <oskars.s(at)navigator.lv> [ date: 2002-08-19 ]
Hi, there is only one thing why I do not migrate from win2000 office server to linux server is problem of printing different languages, like Baltic and Cyrilic M$ documents, etc. If anyone has any suggestions, plz contact me:) Tnx
From: david rose <david.rose(at)mercer.com> [ date: 2002-09-06 ]
Hello all.
From a different point of view, I'm more used to Netware servers and NDS. I know NDS is similar to LDAP, and I also know that Linux RH can authenticate from a linux LDAP server. But all the articles I read regarding LDAP seem to think I want to put up an online rolodex. I want to use Linux, multi-servers as so many businesses have today, as the servers, and SAMBA as the file-share software, but I only want to have the user accounts in one 'directory' accessible to all servers such as NDS.

I know all these software packages are out there for linux, but I don't know how to string them all together. Also, I have the RPM version of Samba, but LDAP support only seems to be compiled in?

Anyone have some info on these points?

Dave
From: Shane <stapper(at)fmchosp.com> [ date: 2002-09-06 ]
Everytime I try and joing a W2K machine it states the domain does not exist. Everytime I try and browse to the pdc in the network neighborhood, of which i can see and can ping, i get a message network path cant be found. Suggestions?
From: Jonny Gent <gents(at)fbcc.com> [ date: 2002-09-07 ]
I use Samba to have multiple home computers have an NT login and have a shared and private drive. The windows computers run windows 98 and one runs a dual boot linux system. I had trouble getting everything to work until I purchased "SAMBA Unleashed" by Sams. A little pricey but what a reference. If you are having trouble I recommend purchasing it. The server also acts as my workstation and serves NFS to other computers. Very efficient service. I only notice degradation when my coping large > 30MB audio files around. The server is a K6 IBM Aptiva. No powerhorse by a long shot.

Strongly recommend this to anyone who wants to share resources and have a more secure login.
From: Keith Stewart <stewartkc1(at)comcast.net> [ date: 2002-09-10 ]
Very good article & just started running linux authentication for my win boxes. Clarification: Should "force create mask = 0777" actually be "force create mode = 0777" under the public section in the example? I get an 'Unknown parameter encountered: "force create mask"' when I run testparm.
Thanks

From: Guozhen Wang <gwang(at)mum.edu> [ date: 2002-11-03 ]
I want to set initial password "AaBbCc123" to a bunch of smb users. How to do that?
The samba user name are stored in file smbuserfile.
cat smbuserfile
smbuser1
smbuser2
smbuser3
smbuser4
smbuser5
...
smbuser100

From: silvester ho <advdata(at)ctimail3.com> [ date: 2002-12-04 ]
Hi, The example is excellent, self explaintory. However, I am using a very simple windows98 and Windows ME based networks. My server is Win98, but I want to replace by Linux. Please give me the smb.conf files.

Uregntly required by my boss

Thanks

From: dark <darkstar(at)caribsurf.com> [ date: 2002-12-13 ]
Hey...
I remember once setting up SAMBA as a PDC but i couldn't get the user script files to run on windows 2000 when the user was authenticated. Also can active directory be implemented on SAMBA?
From: javierr <javier.augusto(at)gmx.net> [ date: 2003-01-27 ]
Yes sure, i got one smb-tng+openldap running on my university's central library. it was a kinda pain in the a$$ but i learned a lotta new things regarding to ldap protocols and schemas.
btw, i think next generation of single-sign-on services will be based on ldap core.
From: Albert Au <albert(at)victorsure.com.hk> [ date: 2003-02-24 ]
It is possible to simulate Remote Access function of Windows 2000 Server with use of Linux + Samba. Please advice. Thank you in advance.

BR
From: manber <razmanoor(at)yahoo.com> [ date: 2003-03-16 ]
Hi there...
I read this article with great interest, and would like to apply it to my environment. Currently, I have 20 Win95 PCs logging onto a Novell server. These PCs will soon be replaced with new, WinXP-powered PCs. So there is this suggestion to eliminate the Novell server. My preliminary plan is to join these PCs to a single workgroup, and one of the PC will be a "storage server". Each PC will login locally, and a script will map some drives from the storage server. So far so good, until my friend told me that Windows workgroup is limited to 10 users. That makes me googling the Internet, and found this article. It seems that I have found an alternative. My question is:
1) Will this Samba solution solves my 10-user limitation?
2) Will there be some compatibility problem since I'm using XP?
Need your feedback. Thank you.
From: manber <razmanoor(at)yahoo.com> [ date: 2003-03-16 ]
Hi there...
I read this article with great interest, and would like to apply it to my environment. Currently, I have 20 Win95 PCs logging onto a Novell server. These PCs will soon be replaced with new, WinXP-powered PCs. So there is this suggestion to eliminate the Novell server. My preliminary plan is to join these PCs to a single workgroup, and one of the PC will be a "storage server". Each PC will login locally, and a script will map some drives from the storage server. So far so good, until my friend told me that Windows workgroup is limited to 10 users. That makes me googling the Internet, and found this article. It seems that I have found an alternative. My question is:
1) Will this Samba solution solves my 10-user limitation?
2) Will there be some compatibility problem since I'm using XP?
Need your feedback. Thank you.
From: Sebastian [ date: 2003-04-16 ]
1) You don't have this limitation with Samba
2) No, you don't have compatbility problems using WinXP, possibly some minimal configuration changes, but it works OK.
From: suresh kumar singh <sureshpardesi(at)yahoo.com> [ date: 2003-06-02 ]
I have near about 80 users of windows client , i want to add all the users in a single workgroup in linux(samba), can i do ?. Any limitation of samba users in samba workgroup in linux ?

From: imtiaz ahmad <imtiazuni(at)hotmail.com> [ date: 2004-09-08 ]
i have problem to configure a linux machine as File server for storage of
quota of users and my pdc is also of linux.if anyone can help me here that what changes i have to make in samba.
regards
imtiaz ahmad
From: abhinav <purwar_mca(at)yahoo.co.in> [ date: 2005-09-21 ]
hi i m using redhat-9 & configuring samba server for LAN. How can i see the Shared Files those name greater than 8 character

25 talkbacks in English
Other talkbacks:   Italiano Castellano Francais




Due to the increased amount of web spam we have deciced to removed the talkback posting possibility. You can read old talkbacks but you can no longer post new ones.

Back to http://cgi.linuxfocus.org/English/May2002/article247.shtml

Please contact webmaster(at)linuxfocus.org if you have any questions with regards to this talkback

lftalkback version 3.10