Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Samba and WinNT Network 1

Status
Not open for further replies.

Sim

Programmer
Jul 25, 2000
5
FR
Sorry I know my english is not the best :-/<br>
<br>
One Question: how I can a Linux Server (SuSE 6.4) integrate into a Win NT Network with Domain concept??<br>
<br>
Is it possible?<br>
<br>
SiM
 
It probably is if I'm understanding you correctly.&nbsp;&nbsp;If I understand you correctly, you're trying to ask whether you can have a NT machine running as a DNS server alongside a Linux machine (i.e. cluster).&nbsp;&nbsp;This is probably a better question for Linux(server), but I will try to help you as much as I can.&nbsp;&nbsp;I don't exactly have the information on hand right now, but I will get back to you. <p>REH<br><a href=mailto:hawkdogg@crosswinds.net>hawkdogg@crosswinds.net</a><br><a href= by Linux</a><br>Learn Linux and Leave out the Windows :)
 
Hi ndogg,<br><br>you are right, that I have mean. Yeah sorry my english is not the best&nbsp;&nbsp;:eek:(<br><br>Any help is greatly appreciated.&nbsp;&nbsp;<br><br><br>Windows sucks!! but I have to work with it. <br>
 
Hi, may be you can use Samba. Samba is a Server and a Client for CIFS/SMB, and it supports NT Domains. I use Samba as a file server for Windows9x/NT machines. You can gather more info on <A HREF=" TARGET="_new"> Get there, it may be your better solution.

Fernando Maior
CNI, CNE and Linux
 
Mr. Maior,<br>Using Samba, can one store word, excel, docs etc. on the linux box and use the linux box(es) as your sole servers and use W98/NT machines for all your clients?<br>(best of both worlds- 1) users are not confused 2) cheap but more reliable servers!!!<br>Shlomo Nissenbaum&nbsp;&nbsp;MCSE
 
Yup, that is right.<br><br>Samba can become a transparent file sharing server si that it runs over IP networking as if it were an NT Server or any other file sharing server come to that.<br><br>But because the architecture is more robust and the processor required is significantly less, you get a better server for your money and additionally you do not get licensing problems when you access it - cf NT Server which costs 30 per seat.
 
Yes it is possible. Firstly setup a Linux server with Samba and then make sure you create a sample user on the Windows NT Server. We will call it &quot;samba01&quot; as a trial user.<br><br>Next, after setting-up the Linux server, install Samba and configure the samba configuration file in &quot;/etc/smb.conf&quot;.<br><br>Use this simple script I used.<br><br>[global]<br>&nbsp;&nbsp;&nbsp;workgroup = YourWorkGroupName<br>&nbsp;&nbsp;&nbsp;netbios name = AnyNameYouWant<br>&nbsp;&nbsp;&nbsp;server string = EnterCommentHere<br>&nbsp;&nbsp;&nbsp;guest account = nobody<br>&nbsp;&nbsp;&nbsp;keep alive = 30<br>&nbsp;&nbsp;&nbsp;os level = 33<br>&nbsp;&nbsp;&nbsp;socket options = TCP_NODELAY<br>&nbsp;&nbsp;&nbsp;announce as = Samba Server<br>&nbsp;&nbsp;&nbsp;announce version = 4.2<br>&nbsp;&nbsp;&nbsp;mangle case = no<br>&nbsp;&nbsp;&nbsp;case sensitive = no<br>&nbsp;&nbsp;&nbsp;default case = lower<br>&nbsp;&nbsp;&nbsp;preserve case = yes<br>&nbsp;&nbsp;&nbsp;encrypt passwords = yes<br>&nbsp;&nbsp;&nbsp;valid users = users @staff<br><br>; Uncomment the following, if you want to use an existing<br>; NT-Server to authenticate users, but don't forget that<br>; you also have to create them locally!!!<br><br>; security = server<br>; password server = enter ip_address here<br>; encrypt passwords = yes<br><br>; Printers<br><br>&nbsp;&nbsp;&nbsp;printing = bsd<br>&nbsp;&nbsp;&nbsp;printcap name = /etc/printcap<br>&nbsp;&nbsp;&nbsp;load printers = yes/no<br>&nbsp;&nbsp;&nbsp;socket options = TCP_NODELAY<br>&nbsp;&nbsp;&nbsp;map to guest = Bad User<br><br><br>; Uncomment this, if you want to integrate your server<br>; into an existing net e.g. with NT-WS to prevent nettraffic<br><br>&nbsp;&nbsp;&nbsp;;local master = no<br><br>; Please uncomment the following entry and replace the<br>; ip number and netmask with the correct numbers for<br>; your ethernet interface.<br><br>; Please uncomment the following entry and replace the<br>; ip number and netmask with the correct numbers for<br>; your ethernet interface.<br><br>&nbsp;&nbsp;&nbsp;;interfaces = eth0 192.168.1.2/24 192.168.1.2/255.255.255.0<br><br>; If you want Samba to act as a wins server, please set<br>; 'wins support = yes'<br><br>&nbsp;&nbsp;&nbsp;; wins support = yes<br><br>; If you want Samba to use an existing wins server,<br>; please uncomment the following line and replace<br>; the dummy with the wins server's ip number.<br><br>&nbsp;&nbsp;; wins server = 192.168.1.2<br><br>; Do you wan't samba to act as a logon-server for<br>; your windows 95/98 clients, so uncomment the<br>; following:<br><br>&nbsp;&nbsp;&nbsp;logon script = %U.bat<br>&nbsp;&nbsp;&nbsp;domain logons = yes<br>&nbsp;&nbsp;&nbsp;domain master = yes<br><br>[netlogon]<br>&nbsp;&nbsp;&nbsp;path = /netlogon<br><br>[homes]<br>&nbsp;&nbsp;&nbsp;comment = Users Home Folder<br>&nbsp;&nbsp;&nbsp;path = /home<br>&nbsp;&nbsp;&nbsp;browseable = no<br>&nbsp;&nbsp;&nbsp;read only = no<br>&nbsp;&nbsp;&nbsp;writeable = yes<br>&nbsp;&nbsp;&nbsp;create mask = 0750<br><br>[tmp]<br>&nbsp;&nbsp;&nbsp;comment = Swap Space<br>&nbsp;&nbsp;&nbsp;path = /tmp<br>&nbsp;&nbsp;&nbsp;read only = No<br>&nbsp;&nbsp;&nbsp;guest ok = Yes<br><br>; The following share gives all users access to the Server's CD drive,<br>; assuming it is mounted under /cd. To enable this share, please remove<br>; the semicolons before the lines<br><br>[cdrom]<br>&nbsp;&nbsp;&nbsp;comment = Linux CD-ROM<br>&nbsp;&nbsp;&nbsp;path = /cd<br>&nbsp;&nbsp;&nbsp;read only = yes<br>&nbsp;&nbsp;&nbsp;locking = no<br><br>[printers]<br>&nbsp;&nbsp;&nbsp;comment = All Printers<br>&nbsp;&nbsp;&nbsp;browseable = yes<br>&nbsp;&nbsp;&nbsp;printable = yes<br>&nbsp;&nbsp;&nbsp;public = yes<br>&nbsp;&nbsp;&nbsp;read only = yes<br>&nbsp;&nbsp;&nbsp;create mode = 0700<br>&nbsp;&nbsp;&nbsp;directory = /tmp<br><br>[public]<br>&nbsp;&nbsp;&nbsp;comment = WizShare Shared Files<br>&nbsp;&nbsp;&nbsp;path = /home/samba<br>&nbsp;&nbsp;&nbsp;write list = @staff<br>&nbsp;&nbsp;&nbsp;read only = No<br>&nbsp;&nbsp;&nbsp;force create mode = 0777<br>&nbsp;&nbsp;&nbsp;force directory mode = 0777<br>&nbsp;&nbsp;&nbsp;guest ok = Yes<br><br>Once done, create a Samba user by executing;<br><br>/usr/bin/smbpasswd -a samba01<br><br>put in the password and then configure your Windows client WORKGROUP and DOMAIN login names and you are done.<br><br>--Moonshi
 
Hi guys,<br><br>I'm a lan manager and i started a Samba server in my office with (acctualy) 4 clients running Windows 98. In the samba log (log.smb) appears some lines like this :<br><br>[2000/07/05 18:44:47, 0] smbd/service.c:make_connection(209)<br>&nbsp;&nbsp;apoio1 (172.20.194.14) couldn't find service fernando<br><br>&nbsp;&nbsp;&nbsp;where apoio1 is the name of my machine and fernando is my login. There are dozens of lines but it seems not to affect the network. But when i try to copy a big archive there appears this error :<br><br>[2000/07/05 22:49:24, 0] lib/util_sock.c:write_socket_data(537)<br>&nbsp;&nbsp;write_socket_data: write failure. Error = Broken pipe<br>[2000/07/05 22:49:24, 0] lib/util_sock.c:write_socket(563)<br>&nbsp;&nbsp;write_socket: Error writing 4 bytes to socket 5: ERRNO = Broken pipe<br>[2000/07/05 22:49:24, 0] lib/util_sock.c:send_smb(751)<br>&nbsp;&nbsp;Error writing 4 bytes to client. -1. Exiting<br><br>&nbsp;&nbsp;&nbsp;And i don't know what to do to correct this error !<br><br>&nbsp;&nbsp;&nbsp;Can anyone here give me some tips ?<br><br>&nbsp;&nbsp;&nbsp;Thanks,<br><br>&nbsp;&nbsp;&nbsp;Fernando Lemes / Brazil<br>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top