Samba (windows filesharing) wordt geregelkd door Samwise.

Encrypted passwords uitzetten in windows clients

You can turn off encrypted passwords by importing a simple registry entry. The following is from the Win95.txt file in the samba docs:


  1. Launch the Registry Editor as follows: Click on: /Start/Run. Type “regedit” and press enter.
  2. Double click on: HKEY_LOCAL_MACHINE
  3. Locate the following Key: /HKEY_LOCAL_MACHINE/System/CurrentControlSet/Services/VxD/VNETSUP
  4. From the menu bar select Edit/New/DWORD Value
  5. Rename the entry from “New Value #1” to: EnablePlainTextPassword
  6. Press Enter, then double click on the new entry. A dialog box will pop up and enable you to set a value. You must set this value to 1.

Command line gebruik

$  smbclient -L localhost -U%              # shares weergegeven op localhost

Machine account aanmaken

adduser --force-badname --home /dev/null --shell /dev/null incanus$
smbpasswd -a -m incanus$

Gebruik vervolgens root als user om de windows machine toe te voegen aan het domein.

Roaming profiles


Mistakes I've seen others make with roaming profiles are:

  • Setting the profile path to be the same as the home directory. As the user starts to put documents in their his home directory, they are all copied back and forth between the server and workstation at each logon and logoff.
  • Not redirecting My Documents out of the profile (use group policy for this).
  • Not limiting the size of profiles. Group Policy (and System Policy before it) have policies for restricting the size of profiles. An example that comes to mind is a user copying a 100Mb video file to his desktop and then wondering why his login was very slow across a 2Mb leased line. You also need to educate your users that storing documents on the desktop is a bad thing (or stop them doing it with file ACLs).
  • No consistency between workstations. I have always recommended putting effort into developing a workstation build process. The more automated the better and the less the workstation is the result of the personal preferences of the techie who build the machine the better. If all the program shortcuts and locations are different between machines you can expect hiccups. If your environment has every version of Windows ever released then you can't expect to have a good time with profiles.
  • Keeping the Office templates stored in c:\program files\microsoft office\templates. There are some ADM files in the Office Resource Kit. Use them. You might be surprised by the number of user preferences that are stored here.
/share/Web/dokuwiki/data/pages/beheer/samba.txt · Laatst gewijzigd: 2013/12/23 13:45 door pieter
CC Attribution-Share Alike 4.0 International
Powered by PHP Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0 Valid HTML5