Re: [Samba] Re: Can't access remote server

2003-12-11 Thread Joel Hammer
What does ps ax | grep nmbd show on the box you can't connect to? Sometimes nmbd exits if there is an error of some sort or another. Joel On Thu, Dec 11, 2003 at 01:28:35PM -0600, Kent Wang wrote: I've run iptables -L and iptables -t nat -L and there are no settings. I've setup iptables lots of

Re: [Samba] Can not browse from MS windows

2003-12-09 Thread Joel Hammer
The redhat firewall and walk through DIAGNOSIS.txt. Joel On Tue, Dec 09, 2003 at 02:07:35PM +0800, Dodgie V. Danosos wrote: Greetings to all, I would to ask to someone or somebody who is willing to help this novice users of your SAMBA apps. My problem is that I can not view any info

Re: [Samba] Can't access remote server

2003-12-09 Thread Joel Hammer
How are you so sure there are no firewall settings. These things tend to get turned on my default. Walk thru DIAGNOSIS.txt. For example, can you ping the samba server? What do you see with, let me recall, iptables -L (?), might be the command. Joel On Mon, Dec 08, 2003 at 10:58:48AM -0600, Kent

Re: [Samba] disabling user access to SWAT

2003-12-06 Thread Joel Hammer
I am rusty on this, but, if swat is started with -a, authentication is disabled. Look in inetd.conf or xinetd? and see how swat is called. Joel On Sat, Dec 06, 2003 at 12:39:09PM +0100, Florian Effenberger wrote: Hi, is there any option to disable the user access to SWAT for anyone else than

Re: [Samba] i can't configure my printers

2003-12-01 Thread Joel Hammer
Have you walked through DIAGNOSIS.txt? Joel -- -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba

Re: [Samba] Windows 2000 Not Seeing Linux Box Through Samba

2003-12-01 Thread Joel Hammer
DIAGNOSIS.txt and firewall issues. Joel On Mon, Dec 01, 2003 at 05:50:11PM -0500, Mark Turanin wrote: I set up my Linux box with Samba 2.x I can see my Windows 98 and Windows 2000 boxes fine - but none of the Windows boxes can see the Linux box in Network Neighborhood. I added the ip's AND

Re: [Samba] smbclient sending command to windows servers

2003-12-01 Thread Joel Hammer
This question has risen before. I have an idea I have never tried, but it sounds reasonable. Have a share on your windows client with a file called Run_it or somesuch. When this file is moved to another folder in the share, a daemon on the windows box spots the file in this folder and does

Re: [Samba] Can't access Samba public directory from MS Windows

2003-11-30 Thread Joel Hammer
The best advice is to walk through DIAGNOSIS.txt. To find it, locate DIAGNOSIS.txt This sounds like name resolution isn't working or you have a firewall problem. Joel On Sun, Nov 30, 2003 at 11:18:51PM -0500, Katherine Chan wrote: My Linux XP (hostname isat, IP 192.168.1.8) is in the same

Re: [Samba] Linux/Samba for the first time

2003-11-28 Thread Joel Hammer
Another way is to use guest account = root in global and guest ok = yes in the shares (might work in global, too) you want to give full access to. This is crude but it works. After you get experience, you could easily tighten up security, (which you really should do) but it is nice to get things

Re: [Samba] WINS

2003-11-27 Thread Joel Hammer
Maybe bind inferfaces and interfaces might help in your smb.conf file. man smb.conf /bind interfaces n Joel On Thu, Nov 27, 2003 at 02:48:49PM -0300, Jorge Pinto wrote: Hello ! I have a database server running in a RH9 machine with two networks interfaces, but the second interface

Re: [Samba] Printer sharing

2003-11-26 Thread Joel Hammer
Without thinking about this, have you walked through DIAGNOSIS.txt, which comes in your samba sources? What comes to mind are things like firewalls and network problems. Also, Cups (which I do not use) may have some security issues. It is fun to make the guest user root in smb.conf (just for

Re: [Samba] smbprint

2003-11-22 Thread Joel Hammer
In my version of samba, smbprint is a shell script, which just calls smbclient with the appropriate parameters. The script is convoluted, but essentially the command that smbprint sends is something like this: cat thefile | /usr/bin/smbclient //$server/$service $password -U $server -N -P

Re: [Samba] Initial Samba Setup

2003-11-20 Thread Joel Hammer
smbclient doesn't need samba. Here is how I would trouble shoot this: smbclient -d9 -L netbiosname junklog Look for lmhosts in junklog. smbclient will try to find your netbios name with: lmhosts hosts wins broadcast in that order by default. Hosts is DNS or /etc/host Look to see if the log

Re: [Samba] Initial Samba Setup

2003-11-20 Thread Joel Hammer
Oh, yes, it may not be obvious which smb.conf file your smbd is using. I find that: strings `which smbd` | grep smb.conf helps Joel On Thu, Nov 20, 2003 at 07:24:16PM -0500, Kev wrote: I'm in the process of setting up Samba 3 on a Fedora core machine with a second machine being an XP machine.

Re: [Samba] Can't start smbd

2003-11-18 Thread Joel Hammer
This error usually means that samba is being started up by xinetd or inetd. These deamons watch the ports and prevent other processes from attaching to them. You will have to edit the config files for these daemons to make them stop this behavior. Joel Wed, Nov 19, 2003 at 03:58:35AM +,

Re: [Samba] newbie question

2003-10-04 Thread Joel Hammer
I run a small home network. The linux box supplies the gateway to the internet. It works very nicely. All the other boxes (windows and linux) sit masqueraded and protected by the linux gateway. This doesn't use samba. Joel On Sat, Oct 04, 2003 at 06:23:57PM -0700, John Pearson wrote: Hello, I

Re: [Samba] smbmount not exiting

2003-10-01 Thread Joel Hammer
I find when calling a program from a bash script, the bash script always waits for the called program to return. This is normal behavior as I understand it. You have to use the option to get the bash script to continue after calling the program without the program exiting first. eg.

Re: [Samba] smbmount not exiting

2003-10-01 Thread Joel Hammer
Well, smbmount is a process that runs until you umount the share. This seems like normal behavior. Joel On Thu, Oct 02, 2003 at 04:01:16AM +0200, Zenon Panoussis wrote: The obvious suspect is exit trapping between smbmount and smbmnt, but that's a suspicion that won't hold in court; it's

Re: [Samba] smbclient -L localhost fails

2003-09-27 Thread Joel Hammer
Just guessing. You are sure V-Net ok to use for you netbios name? Joel On Sat, Sep 27, 2003 at 02:25:18PM -0700, Vladimir Gower wrote: [rootOcheezetoast samba] smbclient -L localhost added interface ip=192.168.1.3 bcast=192.168.1.255 nmask=255.255.255.0 Password: Anonymous login successful

Re: [Samba] Q: Share Definitions, how to make a 'truely public' area

2003-09-20 Thread Joel Hammer
I am a bit rusty on this sort of question, but: Maybe you have somethings in your global section screening out visitors? Maybe a firewall problem? How are the visiting laptops assigned ip's and names? Joel On Fri, Sep 19, 2003 at 05:21:14PM -0700, J. Nyhuis wrote: Greetings,

Re: [Samba] Save read only using MS world

2003-09-08 Thread Joel Hammer
If you don't find an easy solution, you might try running a daemon on the samba server which scans the files in this directory and changes the files to read only. The find command sounds like just the thing for this job. Now, don't tell me you have tens of thousands of documents on this server

Re: [Samba] smbd won't run - Error message says port 139 in use

2003-08-17 Thread Joel Hammer
Or, inetd is starting samba for you. Joel rOn Sun, Aug 17, 2003 at 04:08:04PM -0600, John M. Purser wrote: Samba was working well but I changed the host allow section of smb.conf and it stopped. I changed it back and restarted and got this error message in log.smbd [2003/08/17 12:15:26, 0]

Re: [Samba] Error mounting Win2K share on Debian box

2003-08-16 Thread Joel Hammer
You have gotten no replies, so I'll guess. Maybe the space and/or the apostrohe are confusing the system. Joel On Sat, Aug 16, 2003 at 12:38:31PM -0600, John M. Purser wrote: I'm working my through the The Unofficial Samba HOWTO but when I tried this command: mount -t smbfs -o

Re: [Samba] Print Job Names Are Obscure

2003-08-14 Thread Joel Hammer
This works for me with lprng: [ps] comment = Filtered for Z53 path = /tmp read only = No create mask = 0700 guest ok = yes hosts allow = 192.168. printable = Yes printing = lprng print command = echo %J %p %s/tmp/junkJ;\

Re: [Samba] Printing to FreeBSD server from XP using samba

2003-08-14 Thread Joel Hammer
I haved been using this parameter (rw) since I began using linux. I forget why I use it. This link is the lprng howto. http://www.lprng.com/LPRng-HOWTO/LPRng-HOWTO.html#AEN3105 If you seach for rw (don't use the quotes in your search string) you will see this is used only for serial printers.

Re: [Samba] Printing to FreeBSD server from XP using samba

2003-08-14 Thread Joel Hammer
I don't know anything about BSD and you don't say which printing system you use (cups, lprng, whatever), but: Printing with samba is simple. Your client transfers the job to the print server spool directory. Then, the print command on the sever is invoked to print that file. Then, the file is

Re: [Samba] Connection refused

2003-08-01 Thread Joel Hammer
Is samba running? Is samba being controlled by (x)inetd? Joel On Fri, Aug 01, 2003 at 02:19:56PM +0200, Galiba Piter wrote: I have newly configured our new HP Netserver LC 2000r with Samba 2.0.7. The Samba was compiled with SSL. I can connect to it from localhost, but from any other ip i got

Re: [Samba] Can't access shares from Win98 machine

2003-07-31 Thread Joel Hammer
Just some thoughts: You should have a guest account defined in your global. Try: guest account = ftp or guest account = root or guest account = some_regular_user or guest account = special_samba_user_you_create depending on your security needs. You need to have ports 137 and 139 open on your

Re: [Samba] General Samba Printer Admin question

2003-07-31 Thread Joel Hammer
Depending on your printing system, ldp.perms might be a place to look. Joel On Thu, Jul 31, 2003 at 11:22:49AM -0400, Helen Nulty wrote: How do you handle general samba print job administration? Anyone have print command scripts to share? We would like our printer admins to be able to pause

Re: [Samba] how to hide printers in windows?

2003-07-29 Thread Joel Hammer
What if you made the printers nonbrowseable? Joel On Mon, Jul 28, 2003 at 09:25:02PM -0700, Kalin Nikolov wrote: When I click on a Samba server (configured by me) from My Network Places in Windows, I can see all network shares + Printers. Is there an option in global part in smb.conf

Re: [Samba] Samba and Winxp ?

2003-07-27 Thread Joel Hammer
I have had no trouble with XP home or pro with samba. So, this is a local problem with your setup. Joel XOn Sun, Jul 27, 2003 at 03:28:13PM +0200, Thomas have wrote: Hello My problem is this.. I have just shared a printer with samba. With Win2k theres no problem at all finding the

Re: [Samba] Re: I've always HATED printing with Samba

2003-07-27 Thread Joel Hammer
On Sun, Jul 27, 2003 at 01:11:33PM -0700, Jim C wrote: The Lexmark software on the client side insists on communicating with the printer. Apparently, if it can't, it assumes there is no printer or no network etc. According to my research the way around this is to use the Lexmark Z52

Re: [Samba] I've always HATED printing with Samba

2003-07-25 Thread Joel Hammer
Is is established yet if your setup is using the lexmark supplied software or cups drivers? It may not really matter. If the printer is working fine locally, then it seems to be a problem with samba. What you have to do is figure out which queue is accepting jobs on your server, locally, then set

Re: [Samba] I've always HATED printing with Samba

2003-07-25 Thread Joel Hammer
A raw queue has no filter, it just sends the job straight to the printer. Since you are using cups and have this frontend for printing which recreates your /etc/printcap file on the fly, I am not sure how you would go about creating a raw queue. You might try fooling around with printer/settings

Re: [Samba] 2 issues using SAMBA as a print server

2003-07-24 Thread Joel Hammer
Any suggestions as how to give the Windows XP permissions to see and delete their own jobs? This may depend on which printing system you have on the linux box. A lot of people seem to be using cups, about which I know nothing. I use lprng. There is a file called lpd.perms, which hangs out

Re: [Samba] Accessing Shares with WXP Pro

2003-07-24 Thread Joel Hammer
What are your security concerns? If you have none, try in global: guest account = ftp (assuming this user exists on your linux server) and in your share put: guest ok = yes If you really really have NO security concerns, guest account = root would be fine too. About the user name. I believe

Re: [Samba] I've always HATED printing with Samba

2003-07-24 Thread Joel Hammer
This looks like you use cups, not lprng, so, I have no idea how much of what I said will apply. Maybe you haven't the software from lexmark. Here is a part of what I see with: locate z53 /mnt/hda4/usr/local/lexmark/z53 /mnt/hda4/usr/local/lexmark/z53/A4.xpm

Re: [Samba] Printing multiple copies

2003-07-23 Thread Joel Hammer
No! But if I print from Acrobat Reader is see a popup where the system say that the printing support only 1 print copy. Word or Excel doesn't show anythink This really sounds like something in the printer driver on your client. I don't see this problem with XP home or XP pro. I would try to

Re: [Samba] 2 issues using SAMBA as a print server

2003-07-23 Thread Joel Hammer
Try adding : use client driver = yes to your printer share. Joel On Wed, Jul 23, 2003 at 11:24:17AM -0700, Rob Tanner wrote: 2. Even though I can print to the SAMBA shared printer without any problem, the box that gives printer status claims that it cannot connect to the printer. What

Re: [Samba] 2 issues using SAMBA as a print server

2003-07-23 Thread Joel Hammer
Don't you have to set up your clients to talk to each of the ten printers? Joel On Wed, Jul 23, 2003 at 11:24:17AM -0700, Rob Tanner wrote: I am using SAMBA/Lprng to do printer accounting for charge-back. There are two technical issues I have not been able to resolve. 1. When attempting to

Re: [Samba] Printing multiple copies

2003-07-22 Thread Joel Hammer
Well, I just tried an experiment. With XP Home, printing to a postscript printer on my linux box, the job is sent as multiple, sequential postscript files, each file being just one copy. Ergo, samba thinks it has received multiple different print jobs, not one job consisting of multiple copies.

Re: [Samba] Printing multiple copies

2003-07-22 Thread Joel Hammer
email again in about 10 hours. Joel On Tue, Jul 22, 2003 at 12:53:43PM +0200, Roberto Fichera wrote: At 06.05 22/07/2003 -0400, Joel Hammer wrote: Well, I just tried an experiment. With XP Home, printing to a postscript printer on my linux box, the job is sent as multiple, sequential

Re: [Samba] I've always HATED printing with Samba

2003-07-22 Thread Joel Hammer
I seem to have lost most of this thread. But, if you are using a z53 lexmark, you should have no trouble. That's what I use and it works just dandy both as a local and as a network printer. Let me know and I can give you some tips on using this printer with linux. Joel -- To unsubscribe from

Re: [Samba] I've always HATED printing with Samba

2003-07-22 Thread Joel Hammer
Before I get into this, I gotta know. Are you using a lexmark z53 hanging off a linux box? Joel On Tue, Jul 22, 2003 at 02:47:57PM -0700, Jim C wrote: Joel Hammer wrote: I seem to have lost most of this thread. But, if you are using a z53 lexmark, you should have no trouble. That's what

Re: [Samba] I've always HATED printing with Samba

2003-07-22 Thread Joel Hammer
OK. Here is what works for me. As usual, your mileage may vary. I assume you have installed the software for the lexmarkz53 on your linux server. I assume you can print a test page. If you can't, likely you are not printing the testpage to a raw queue. The testpage goes to a raw queue while the

Re: [Samba] Printing multiple copies

2003-07-21 Thread Joel Hammer
This question came up a while back. On my system, where I have a postscript printer attached to a linux boxr. I send all print jobs from windows clients formated for the HP laserjet III + or whatever. When you request 3 copies, the postscript code itself has the code for three copies in it.

Re: [Samba] problem with basic file serving

2003-07-20 Thread Joel Hammer
Have you a guest account? Something like ftp would do. Then, have guest ok = yes in your shares. Something like this: [ global ] security = share guest account = ftp [ MyShare ] guest ok = yes read only = no Now, if you really mean unrestrictive: guest account = root (not recommended) Joel

Re: [Samba] rh8.0 and xp home

2003-07-18 Thread Joel Hammer
I use XP home and it happily browses my workgroup, which is on two subnets. I think you mean that XP Home cannot joing a domain. Joel On Fri, Jul 18, 2003 at 03:59:21PM -0600, Dan Shadix wrote: The Samba How-To Collection very clearly points out that: Unlike, MS Windows 9x / Me, MS Windows XP

Re: [Samba] swat

2003-07-12 Thread Joel Hammer
Did you restart xinetd? Have you looked in the logs in /var/log for any clues? Joel On Sat, Jul 12, 2003 at 02:24:22AM -0500, Robert Jones wrote: I have RedHat 8.0 I have swat enabled in my xinetd.d config file like this service swat { port = 901 socket_type = stream wait =

Re: [Samba] swat

2003-07-12 Thread Joel Hammer
it to smbusers but still wont work On Sat, 2003-07-12 at 07:36, Joel Hammer wrote: Did you restart xinetd? Have you looked in the logs in /var/log for any clues? Joel On Sat, Jul 12, 2003 at 02:24:22AM -0500, Robert Jones wrote: I have RedHat 8.0 I have swat enabled in my xinetd.d

Re: [Samba] swat

2003-07-12 Thread Joel Hammer
Flushing doesn't change policies. Maybe your INPUT policy is DROP. Joel On Sun, Jul 13, 2003 at 11:13:05AM -0500, Robert Jones wrote: Even if i flush all my iptables and set them to accept it still dont work On Sat, 2003-07-12 at 14:03, Joel Hammer wrote: There might be a log called messages

Re: [Samba] forcing log off

2003-07-10 Thread Joel Hammer
Can't you just kill the connection with kill -15 pid ? Joel On Thu, Jul 10, 2003 at 03:06:41PM -0400, Jack Mendez wrote: okay so i have the script provided by joel. i have changed them slitely so that each user gets his or her own file, because if two users try to log on at the same

Re: [Samba] Printing Through Samba From Windows

2003-07-08 Thread Joel Hammer
The only problem with your approach is two way communication with the peripheral, which samba won't support, AFAIK. For printing, there may well be an option to turn off two way communication in the windows driver. Good luck with the scanner and fax modes. Joel On Tue, Jul 08, 2003 at

Re: [Samba] Max Print Jobs Problem

2003-07-07 Thread Joel Hammer
Just thinking out loud. Have you tried other values for max print jobs like 5 or 10 to see if that works. If 5 or 10 works, how about 1001? Are you sure it is samba which is doing this? Could the printing software of the underlying system be responsible. Have you messed arounded with the

Re: [Samba] time control

2003-07-03 Thread Joel Hammer
Well, there is always the smbstatus command and a clever script or two. Joel On Thu, Jul 03, 2003 at 01:59:29PM -0300, Gustavo Schroeder wrote: Hi there, is it possible to control the time that the user stays logged in samba? i.e. i want to allow my laboratory users one hour using the

Re: [Samba] New in Samba

2003-07-03 Thread Joel Hammer
You can have a guest share on the samba machine, as follows: [global] guest account = ftp security = share [public] comment = Public Stuff path = /some/public/place guest ok = yes Just make sure you have a user ftp on the samba server. Joel On Thu, Jul 03, 2003 at

Re: [Samba] pre/postexec

2003-07-03 Thread Joel Hammer
I don't have the energy to check this out myself, but: The path specified in your share doesn't exist until you run the preexec. Are you sure a user can log on under this circumstance? Have you checked your logs? Have you run testparm? As a test, mount some other directory with a preexec

Re: [Samba] Problems using samba as a print server

2003-07-02 Thread Joel Hammer
When a user logs on, the %u or the %U variable contains their logon name, not the guest name you assign. Maybe you can capture that in a script. Joel On Wed, Jul 02, 2003 at 11:15:09AM -0700, Rob Tanner wrote: Hi, I set up Samaba 2.2.7 on a RedHat 9 box to act as a print server. The Samba

Re: [Samba] exec scripts question

2003-06-28 Thread Joel Hammer
exec works in global and share definitions. I haven't tried what you are doing, but simply thinking out loud: Could this be a permissions problem? Is %U defined when you try to call it? Can samba find the mkdir command? Is this a special problem for the [homes] share? Joel On Sat, Jun 28, 2003

Re: [Samba] exec scripts question

2003-06-28 Thread Joel Hammer
Anything in the samba logs? Joel -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba

Re: [Samba] Listing samba 2.2.8a (redhat 8) verables to a text file

2003-06-28 Thread Joel Hammer
Here is a response I just sent to somebody else who wanted to prevent a user from logging on twice at the same time. You may find it useful, if you use bash. It saves the data in a file /tmp/Hello Here is a possibly useful tool for figuring out what you want. This smb.conf share, with the script

Re: [Samba] forcing one logon per user

2003-06-27 Thread Joel Hammer
If you can run a preeexec script defined in your global section then you can use smbstatus to see who is on line. I have not tried this but it looks easy. Or you can put the preexec script into each service. This might cause problems for users already logged on. Joel On Fri, Jun 27, 2003 at

Re: [Samba] Slow printing problem

2003-06-27 Thread Joel Hammer
Is the same driver installed on all machines? This sort of slow down sounds like a driver problem. Have you looked at how much time is involved in merely tranferring the job to linux? If you are not using cups, you can just change the print command to something like printing command = echo printed

Re: [Samba] forcing one logon per user

2003-06-27 Thread Joel Hammer
I just tried it. preexec commands work from the global section. I don't know how you handle user names and passwords, so I can't be very specific, but, it seems like a carefully crafted preexec should solve your problem. Joel On Fri, Jun 27, 2003 at 04:35:36PM -0400, Joel Hammer wrote: If you

[Samba] Re: preeexec and samba

2003-06-27 Thread Joel Hammer
Well, you can run smbstatus from the preexec script. You can grep out the name of the user connecting and compare it to the %U or %u variable sent during the login to $IPC. This could get complicated. For example, your script would depend, maybe, on whether you have security = share or security =

Re: [Samba] Probs with smbfs

2003-06-27 Thread Joel Hammer
This message implies that your client machine is not properly configured. Was this very same machine with the very same kernel working last week? I don't know what the service smb is. If you mean smbd, it doesn't have much to do with mounting shares from other servers. Joel On Fri, Jun 27, 2003

Re: [Samba] question

2003-06-22 Thread Joel Hammer
Please see my post for the share printer thread for some information on your printing question. Oh, and I have set up Samba to load automatically when Linux is started. The best way is to use the startup scripts provided for each daemon with adjusting the files in rc[0-6].d to properly start

Re: [Samba] How can I kill a smbfs mount

2003-06-19 Thread Joel Hammer
Plutoid for the best prices on Rims and Car Audio Products On Mon, 16 Jun 2003, Joel Hammer wrote: I have just used kill -15 pid of the smbmount process. You might need -9. Joel -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org

Re: [Samba] Slow windows - cups print (Facts discovered)

2003-06-18 Thread Joel Hammer
I am not really sure of your set up. I assume you have installed the drivers on the windows client. And, I assume you send the job to a raw queue on the linux box. If not, maybe your linux filter is removing colors. I would look at the driver configuration on the windows client and make sure

Re: [Samba] Access Denied

2003-06-18 Thread Joel Hammer
Why don't you post your smb.conf? I avoid all password hassles with the following global and share definitions: [global] encrypt passwords = yes security = SHARE guest account = ftp [AllFiles] comment = All Files path = / read only = no

Re: [Samba] Access Denied

2003-06-18 Thread Joel Hammer
path = /tmp user = moorej --- Joel Hammer [EMAIL PROTECTED] wrote: Why don't you post your smb.conf? I avoid all password hassles with the following global and share definitions: [global] encrypt passwords = yes security = SHARE guest account = ftp

Re: [Samba] IP address for workstation

2003-06-17 Thread Joel Hammer
Doesn't this get stored in %I ? Joel On Tue, Jun 17, 2003 at 11:25:49AM -0300, rafael wrote: How get IP address the remote workstation in logon process (logon process in Samba Server)? -- Rafael, Claudio == Tribunal de Justiça - MG/Brazil Sefor - Secretaria

Re: [Samba] How can I kill a smbfs mount

2003-06-16 Thread Joel Hammer
I have just used kill -15 pid of the smbmount process. You might need -9. Joel -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba

Re: [Samba] LAN Browsing shows IP Addresses instead of Computer Names.

2003-06-15 Thread Joel Hammer
I am no expert and am certainly rusty on this sort of question. Just some ideas. I do not know if the suggestions below are really what you need. However, how do you think that samba is supposed to do reverse lookups to find the name corresponding to an ip number? 1. Have you walked through

Re: [Samba] restarting

2003-06-12 Thread Joel Hammer
Yes. kill -1 pid of original samba process. Maybe service smb reload might do what you want. Joel nOn Thu, Jun 12, 2003 at 01:02:05PM -0700, D. Rick Anderson wrote: Is there a way to have samba re-read its configuration files without restarting it and bumping everyone? As it is now, if

Re: [Samba] forcibly disconnect a user

2003-06-11 Thread Joel Hammer
smbstatus gives you all the shares, their owners, machines, and time established. Couldn't you just run a script to use this data to disconnect a user? Joel On Wed, Jun 11, 2003 at 09:44:58AM +0200, Carlo Busetto wrote: Hi, i want forcibly disconnect a user in a windows xp client after 1 hour

Re: [Samba] protocol negotiation failed

2003-06-08 Thread Joel Hammer
I don't suppose the - is a problem. Maybe you should increase the debugging level and try again, for example: smbclient -L server -d6 logfile I note that there is a share on the linux server whose name is the same as the window's server name. (kroh/peter) Just free associating here. Joel -- To

Re: [Samba] how run samba in background?

2003-06-07 Thread Joel Hammer
Doesn't just adding -D to the command make it run in the background? For example: /usr/local/samba/bin/smbd -D Joel On Sat, Jun 07, 2003 at 11:46:01AM +0200, Arnold wrote: hi, I'm trying to run samba from console with an Startup Script in background. (i can start this script manuel with

Re: [Samba] No password for specific IP address?

2003-06-07 Thread Joel Hammer
This seems easy enough. In your global section, you could have something like this: include = /usr/local/samba/lib/smb.conf.%I Create a file: /usr/local/samba/lib/smb.conf.IPofSlowBox In this smb.conf you can put specific parameters to allow this box a passwordless login. The exact method you

Re: [Samba] samba newbie having trouble configuring samba on RH7.3...

2003-06-07 Thread Joel Hammer
Samba from O'Reilly Assc. A VERY handy book for samba admins of any level. And the latest edition covers Samba 3. You can also do a google search for samba redhat HOWTO Good luck! Tori - Original Message - From: marvc [EMAIL PROTECTED] To: 'Joel Hammer' [EMAIL PROTECTED

Re: [Samba] Access is Denied

2003-06-07 Thread Joel Hammer
In TEST 7, you haven't supplied a password, which is required of your tmp share. Other ideas: You have guest account = nobody in globals and guess only = yes in the share dennis. According to man smb.conf, no matter who you say you are, you will be logged in as nobody on that share. I am not

Re: [Samba] Printing isses with LPRng

2003-06-06 Thread Joel Hammer
I meant to say, do oplocks have any good purpose on a print share? Joel On Thu, Jun 05, 2003 at 03:31:29PM +, [EMAIL PROTECTED] wrote: On Thu, Jun 05, 2003 at 06:28:17AM -0400, Joel Hammer wrote: Do oplocks serve any purpose? Yes, they are one of the major features of this protocol

Re: [Samba] Spam to the list, plus the Nigerian Scam

2003-06-06 Thread Joel Hammer
I did once reply to a Nigerian spammer. Hundreds of times. The neat thing was I can change my address since I run sendmail, so he couldn't just screen me out. He wrote me and asked me to stop. Which, BTW, is how we could easily stop all spamming. If we all respond to the spammers, that would

Re: [Samba] samba newbie having trouble configuring samba on RH7.3...

2003-06-06 Thread Joel Hammer
What type of file did you download? Maybe its all set to run? Maybe you don't have to configure it? Joel On Thu, Jun 05, 2003 at 08:52:31PM -0400, marvc wrote: I just downloaded Samba ver2.2.8a onto my RH server and I'm unsure on how to properly configure samba. I've seen documentation online

Re: [Samba] stability

2003-06-06 Thread Joel Hammer
I think you might be helped by looking at the startup scripts and see just what is hapening. You don't need fancy scripts to start and stop samba. For example, here is all I have in mind: #!/bin/bash case $1 in start) killall smbd killall nmbd /usr/local/samba/bin/smbd -D

Re: [Samba] Limiting Users

2003-06-05 Thread Joel Hammer
Gareth Norman. - Original Message - From: Joel Hammer [EMAIL PROTECTED] To: Gareth Norman [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Wednesday, June 04, 2003 9:47 PM Subject: Re: [Samba] Limiting Users You could always used some scripts to control logons. Joel On Wed, Jun 04

Re: [Samba] Printing isses with LPRng

2003-06-05 Thread Joel Hammer
Do oplocks serve any purpose? Why not disable them. Joel -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba

Re: [Samba] Limiting Users

2003-06-05 Thread Joel Hammer
You could always used some scripts to control logons. Joel On Wed, Jun 04, 2003 at 01:20:22PM +0100, Gareth Norman wrote: When using windows NT and Netware there are ways of limiting the logins of users such as only allowing them on between 9am - 5pm and limiting maximum concurrent connection

Re: [Samba] name_query failed to find name when using broadcastaddress

2003-06-05 Thread Joel Hammer
I would walk through the DIAGNOSIS.txt trouble shooting guide. Try locate DIAGNOSIS.txt to find it. Joel Wed, Jun 04, 2003 at 02:38:16PM -0400, patti c. wrote: Hi everyone, I'm trying to set up a Windows XP Pro client to connect to a Samba server (version 2.2.8) on a Redhat 8.0 linux box,

Re: [Samba] Samba is installed or not ??

2003-06-03 Thread Joel Hammer
Try which smbd. or smbd -V Joel On Wed, May 07, 2003 at 07:30:56PM -0700, Jair Santos wrote: Hi all, I am having a weird situation . I downloaded the latest samba version and followed the installation instructions. ./configure make etc... Then I tried to run samba but if use

Re: [Samba] verify version

2003-06-03 Thread Joel Hammer
smbd -V Joel On Thu, May 29, 2003 at 10:02:43AM -0300, Luis Gustavo wrote: i downloaded samba version 2.2.8a, and installed on my machine, but how to verify if installed correctly and version installed too... Luis Gustavo Messenger: [EMAIL PROTECTED] E-mail: [EMAIL PROTECTED] Tel.: (21)

Re: [Samba] Printing. The REAL jobname. :)

2003-06-03 Thread Joel Hammer
The windows file name is passed in the %J variable to the samba server. I believe %J is the banner page contents. So, the share below does for me what you seem to want to do. It also makes the windows file name appear in the queue. The stuff with a=`echo etc. ` is to truncate the file name,

Re: [Samba] Weird permissions on samba shared printers

2003-05-30 Thread Joel Hammer
No real idea but: This manage printers and manage documents stuff. Is this anything that is reported by unix or lprng? What does manage documents mean? The ability to run lprm and the like. What does manage printers mean? The ability to run queueresume or queuepause? I don't know how samba and

Re: [Samba] Users losing connection at random

2003-05-30 Thread Joel Hammer
What happens if you just restart the service with kill -1 PIDofFirstSmbd. This should not bother the existing connections. Joel this. So far my only resolution has been to restart the smb service. Once I do that, my two users can immediately log in. This as you can guess

Re: [Samba] Ports for printing

2003-05-27 Thread Joel Hammer
The output of: cat /etc/services | grep -i bios netbios-ns 137/tcp # NETBIOS Name Service netbios-ns 137/udp netbios-dgm 138/tcp # NETBIOS Datagram Service netbios-dgm 138/udp netbios-ssn 139/tcp #

Re: [Samba] Cross Subnet WINS?

2003-05-27 Thread Joel Hammer
Have you walked through the DIAGNOSIS.txt troubleshooting guide? This is test 8, I believe. Joel On Tue, May 27, 2003 at 06:58:04PM -0500, ganapathy murali krishnan wrote: I have a question about WINS across subnets. I am *not* interested in cross subnet browsing. SAMBASERVER is my PDC

Re: [Samba] /var/spool/samba full of print jobs

2003-04-02 Thread Joel Hammer
I can't really help with cups specifically, but, you may need to have a command in your smb.conf to remove print jobs from the samba queue. For example, here is a typical print command with lprng: print command = /usr/bin/lpr -Plp -J'%J' %s; rm %s If you can't do this, you could run a cron

Re: [Samba] WINS

2003-04-02 Thread Joel Hammer
The biggest advantage I found was that it enabled cross network browsing on my small home system. Joel On Wed, Apr 02, 2003 at 09:18:37AM -0500, Kevin Smith wrote: With all this talk about a WINS server, I was wondering what the advantages/disadvantages are of them. My System

Re: [Samba] nmblookup comand

2003-04-01 Thread Joel Hammer
There are differences in how nmbd and smbclient look up other computers. For example, look in your smb.conf. Here is what I have in mind: [global] name resolve order = wins bcast hosts lmhosts hosts is the DNS server and lmhosts is the lmhost file on your linux box. So, smbclient will

Re: [Samba] cant set up a no password login

2003-03-30 Thread Joel Hammer
You might make this work with just: guest account = nobody in [global] You could use other users like root (not very secure but it all depends on your needs) or any regular user you have defined on this server. Joel On Sun, Mar 30, 2003 at 10:59:05AM +0200, julius wrote: hi have problems to

  1   2   3   4   5   >