Samba: Difference between revisions

From DWIKI
Line 61: Line 61:
*nmblookup -M domainname
*nmblookup -M domainname
*nltest (on windows)
*nltest (on windows)
*gpresult
*gpedit
*[http://sourceforge.net/projects/lam  LDAP Account Manager]
*[http://sourceforge.net/projects/lam  LDAP Account Manager]
*[http://www.nomis52.net/data/mkntpwd.tar.gz mkntpwd.tar.gz]
*[http://www.nomis52.net/data/mkntpwd.tar.gz mkntpwd.tar.gz]

Revision as of 20:16, 17 September 2007

Documentation

Samba and LDAP

Samba as PDC

net rpc group addmem  "Domain Users" someuser

nt 4.0 reskit to manage domain users!!

cpau.exe to run stuff as other user

remember to add option netbios-name-servers to dhcpd.conf


Terms

Commands and tools

FAQ

Cannot update roaming profile

Usually because a file is in use, check out

HKEY_CURRENT_USER\Software\Microsoft\WindowsNT\CurrentVersion\Winlogon\ExcludeProfileDirs


Windows complaining about wrong rights on profile


No security tab in Explorer


Can't join domain

close all shares log in to windows, no anonymous 'login'


smbmount

mount -t smbfs -o username=someuser,uid=uidofmountpoint,gid=gidofmountpoint,fmask=775 //servername/sharename /mnt/sharename/

Windows cannot connect to the domain, etc..

Switch to workgroup, reboot, join domain again, reboot.