LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 03-10-2004, 10:17 AM   #1
ryedunn
Member
 
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.
smb.cfg
Code:
#======================= Global Settings =====================================


[global]
   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 ==============================


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

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


#================================== <EOF> ====================================
lmhosts file:
Code:
127.0.0.1 localhost
192.168.0.1 servername
192.168.0.2 workstationname
ok, now the problem....I noticed the smbpasswd file within the samba3 directory doesnt work:
Code:
[root@servername samba3]# ls
lmhosts      smb.conf      smbldap_conf.pm  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 11:26 AM.
 
Old 03-10-2004, 11:58 AM   #2
ryedunn
Member
 
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
 
  


Reply


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 09:51 AM
Where is 'net' command for Samba3? Les62 Linux - Networking 3 06-20-2005 02:14 PM
Samba3 in solaris10 UltraSoul Solaris / OpenSolaris 1 05-01-2005 07:27 AM
openldap management tool, samba3 Tero Linux - Software 2 03-10-2004 06:58 AM
Samba2 Samba3 c0c0deuz Linux - Networking 4 06-19-2003 04:00 PM


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

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