I am using Samba 3.0.23a-1 and am having issues with the "username map" option. I copies my map that works for Samba 2.2.8 to a system running Samba 3, no good. I googled around and have come up short. Users whose Windows account names match their UNIX account names can use the shares, this affects only users whose account names do NOT match. The error I get is "session setup failed: NT_STATUS_LOGON_FAILURE". Can someone point me in a direction where I can find the answer? Thank you, -- Jamie Bohr
I am also getting this error with samba-3.0.9-1.3E.10 on RHEL V4. I get [2006/08/22 12:08:26, 5] auth/auth.c:check_ntlm_password(271) check_ntlm_password: winbind authentication for user [WindowsLogin] FAILED with error NT_STATUS_NO_SUCH_USER [2006/08/22 12:08:26, 2] auth/auth.c:check_ntlm_password(312) check_ntlm_password: Authentication for user [WindowsLogin] -> [UNIXLogin] FAILED with error NT_STATUS_NO_SUCH_USER User whose account names are the same do not have this problem. On 8/21/06, Jamie Bohr <jamiebohr@gmail.com> wrote:> > I am using Samba 3.0.23a-1 and am having issues with the "username map" > option. I copies my map that works for Samba 2.2.8 to a system running > Samba 3, no good. I googled around and have come up short. Users whose > Windows account names match their UNIX account names can use the shares, > this affects only users whose account names do NOT match. The error I get > is "session setup failed: NT_STATUS_LOGON_FAILURE". Can someone point me in > a direction where I can find the answer? > > Thank you, > > -- > Jamie Bohr >-- Jamie Bohr
One more note, I can add WindowsLogin to /etc/passwd and all works as expected. On 8/22/06, Jamie Bohr <jamiebohr@gmail.com> wrote:> > I am also getting this error with samba-3.0.9-1.3E.10 on RHEL V4. I get > > [2006/08/22 12:08:26, 5] auth/auth.c:check_ntlm_password(271) > check_ntlm_password: winbind authentication for user [WindowsLogin] FAILED > with error NT_STATUS_NO_SUCH_USER > [2006/08/22 12:08:26, 2] auth/auth.c:check_ntlm_password(312) > check_ntlm_password: Authentication for user [WindowsLogin] -> > [UNIXLogin] FAILED with error NT_STATUS_NO_SUCH_USER > > User whose account names are the same do not have this problem. > > > > On 8/21/06, Jamie Bohr <jamiebohr@gmail.com> wrote: > > > > I am using Samba 3.0.23a-1 and am having issues with the "username map" > > option. I copies my map that works for Samba 2.2.8 to a system running > > Samba 3, no good. I googled around and have come up short. Users whose > > Windows account names match their UNIX account names can use the shares, > > this affects only users whose account names do NOT match. The error I get > > is "session setup failed: NT_STATUS_LOGON_FAILURE". Can someone point me in > > a direction where I can find the answer? > > > > Thank you, > > > > -- > > Jamie Bohr > > > > > > -- > Jamie Bohr >-- Jamie Bohr
After searching more and playing with the latest beta release I ran accross an article that indicated I needed to add the Window domain name in from of the Windows login name. For example: UNIXlogin = WindowsDomain\Windowslogin That works - Yah! Does any one know what version "username map script" first shoulded up in? I would like to know what release to look for the RHEL v3. On 8/22/06, Jamie Bohr <jamiebohr@gmail.com> wrote:> > One more note, I can add WindowsLogin to /etc/passwd and all works as > expected. > > > On 8/22/06, Jamie Bohr <jamiebohr@gmail.com > wrote: > > > > I am also getting this error with samba-3.0.9-1.3E.10 on RHEL V4. I get > > > > > > [2006/08/22 12:08:26, 5] auth/auth.c:check_ntlm_password(271) > > check_ntlm_password: winbind authentication for user [WindowsLogin] FAILED > > with error NT_STATUS_NO_SUCH_USER > > [2006/08/22 12:08:26, 2] auth/auth.c:check_ntlm_password(312) > > check_ntlm_password: Authentication for user [WindowsLogin] -> > > [UNIXLogin] FAILED with error NT_STATUS_NO_SUCH_USER > > > > User whose account names are the same do not have this problem. > > > > > > > > On 8/21/06, Jamie Bohr < jamiebohr@gmail.com> wrote: > > > > > > I am using Samba 3.0.23a-1 and am having issues with the "username > > > map" option. I copies my map that works for Samba 2.2.8 to a system > > > running Samba 3, no good. I googled around and have come up short. Users > > > whose Windows account names match their UNIX account names can use the > > > shares, this affects only users whose account names do NOT match. The error > > > I get is "session setup failed: NT_STATUS_LOGON_FAILURE". Can someone point > > > me in a direction where I can find the answer? > > > > > > Thank you, > > > > > > -- > > > Jamie Bohr > > > > > > > > > > > -- > > Jamie Bohr > > > > > > -- > Jamie Bohr >-- Jamie Bohr