Samba: Difference between revisions

From DWIKI
No edit summary
Line 33: Line 33:
*[http://searchopensource.techtarget.com/tip/0,289483,sid39_gci1159865,00.html Managing Samba: Remote GUI tools]
*[http://searchopensource.techtarget.com/tip/0,289483,sid39_gci1159865,00.html Managing Samba: Remote GUI tools]


  net rpc group addmem someuser "Domain Users"
  net rpc group addmem "Domain Users" someuser


nt 4.0 reskit to manage domain users!!
nt 4.0 reskit to manage domain users!!

Revision as of 20:53, 25 February 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

Windows complaining about wrong rights on profile

Terms

Commands

  • net
  • testparm
  • pdbedit
  • smbmount or just mount -t smbfs -o username=foo,password=bar //server/share /mnt/point
  • smbclient
  • smbstatus
  • nmblookup -M domainname
  • nltest (on windows)

FAQ

Cannot update roaming profile

Usually because a file is in use, check out

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

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.