Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started by: Anonymous on March 17, 2004, 10:14:39 AM
-
Hi,
My printer is connected to server/gateway SME 6 and it works perfect. But if I connect my windows 2000 computer via samba (I must enter admin password), then I can print and do what I want. But if I don't connect, just after w2k restart I try to print, then I can't. Why?
Or is there in w2k computer such place where can I put SME admin's username and password and if I restart my computer, then it connecs automatically without entering passwords any more.
Thanks
-
The user name and pasword on the W2K machine needs to be the same as one of the users on your SME server
-
The user name and pasword on the W2K machine needs to be the same as one of the users on your SME server
Yes, I know that, but I would like to log on my win machine as administrator not admin. Is there some kind of possibility to do so?
-
Sure...
Make an SME account called "administrator" :-D
...enjoy
...:roll: and DO realize that it isn't really a good practice to use your pc in "administrator" mode for word&stuff -
SOME protection from worms&virusses is OK - don't you agree 8-) :-D 8-) ???
-
Sure...
Make an SME account called "administrator" :-D
...enjoy
...:roll: and DO realize that it isn't really a good practice to use your pc in "administrator" mode for word&stuff -
SOME protection from worms&virusses is OK - don't you agree 8-) :-D 8-) ???
Hello all, sorry for digging this old topic out, but I have the same problem. If I try to make new account on sme called 'administrator' then I get error. Account name must be less than 12 characters :(
So, what do you suggest?
Thanks,
Tony
-
Account name must be less than 12 characters :(
So, what do you suggest?
So why not make an account on the Win2K called admin?
David
-
It sounds like what you want to do is to boot Win2k and "log on" as administrator with a blank password, then utilize SME's resources across the network without validation. Windows will let you get away with this, but SME was purposely not designed with this functionality in mind. I'm hoping that you're aware that you can create matching accounts/passwords on SME and the client, give them whatever acces you think best, and, if they're in the same workgroup log on one time when booting Win2k, and access what you need from SME with better security, and without further ado.
As far as printing goes, if you really want to do it this way, you should be able to "store" an account\password like this:
Open the Printers window
Hold down the Shift key and right-click on "Add Printer"
choose "Run As ..."
enter "admin" and the password
map the printer in the usual way
Thereafter, anytime you use that particular mapping from an application, you will be printing as "admin" as far as the server is concerned - because Win2k will present the admin logon when requested.
If you try this pls let us know the results.
Offhand, printing this way doesn't by itself seem to be such a big deal, but you might want to consider spending some time investigating the potential security consequences of doing things in this manner.
-
Thanks for helping, but I'm stucked again.
Firstly:
I'm hoping that you're aware that you can create matching accounts/passwords on SME and the client, give them whatever acces you think best, and, if they're in the same workgroup log on one time when booting Win2k,
Sorry, I'm not such old guy on SME, can you explain it? How can I grate those matching accounts?
Secondly:
Open the Printers window
Hold down the Shift key and right-click on "Add Printer"
choose "Run As ..."
enter "admin" and the password
map the printer in the usual way
There is no "Run As" command.. :(
But I can tell, whatever I do, there are not security risk because this SME box is not my gateway and server, this is just server.
Thanks,
Tony
-
Account name must be less than 12 characters :(
So, what do you suggest?
So why not make an account on the Win2K called admin?
David
Yes, this is possibility. But are there any other variant?
-
I map my sme primary from my Win2k machine and select "reconnect at logon". Printing works fine.
-
I map my sme primary from my Win2k machine and select "reconnect at logon". Printing works fine.
Yes, I've tried this before. I must always enter the password for this Primary (SME admin password). But I don't want to enter any passwords.
-
Try changing your /etc/smb.conf settings.
change
[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
guest ok = no
writable = no
printable = yes
use client driver = yes
to
[printers]
comment = All Printers
path = /var/spool/samba
browseable = yes
guest ok = yes
writable = no
printable = yes
use client driver = yes
Then do # service smb restart
-
Sorry, this do'nt work :-(
-
.. yes it does!
Two things:
Firstly, once these changes have been made you must restart samba for the changes to take effect:
service smb restart
Secondly, for these changes to be permanent the template has to be changed (copy /etc/e-smith/templates/etc/smb.conf/50printers to /etc/e-smith/templates-custom/etc/smb.conf/50printers, make changes and then regenerate the smb.conf file (/sbin/e-smith/expand-template /etc/smb.conf)
It wouldn't hurt to run
service smb restart
again for good measure.
BTW - its worthwhile checking your samba version and upgrading to samba-2.2.8a-2cb
Another 'fix' is to create a printer admins group and then using the same technique as above but with 11printerAdmin set the printer admin to this new group - this will allow all members FULL control of the printers on the SME box.
HTH
-
So, I tried this variant:
Secondly, for these changes to be permanent the template has to be changed (copy /etc/e-smith/templates/etc/smb.conf/50printers to /etc/e-smith/templates-custom/etc/smb.conf/50printers, make changes and then regenerate the smb.conf file (/sbin/e-smith/expand-template /etc/smb.conf)
It wouldn't hurt to run
service smb restart
And the result was zero :-( Nothing happened :-(
My smb.conf file looks like this in my /etc/smb.conf
[printers]
comment = All Printers
path = /var/spool/samba
browseable = yes
guest ok = yes
writable = no
printable = yes
public = yes
It doesn't work.
I even updated my samba like you recommended.
Then I tried your second point. I copied this file, but then I stucked. You said that I must set the printer admin to this new group. But witch users are in this group? I log on as administrator on win2k machines, but on SME I can't grate so long user account :-(
If you have time and you would like to discuss about my problem, then you can connect me via MSN: tobre@hot.ee or via e-mail: tobre@bitboard.ee
Thanks,
Tony[/code]
-
So, does anybody know what's wrong? :-?
-
Have you tried to create a user account (user1) or your name with a password on both the SME server and the W2K box? The user name and password will need to be identical, also remember that the SME user name is case sesitive.
On your Win2K box, make your new user a member of the Administrator group if you want that type of access.
Logout and then login with your new account. You will need to reinstall your printer in the new Windows profile.
I have been running with Windoze 2000 and recently XP with SME5.6 and 6 with no issues with printers and shared folders on the SME boxes.
Enjoy,