Hi all,
My first posting as a Samba newbie!
I have Samba 1.9.18p5 serving on Redhat Linux 5.1 on a machine called
Linus. My problem is that some of my NT4 PC users cannot access their
autohome directories. After typing in their name and password NT reports
"\\Linus\joe is not accessible. The account is not authorized to login
from this machine."
Their Linux and NT usernames and passwords are the same.
This problem only occurs with some users and not others.
Here is my smb.conf file:
[global]
workgroup = USERS
comment = RedHat Samba Server
volume = RedHat4
printing = bsd
printcap name = /etc/printcap
load printers = yes
log file = /var/log/samba-log.%m
max log size = 50
short preserve case = yes
preserve case = yes
lock directory = /var/lock/samba
locking = yes
strict locking = no
share modes = yes
security = share
socket options = TCP_NODELAY
[homes]
comment = Your Home Directory
writable = yes
browseable = no
read only = no
preserve case = yes
short preserve case = yes
create mode = 0750
[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
printable = yes
public = no
writable = no
create mode = 0700
[sales_market]
comment = Sales and Marketing Directory
path = /market
public = yes
only guest = yes
writable = yes
printable = no
[admin]
comment = Administration Directory
path = /admin
public = yes
only guest = yes
writable = yes
printable = no
Any help would be greatly appreciated.
Graham
--
/\ /\ /\/ / / Graham Alston, VK3KOA
/ \ \ /\ / / Systems Administrator
/ / \/ \ \ / 87 Peters Ave, Mulgrave, 3170, Melbourne, AUSTRALIA
/ / /\/ \/ \/ Ph: +61 3 95609999 Fax: +61 3 95609055
MARTIN Email: Graham.Alston@martin.com.au
COMMUNICATIONS WWW: http://www.martin.com.au
I have same problem a month ago and I found out that this problem occurs to those who upgraded to Service Pack 3 ( NT 4.0 ). as far as I know, this Service Pack encrypts password making it not match with the Linux stored password. The problem is in NT 4.0. The solution is like what I wrote two days ago, There is something to be modify in the NT registry. Steps: 1) Run the regedt32 in Run command window or in Nt explorer or in MSDOS prompt. 2) Choose HKEY_LOCAL_MACHINE as working tab. 3) Double Click System, then CurrentControlSet, then Services, then Rdr and then Parameters. 4) Now that you already higlighted the Parameters , click the Edit menu and choose Add Value. 5) An Add Value window will appear. At the Text field, type EnablePlainTextPassword. At the Data Type dialog box, choose REG_DWORD. Click OK and it will ask for value, input 1 as value. 6) Click Exit at the File menu. 7) Restart. Does it solve your problem? Write me back.