Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

NTLM simulieren

Empfohlene Antworten

Veröffentlicht

Hi,

erstmal ein Lob an das neue Fachinformatiker-Portal. Ich finds richtig gut.

Ich muss demnächst meine Abschlusspräsentation vortragen. In meinem Projekt wurde unter anderem auch die NTLM-Authentifizierung von $M behandelt.

Die würde ich gerne bei der Präsi vorführen. Gibt es eine Möglichkeit einen NTLM-Server zu simulieren ohne gleich einen Domänencontroller aufzusetzen?

Gruß

debitux

Kann ich das nicht mit Samba simulieren? Hat das schonmal jemand gemacht?

Kann ich das nicht mit Samba simulieren? Hat das schonmal jemand gemacht?

samba nutzt standardmässig die NTLM Authentifizierung,

also einfach nen samba Server aufsetzen und du hast was du willst (muss nicht als DC laufen, reicht auch als Arbeitsgruppe)

Gruß

Terran

Jut. Mehr wollte ich net wissen :-)...

Merci!

Gruß

debitux

Doch noch eine Frage zu der NTLM-Authentifizierung.

Die Authentifizierung läuft ja dann anscheinend über winbind. Ich habe ein mod_ntlm-Modul für den Apache und möchte mich gegen den Samba-Server authentifizieren. (hört sich sinnlos an, muss ich aber leider machen).

Zuerst habe ich die smb.conf so angepasst:


[global]

        null passwords = Yes

        encrypt passwords = Yes

        protocol = NT1

        socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

        max log size = 50

        interfaces = 172.16.255.2/255.255.0.0

        security = domain

        winbind uid = 10000-20000

        winbind gid = 10000-20000

        winbind use default domain = yes

        local master = no

        server string = Notebook / Testsystem

        workgroup = linux

        netbios name = notebook

        log file = /var/log/samba/log.%m

        os level = 20

        default = global

        character set = ISO8859-1


[daten]

        path = /daten

        public = yes

        writable = yes

Dann habe ich den root-User mal als SMB-User hinzugefügt.

smbpasswd -a -U root%blabla

Dann habe ich das NTLM-Modul in der httpd.conf eingerichtet.

    <Directory /usr/sypache/apache/htdocs/root>

            AuthType NTLM

            NTLMAuth on

            NTLMAuthoritative on

            NTLMDomain linux

            NTLMServer 172.16.255.2

            Require user root

    </Directory>

Leider authentifiziert der sich nicht richtig. Was mache ich falsch? Kann das überhaupt funktionieren?

Gruß

debitux

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.