I'm hung up on a final step in getting my printer set up in Samba. I've got a desktop with a printer attached and a laptop. Both are dual booting SuSE 8.0 and Win2k. I'm trying to get Samba set up between both SuSE installations before moving on to Win2k. I've read Brian Carver's very helpful section in the unofficial SuSE FAQ, as well as several other articles and Samba howto's. I've got samba set up as a server on my desktop with the printer in the smb.conf file. I was able to configure the printer in Yast2 on the laptop (I found it when I clicked "browse"). But, it won't print right. In Brian's article, he says I have to go into SWAT's passwords section and create a samba user for each client. I think this may be where I'm hung up. Every time I try to create a user it tells me that the user does not exist in system password file (/etc/passwd) and it cannot add account without a valid local system user. I'm probably missing something really basic here so any help would be appreciated. Thanks, Charles __________________________________________________ Do You Yahoo!? Yahoo! Health - Feel better, live better http://health.yahoo.com
Here's a more precise location of where you can download the SO 6.0 patch... http://sunsolve.sun.com/pub-cgi/show.pl?target=patches/xprod-StarOffice&nav=pub-patches -- Zach "Coming to you live from SuSE Linux 8.0"
On Thursday 01 August 2002 03:10, you wrote:
Here's a more precise location of where you can download the SO 6.0 patch...
http://sunsolve.sun.com/pub-cgi/show.pl?target=patches/xprod-StarOffice&nav =pub-patches
Hi All, Call me a dummy but I found this patch a fiddle to run. The instructions say, inter alia: "If you want to patch a Network Installation (installation with "setup -net"), the administrator first has to make a Workstation Installation, before the patch installation program can patch the Server Installation." Soffice regards the main-programme-in /opt/ small-user-dir-with-symlinks-under-$HOME approach as a network install, apparently, so running the patch binary as a user gives a warning that you need administrative privileges. Attempting to carry on of course fails, because the user can't write /opt. Running the binary as root just got me: # ./so-6_0-pp1-bin-linux.bin No info found for key(s) 'StarOffice 6.0' No info found for key(s) 'StarOffice 6.0' # A nasty fix was to temporarily change ownerships to the user you're running the patch as on /opt/staroffice6.0 with chown -R, then changing them back to root:root. I'm sure there's a much better solution, but that worked for me even though I didn't like doing it all that much. Best Fergus
--- Fergus Wilde
The instructions say, inter alia:
"If you want to patch a Network Installation (installation with "setup -net"), the administrator first has to make a Workstation Installation, before the patch installation program can patch the Server Installation."
yeap, it's correct. i think you made a workstation installation anyway after you installed with "setup -net". the workstation instalation created the staroffice6.0 directory in your home, and, read this, it created a file .scversion (!!!or something like that!!!) in your home. In it, it specify the path to the server location where staroffice is... Now, you downloaded the patch from sun. In order to apply it you turned yourself into a root :) Maybe you tried sux (instead of su, cause you need access to the display) you run the patch binary. the binary will look for the ~/.scversion to find out where the server install is... but who are you now? you are Mr. Root, so the binary will try to find .scversion in /root :( Not finding it, it will report , like you said:
Running the binary as root just got me:
# ./so-6_0-pp1-bin-linux.bin No info found for key(s) 'StarOffice 6.0' No info found for key(s) 'StarOffice 6.0' #
Ok, but you HAVE TO to be root in order to apply the patch... There is a difference between su and "su -", but I don't know about sux.... so i tried a simpler approach: I copied the .scversion from my home to root's home, installed the patch then deleted the .scversion from root's home. It worked great and you didn't change too many things (like ownership, etc.), just copied then deleted a small text file. Have fun, Dan. __________________________________________________ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com
yeap, it's correct. i think you made a workstation installation anyway after you installed with "setup -net".
I didn't do this, but rather installed the rpms with rpm -Fvh over the existing office 5.2. But the result is evidently the same ... h> Ok, but you HAVE TO to be root in order to apply the patch...
There is a difference between su and "su -", but I don't know about sux.... so i tried a simpler approach: I copied the .scversion from my home to root's home, installed the patch then deleted the .scversion from root's home. It worked great and you didn't change too many things (like ownership, etc.), just copied then deleted a small text file.
Yes, I think that's much better - Thanks!
Have fun, Dan.
__________________________________________________ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com
--- Charles Griffin
I'm hung up on a final step in getting my printer set up in Samba. I've got a desktop with a printer attached and a laptop. Both are dual booting SuSE 8.0 and Win2k. I'm trying to get Samba set up between both SuSE installations before moving on to Win2k.
I've read Brian Carver's very helpful section in the unofficial SuSE FAQ, as well as several other articles and Samba howto's.
I've got samba set up as a server on my desktop with the printer in the smb.conf file. I was able to configure the printer in Yast2 on the laptop (I found it when I clicked "browse"). But, it won't print right.
In Brian's article, he says I have to go into SWAT's passwords section and create a samba user for each client. I think this may be where I'm hung up. Every time I try to create a user it tells me that the user does not exist in system password file (/etc/passwd) and it cannot add account without a valid local system user. I'm probably missing something really basic here so any help would be appreciated.
Thanks, Charles
Well, I think I got part of it figured out. I added the username and password for my laptop as a user on my desktop in Yast2. Now, I can see the desktop directory shares in Konqueror in the laptop and that works great. I guess I'll have to do that for windows clients too? I still can't get the printer configured though. Now, when I click "locate" in yast2 (after selecting samba printer in the printer configuration) the host does not show up. If I click locate all hosts, the ip of the desktop does show up, but the printer still doesn't. another question: how I set samba to start on boot? I have been using the rcinetd restart command to restart the service which works. I went to the runlevel editor on the desktop and "smb" is not running but "smbfs" is running. When I try to start smb, I get a message that "/etc/init.d/smb.start returned 7: Program is not running" I think I'm almost there but any assistance to get me to the finish line would be most appreciated! Regards, Charles __________________________________________________ Do You Yahoo!? Yahoo! Health - Feel better, live better http://health.yahoo.com
participants (4)
-
Charles Griffin
-
Dan Laba
-
Fergus Wilde
-
Zach