Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
difficulties with smbpasswd
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
reaz82
Apprentice
Apprentice


Joined: 14 Mar 2003
Posts: 203
Location: Austin, Texas

PostPosted: Thu Apr 10, 2003 5:55 am    Post subject: difficulties with smbpasswd Reply with quote

the first time i ever install gentoo things ran without a hitch..
i had samba up and running without any difficulties..
however due to other circumstances i had to reinstall gentoo..
and since then i have not been able to get samba running properly..

the problem i am facing is the smbpasswd command..
for some reason the program keeps notifying that
the passdb database could not be written too..
therefore i cant set passwords and therefore i can not log
into my own computer from another windows machine on
the net work..

please assume everything else is fine..
thanx
Back to top
View user's profile Send private message
caffiend
n00b
n00b


Joined: 26 Mar 2003
Posts: 48
Location: Oakland, CA

PostPosted: Thu Apr 10, 2003 9:59 pm    Post subject: Reply with quote

sounds like a permissions problem to me.

Code:
ls -l smbpasswd


or whatever the file holding your passwords is named.
Back to top
View user's profile Send private message
reaz82
Apprentice
Apprentice


Joined: 14 Mar 2003
Posts: 203
Location: Austin, Texas

PostPosted: Fri Apr 11, 2003 12:14 am    Post subject: Reply with quote

well i'll look into that..
but i am trying to run smbpasswd as root..
so i doubt that is the problem..

any other reasons?

btw i havent been able to locate the password file..
does it come with the samba install or is it generated?

thanx

edit :
i got it working... i have to use smbpasswd -a 'username'

the '-a' option makes new entries.. i had used it earlier and forgot about it this time..
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