MLUG: Re: [MLUG] Samba, Samba, Samba
Re: [MLUG] Samba, Samba, Samba
Email address obfuscation in effect -- please click here to turn it off.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Does it produce any errors? How about /var/log/samba/log.smbd and 
log.nmbd, any info in there? Be warned, some of it's pretty cryptic 
looking, especially the errors, but there might be hints as to why it's 
not working. Also, try /etc/rc.d/init.d/smb status, it should output 
something like:

[EMAIL:PROTECTED root]# /etc/rc.d/init.d/smb status
smbd (pid 16472 18838 9050) is running...
nmbd (pid 9058 9055) is running...

Otherwise, it should say stopped on both. I have seen where smbd will 
run, but nmbd will bomb, and that causes some weird problems.

Next, what is your "security =" setting?

I'm trying to think of all the problems I ran into setting up samba in 
the past, but I don't ever recall smbadduser/smbpasswd bombing before 
completion. Mebbe try an "strace smbpasswd pepperm" to see if that gives 
you a better idea of where it's failing? Lastly, someone suggested 
dumping the output of testparm which is a really good idea.

Rick

sorry if I rambled, it's late...need sleep...

Pepper, Mike wrote:

>I wind up getting the identical error :-\
>
>/usr/bin/smbadduser <Unixname>:<NTid>
>That works fine, and prompts me for a password. after confirming the password, it bombs.
>
>Mike
>
>-----Original Message-----
>From: Mark Haidekker [mailto:EMAIL:PROTECTED]
>Sent: Wednesday, September 04, 2002 10:28 AM
>To: EMAIL:PROTECTED
>Subject: Re: [MLUG] Samba, Samba, Samba
>
>
>On Wednesday 04 September 2002 10:18 am, you wrote:
>  
>
>>Here is what I have done so far:
>>1) useradd -m <username>
>>
>>2) passwd <username>
>>
>>3) cat /etc/passwd > mksmbpasswd.sh > /etc/samba/passwd
>>
>>4) smbpasswd <username>
>>
>>At this point I get an error stating: getsmbfilepwent: malformed password
>>entry (uid not number) Failed to find entry for user <username>
>>
>>any clues?
>>
>>Mike
>>    
>>
>
>
>You'd be better off using smbadduser instead of copying the unix password 
>file into the samba password file. I'd suggest you start with an empty smb 
>password file.
>
>Mark
>--
>To unsubscribe, go to http://mlug.missouri.edu/members/edit.php
>
>Archives are available at http://mlug.missouri.edu/list-archives/
>
>--
>To unsubscribe, go to http://mlug.missouri.edu/members/edit.php
>
>Archives are available at http://mlug.missouri.edu/list-archives/
>  
>

--
To unsubscribe, go to http://mlug.missouri.edu/members/edit.php

Archives are available at http://mlug.missouri.edu/list-archives/