I am not able to connect to Samba either through the network places or trying to map a drive from a Windows XP client. I hope that there is someone out there thay can help me. I have deleted the package and re added, did a portupgrade all with the same results. I have added a snippet of one of the log files. All the other log files shows nothing out of the ordinary. When I attempt to access it with the network places I get the error that I am not authorized and the server is not accessible. When I try to map a drive I get the window asking for a user and password which none of them work. I have Guest setup and the nobody.
Here is the conf file.
Here is the log generated by the Windows client in attempting to map a drive(public). I have highlighted what I believe to be the problem. I have not found a solution on the internet.
samba.log.192.168.20.201
Does anybody have any ideas what I am doing wrong? Any help would be greatly appreciated.
Keith
Code:
Samba version 3.5.6
PID Username Group Machine
-------------------------------------------------------------------
<processes do not show up in anonymous mode>
Service pid machine Connected at
-------------------------------------------------------
No locked files
Prometheus#
Here is the conf file.
Code:
Prometheus# testparm
Load smb config files from /usr/local/etc/smb.conf
max_open_files: sysctl_max (11095) below minimum Windows limit (16384)
rlimit_max: rlimit_max (11095) below minimum Windows limit (16384)
Processing section "[homes]"
Processing section "[printers]"
Processing section "[public]"
Processing section "[Movies]"
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions
[global]
workgroup = GROUP1
server string = Samba Server
security = SHARE
encrypt passwords = No
map to guest = Bad User
null passwords = Yes
smb passwd file = /usr/local/bin
log level = 3
log file = /var/log/samba.log.%m
max log size = 50
smb ports = 139
dns proxy = No
hosts allow = 192.168.20., 127.
[homes]
comment = Home directory for %u on %h
path = /usr/home/%u/Docs
valid users = %S
read only = No
browseable = No
[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No
[public]
comment = %h Shared Public Directory
path = /storage2/public
force user = nobody
force group = nobody
read only = No
force create mode = 0666
force directory mode = 0777
guest ok = Yes
[Movies]
comment = %h Shared Public Directory
path = /storage3/Movies
force user = nobody
force group = nobody
read only = No
force create mode = 0666
force directory mode = 0777
guest ok = Yes
Prometheus#
Here is the log generated by the Windows client in attempting to map a drive(public). I have highlighted what I believe to be the problem. I have not found a solution on the internet.
samba.log.192.168.20.201
Code:
[2011/09/29 15:04:00.909693, 6] param/loadparm.c:7133(lp_file_list_changed)
lp_file_list_changed()
file /usr/local/etc/smb.conf -> /usr/local/etc/smb.conf last mod_time: Thu Sep 29 15:03:38 2011
[color="Magenta"][B][2011/09/29 15:04:00.909754, 3] lib/access.c:362(only_ipaddrs_in_list)
only_ipaddrs_in_list: list has non-ip address (192.168.20.)
[2011/09/29 15:04:00.909770, 3] lib/access.c:396(check_access)
check_access: hostnames in host allow/deny list.
[2011/09/29 15:04:00.926921, 2] lib/access.c:406(check_access)
Allowed connection from 192.168.20.201 (192.168.20.201)[/B][/color]
[2011/09/29 15:04:00.927033, 3] smbd/oplock.c:895(init_oplocks)
init_oplocks: initializing messages.
[2011/09/29 15:04:00.927054, 5] lib/messages.c:329(messaging_deregister)
Deregistering messaging pointer for type 1 - private_data=0x0
[2011/09/29 15:04:00.927078, 11] lib/events.c:313(s3_event_debug)
s3_event: Added timed event "smbd_idle_event_handler": 0x8032122d0
[2011/09/29 15:04:00.927104, 10] smbd/process.c:740(event_add_idle)
event_add_idle: idle_evt(keepalive) 0x8032122d0
[2011/09/29 15:04:00.927124, 11] lib/events.c:313(s3_event_debug)
s3_event: Added timed event "smbd_idle_event_handler": 0x803212390
[2011/09/29 15:04:00.927161, 10] smbd/process.c:740(event_add_idle)
event_add_idle: idle_evt(deadtime) 0x803212390
[2011/09/29 15:04:00.927180, 11] lib/events.c:313(s3_event_debug)
s3_event: Added timed event "smbd_idle_event_handler": 0x803212450
[2011/09/29 15:04:00.927194, 10] smbd/process.c:740(event_add_idle)
event_add_idle: idle_evt(housekeeping) 0x803212450
[2011/09/29 15:04:00.927266, 10] lib/util_sock.c:726(read_smb_length_return_keepalive)
got smb length of 68
[2011/09/29 15:04:00.927287, 6] smbd/process.c:1482(process_smb)
got message type 0x81 of len 0x44
[2011/09/29 15:04:00.927303, 3] smbd/process.c:1485(process_smb)
Transaction 0 of length 72 (0 toread)
[2011/09/29 15:04:00.927322, 2] smbd/reply.c:554(reply_special)
netbios connect: name1=PROMETHEUS 0x20 name2=ZEUS 0x0
[2011/09/29 15:04:00.927357, 2] smbd/reply.c:565(reply_special)
netbios connect: local=prometheus remote=zeus, name type = 0
[2011/09/29 15:04:00.927373, 5] lib/username.c:133(Get_Pwnam_alloc)
Finding user zeus
[2011/09/29 15:04:00.927387, 5] lib/username.c:77(Get_Pwnam_internals)
Trying _Get_Pwnam(), username as lowercase is zeus
[2011/09/29 15:04:00.927599, 5] lib/username.c:95(Get_Pwnam_internals)
Trying _Get_Pwnam(), username as uppercase is ZEUS
[2011/09/29 15:04:00.927671, 5] lib/username.c:104(Get_Pwnam_internals)
Checking combinations of 0 uppercase letters in zeus
[2011/09/29 15:04:00.927687, 5] lib/username.c:110(Get_Pwnam_internals)
Get_Pwnam_internals didn't find user [zeus]!
[2011/09/29 15:04:00.938519, 6] param/loadparm.c:7133(lp_file_list_changed)
lp_file_list_changed()
file /usr/local/etc/smb.conf -> /usr/local/etc/smb.conf last mod_time: Thu Sep 29 15:03:38 2011
[2011/09/29 15:04:00.938582, 3] lib/access.c:362(only_ipaddrs_in_list)
only_ipaddrs_in_list: list has non-ip address (192.168.20.)
[2011/09/29 15:04:00.938598, 3] lib/access.c:396(check_access)
check_access: hostnames in host allow/deny list.
[2011/09/29 15:04:00.956838, 2] lib/access.c:406(check_access)
Allowed connection from 192.168.20.201 (192.168.20.201)
[2011/09/29 15:04:00.957003, 3] smbd/oplock.c:895(init_oplocks)
init_oplocks: initializing messages.
[2011/09/29 15:04:00.957023, 5] lib/messages.c:329(messaging_deregister)
Deregistering messaging pointer for type 1 - private_data=0x0
[2011/09/29 15:04:00.957048, 11] lib/events.c:313(s3_event_debug)
s3_event: Added timed event "smbd_idle_event_handler": 0x8032122d0
[2011/09/29 15:04:00.957073, 10] smbd/process.c:740(event_add_idle)
event_add_idle: idle_evt(keepalive) 0x8032122d0
[2011/09/29 15:04:00.957093, 11] lib/events.c:313(s3_event_debug)
s3_event: Added timed event "smbd_idle_event_handler": 0x803212390
[2011/09/29 15:04:00.957106, 10] smbd/process.c:740(event_add_idle)
event_add_idle: idle_evt(deadtime) 0x803212390
[2011/09/29 15:04:00.957124, 11] lib/events.c:313(s3_event_debug)
s3_event: Added timed event "smbd_idle_event_handler": 0x803212450
[2011/09/29 15:04:00.957137, 10] smbd/process.c:740(event_add_idle)
event_add_idle: idle_evt(housekeeping) 0x803212450
[2011/09/29 15:04:00.957211, 10] lib/util_sock.c:726(read_smb_length_return_keepalive)
got smb length of 68
[2011/09/29 15:04:00.957232, 6] smbd/process.c:1482(process_smb)
got message type 0x81 of len 0x44
[2011/09/29 15:04:00.957247, 3] smbd/process.c:1485(process_smb)
Transaction 0 of length 72 (0 toread)
[2011/09/29 15:04:00.957266, 2] smbd/reply.c:554(reply_special)
netbios connect: name1=PROMETHEUS 0x20 name2=ZEUS 0x0
[2011/09/29 15:04:00.957301, 2] smbd/reply.c:565(reply_special)
netbios connect: local=prometheus remote=zeus, name type = 0
[2011/09/29 15:04:00.957317, 5] lib/username.c:133(Get_Pwnam_alloc)
Finding user zeus
[2011/09/29 15:04:00.957331, 5] lib/username.c:77(Get_Pwnam_internals)
Trying _Get_Pwnam(), username as lowercase is zeus
[2011/09/29 15:04:00.957557, 5] lib/username.c:95(Get_Pwnam_internals)
Trying _Get_Pwnam(), username as uppercase is ZEUS
[2011/09/29 15:04:00.957628, 5] lib/username.c:104(Get_Pwnam_internals)
Checking combinations of 0 uppercase letters in zeus
[2011/09/29 15:04:00.957661, 5] lib/username.c:110(Get_Pwnam_internals)
Get_Pwnam_internals didn't find user [zeus]!
Does anybody have any ideas what I am doing wrong? Any help would be greatly appreciated.
Keith