View previous topic :: View next topic |
Author |
Message |
jaeger_m Tux's lil' helper
Joined: 26 Sep 2002 Posts: 108
|
Posted: Wed May 12, 2004 1:46 am Post subject: samba & cups... |
|
|
Hey...
I've samba set up, and directory sharing is just wonderful,
but I can't print.
my smb.conf:
Quote: |
# Global parameters
[global]
printing = cups
# map to guest = Bad User
security = share
null passwords = Yes
workgroup = HELL
kernel oplocks = No
load printers = yes
keepalive = 30
os level = 2
hosts allow = 192.168.0.12,192.168.0.13
# log file = /var/log/samba.log
# log level = 1
[share]
comment = Mary's and Fred's stuff
path = /share/
public = yes
writable = yes
printable = no
create mask = 0700
[printers]
guest only = yes
path= /var/spool/samba
printer = LaserJet
browseable = yes
comment = All Printers
printable = yes
create mask = 0700
public = yes
|
the errors:
Quote: |
boot root # tail -n 20 /var/log/samba.log
[2004/04/29 14:26:19, 0] passdb/pampass.c:smb_pam_passcheck(827)
smb_pam_passcheck: PAM: smb_pam_auth failed - Rejecting User _ÿ¿kô@#p !
[2004/04/29 14:26:19, 1] lib/debug.c:debug_message(258)
INFO: Debug class all level = 1 (pid 10108 from pid 10108)
[2004/04/29 14:26:19, 0] passdb/pdb_smbpasswd.c:pdb_getsampwnam(1369)
unable to open passdb database.
[2004/04/29 14:26:19, 0] passdb/pampass.c:smb_pam_passcheck(827)
smb_pam_passcheck: PAM: smb_pam_auth failed - Rejecting User _ÿ¿kô@#p !
[2004/04/29 14:26:20, 1] lib/debug.c:debug_message(258)
INFO: Debug class all level = 1 (pid 10108 from pid 10108)
[2004/04/29 14:26:20, 0] passdb/pdb_smbpasswd.c:pdb_getsampwnam(1369)
unable to open passdb database.
[2004/04/29 14:26:20, 0] passdb/pampass.c:smb_pam_passcheck(827)
smb_pam_passcheck: PAM: smb_pam_auth failed - Rejecting User _ÿ¿kô@#p !
[2004/04/29 14:26:20, 0] passdb/pampass.c:smb_pam_auth(538)
smb_pam_auth: PAM: UNKNOWN ERROR while authenticating user _ÿ¿lô@#p
[2004/04/29 14:26:20, 0] passdb/pampass.c:smb_pam_passcheck(827)
smb_pam_passcheck: PAM: smb_pam_auth failed - Rejecting User _ÿ¿lô@#p !
[2004/04/29 14:26:20, 0] lib/util_sock.c:read_data(436)
read_data: read failure for 4. Error = Connection reset by peer
|
|
|
Back to top |
|
|
Hayl Guru
Joined: 28 Jan 2003 Posts: 442 Location: Calgary, Alberta, Canada
|
Posted: Wed May 12, 2004 12:47 pm Post subject: |
|
|
what version of Windows?
if it's XP i believe you have to do a registry modification to gt it to work with SAMBA (in some cases). also, if it is XP, then you can print directly to cups without SAMBA: http://servername:631/printers/printer_name |
|
Back to top |
|
|
jaeger_m Tux's lil' helper
Joined: 26 Sep 2002 Posts: 108
|
Posted: Wed May 12, 2004 3:21 pm Post subject: |
|
|
No, I'm using Win2000 |
|
Back to top |
|
|
jaeger_m Tux's lil' helper
Joined: 26 Sep 2002 Posts: 108
|
Posted: Thu May 13, 2004 12:21 am Post subject: |
|
|
noone? |
|
Back to top |
|
|
lbm n00b
Joined: 17 Mar 2004 Posts: 66 Location: Denmark
|
Posted: Thu May 13, 2004 6:47 am Post subject: |
|
|
It looks like some sort of Authentication error, because it rejects user...
Have you checked that you can print locally ? On the server! _________________ Geek By Nature | Linux By Choise |
|
Back to top |
|
|
jaeger_m Tux's lil' helper
Joined: 26 Sep 2002 Posts: 108
|
Posted: Thu May 13, 2004 12:12 pm Post subject: |
|
|
Yes, works fine. |
|
Back to top |
|
|
|