macsat.com OpenWrt and ASUS WL Forum
December 04, 2008, 02:24:35 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?
Login with username, password and session length
News: Back to macsat.com
 
   Home   Help Search Login Register  
Pages: [1] 2   Go Down
  Print  
Author Topic: samba asks for password in windows xp  (Read 11034 times)
0 Members and 1 Guest are viewing this topic.
netddos
Newbie
*
Offline Offline

Posts: 16


View Profile
« on: March 07, 2006, 03:33:42 AM »

i install samba according to openwrt guide..

i did exactly as it was stated except i delete samba file...it shouldn't matter cuz s50samba is there to initiate it right?

the thing is it some times work and it some times doesn't..like i have to reboot and power cycle a few times and it works when it wants to...why is that?
Logged
macsat
Administrator
Sr. Member
*****
Offline Offline

Posts: 1,104



View Profile
« Reply #1 on: March 07, 2006, 09:04:45 AM »


What do you mean dosnt work?

Does your USB device get mounted the times where "it dosnt work" ?

I have seen several bugs with the USB2.0 drivers, that have me running everything in USB 1.1 mode now, since I regard stability higher than the small performance increases that USB2.0 on theese small devices can offer.

Logged
netddos
Newbie
*
Offline Offline

Posts: 16


View Profile
« Reply #2 on: March 07, 2006, 13:03:36 PM »

ok so the problem is samba not broadcasting itself on the network..

i can access stuff ok by typing \\192.168.1.1

how do i fix this?
Logged
macsat
Administrator
Sr. Member
*****
Offline Offline

Posts: 1,104



View Profile
« Reply #3 on: March 07, 2006, 15:14:34 PM »


is nmbd running ?
Code:
ps |grep nmbd

Is your windows machine in the same workgroup as you have setup your samba server?


You ARE using OpenWrt here - right?

Logged
netddos
Newbie
*
Offline Offline

Posts: 16


View Profile
« Reply #4 on: March 07, 2006, 15:21:31 PM »


is nmbd running ?
Code:
ps |grep nmbd

Is your windows machine in the same workgroup as you have setup your samba server?


You ARE using OpenWrt here - right?



Code:
root@OpenWrt:~# ps |grep nmbd
  590 root        528 S   nmbd -D
 1759 root        288 S   grep nmbd

Code:
[global]
workgroup = WORKGROUP
server string = OpenWRT Samba Server
wins support = no
dns proxy = no
name resolve order = lmhosts hosts bcast
log file = /opt/var/log/samba/log.%m
max log size = 1000
syslog = 1
security = share
encrypt passwords = true
guest account = nobody
passwd program = /usr/bin/passwd %u
load printers = no

[SambaShare]
comment = /opt/samba
path = /opt/samba
browseable = yes
public = yes
guest ok = yes
writeable = yes
obey pam restrictions = yes

yea they are the same workgroup called WORKGROUP.

and yea nmbd IS running...samba bug?

Logged
macsat
Administrator
Sr. Member
*****
Offline Offline

Posts: 1,104



View Profile
« Reply #5 on: March 07, 2006, 15:36:20 PM »


everything seem to be setup as it should....odd that you cant see it from your windows machine.

Logged
netddos
Newbie
*
Offline Offline

Posts: 16


View Profile
« Reply #6 on: March 07, 2006, 15:38:40 PM »


everything seem to be setup as it should....odd that you cant see it from your windows machine.



yea.. Sad

iwish someone would port the concise version of samba 3 package..
Logged
zsjoska
Newbie
*
Offline Offline

Posts: 29



View Profile
« Reply #7 on: March 08, 2006, 11:27:41 AM »

what are in the logs?
/opt/var/log/samba/log.x
or syslog ?
Logged

------------------------------------------------------------
Using Asus WL-500g Deluxe with OpenWrt RC6 + WebIf2
macsat
Administrator
Sr. Member
*****
Offline Offline

Posts: 1,104



View Profile
« Reply #8 on: March 08, 2006, 11:35:04 AM »


If you followed my tutorial, in the /var/log/samba dir

Logged
radko
Newbie
*
Offline Offline

Posts: 10


View Profile
« Reply #9 on: March 06, 2007, 11:06:46 AM »

also I have the same problem, when I try to access to samba in winxp i have the login screen with user and password.
Logged
macsat
Administrator
Sr. Member
*****
Offline Offline

Posts: 1,104



View Profile
« Reply #10 on: March 06, 2007, 11:24:37 AM »


Are you using FAT32 or ext2 ?
Logged
radko
Newbie
*
Offline Offline

Posts: 10


View Profile
« Reply #11 on: March 06, 2007, 11:28:09 AM »

I am using ext3 and have in globalconfig force user = root
Logged
macsat
Administrator
Sr. Member
*****
Offline Offline

Posts: 1,104



View Profile
« Reply #12 on: March 06, 2007, 11:35:47 AM »


Strange. My smb.conf looks like this, and works perfectly with both windows xp clients and mac os x tiger as a client :

Code:
[global]
 workgroup = WORKGROUP
 server string = OpenWRT Samba Server
 wins support = no
 dns proxy = no
 name resolve order = lmhosts hosts bcast
 log file = /opt/var/log/samba/log.%m
 max log size = 1000
 syslog = 0
 security = share
 encrypt passwords = true
 obey pam restrictions = yes
 guest account = nobody
 passwd program = /usr/bin/passwd %u
 load printers = no
 interfaces = br0

[shared]
 comment = /opt/samba
 path = /opt/samba
 browseable = yes
 public = yes
 guest ok = yes
 writeable = yes



Logged
radko
Newbie
*
Offline Offline

Posts: 10


View Profile
« Reply #13 on: March 06, 2007, 11:47:47 AM »

this is my file

[global]
workgroup = DOM
server string = WL_500GP
wins support = no
dns proxy = no
name resolve order = lmhosts hosts bcast
log file = /opt/var/log/samba/log.%m
max log size = 1000
syslog = 0
security = share
encrypt passwords = true
obey pam restrictions = yes
guest account = nobody
passwd program = /usr/bin/passwd %u
load printers = no
force user = root
interfaces = br0

[SambaShare]
comment = wspolne
path = /harddisk/samba
browseable = yes
public = yes
guest ok = yes
writeable = yes
Logged
macsat
Administrator
Sr. Member
*****
Offline Offline

Posts: 1,104



View Profile
« Reply #14 on: March 06, 2007, 12:58:25 PM »

Seems to be very much alike.

Very strange indeed.

When you are presented with the login-prompt in windows, try to use user/pass = nobody/nobody

Logged
Pages: [1] 2   Go Up
  Print  
 
Jump to:  

English Steel 1.6 © Saxon North Technologies
Powered by MySQL Powered by PHP Powered by SMF 1.1.7 | SMF © 2006-2008, Simple Machines LLC
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Page created in 0.162 seconds with 24 queries.