Hello. I have a problem that I hope you can help me with. I have 95,98 and NT machines and a Linux box with samba 2.2.5 (or what ever is shipped with redhat) that shares a printer to the windows machines. The problem is now: -the NT machines finds the printer! -the 98 machine finds something, but rejects all passwords (it runs encryot. passwd) -the 95 does not find anything at all. (runs encrypt passwd) all machines can ping/telnet the linux box. What should I do?
Gunnar Lindholm <gunnar.lindholm.320@student.lu.se> writes on 5 April 2000 at 15:21:08 +1000 > Hello. > I have a problem that I hope you can help me with. > I have 95,98 and NT machines and a Linux box with samba 2.2.5 (or what ever is > shipped with redhat) that shares a printer to the windows machines. > The problem is now: > -the NT machines finds the printer! > -the 98 machine finds something, but rejects all passwords (it runs encryot. > passwd) > -the 95 does not find anything at all. (runs encrypt passwd) > > all machines can ping/telnet the linux box. > > What should I do? Dunno -- but I consistently have problems like this as well. I've been playing with it for a few months now, and not getting anywhere. In my case, I have two different Linux boxes running Samba (2.0.5a and 2.0.6). From an NT Workstation box, I can browse and access both guest shares, and shares protected by username. From a Windows 98 box, I can now browse (since I forced one of the Samba boxes to be the browse master), but I can't access the shares protected by user (it reads the shares with guest access fine). It pops up a password box, and whatever password I give it is wrong. All of these are on the same LAN, they can all ping back and forth okay. There's no NT Server box around; no domains, no PDC, etc. I'm using user security and encrypted passwords. Obviously this isn't a complete info dump; any suggestions on what doc files I should read more carefully, what log info I should look for, or what I should try, anyone? -- Photos: http://dd-b.lighthunters.net/ Minicon: http://www.mnstf.org/minicon Bookworms: http://ouroboros.demesne.com/ SF: http://www.dd-b.net/dd-b David Dyer-Bennet / Welcome to the future! / dd-b@dd-b.net
I have an old file server/samba server on a network. I am adding an additional samba server to help reduce the load off the other server. When I start smb and nmb on the new server and the new server does the logon for the clients (or you use the new server to map to your home drive) - The windows clients can see all their MS files but they CANNOT save to their home drives or open any documents, in fact MSword locks up completely. When I shut the new server down and they use the old server for logon or mapping shares all works well and has worked well for 3 years. Any ideas? I have conf files or testparms if needed. Thanks ahead of time. -- Todd Spahr Network/Unix Administrator
That's where your problem is at.... The root user cannot write files across NFS. And, Samba runs as root. You have a couple of options that I know of. Option 1) physically move some of the home directories from server1 to server2 so that you aren't trying to rum Samba across NFS. Option 2) mount the home directories with the "no_root_quash" option. This will allow the root user from server2 to edit files on server1, via NFS. ?? I recommend Option 1. "no_root_squash" is scary.. It can make hacking lots of fun. Bob Samba runs as the root user. Todd Spahr wrote:> > NFS and the home directories are all on the other server. > > Bob Dusek wrote: > > > Are you sharing the home directories via NFS? Or, did you put some of > > the home directories on one server and some on the other? > > > > Todd Spahr wrote: > > > > > > I have an old file server/samba server on a network. I am adding an > > > additional samba server to help reduce the load off the other server. > > > When I start smb and nmb on the new server and the new server does the > > > logon for the clients (or you use the new server to map to your home > > > drive) - The windows clients can see all their MS files but they CANNOT > > > save to their home drives or open any documents, in fact MSword locks up > > > completely. When I shut the new server down and they use the old server > > > for logon or mapping shares all works well and has worked well for 3 > > > years. > > > > > > Any ideas? I have conf files or testparms if needed. > > > > > > Thanks ahead of time. > > > > > > -- > > > Todd Spahr > > > Network/Unix Administrator > > > > > > -- > > > To unsubscribe from this list go to the following URL and read the > > > instructions: http://lists.samba.org/mailman/listinfo/samba > > > > -- > > > > Saint Joseph's College -- bobd@saintjoe.edu | http://www.saintjoe.edu > > ----------------------------------------------------------------------- > > Administrative Computing Center, Bob Dusek... 219-866-6371 > > > > Work like you don't need the money. > > Love like you've never been hurt. > > Dance like nobody's watching > > > > -- > > To unsubscribe from this list go to the following URL and read the > > instructions: http://lists.samba.org/mailman/listinfo/samba > > -- > Todd Spahr > Network Support Analyst > York College of Pennsylvania > Phone - 717-815-1784 > Fax - 717-849-1630 > e-mail tspahr@ycp.edu-- Saint Joseph's College -- bobd@saintjoe.edu | http://www.saintjoe.edu ----------------------------------------------------------------------- Administrative Computing Center, Bob Dusek... 219-866-6371 Work like you don't need the money. Love like you've never been hurt. Dance like nobody's watching
I have a network consisting of a Win NT4 server with 15 Win 98 workstations. I just installed a Linux-Mandrake box to use as a E-Mail/Web server. I have several printers connected to the Win98 workstations that are shared within our network. Samba is installed and working great. My problem is that when I have samba running no one can print to the shared printers on the Win 98 boxes. I get the error message "There was an error writing to \\workstation4\hp for printer (HP Laserjet 5MP): There was a problem printing to the printer due to an unknown system error. Restart Windows, and then try printing again. This printer will be set to work offline. To save your print job in the local printer queue, click OK" If I click OK I can go to the printer status window and see the job and if I keep un-checking the "Use Printer Offline" option in the printer menu, the job will eventually go through and print. I have the same problem with all 5 printers and from any workstation. If I stop Samba the problem goes away. Here is the global section of my smb.conf: [global] workgroup = WAG CORPORATION netbios name = TUX bind interfaces only = Yes security = SHARE encrypt passwords = Yes null passwords = Yes debug level = 0 log file = /var/log/samba/log.%m max log size = 50 announce as = win95 load printers = No os level = 65 local master = No dns proxy = No guest account = smbuser mangled names = No Any help would be greatly appreciated. Stacy Wilson
Good morning all, I ran into something last evening I had never seen before and wonder if any of you had. We have a user who had two folders with similar names in his share. One was mail and the Mail. Until yesterday he was able to save stuff in Mail and then retrieve it. However, yesterday something strange happened. The contents of both mail Mail were the same, at least on the PC side. When I went into the UNIX side and looked at things the contents were different. What I did to fix the problem was to move the folder called Mail to one called email and then he could see the files he had saved previously. I hope this makes sense and can anyone explain why this happened. He has been using the previous setup for several months with no problems. Thanks, Paul Crittenden Computer System Manager Simpson College email: crittend@simpson.edu Phone: (515)961-1680 "You don't have to attend every argument you're invited to."
I'm having a strange problem with Samba 2.2.8 on RH 9.0. When I delete a folder on the server from a workstation, it gives me an error saying that it can't be found and the folder remains in Explorer, but if I look on the server (via SSH) the folder is gone. If I hit F5 on the machine that I'm using to delete the file, the folder disappears and all seems normal. The log file on the server shows this error: Aug 4 15:10:07 ACS-SMB01 smbd[19564]: set_delete_on_close_internal: failed to change delete on close flag for file Common/FOLDER_NAME What is causing this? I googled both portions of the error, and got only results showing code for one, and an unanswered question as the only result for another. TIA Rick
Thanks for the reply. I'm running Win2k SP4 on all of our workstations. Rick> At 16:11 4-8-03 -0700, you wrote: >>I'm having a strange problem with Samba 2.2.8 on RH 9.0. >> >>When I delete a folder on the server from a workstation, it gives me an >> error saying that it can't be found and the folder remains in Explorer, >> but if I look on the server (via SSH) the folder is gone. If I hit F5 >> on the machine that I'm using to delete the file, the folder disappears >> and all seems normal. > [snip] > > Could this perhaps be a win95 client ? > > I remember setting a 0 or so in the registry that made explorer > autorefresh, wich it didn't by default > > > Greetz, > Cor Lem
We're having problems getting a certain piece of software to connect from a windows 2000 server to our Samba server running samba 2.2.8 on RH 9.0 The windows server can map the share, and can copy files and folders to it and delete them, but when we try to connect to the share with this software is barfs with: --SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters--Getting value without opening a key first I've found the area in the windows registry where that resides, but I think it's attempting to modify the registry on the samba server. The software is a Dialer and we're trying to get it to dump it's VOX files onto the 700G share on the samba server. The software has it's own utility where you enter the share, and the username and password to connect with. There is no other way, such as mapping a drive, to get it to put the vox files there. TIA Rick