Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 03-10-2004, 11:17 AM   #1
Registered: Jul 2003
Location: Chicago
Distribution: Fedora, ubuntu
Posts: 459

Rep: Reputation: 30
samba3 and smbpasswd3

Ok you guys are my last chance so here goes...

I tried to install samba3 via .rpm but Im getting a M$ password error (dont know it specifically, Im at work).

Ok so samba3 is installed I have and files setup for very basic operation until I get it working.
#======================= Global Settings =====================================

   workgroup = WORKGROUP
   log file = /var/log/samba3/log.%m
   max log size = 50
; log level = 3
   smb passwd file = /usr/bin/smbpasswd3
   socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
   case sensitive = no

#============================ Share Definitions ==============================

   path = /home/username
   browseable = no
   writable = yes

   path = /usr/share/stuff
   public = yes
   writable = yes
   valid users = username

#================================== <EOF> ====================================
lmhosts file:
Code: localhost servername workstationname
ok, now the problem....I noticed the smbpasswd file within the samba3 directory doesnt work:
[root@servername samba3]# ls
lmhosts      smb.conf  smbusers
secrets.tdb  smb.conf.old  smbpasswd        smb-winbind.conf
[root@empiricus samba3]# smbpasswd -a username
bash: smbpasswd: command not found
But I did notice there is the file smbpasswd3 in the /usr/bin dir BUT the permissions are
-rw------- 1 root root 838956 Feb 17 23:15 smbpasswd3
if I change the rights so root can execute the file appears to work fine, I get new user added...etc....
BUT the strange thing is that the permissions change back, removing execute?????? Anyone ever hear of something like this?

So I restart smbd3, goto my M$ machine and try to connect again the passwords still dont work.

The samba logs read:
[2004/03/10 10:56:17, 0] passdb/pdb_smbpasswd.c:getsmbfilepwent(376)
getsmbfilepwent: malformed password entry (no

After this Im pretty much lost. I know I have connectivity, I am being prompted for a logon and pass. Firewall should allow everything coming from the workstation (I can post the script too if needed) but its just not working.

Please help... I will affero you until the day I die!!!!
The GNUbie

Last edited by ryedunn; 03-10-2004 at 12:26 PM.
Old 03-10-2004, 12:58 PM   #2
Registered: Jul 2003
Location: Chicago
Distribution: Fedora, ubuntu
Posts: 459

Original Poster
Rep: Reputation: 30
I have decided to drop this rpm junk and try to compile it. Wish me luck


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
error samba3 stomach Linux - Software 1 10-27-2005 10:51 AM
Where is 'net' command for Samba3? Les62 Linux - Networking 3 06-20-2005 03:14 PM
Samba3 in solaris10 UltraSoul Solaris / OpenSolaris 1 05-01-2005 08:27 AM
openldap management tool, samba3 Tero Linux - Software 2 03-10-2004 07:58 AM
Samba2 Samba3 c0c0deuz Linux - Networking 4 06-19-2003 05:00 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:12 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration