Samba: Difference between revisions

From DWIKI
Line 13: Line 13:
*[[smbldap-tools]]
*[[smbldap-tools]]
*[[Samba-LDAP on Debian]]
*[[Samba-LDAP on Debian]]
*[http://www.nomis52.net/?section=docs&page=samldap Debian Samba 3 / LDAP / PHP LDAP Admin HOWTO]
*[http://www.ofb.net/~jheiss/samba/ldap.shtml samba and ldap]
*[http://www.ofb.net/~jheiss/samba/ldap.shtml samba and ldap]
*[http://mawi.org/sambaldap/Samba_and_LDAP_on_Debian.html Samba & LDAP ...on Debian made simple!]
*[http://mawi.org/sambaldap/Samba_and_LDAP_on_Debian.html Samba & LDAP ...on Debian made simple!]

Revision as of 17:20, 30 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)
  • LDAP Account Manager
  • mkntpwd.tar.gz

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.