Samba: Difference between revisions

From DWIKI
Line 30: Line 30:


==Samba as PDC==
==Samba as PDC==
*[[Samba as PDC]]
*[http://daniel.fiser.cz/?go=samba Samba PDC mini-HOWTO]
*[http://daniel.fiser.cz/?go=samba Samba PDC mini-HOWTO]
*[http://www.novell.com/coolsolutions/feature/5832.html Troubleshooting Roaming Profiles on Microsoft Windows NT/2000]
*[http://www.novell.com/coolsolutions/feature/5832.html Troubleshooting Roaming Profiles on Microsoft Windows NT/2000]
Line 46: Line 47:


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


==Terms==
==Terms==

Revision as of 18:37, 5 April 2008

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

  • gsambad too manage samba users

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 //servername/sharename /mnt/sharename/

If you get very vague warnings on debian this means you didn't install one of many smb* packages, probably smbfs

Windows cannot connect to the domain, etc..

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