1822143 Members
3775 Online
109640 Solutions
New Discussion юеВ

samba password error

 
SOLVED
Go to solution
Jannik
Honored Contributor

samba password error

# ./samba.server start
Starting SMB services
smbd started
nmbd started

# ps -ef | grep smb
root 29244 1 0 15:51:19 ? 0:00 /usr/local/samba/sbin/nmbd -D -s /usr/local/samba/lib/smb.co
root 29273 4442 0 15:52:20 pts/2 0:00 grep smb
root 29242 1 0 15:51:18 ? 0:00 /usr/local/samba/sbin/smbd -D -s /usr/local/samba/lib/smb.co

# ./smbstatus
sessionid.tdb not initialised

Service pid machine Connected at
-------------------------------------------------------
No locked files

# ./smbclient -L localhost -U nobody
Password:
session setup failed: Call returned zero bytes (EOF)


LOG ERROR MESSAGE:

[2004/07/12 16:03:17, 0] passdb/pdb_smbpasswd.c:getsmbfilepwent(430)
getsmbfilepwent: malformed password entry (no terminating :)
[2004/07/12 16:03:17, 0] lib/util_sec.c:assert_gid(113)
Failed to set gid privileges to (-1,-2) now set to (0,0) uid=(0,0)
[2004/07/12 16:03:17, 0] lib/util.c:smb_panic(1400)
PANIC: failed to set gid

[2004/07/12 16:03:17, 0] lib/fault.c:fault_report(36)
===============================================================
[2004/07/12 16:03:17, 0] lib/fault.c:fault_report(37)
INTERNAL ERROR: Signal 6 in pid 812 (3.0.2a)
Please read the appendix Bugs of the Samba HOWTO collection
[2004/07/12 16:03:17, 0] lib/fault.c:fault_report(39)
===============================================================
[2004/07/12 16:03:17, 0] lib/util.c:smb_panic(1400)
PANIC: internal error
jaton
5 REPLIES 5
Jannik
Honored Contributor

Re: samba password error

# ./testparm
Load smb config files from /usr/local/samba/lib/smb.conf
Processing section "[homes]"
Processing section "[public]"
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions

# Global parameters
[global]
workgroup = MYGROUP
server string = Samba Server
security = SHARE
log file = /usr/local/samba/var/log.%m
max log size = 50
dns proxy = No

[homes]
comment = Home Directories
read only = No

[public]
path = /home
read only = No
guest only = Yes
guest ok = Yes
jaton
Franky_1
Respected Contributor

Re: samba password error

Hi Jannik,

maybe you should make the following entry in the global section :
password server =
and additionally make the requested entries in the smbpasswd file

HTH

Franky
Don't worry be happy
Darren Prior
Honored Contributor

Re: samba password error

Hi Jannik,

Share level security isn't a good idea for Samba, especially for users' home directories. If you really do want to use this security method I'd suggest you take a look at the section of the O'Reilly Using Samba book that discusses this.

regards,

Darren.
Calm down. It's only ones and zeros...
Geoff Wild
Honored Contributor
Solution

Re: samba password error

Where did you get Samba from?

Should have:

http://www.software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=B8725AA

Can you increase logging level to 2 in your smb.conf file, restart samba, and try again.

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Jan Sladky
Trusted Contributor

Re: samba password error

hi,
have you registered user nobody via smbpasswd ? (smbpasswd -a nobody)

if local autentication is used (without global option "password server")
all users have to have smb account, try it and post result

br jan
GSM, Intelligent Networks, UNIX