reset samba passwords - Mission impossible?

hi!

Yesterday night I tried to set a password for a new user (of a Windows XP) so that I may connect my MacBook to a PC.

Reason: I never managed to connect the both of them. I was always receiving a kind of "wromng user/password message (do not remember the exact wording at the moment).

What happened: I opened the terminal. Typed smbpasswd -a it prompted me for a new password.

So, here I got confused. I believe I didn't insert and confirmed any password and just closed the terminal window, but after that, whenever I try to change the password it first asks me for a OLD password.

Whatever I do - ignore it or try to insert something I may have entered earlier, I always get the same reply:

machine 127.0.0.1 rejected the (anonymous) password change: Error was : Wrong Password.
Failed to change password for asen



If I try to set a password for a particular user, then I get the following:

odssam_getsampwnam: [0]getsam_recordattributes dsRecTypeStandard:Users no account for 'asen'!
odssam_getsampwnam: [0]getsam_recordattributes dsRecTypeStandard:Users no account for 'asen'!
could not find new user/computer asen in passdb.
Failed to initialise SAM_ACCOUNT for user asen. Does this user exist in the UNIX password database ?
Failed to modify password entry for user asen


Is it possible to absolutely reset samba?

Please, advise!

MacBook, Mac OS X (10.4.7)

Posted on Nov 30, 2006 10:41 PM

Reply
15 replies

Dec 1, 2006 11:07 AM in response to BDAqua

Well, I'm confused. I have no such value in the Key Chain. Plus, I have revealed all the hidden files and I see **NO** samba folder whatsoever...

My question is if the samba comes installed with the Tiger?

I want to reinstall it if no solution to reset the passwords.

Somehow I cannot set a password for a remote computer runing Win XP.

Dec 2, 2006 1:17 PM in response to Rick Van Vliet

Well, it's not that I want to connect my Macbook from another PC. It is vice versa. I want to connect another computer, runing Win XP, with disabled "guest" account. This I never managed to do.

I'll read the samba details you offered in the link.

Off topic: Is it possible that I messed something with the smbpasswd settings? I tried to set a new password but I didn't finish the procedure. I closed the terminal by force to discontinue the process.

Mac OS X (10.4.7)

Dec 2, 2006 3:20 PM in response to Asen

First, forgive me for running you down the wrong road.
SMPASSWD on your mac will get you nowhere on the XP.
I don't think we quite understood that you were trying to connect to the XP.

End this thread, and start a new one, with a subject like "can't connect to a PC".
This sounds like what you're trying, right?

This is relatively simple, and you sure don't need to be messing around with SMBPASSWD for this.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

reset samba passwords - Mission impossible?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.