[Samba] samba4 and dsadd command

OR robonyx at freemail.hu
Mon Mar 10 02:19:11 MDT 2014


Greetings! FreeBSD amd64 10.0 operating system software installed Samba 4.1.4 from ports with defaultsettings. From Windows 7 32-bit Enterprise (Hungary) client from the command lineI started a dsadd command, which included the following: dsadd user CN=ValakiJanos,OU=Tart,DC=valami,DC=local -pwd Jelszok_ -hmdrvP: -hmdir \\probal\home\ValakiJanos -profile\\probal\Profiles\ValakiJanos -display "Valaki Janos" -ln Valaki -fnJanos -pwdneverexpires yes. The command set up everything except one, does not automatically create the user's home directory!The "Active Directory Users and Computers" MMC Snap-in module automatically creates the user home directory! Although this phenomenon could produce Ubuntu Linux 13.10 amd64 + SernetSamba 4.1.5 .smb.conf:
[global]    workgroup = VALAMI
    realm = VALAMI.LOCAL
    netbios name = PROBA2
    server role = active directory domain controller
    dns forwarder = X.X.X.X
    idmap_ldb:use rfc2307 = yes
    
[netlogon]
    path = /var/db/samba4/sysvol/valami.local/scripts
    read only = no [sysvol]
    path = /var/db/samba4/sysvol
    read only = no [home]
    path = /usr/home
    read only = no [Profiles]
    path = /usr/profil
    read only = no The /usr /home and /usr /profile directories  owned by root:wheel , permissions 0775.
I've done all settings as described in http://wiki.samba.org/
included. Sorry for my bad English. Best regards :                           Robert Orosz 


More information about the samba mailing list