Am 09.02.14 12:11, schrieb Leander S.:
Sorry, reading
http://www.samba.org/samba/docs/man/manpages-3/smb.conf.5.html#FORCEGROUP again
helped a little:
force printername (S)
When printing from Windows NT (or later), each printer in |smb.conf|
has two associated names which can be used by the client. The first
is the sharename (or shortname) defined in smb.conf. This is the
only printername available for use by Windows 9x clients. The second
name associated with a printer can be seen when browsing to the
"Printers" (or "Printers and Faxes") folder on the Samba server.
This is referred to simply as the printername (not to be confused
with the /|printer name|/ option).
When assigning a new driver to a printer on a remote Windows
compatible print server such as Samba, the Windows client will
rename the printer to match the driver name just uploaded. This can
result in confusion for users when multiple printers are bound to
the same driver. To prevent Samba from allowing the printer's
printername to differ from the sharename defined in smb.conf, set
/|force printername = yes|/.
Be aware that enabling this parameter may affect migrating printers
from a Windows server to Samba since Windows has no way to force the
sharename and printername to match.
It is recommended that this parameter's value not be changed once
the printer is in use by clients as this could cause a user not be
able to delete printer connections from their local Printers folder.
Default: //|force printername|/ = |no| /
So I changed it to:
valid users = admin
force user = admin
force group = +admin
and now I see following error:
Domain=[DOMAIN] OS=[Unix] Server=[Samba 4.1.4]
tree connect failed: NT_STATUS_MEMBER_NOT_IN_GROUP
But admin ist in Group admin ... so f****** what?
Where does Samba lookup those groups, that it is incapable of finding them?!