Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
samba & cups...
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
jaeger_m
Tux's lil' helper
Tux's lil' helper


Joined: 26 Sep 2002
Posts: 108

PostPosted: Wed May 12, 2004 1:46 am    Post subject: samba & cups... Reply with quote

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
View user's profile Send private message
Hayl
Guru
Guru


Joined: 28 Jan 2003
Posts: 442
Location: Calgary, Alberta, Canada

PostPosted: Wed May 12, 2004 12:47 pm    Post subject: Reply with quote

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
View user's profile Send private message
jaeger_m
Tux's lil' helper
Tux's lil' helper


Joined: 26 Sep 2002
Posts: 108

PostPosted: Wed May 12, 2004 3:21 pm    Post subject: Reply with quote

No, I'm using Win2000
Back to top
View user's profile Send private message
jaeger_m
Tux's lil' helper
Tux's lil' helper


Joined: 26 Sep 2002
Posts: 108

PostPosted: Thu May 13, 2004 12:21 am    Post subject: Reply with quote

noone?
Back to top
View user's profile Send private message
lbm
n00b
n00b


Joined: 17 Mar 2004
Posts: 66
Location: Denmark

PostPosted: Thu May 13, 2004 6:47 am    Post subject: Reply with quote

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
View user's profile Send private message
jaeger_m
Tux's lil' helper
Tux's lil' helper


Joined: 26 Sep 2002
Posts: 108

PostPosted: Thu May 13, 2004 12:12 pm    Post subject: Reply with quote

Yes, works fine.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum