Print Server Help

Issues related to software problems.
Post Reply
AddictDesigns
Posts: 2
Joined: 2007/04/24 18:09:33

Print Server Help

Post by AddictDesigns » 2007/05/09 22:54:57

Hey guys,

I'm trying to make a BackUp Print Server and I'm running into a problem when I'm trying to install the drivers for the printer through the rpcclient comand.

Here is the error message I get.

receive_smb_raw: length < 0!
client_receive_smb failed
size=0
smb_com=0x0
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=0
smb_flg2=0
smb_tid=0
smb_pid=0
smb_uid=0
smb_mid=0
smt_wct=0
smb_bcc=0
failed negprot
Cannot connect to server. Error was NT_STATUS_UNSUCCESSFUL


This is my /var/log/meessages/
May 9 15:18:05 *** smbd[4306]: [2007/05/09 15:18:05, 0] lib/util.c:smb_panic2(1504)
May 9 15:18:05 *** smbd[4306]: PANIC: tdb_reopen_all failed.
May 9 15:18:05 *** smbd[4306]: [2007/05/09 15:18:05, 0] lib/util.c:smb_panic2(1512)
May 9 15:18:05 *** smbd[4306]: BACKTRACE: 5 stack frames:
May 9 15:18:05 *** smbd[4306]: #0 smbd(smb_panic2+0x8a) [0x980330]
May 9 15:18:05 *** smbd[4306]: #1 smbd(smb_panic+0x19) [0x98055c]
May 9 15:18:05 *** smbd[4306]: #2 smbd(main+0x12c0) [0x9fd782]
May 9 15:18:05 *** smbd[4306]: #3 /lib/tls/libc.so.6(__libc_start_main+0xd3) [0xc49de3]
May 9 15:18:05 *** smbd[4306]: #4 smbd [0x809281]
May 9 15:18:05 *** smbd[4306]:

I'm running Samba Version 3.0.10-1.4E.11 if that is any help. I will also post my smb.conf file. Is there any other configurations I should post please just let me know.



smb.conf

# Global Parameters
[global]
unix charset = iso8859-15
workgroup = server
realm = servername.ca
server string = hostname
security = ads
client schannel = No
server schannel = No
password server = servername&ip
username map = /etc/samba/smbusers
log level = 10
log file = /var/log/samba/%m.log
max log size = 50
socket options = TCP_NODELAY SO-RCVBUF=8192 SO_SNDBUF=8192
preferred master = No
local master = No
domain master = No
# wins proxy = Yes
# wins server = ip
ldap ssl = No
idmap uid = 10000-40000
idmap gid = 10000-40000
template primary group =
template shell = /bin/bash
winbind separator = +
winbind enum users = No
winbind enum groups = No
winbind use default domain = yes
winbind nested groups = Yes
hosts allow = ips
cups options = raw
use client driver = Yes
client use spnego = no
server signing = auto
printing = cups
load printers = Yes
show add printer wizard = Yes
printcap name = /etc/printcap
printer admin = admins
hosts allow = allowed users
use client driver = Yes

[homes]
comment = Home Directories
#path = /home/%U
valid users = %S
read only = No
browseable = No
create mode = 0754

[printers]

comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No
guest ok = Yes
read only = Yes

[print$]

comment = Printer Driver Download Area
path = /usr/windows_drivers/
write list = write users
create mask = 0755
browseable = No

Post Reply

Return to “CentOS 5 - Software Support”