View previous topic :: View next topic |
Author |
Message |
routerguy Guru
Joined: 07 Feb 2004 Posts: 462
|
Posted: Mon Apr 12, 2004 5:11 pm Post subject: HELP: Windows 98, Laserjet III, and Samba (smb.conf) |
|
|
I installed samba and started the service. I see the printer and can access it from the print manager in Windows 98 on my other computer. However, when I attempt to print, it gives me an error message with a retry and cancel button. I think the problem liies in my smb.conf file, because I basically copied and pasted it from the gentoo samba how-to. (I did change my host address to my Gentoo IP address, and I added the correct workgroup, but that's about it.)
Here is my smb.conf:
Code: |
[global]
workgroup = wokr
server string = NICK
encrypt passwords = True
security = user
smb passwd file = /etc/samba/private/smbpasswd
log file = /var/log/samba/log.%m
socket options = IPTOS_LOWDELAY TCP_NODELAY
domain master = Yes
local master = Yes
preferred master = Yes
os level = 65
dns proxy = No
name resolve order = lmhosts host bcast
bind interfaces only = True
interfaces = eth0
hosts deny = ALL
hosts allow = 172.17.17.55 172.17.17.255
debug level = 1
create mask = 0644
directory mask = 0755
level2 oplocks = True
read raw = no
write cache size = 262144
[printers]
comment = All Printer
path = /var/spool/samba
browseable = no
|
Yes, our workgroup is wokr. (not work) |
|
Back to top |
|
|
TheRAt Veteran
Joined: 03 Jun 2002 Posts: 1580
|
Posted: Mon Apr 12, 2004 6:21 pm Post subject: |
|
|
My printers section:
Code: | [printers]
comment = All Printers
path= /var/spool/samba
guest ok = Yes
printable = Yes
use client driver = Yes
browseable = No |
_________________ All reality is the construct of the observer.
Get Firefox and rediscover the web!
BOFH Excuse #295:
The Token fell out of the ring. Call us when you find it. |
|
Back to top |
|
|
routerguy Guru
Joined: 07 Feb 2004 Posts: 462
|
Posted: Mon Apr 12, 2004 6:26 pm Post subject: |
|
|
Sorry, same problem with that code. |
|
Back to top |
|
|
TheRAt Veteran
Joined: 03 Jun 2002 Posts: 1580
|
Posted: Mon Apr 12, 2004 6:49 pm Post subject: |
|
|
Can you check your samba logs to see what prints out there when you try to print?
Also, you have a hosts allow for just a couple of machines.. Is your Windows box one of those IPs ?? _________________ All reality is the construct of the observer.
Get Firefox and rediscover the web!
BOFH Excuse #295:
The Token fell out of the ring. Call us when you find it. |
|
Back to top |
|
|
routerguy Guru
Joined: 07 Feb 2004 Posts: 462
|
Posted: Mon Apr 12, 2004 7:18 pm Post subject: |
|
|
Er, I thought the host allow was for my IP address. I changed this to my windows machine's IP. You would think this solves the problem. But no...
Where do I find the samba log? |
|
Back to top |
|
|
TheRAt Veteran
Joined: 03 Jun 2002 Posts: 1580
|
Posted: Mon Apr 12, 2004 9:30 pm Post subject: |
|
|
Should be in /var/log/samba/ as per your config.
I would also change the config by commenting out the hosts deny and hosts allow entries till you have the printing working.. also, you are re-starting the samba service after the changes to the config file, right ?? _________________ All reality is the construct of the observer.
Get Firefox and rediscover the web!
BOFH Excuse #295:
The Token fell out of the ring. Call us when you find it. |
|
Back to top |
|
|
routerguy Guru
Joined: 07 Feb 2004 Posts: 462
|
Posted: Tue Apr 13, 2004 1:19 am Post subject: |
|
|
Here is the log:
Code: |
[2004/04/12 08:35:41, 0] passdb/pdb_smbpasswd.c:pdb_getsampwnam(1369)
unable to open passdb database.
[2004/04/12 08:35:41, 1] smbd/password.c:pass_check_smb(545)
Couldn't find user 'mark' in passdb.
[2004/04/12 08:35:41, 1] smbd/reply.c:reply_sesssetup_and_X(1023)
Rejecting user 'mark': authentication failed
[2004/04/12 08:35:41, 0] passdb/pdb_smbpasswd.c:pdb_getsampwnam(1369)
unable to open passdb database.
[2004/04/12 08:35:41, 1] smbd/password.c:pass_check_smb(545)
Couldn't find user 'mark' in passdb.
[2004/04/12 08:35:41, 1] smbd/reply.c:reply_sesssetup_and_X(1023)
Rejecting user 'mark': authentication failed
[2004/04/12 08:35:44, 0] passdb/pdb_smbpasswd.c:pdb_getsampwnam(1369)
unable to open passdb database.
[2004/04/12 08:35:44, 1] smbd/password.c:pass_check_smb(545)
Couldn't find user 'mark' in passdb.
[2004/04/12 08:35:44, 1] smbd/reply.c:reply_sesssetup_and_X(1023)
Rejecting user 'mark': authentication failed
|
Yes, I am restarting the Samba service. I will the Hosts option in 20 minutes. |
|
Back to top |
|
|
routerguy Guru
Joined: 07 Feb 2004 Posts: 462
|
Posted: Tue Apr 13, 2004 3:06 am Post subject: |
|
|
Okey, still no go. What do I do about this password buisness? |
|
Back to top |
|
|
TheRAt Veteran
Joined: 03 Jun 2002 Posts: 1580
|
Posted: Tue Apr 13, 2004 10:03 am Post subject: |
|
|
Try the following: Code: | [global]
netbios name = NICK
server string = NICK
workgroup = wokr
security = share
log file = /var/log/samba/samba.log
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
encrypt passwords = yes
wins support = yes
load printers = yes
[printers]
comment = All Printers
path= /var/spool/samba
guest ok = Yes
printable = Yes
use client driver = Yes
browseable = No |
This is what I have and it works for me.. I do not use domains, so this setup should be work workgroups... _________________ All reality is the construct of the observer.
Get Firefox and rediscover the web!
BOFH Excuse #295:
The Token fell out of the ring. Call us when you find it. |
|
Back to top |
|
|
routerguy Guru
Joined: 07 Feb 2004 Posts: 462
|
Posted: Tue Apr 13, 2004 5:28 pm Post subject: |
|
|
Still not working. Yes, I restarted the Samba service. |
|
Back to top |
|
|
TheRAt Veteran
Joined: 03 Jun 2002 Posts: 1580
|
Posted: Tue Apr 13, 2004 6:43 pm Post subject: |
|
|
Are you still getting the same log message ?? _________________ All reality is the construct of the observer.
Get Firefox and rediscover the web!
BOFH Excuse #295:
The Token fell out of the ring. Call us when you find it. |
|
Back to top |
|
|
routerguy Guru
Joined: 07 Feb 2004 Posts: 462
|
Posted: Tue Apr 13, 2004 7:10 pm Post subject: |
|
|
log.jolon
Code: |
[2004/04/12 08:35:41, 0] passdb/pdb_smbpasswd.c:pdb_getsampwnam(1369)
unable to open passdb database.
[2004/04/12 08:35:41, 1] smbd/password.c:pass_check_smb(545)
Couldn't find user 'mark' in passdb.
[2004/04/12 08:35:41, 1] smbd/reply.c:reply_sesssetup_and_X(1023)
Rejecting user 'mark': authentication failed
[2004/04/12 08:35:41, 0] passdb/pdb_smbpasswd.c:pdb_getsampwnam(1369)
unable to open passdb database.
[2004/04/12 08:35:41, 1] smbd/password.c:pass_check_smb(545)
Couldn't find user 'mark' in passdb.
[2004/04/12 08:35:41, 1] smbd/reply.c:reply_sesssetup_and_X(1023)
Rejecting user 'mark': authentication failed
[2004/04/12 08:35:44, 0] passdb/pdb_smbpasswd.c:pdb_getsampwnam(1369)
unable to open passdb database.
[2004/04/12 08:35:44, 1] smbd/password.c:pass_check_smb(545)
Couldn't find user 'mark' in passdb.
[2004/04/12 08:35:44, 1] smbd/reply.c:reply_sesssetup_and_X(1023)
Rejecting user 'mark': authentication failed
|
log.smdb
Code: |
[2004/04/12 08:29:52, 0] smbd/server.c:main(835)
standard input is not a socket, assuming -D option
[2004/04/12 08:32:49, 0] smbd/server.c:main(835)
standard input is not a socket, assuming -D option
[2004/04/12 08:41:52, 0] smbd/server.c:main(835)
standard input is not a socket, assuming -D option
[2004/04/12 08:43:49, 0] smbd/server.c:main(835)
standard input is not a socket, assuming -D option
[2004/04/12 09:12:40, 0] smbd/server.c:main(835)
standard input is not a socket, assuming -D option
[2004/04/12 10:23:37, 0] smbd/server.c:main(835)
standard input is not a socket, assuming -D option
[2004/04/12 11:10:39, 0] lib/access.c:check_access(333)
Denied connection from (172.17.17.40)
[2004/04/12 11:10:39, 1] smbd/process.c:process_smb(839)
Connection denied from 172.17.17.40
[2004/04/12 11:10:40, 0] lib/access.c:check_access(333)
Denied connection from (172.17.17.40)
[2004/04/12 11:10:40, 1] smbd/process.c:process_smb(839)
Connection denied from 172.17.17.40
[2004/04/12 11:10:40, 0] lib/access.c:check_access(333)
Denied connection from (172.17.17.40)
[2004/04/12 11:10:40, 1] smbd/process.c:process_smb(839)
Connection denied from 172.17.17.40
[2004/04/12 11:10:40, 0] lib/access.c:check_access(333)
Denied connection from (172.17.17.40)
[2004/04/12 11:10:40, 1] smbd/process.c:process_smb(839)
Connection denied from 172.17.17.40
[2004/04/12 11:10:40, 0] lib/access.c:check_access(333)
Denied connection from (172.17.17.40)
[2004/04/12 11:10:40, 1] smbd/process.c:process_smb(839)
Connection denied from 172.17.17.40
[2004/04/12 11:10:40, 0] lib/access.c:check_access(333)
Denied connection from (172.17.17.40)
[2004/04/12 11:10:40, 1] smbd/process.c:process_smb(839)
Connection denied from 172.17.17.40
[2004/04/12 11:10:40, 0] lib/access.c:check_access(333)
Denied connection from (172.17.17.40)
[2004/04/12 11:10:40, 1] smbd/process.c:process_smb(839)
Connection denied from 172.17.17.40
[2004/04/12 11:10:40, 0] lib/access.c:check_access(333)
Denied connection from (172.17.17.40)
[2004/04/12 11:10:40, 1] smbd/process.c:process_smb(839)
Connection denied from 172.17.17.40
[2004/04/12 11:10:40, 0] lib/access.c:check_access(333)
Denied connection from (172.17.17.40)
[2004/04/12 11:10:40, 1] smbd/process.c:process_smb(839)
Connection denied from 172.17.17.40
[2004/04/12 11:10:40, 0] lib/access.c:check_access(333)
Denied connection from (172.17.17.40)
[2004/04/12 11:10:40, 1] smbd/process.c:process_smb(839)
Connection denied from 172.17.17.40
[2004/04/12 11:10:40, 0] lib/access.c:check_access(333)
Denied connection from (172.17.17.40)
[2004/04/12 11:10:40, 1] smbd/process.c:process_smb(839)
Connection denied from 172.17.17.40
[2004/04/12 11:10:41, 0] lib/access.c:check_access(333)
Denied connection from (172.17.17.40)
[2004/04/12 11:10:41, 1] smbd/process.c:process_smb(839)
Connection denied from 172.17.17.40
[2004/04/12 11:12:53, 0] smbd/server.c:main(835)
standard input is not a socket, assuming -D option
[2004/04/12 16:33:11, 0] smbd/server.c:main(835)
standard input is not a socket, assuming -D option
[2004/04/12 17:20:55, 0] smbd/server.c:main(835)
standard input is not a socket, assuming -D option
[2004/04/12 21:19:10, 0] smbd/server.c:main(835)
standard input is not a socket, assuming -D option
[2004/04/13 07:56:52, 0] smbd/server.c:main(835)
standard input is not a socket, assuming -D option
[2004/04/13 08:19:39, 0] smbd/server.c:main(835)
standard input is not a socket, assuming -D option
[2004/04/13 08:22:19, 0] smbd/server.c:main(835)
standard input is not a socket, assuming -D option
[2004/04/13 08:27:39, 0] smbd/server.c:main(835)
standard input is not a socket, assuming -D option
[2004/04/13 08:30:20, 0] smbd/server.c:main(835)
standard input is not a socket, assuming -D option
[2004/04/13 08:40:21, 0] smbd/server.c:main(835)
standard input is not a socket, assuming -D option
[2004/04/13 08:44:02, 0] smbd/server.c:main(835)
standard input is not a socket, assuming -D option
|
samba.log
Code: |
[2004/04/13 09:21:16, 0] smbd/server.c:main(835)
standard input is not a socket, assuming -D option
[2004/04/13 11:02:37, 0] smbd/server.c:main(835)
standard input is not a socket, assuming -D option
|
|
|
Back to top |
|
|
TheRAt Veteran
Joined: 03 Jun 2002 Posts: 1580
|
Posted: Tue Apr 13, 2004 7:48 pm Post subject: |
|
|
The only log that is valid is the samba.log... the others should no longer be used (if you are using the config I posted).
Also, can you check that the cups daemon is running and that you can print from the local machine ... _________________ All reality is the construct of the observer.
Get Firefox and rediscover the web!
BOFH Excuse #295:
The Token fell out of the ring. Call us when you find it. |
|
Back to top |
|
|
routerguy Guru
Joined: 07 Feb 2004 Posts: 462
|
Posted: Tue Apr 13, 2004 10:33 pm Post subject: |
|
|
Yes, I am using your config file.
Yes, I am running the CUPS daemon.
Yes, I can print locally.
I am running out of ideas. Maybe the problem lies beyond the config file? |
|
Back to top |
|
|
TheRAt Veteran
Joined: 03 Jun 2002 Posts: 1580
|
Posted: Tue Apr 13, 2004 11:19 pm Post subject: |
|
|
IPTables Firewall?? I am guessing now... _________________ All reality is the construct of the observer.
Get Firefox and rediscover the web!
BOFH Excuse #295:
The Token fell out of the ring. Call us when you find it. |
|
Back to top |
|
|
routerguy Guru
Joined: 07 Feb 2004 Posts: 462
|
Posted: Wed Apr 14, 2004 12:08 am Post subject: |
|
|
TheRAt wrote: | IPTables Firewall?? |
Wah?... |
|
Back to top |
|
|
|
|
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
|
|