Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
samba passwd problems
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
smonice
n00b
n00b


Joined: 26 Apr 2004
Posts: 2

PostPosted: Mon Apr 26, 2004 2:15 am    Post subject: samba passwd problems Reply with quote

i know this may have been topic of discussion before but i dont think its exactly the same. ive altered the smb.conf as show below. any help would be appreciated. Here are the details.

- gentoo linux with samba working
-windows xp pro

so i set up the shares in the smb.conf and am able to view the computer from windows xp but when i try to access that cpu i get a login / passwd prompt. i try all the sets of passwd's for the gentoo box and cannot get access. i try to run smbpasswd and i alter the SMB pass and it says failed to find passdb. Not sure what this means or if i need it at all. This is all on a local net with nothing fancy setup(on a workgroup not a domain).

Please help.

These are the lines not commented out of my smb.conf:

workgroup = <my workgroup>
netbios name = <my netbios name>
server string = Samba Server %v
printcap name = lpstat
load printers = yes
printing = cups
log file = /var/log/samba/log.%m
max log size = 50
hosts allow = 192.168.1
encrypt passwords = yes
smb passwd file = /etc/samba/private/smbpasswd
socket options = blah
dns proxy = no

[shares] set up correctly
Back to top
View user's profile Send private message
smonice
n00b
n00b


Joined: 26 Apr 2004
Posts: 2

PostPosted: Mon Apr 26, 2004 2:23 am    Post subject: Reply with quote

solved my own problem, thx
Back to top
View user's profile Send private message
Markrian
n00b
n00b


Joined: 07 Jul 2003
Posts: 46
Location: Kent, UK

PostPosted: Mon Apr 26, 2004 12:00 pm    Post subject: Reply with quote

Erm, I'm having the same problems - could you please post again, saying what you did you fix the problem? It'd be greatly appreciated :)

Thanks.
_________________
Wikipedia - The Free Encyclopædia
Back to top
View user's profile Send private message
Markrian
n00b
n00b


Joined: 07 Jul 2003
Posts: 46
Location: Kent, UK

PostPosted: Fri Apr 30, 2004 2:20 pm    Post subject: Reply with quote

Ah, I have solved my own problem as well :)

For anyone else having problems, here are a few pointers:
  • Always make sure you've run smbpasswd *correctly*. There are plenty of pitfalls etc to watch out for. This is what got me.
  • Make your /etc/samba/smb.conf is as simple as possible at first, and build it up one feature at a time.
  • Use Samba's Official Documentation to help you - it worked perfectly for me, following that.


Best of luck!
_________________
Wikipedia - The Free Encyclopædia
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
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