I have been having some difficulty with the installation of samba V2.0.3 on an ultraSparc 3000 server. I was able to get it built, I have configured, defined an smb.conf file, created an smbpasswd file, and I still get errors when I work through the Diagnosing Samba checklist. BTW, I have checked the conf file using testparms and corrected the problem mentioned there! I am using the newest source release and building with gcc2.7.2.1. There are really two issues at hand. The first is that even with nmbd running swat doesn't recognize its state. Looking at the source briefly, it appears that the determination is based on a connection test to 127.0.0.1. I am assuming that this is failing and giving the bad status. I believe that the secondary problems are byproducts of the first, however I am unfamiliar with the suite to the point that further diagnosis will be difficult. I really want to use the product, but I need to resolve this problem within the next couple of days if this is to happen. Unfortunately, if I fail it will be a black eye here for Open Source. Please help... When I run Test 7 as described in the diagnosing page from the server itself I get the following message: # ./smbclient //case3000/mkslibs Added interface ip=151.131.32.47 bcast=151.131.33.255 nmask=255.255.254.0 Password: Domain=[WORKGROUP] OS=[Unix] Server=[Samba 2.0.3] tree connect failed: ERRSRV - ERRinvnetname (Invalid network name in tree connec t.) --------------------------------------------------------- My Smb.conf ----------------------------------- # cat ../lib/smb.conf # Samba config file created using SWAT # from babylon5.rkd.snds.com (151.131.52.57) # Date: 1999/04/28 13:54:39 # Global parameters netbios aliases = case interfaces = 151.131.32.47/255.255.254.0 security = SHARE encrypt passwords = Yes null passwords = Yes passwd program = /usr/bin/passwd password level = 55 username level = 5 [mkslibs] comment = Case_MKS path = /elec/mkslibs read only = No Hopefully, someone can recommend a fix for me. Thanks for your help in advance. Sam Williams Sundstrand Aerospace
Hi guys, If I have a linux server running DNS for two different domains (e.g. joe.com and fred.com) is there a way of specifying which domain the samba WINS acts as a proxy for? At the moment it appears that whichever domain is specified first in /etc/resolv.conf is the proxied one. Cheers, Mark.
This was the only way I was able to get it to work: smbmount "\\\server\share" -c 'mount /mnt/samba-share' -U user ---------------------------------------------------------------------------- William H. Lacy www.vetmed.auburn.edu/~lacywil Computer Group lacywil@vetmed.auburn.edu Auburn University College of Veterinary Medicine ---------------------------------------------------------------------------- On Thu, 29 Apr 1999 samba@samba.org wrote:> Date: Tue, 27 Apr 1999 17:34:30 -0700 (PDT) > From: "B. James Phillippe" <bryan@terran.org> > To: samba@samba.org > Subject: smbmount doesn't work > Message-ID: <Pine.LNX.4.10.9904271729580.1523-100000@earth.terran.org> > > Hi, > > Thanks for answering my question on the new smbmount not working. I tried > all variety of combinations on the commands you suggested, but they all > simply do this: > > % smbmount -c //server/share 'mount /mnt/samba-share -n CLIENT -U user' > Usage: smbmount service <password> [-p port] [-d debuglevel] [-l log] > Version 2.0.3 > -p port connect to the specified port > -d debuglevel set the debuglevel > -l log basename. Basename for log/debug files > -n netbios name. Use this name as my netbios name > -N don't ask for a password > -m max protocol set the max protocol level > -I dest IP use this IP to connect to > -E write messages to stderr instead of stdout > -U username set the network username > -W workgroup set the workgroup name > -c command string execute semicolon separated commands > -t terminal code terminal i/o code {sjis|euc|jis7|jis8|junet|hex} > -D directory start from directory > > Perhaps there is something else I need to do? > > Again, the old smbmount works perfectly every time with: > > smbmount //server/share /mnt/samba-share -c CLIENT -U user -P passwd \ > -u nobody -g nobody -f 666 -d 777 > > thanks, > -bp > -- > B. James Phillippe . bryan@terran.org > Software Engineer, WGT Inc. . http://www.terran.org/~bryan
Hi, i have some problems during the installation of samba2.0.3 on irix 6.2. The ./configure-script works fine but after calling 'make' the compiler found some undeclared variables. In the function open.c the variable PC_NAME_MAX isn't declared. In the function chgpasswd.c the variables STDIN_FILENO, STDOUT_FILENO, and STDERR_FILENO are not declared. Now i'm searching for the correct value of these varaibles to compile the files.
Hi, folks! To turn off the NT banner page, go to printer properties folder <<general>> and click the button <<banner>>/<<separator page>> or whatever, and remove what is in the textbox. Did'nt care to test this, I had to log on as administrator, hope it works anyway. BTW, I have an OKI Okipage laser printer, which is intended to run on Windows only, it's connected to an NT 4.0 workstation pc. In addition I has an Linux box on a network with the NT. I installed some <<TCP/IP printer server>> on the NT, network/services, installed lpd on the Linux box, configured it as remote printer, and lpd printed on the laser! The reason is that TCP/IP printer server uses windows drivers, shared on SMB (read Netbios) does not.. I'd has to adjust the margins however, it cuts some characters.. Don't drink and compute! Well it isn't risky at all, but the result is often funny... :) Sigmund>Date: Wed, 28 Apr 1999 14:41:40 +0100 >From: HARTNUJ@uk.ibm.com >To: samba@samba.org >Subject: Suppressing headers, printing via NT >Message-ID: <80256761.004B5B6D.00@d06mta05.portsmouth.uk.ibm.com> > > > >I've just set up lpd to print to a postscript printer attached to an NT >server, using the Redhat 5.2 version of the smbprint command. Eventually >I'd like this machine to be the department's standard lpr->SMB gateway. > >It works perfectly, except that since smbclient always logs onto the NT >server with the same ID, no matter who prints the job, the same >NT-generated banner page gets printed. >The NT guys here assure me that "suppress cover sheet" or whatever, is >something that's set on the client. > >How can I prevent NT from printing its banner, so I can let lpd do it (and >therefore get the username right)? > >Thanks > > >John >