Roopinder Randhawa
1999-May-21 20:06 UTC
Multiple workgroups using SAMBA in a single domain
Dear people at the samba organization, I wish to create multiple workgroups using SAMBA in a single domain on a LINUX Box. The linux box is also the primary domain controller. Please enlist me the procedure and mail to me as soon as possible. Thanking you in advance Sincerely Roopinder Randhawa.
On 22 May 99, Roopinder Randhawa <jat50b@vlink.kharkov.ua> had questions about Multiple workgroups using SAMBA in a single domain:> I wish to create multiple workgroups using SAMBA in a single domain on a > LINUX Box. The linux box is also the primary domain controller.> Please enlist me the procedure and mail to me as soon as possible.One linux/samba server per workgroup (as local master browsers) all pointing to your samba PDC as WINS/password server and PDC. You're done! Steve ************************************************************* Steve Arnold http://www.rain.org/~sarnold Conserving bandwidth (and belly-button lint...)
On 22 May 99, Lajtos <ersziker@mail.matav.hu> had questions about SAMBA 1.9.18p10 performance:> iv. The main thing: > I changed from Novell Netware to Samba.The amount of performance > loss was huge. Something must be very wrong, because I use > the same hardware as 'under' Netware. I paid attention to > everything about performance in 'man smb.conf' and smb HowTo > and result is the same, it's unimaginably slow.> I think there's some problem at the clients' side (I had to > change to TCP/IP from IPX/SPX), WHAT CAN IT BE?I assume you removed all the Netware client stuff, protocols, etc (and don't use NetBlooie either)? I had originally had a "performance" problem (of sorts) with that version, and it turned out to be the RWIN setting on the Win95 clients (the ones who were optimized for DUN performance). Have you also looked at the Speed.txt docs? In my case, things started working fine when I dropped RWIN from 8xMSS to 4xMSS (ie, 4288 to 2144), which is the opposite way across the 3072 byte threshold mentioned in the doc. Go figure. Of course, your problem could be completely unrelated... Steve ************************************************************* Steve Arnold http://www.rain.org/~sarnold Linux: It's not just for nerds anymore...
On 22 May 99, Nicholas Tang <ntang@rga.com> had questions about SMBSH: [snip]> browse... I tried cd'ing into /smb and ls'ing and got nothing. > Do I have to be running smb on the machine? Is there any way > to avoid that? I don't want to run smbd on every linux workstation > just so they can browse the network. I guess I'd have to, though, > otherwise it wouldn't know where to go to browse.I would think you'd need the smbfs support in the kernel, but you shouldn't need to run smbd/nmbd (unless you need to define shares, be a WINS server, etc). It should work via NetBIOS broadcast...> Ah well, time to start playing.Don't let me stop you. It's the best way to figure out how things really work... Steve ************************************************************* Steve Arnold http://www.rain.org/~sarnold "A mime is a terrible thing to waste..." Mel Brooks
On 22 May 99, Michal Jezierski <heja@xox.pl> had questions about Speed problems: [snip]> I have tested the speed with xfertest (from samba.org site), run on > print server, transferring 2 MB file back and forth to the main server. > These are the results: > > ftp: > get 400 kb/s, put 900 kb/s > > Samba: > get 300 kb/s, put 500 kb/s > > So this doesn't look like a hardware problem.Considering the speed/stability of the linux TCP/IP stack, and the fact that the speeds above are about half of what you should be getting, I can only suspect a marginal hardware implementation. But unless you can test it with different NICs it's hard to say... Sorry, Steve ************************************************************* Steve Arnold sarnold@earthling.net http://www.rain.org/~sarnold This message composed of 100% recycled electrons. You should also recycle yourself. Become an organ donor 8-)
ANA GIRON wrote:> > > > Hello, > > I unfortunately am not a systems person but I'm trying to use Samba to > > connect my linux box to two Win95 PC's. I am now able to print from my > Linux box to my PC printer and now I'm trying to browse the Linux box from > my PC. I can see my Samba server (the Linux box) in my Network > Neighborhood. But when I click on it I get an error saying that the > computer is not recieving requests. In a DOS shell using net view, I get > an error 51: The computer is not recieving requests...> I've gone through the diagnostics in John Blairs Samba book and can > ping, nmbd runs correctly, my netbios name can be resolved etc. etc. The > only thing that doesn't work is > smbclient -L SAMBASERVER -U '' -N > I get a session request failed.What about the "hosts allow" parameter in smb.conf? You need both the real IP address/netmask of the host, as well as the loopback address. Steve The Samba digest just isn't complete without the strains of KC's Great Deceiver live stuff from 73-74... (no I'm not stuck in the past, but I can recognize greatness when I hear it :-) ************************************************************* Steve Arnold http://www.rain.org/~sarnold Fatal exception error: (A)bort, (R)etry, (F)lush Windoze...
On 22 May 99, <khoogc@singnet.com.sg> had questions about unable to log on to server:> 2. Server is a RH5.2 with shadow passwd and samba-2.0.3 and has the line > > 192.168.0.1 orchid.khoo.lgl orchid > > in /etc/hostsDoes the RH box connect to the outside world (eg, ip_masq)? If so, then you should reverse the name order above: 192.168.0.1 orchid orchid.khoo.lgl Unless you have FQDNs in the host table, or you're running your own private DNS, etc.> 3. Client is a windows 3.1 with Lanman 2.2 and given the name shenton > with > ID 192.168.0.11Just a thought - could you make the client a linux box and use dosemu/wine? [snip> 5. When I issue the net command, I can only see *Local*------Shenton > listedI assume you mean Net View, Net Use, etc? [snip]> 5. If I go to the view -> users on a domain menu, I see > > error > The domain controller for domain MYGROUP could not be foundAre you running samba as a PDC, or is it just defaulting to the workgroup name? Maybe you need to turn off the win31 domain login stuff.> 6. If I log off and then log in again I see > > successful login > > effective username :Richard > Logon server :\\orchid > > last logon : NEVER > must log off by : NEVERDoes it work at this point (ie, after the second login)? Since samba seems to recognize the first login (but the client doesn't), samba may be responding to the login in a way that win31 doesn't understand. It looks like you may need to "dumb down" samba; I believe you can set the protocol in smb.conf (ie, to some appropriate lanman version instead of NT1, etc). Hope this helps, Steve ************************************************ Steve Arnold CLE (Certifiable Linux Evangelist) http://www.rain.org/~sarnold
On 22 May 99, "Sean E. Millichamp" <sean@compu-aid.com> had questions about Samba/RH6.0 file locking problems?: [snip]> The big differences in the two systems as I see them are that the old > one was running Linux 2.0.36 and glibc 2.0 and the new one is running > Linux 2.2.9 and glibc 2.1. The hardware is even almost exactly the same. > > Could there be any issues with the changes in kernels or libraries > that could manifest themselves as oplock problems?In general, I think the answer to your question is yes. Since I haven't used either samba 2.x or kernel 2.2.x yet myself, I haven't paid attention to the specifics. I know there are some differences in the 2.2.x kernel source that affected the way samba compiles, but I think they can be worked around by tweaking the makefile, etc. On the other hand, it seems to me that samba 2.0.4b has some new options that might help as well. That may be more critical for NT clients though (as opposed to win 95). Sorry i couldn't help more. Regards, Steve *********************************************************** Steve Arnold sarnold@earthling.net The salesman said "This machine requires Windows 95, NT, or better." The only thing I could think of was Linux.