1837990 Members
2912 Online
110124 Solutions
New Discussion

Samba CIFS

 
Gerald Gauthreaux
Occasional Contributor

Samba CIFS

My NT machine connects fine when I set the security level to share in the smb.conf file, But when I change it to user, the NT station prompts me for user name a passwd, when I do so It gives me an error telling me that I am not authorized to log in from this workstation. I checked that the username and password exists on the HP UX 11.0 machine. Do I have to somehow autherize that workstation in samba? Any Ideas?

Thanks,
Beau
2 REPLIES 2
Philip Chan_1
Respected Contributor

Re: Samba CIFS

Hi,

Have you applied the "Plain password" fix for your NT box yet? look under /opt/samba/docs there is a NT registry file called "NT4_PlainPassword.reg" and you had to import that into NT's registry before you can login with "user" security. You also have to reboot NT for that reg key to take effect.

The background story is that MS take away plain text password authentication since NT4 SP3 but that is what samba needs. The reg key file above just put that back in.

Rgds,
Philip
Gregor Weertman
New Member

Re: Samba CIFS

I don't know if this is your intention but you can
validate on the NT server (if you have one).

You don't need a smbpasswd file on your HP machine
when you do that.

This is the entry in the smb.conf:
workgroup = yourworkgroup or yourdomain
wins server = xxx.xxx.xxx.xxx
password server = MY-NT-Server
security = server

Samba will check your NT-server for your passwd.

Is works ok on my network (NT4 HP10.20)

Regards Gregor.

Keep it simple, it really works.