OS/2, eCS & ArcaOS - Technical > Networking

Samba Users and Groups

<< < (5/7) > >>

Neil Waldhauer:
I'm starting the servers with the following command line:

smb.cmd start

I have not set libpathstrict. I'm attaching a testlog to this post in case that helps.

I started samba to check things on this post, and it did not generate any traps, but it also did not allow any client to connect. Browsing doesn't work, either. Samba creates logs in response to these actions, but the logs are zero length.

Paul Smedley:

--- Quote from: Neil Waldhauer on January 22, 2024, 03:48:13 pm ---I'm starting the servers with the following command line:

smb.cmd start

I have not set libpathstrict. I'm attaching a testlog to this post in case that helps.

I started samba to check things on this post, and it did not generate any traps, but it also did not allow any client to connect. Browsing doesn't work, either. Samba creates logs in response to these actions, but the logs are zero length.

--- End quote ---

The default loglevel is low :) so doesn't produce many entries.

Can you try starting with:
smbd -d 8
then try to connect, then close  smbd - and send me a copy of \var\log\log.smbd*

Thanks,

Paul

Neil Waldhauer:
These are the logs from smbd -d 8, but they were in \mptn\etc\samba\log\smbd*

Paul Smedley:
A few things of note from the logs:

--- Code: ---[2024/01/22 18:46:52.954000,  2] ../../libcli/auth/ntlm_check.c:480(ntlm_password_check)
  ntlm_password_check: NTLMv1 passwords NOT PERMITTED for user Warp30
[2024/01/22 18:46:52.954000,  3] ../../libcli/auth/ntlm_check.c:487(ntlm_password_check)
  ntlm_password_check: NEITHER LanMan nor NT password supplied for user Warp30

--- End code ---


--- Code: ---[2024/01/22 18:46:52.958000,  5] ../../source3/auth/auth.c:265(auth_check_ntlm_password)
  auth_check_ntlm_password: sam_ignoredomain authentication for user [Warp30] FAILED with error NT_STATUS_WRONG_PASSWORD, authoritative=1
[2024/01/22 18:46:52.958000,  2] ../../source3/auth/auth.c:353(auth_check_ntlm_password)
  check_ntlm_password:  Authentication for user [Warp30] -> [Warp30] FAILED with error NT_STATUS_WRONG_PASSWORD, authoritative=1

--- End code ---

So seems to be some kind of password mismatch.  Try resetting password with smbpasswd

Neil Waldhauer:
While I have found how to get users and groups to work for Samba3, I noted that smbpasswd.exe was broken.

In Samba4, I'm getting some messages, but at least it does not crash.


--- Code: ---{0}[f:\programs\samba] smbpasswd -a Warp40
Unknown parameter encountered: "display charset"
Ignoring unknown parameter "display charset"
lpcfg_do_global_parameter: WARNING: The "null passwords" option is deprecated
New SMB password:
Retype new SMB password:
sh.exe: 1: F:Programssambausermod.cmd: not found
Failed to add entry for user Warp40.

--- End code ---

Perhaps something in smb.conf is interpreted differently than in Samba3?

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version