Samba: Difference between revisions

From DWIKI
Line 51: Line 51:


==FAQ==
==FAQ==
'''Cannot update roaming profile'''
===Cannot update roaming profile===
Usually because a file is in use, check out
Usually because a file is in use, check out
  HKEY_CURRENT_USER\Software\Microsoft\WindowsNT\CurrentVersion\Winlogon\ExcludeProfileDirs
  HKEY_CURRENT_USER\Software\Microsoft\WindowsNT\CurrentVersion\Winlogon\ExcludeProfileDirs


'''Can't join domain'''
===Can't join domain===
close all shares
close all shares
log in to windows
log in to windows, no anonymous 'login'
 
 
===smbmount===
mount -t smbfs -o username=someuser,uid=uidofmountpoint,gid=gidofmountpoint,fmask=775 //servername/sharename /mnt/sharename/

Revision as of 18:31, 13 January 2007

Documentation

Samba and LDAP

Samba as PDC

net rpc group addmem someuser "Domain Users"

nt 4.0 reskit to manage domain users!!

cpau.exe to run stuff as other user

Windows complaining about wrong rights on profile

Commands

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

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/