[Samba] Follow-up: strange issue with share mapping at logon

2008-08-14 Thread Michael Liermann

Hello all,

I found a cause and a fix for this issue, and - he said shamefacedly - 
it's something I should have found much earlier: through some quirk of 
the process whereby we exported existing LDAP data from the old PDC and 
reformatted it to fit the new one, the sambaGroupMapping object class 
was deleted from the affected groups, and so they couldn't be used by 
Samba for checking access. Used smbldap-groupmod to add the correct 
object class, and since then, it's all been fine.


Moral of the story: don't ever assume that, just because a dozen groups 
were imported properly, the thirteenth one will work too - verify that 
it worked.


--

Michael Liermann
Sunday Tech / Sunday Media

mobile: +27 (0)72 214 6058
phone: +27 (0)21 531 7199
fax: +27 (0)21 531 7199

Hayibo.com | Topcorner.co.za | Livescore.co.za | iMakeover | Sunday Media

NOTE: The preceding e-mail message (including any attachments) contains
information that may be confidential, may be protected by the
attorney-client or other applicable privileges, or may constitute
non-public information. It is intended to be conveyed only to the
designated recipient(s) named above. If you are not an intended
recipient of this message, please notify the sender by replying to this
message and then delete all copies of it from your computer system. Any
use, dissemination, distribution, or reproduction of this message by
unintended recipients is not authorized and may be unlawful. © 2008
Sunday Media cc.



--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Help needed: strange issue with share mapping at logon

2008-08-04 Thread Michael Liermann
"HKEY_CURRENT_USER\Identities\"+$identity+"Software\Microsoft\Outlook 


Express\5.0\News")
   EndIf

WriteValue("HKEY_CURRENT_USER\Identities\"+$identity+"Software\Microsoft\Outlook 


Express\5.0\News", "Accounts Checked", "00 00 00 00", "REG_BINARY")

WriteValue("HKEY_CURRENT_USER\Identities\"+$identity+"Software\Microsoft\Outlook 


Express\5.0\News", "New group notification", "0", "REG_DWORD")

WriteValue("HKEY_CURRENT_USER\Identities\"+$identity+"Software\Microsoft\Outlook 


Express\5.0\News", "News Dialog Position", "2c 00 00 00 00 00 00 00 01
00 00 00 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 84 00 00 00 60
00 00 00 f3 02 00 00 e2 01 00 00", "REG_BINARY")

WriteValue("HKEY_CURRENT_USER\Identities\"+$identity+"Software\Microsoft\Outlook 


Express\5.0\News", "Show Header Info", "1", "REG_DWORD")

WriteValue("HKEY_CURRENT_USER\Identities\"+$identity+"Software\Microsoft\Outlook 


Express\5.0\News", "ShowHybridView", "1", "REG_DWORD")

WriteValue("HKEY_CURRENT_USER\Identities\"+$identity+"Software\Microsoft\Outlook 


Express\5.0\News", "SplitDir", "0", "REG_DWORD")

WriteValue("HKEY_CURRENT_USER\Identities\"+$identity+"Software\Microsoft\Outlook 


Express\5.0\News", "SplitHorzPct", "50", "REG_DWORD")

WriteValue("HKEY_CURRENT_USER\Identities\"+$identity+"Software\Microsoft\Outlook 


Express\5.0\News", "SplitVertPct", "50", "REG_DWORD")
   ; Rules
   $RC =
ExistKey("HKEY_CURRENT_USER\Identities\"+$identity+"Software\Microsoft\Outlook 


Express\5.0\Rules")
   If $RC <> 0

AddKey("HKEY_CURRENT_USER\Identities\"+$identity+"Software\Microsoft\Outlook 


Express\5.0\Rules")
   EndIf
   ; Rules\Mail
   $RC =
ExistKey("HKEY_CURRENT_USER\Identities\"+$identity+"Software\Microsoft\Outlook 


Express\5.0\Rules\Mail")
   If $RC <> 0

AddKey("HKEY_CURRENT_USER\Identities\"+$identity+"Software\Microsoft\Outlook 


Express\5.0\Rules\Mail")
   EndIf
   ; Trident
   $RC =
ExistKey("HKEY_CURRENT_USER\Identities\"+$identity+"Software\Microsoft\Outlook 


Express\5.0\Trident")
   If $RC <> 0

AddKey("HKEY_CURRENT_USER\Identities\"+$identity+"Software\Microsoft\Outlook 


Express\5.0\Trident")
   EndIf
   ; Trident\Main
   $RC =
ExistKey("HKEY_CURRENT_USER\Identities\"+$identity+"Software\Microsoft\Outlook 


Express\5.0\Trident\Main")
   If $RC <> 0

AddKey("HKEY_CURRENT_USER\Identities\"+$identity+"Software\Microsoft\Outlook 


Express\5.0\Trident\Main")
   EndIf
   ; Trident\Settings
   $RC =
ExistKey("HKEY_CURRENT_USER\Identities\"+$identity+"Software\Microsoft\Outlook 


Express\5.0\Trident\Settings")
   If $RC <> 0

AddKey("HKEY_CURRENT_USER\Identities\"+$identity+"Software\Microsoft\Outlook 


Express\5.0\Trident\Settings")
   EndIf

   ; Internet Account Manager settings
   WriteValue("HKEY_CURRENT_USER\Software\Microsoft\Internet Account
Manager", "Account Name", "2", "REG_DWORD")
   WriteValue("HKEY_CURRENT_USER\Software\Microsoft\Internet Account
Manager", "Default Mail Account", "0001", "REG_SZ")
   $RC = ExistKey("HKEY_CURRENT_USER\Software\Microsoft\Internet
Account Manager\Accounts")
   If $RC <> 0
   AddKey("HKEY_CURRENT_USER\Software\Microsoft\Internet Account
Manager\Accounts")
   EndIf
   WriteValue("HKEY_CURRENT_USER\Software\Microsoft\Internet Account
Manager\Accounts", "ConnectionSettingsMigrated", "1", "REG_DWORD")
   $RC = ExistKey("HKEY_CURRENT_USER\Software\Microsoft\Internet
Account Manager\Accounts\0001")
   If $RC <> 0
   AddKey("HKEY_CURRENT_USER\Software\Microsoft\Internet Account
Manager\Accounts\0001")
   EndIf
   WriteValue("HKEY_CURRENT_USER\Software\Microsoft\Internet Account
Manager\Accounts\0001", "Account Name", "imap.cybersmart.co.za",
"REG_SZ")
   WriteValue("HKEY_CURRENT_USER\Software\Microsoft\Internet Account
Manager\Accounts\0001", "Connection Type", "3", "REG_DWORD")
   WriteValue("HKEY_CURRENT_USER\Software\Microsoft\Internet Account
Manager\Accounts\0001", "IMAP Dirty", "0", "REG_DWORD")
   WriteValue("HKEY_CURRENT_USER\Software\Microsoft\Internet Account
Manager\Accounts\0001", "IMAP Poll