PAM config for SAMBA
I have recently installed PAM 0.77 (I think) and SAMBA 3.0.2a
The only thing PAM is setup for is SAMBA (currently) When I login to SWAT (the problem only lies here) I cannot login as ROOT or myUserAccount (both have no passwords)... I created another account called sample with a password of sample and it logs into SWAT perfectly! What do I need to put in my smb.conf OR/AND /etc/pam.d/samba file? Current /etc/pam.d/samba: Code:
auth required pam_unix.so I have been googling all day (Haven't checked the forms part yet...) |
Update
Ok, I have messed with my file for hours now...
It seems, with my current config (will post in an hour or two as my Laptop hasn't arrived yet) will allow ANY valid username to login with ANY password (Has to have a password though) Not what I was looking for but it does confirm it is a PAM setting... Could I get people with Slack, Debian, and other Distros to post your /etc/pam.d/samba files? And I can't get pam_smbpass to compile - the readme says to use like Samba 2.2.?alpha2 (or somthing like that) and it says to just run make but I have no configs in that directory so I don't know whats up... Also, this seems to be either new or just not documented... (LOL, I have found more info in Japanese than I have n English!) |
Code:
auth required pam_permit.so nullok shadow ## Normal users |
Ok all... I believe I have it working as well as it will...
Now, root and myOtherAccount with blank passwords can login as long as I enter something in for the password AND my other accounts that have actual passwords require the correct password! (I'll give root a password eventually =) Here is my /etc/pam.d/samba file: Code:
auth required pam_nologin.so #does nothin? I'm not sure which lines work, I was trying everything and this seems to work well enough for me now =) I hope this helps Others in the future!!! Micah |
All times are GMT -5. The time now is 03:23 PM. |