Skip to content

Tag: samba

Join Windows 7 to SAMBA+LDAP PDC

In my smb.cfg I have follow command for adding machine user to my PDC server: When I want to join new Win7 machine to my PDC with root user (this is default configuration) I got follow message: I tried adding follows, but without success (same error message) Note: If I run command manually: /usr/sbin/useradd …

Changing SAMBA Password in Java

I have a Java program running on linux that needs to be able to both set a users initial samba password, and then allow them to change their password without giving them access to the terminal. Below is my code for changing the users password, as this is easier to test with, and I will be able to figure the

TortoiseGit – copy via sftp on pull

Intro: I have 2 folders which are on the same GIT repository, one is on a very slow Samba network drive, and one locally. using GIT on samba is extremely slow, but the Samba is my server, which is actually vmplayer running ubuntu server on a windows machine. My question is: is it possible to automatically cop…

SSSD Authentication with Samba 4

I have recently upgraded to samba 4 from samba 3.5 on a RHEL 6.3 platform. It is pleasing that the new version can replace AD DC and has it’s own built it kdc and ldb database. Now my intention is to make linux boxes authenticate to samba4 by connecting through ldap as samba 4 works like a kerberized ld…