Samba: Difference between revisions

From DWIKI
No edit summary
No edit summary
Line 47: Line 47:
*[[SID]]
*[[SID]]


== Commands ==
== Commands and tools==
*net
*net
*testparm
*testparm
Line 56: Line 56:
*nmblookup -M domainname
*nmblookup -M domainname
*nltest (on windows)
*nltest (on windows)
 
*[http://imc.sourceforge.net/samba-console.html Samba-console, interface for smbldap-tools]
==FAQ==
==FAQ==
===Cannot update roaming profile===
===Cannot update roaming profile===

Revision as of 12:57, 22 March 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 and tools

  • 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)
  • Samba-console, interface for smbldap-tools

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.