Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'No samba users' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
No samba users
Authored by: k3rmit on Sep 19, '02 04:28:26AM

The shares created in smb.conf can only be assigned to the system users defined in the preference pane....
This is quite annoying for me, since i have to create a share for the user www, which exists but has no password and no shell assigned. I corrected this out with the NetInfo Manager, but still id didn't work.

Theorically speaking samba and system users should not be the same, there are specifically defined key in the smb.conf file which permits not to link the system users with the samba users, but this is not what i wanted.

In fact with smbpasswd you create a password specifically for samba shares for users that already exist in the system.
The passdb for samba users doesn't exist by default in Jaguar, so with mkpassdb i created it and assigned to the user www the password...... guess what?? IT DIDN'T work either!!!

Quite annoying, it seems that smbd doesn't take the samba password file in consideration.

Is there someone who worked this out????

Thanks in advance

Alb3



[ Reply to This | # ]
No samba users
Authored by: qdzlug on Oct 16, '02 02:50:56PM

Well, this may help.....

All I wanted to do was to play music from my windows machine from a share on my powerbook.....searched, found this hint, and thought life was good.

So I tried to get sharing to work with my current configuration, but ran into the same problems above. 20 minutes and quite a bit of frustration later I figured out a workaround (good enough for now). I had a "postgres" user configured for some work I was doing with postgres a few weeks ago. I went in and checked "allow user to login from windows", and got back a dialog box to the effect of "in order to make this work we need to reset the password". Typed the password in on the windows side, clicked OK, and was working fine.

I still need to fix my login account, but for what I'm doing this works (for now).

HTH,

Jason



[ Reply to This | # ]
No samba users
Authored by: qdzlug on Oct 16, '02 02:53:39PM

OK, just got my account to work.

1) Make sure the "allow user to log in from windows" box is checked in Accounts.
2) Go into "My Account" and change your password.
3) Try to log in from Windows.

Worked for me, which is a good thing because I was finding it a bit frustrating trying to deal with it! ;>

Jason



[ Reply to This | # ]