[LUGOS] Zabava z mrežnim printerjem

Andrej Kastrin andrej.kastrin at siol.net
Thu May 4 07:55:23 CEST 2006


Nadaljevanje od vc(eraj; hvala za vsakršno pomoc(

Kazalo po postu:
1. smb.conf datoteka
2. smbclient - L JASON -N
3. smbclient -L SCB9E7CD -N

----------------------------------------------------------------------------------------------------
[global]
workgroup = argonaut
netbios name = debian
encrypt passwords = yes
security = user

[print$]
comment = Printer Drivers
path = /etc/samba/printer
guest ok = no
browseable = yes
read only = yes
write list = andrej,root

[HPLaserJet2300]
comment = HP LaserJet 2300 Network Printer
printable = yes
path = /var/spool/samba
public = yes
guest ok = yes
printer admin = andrej,root

[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
public = yes
guest ok = yes
writable = no
printable = yes
printer admin = andrej,root

--------------------------------------------------------------------------------------------------------

C(e z ukazom smbclient -L JASON -N pogledam strukturo, dobim naslednje

Domain=[ARGONAUT] OS=[Unix] Server=[Samba 3.0.1pre3]

Sharename Type Comment
--------- ---- -------
netlogon Disk Network Logon Service
homes Disk
laserjet Printer
client Disk skupni uporabniski direktorij
program Disk
smgclient Disk
smg Disk
backup Disk
temp Disk
IPC$ IPC IPC Service (Jason - ARGONAUTs Main Server)
ADMIN$ IPC IPC Service (Jason - ARGONAUTs Main Server)
Anonymous login successful
Domain=[ARGONAUT] OS=[Unix] Server=[Samba 3.0.1pre3]

Server Comment
--------- -------
AMNIOCIT Amniocit
BRONTO1 UZsoba4
DEBIAN Samba 3.0.22
GIGA
JASON Jason - ARGONAUTs Main Server
KREMENCEK
LUCA luca
MOJCAG
NATASA-TUL Najnovejsi HP / junij 2005
PHOTO-EXPERT Novi Dell Matica in Leona
POPRNIK
RAZISKOVALEC
ROJEN-2003 PC Dell Tanja in Stanko
SCB9E7CD
SYNGENE
TANJA Tanja soba
TERA
VOLK Volk
XI-PAKET-III Xi-paket-iii

Workgroup Master
--------- -------
ARGONAUT JASON
MSHOME LILI

---------------------------------------------------------------------------------------------------

Print server na katerega želim je SCB9E7CD

napišem smbclient -L SCB9E7CD -N in dobim naslednje:


Sharename Type Comment
--------- ---- -------
P1 Printer PrintServer SMB Printer
IPC$ IPC

Server Comment
--------- -------

Workgroup Master
--------- -------

---------------------------------------------------------------------------------------------------




More information about the lugos-list mailing list