[Samba] problems logging in as guest from a windows2k system
gnamasiv at cisco.com
gnamasiv at cisco.com
Fri Sep 23 08:52:32 GMT 2005
Hi,
I had been using samba 3.0.14 and the DC is a Windows2K3 server. I
have setup guest printing.(please see the smb.conf) and am able to view
the printer shares from another Windows2k3 server in another domain.
However, I am not able to access the same shares from Windows 2000
server in another domain. Please let me know if I am doing anything
wrong.
[global]
idmap uid = 70000-200000
idmap gid = 70000-200000
winbind enum users = yes
winbind enum groups = yes
winbind cache time = 10
winbind use default domain = yes
printcap name = cups
load printers = yes
printing = cups
cups options = "raw"
force printername = yes
lpq cache time = 0
log file = /local/local1/errorlog/samba.log
max log size = 50000
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
smb ports = 50139
local master = no
domain master = no
preferred master = no
dns proxy = no
template homedir = /local/local1/
template shell = /admin-shell
client schannel = no
printer admin = @printeradmin
addprinter command = /usr/bin/addprinter1.pl
map to guest = bad password
guest account = guestuser
deleteprinter command = /usr/bin/removeprinter
log level = 10
workgroup = LAB2003DOMAIN
netbios name = coolpc
wins server = 11.12.10.124
password server = 11.12.10.124
security = domain
[print$]
path = /state/samba/printers
guest ok = yes
browseable = yes
read only = yes
write list = @printeradmin
force user = root
force group = root
[printers]
comment = All Printers
path = /local/local1/spool/samba
browseable = no
guest ok = yes
writable = no
printable = yes
I think it is because of this error. Not sure. Also, Should I be setting
any other parameter in smb.conf to make it work.
logs:
[2005/09/23 06:03:26, 10] lib/util.c:dump_data(1995)
[000] 6F 64 69 2D 6D 67 74 2D 63 65 32 00 00 00 00 00 odi-mgt-
ce2.....
[010] 60 28 06 06 2B 06 01 05 05 02 A0 1E 30 1C A0 0E `(..+...
....0...
[020] 30 0C 06 0A 2B 06 01 04 01 82 37 02 02 0A A3 0A 0...+...
..7.....
[030] 30 08 A0 06 1B 04 4E 4F 4E 45 0.....NO NE
[2005/09/23 06:03:26, 6] lib/util_sock.c:write_socket(449)
write_socket(25,131)
[2005/09/23 06:03:26, 6] lib/util_sock.c:write_socket(452)
write_socket(25,131) wrote 131
[2005/09/23 06:03:26, 10] lib/util_sock.c:read_socket_data(378)
read_socket_data: recv of 4 returned 0. Error = Success
[2005/09/23 06:03:26, 10] lib/util_sock.c:receive_smb_raw(556)
receive_smb_raw: length < 0!
[2005/09/23 06:03:26, 3] smbd/process.c:timeout_processing(1334)
timeout_processing: End of file from client (client has disconnected).
[2005/09/23 06:03:26, 5] lib/gencache.c:gencache_shutdown(88)
Closing cache file
[2005/09/23 06:03:26, 5] libsmb/namecache.c:namecache_shutdown(79)
namecache_shutdown: netbios namecache closed successfully.
[2005/09/23 06:03:26, 3] smbd/sec_ctx.c:set_sec_ctx(287)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2005/09/23 06:03:26, 5] auth/auth_util.c:debug_nt_user_token(485)
NT user token: (NULL)
[2005/09/23 06:03:26, 5] auth/auth_util.c:debug_unix_user_token(506)
UNIX token of user 0
Thanks,
Guru.
More information about the samba
mailing list