Guest User

Untitled

a guest
Apr 2nd, 2013
124
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # /usr/local/samba/bin/samba-tool domain classicupgrade --dbdir=/var/lib/samba/ --realm=a.b --use-xattrs=yes /etc/samba/smb.conf
  2. Reading smb.conf
  3. Unknown parameter encountered: "printer admin"
  4. Ignoring unknown parameter "printer admin"
  5. WARNING: The "enable privileges" option is deprecated
  6. Processing section "[netlogon]"
  7. Processing section "[profiles]"
  8. Processing section "[homes]"
  9. Processing section "[printers]"
  10. Unknown parameter encountered: "printer admin"
  11. Ignoring unknown parameter "printer admin"
  12. Processing section "[print$]"
  13. Unknown parameter encountered: "printer admin"
  14. Ignoring unknown parameter "printer admin"
  15. Provisioning
  16. Exporting account policy
  17. Exporting groups
  18. Exporting users
  19. Next rid = 1140
  20. Exporting posix attributes
  21. Reading WINS database
  22. Cannot open wins database, Ignoring: [Errno 2] No such file or directory: '/var/lib/samba/wins.dat'
  23. lpcfg_load: refreshing parameters from /usr/local/samba/etc/smb.conf
  24. params.c:pm_process() - Processing configuration file "/usr/local/samba/etc/smb.conf"
  25. Looking up IPv4 addresses
  26. Looking up IPv6 addresses
  27. No IPv6 address will be assigned
  28. lp_load_ex: refreshing parameters
  29. params.c:pm_process() - Processing configuration file "/usr/local/samba/etc/smb.conf"
  30. Processing section "[global]"
  31. Processing section "[netlogon]"
  32. Processing section "[sysvol]"
  33. Initialising default vfs hooks
  34. Initialising custom vfs hooks from [/[Default VFS]/]
  35. Initialising custom vfs hooks from [acl_xattr]
  36. Module 'acl_xattr' loaded
  37. Initialising custom vfs hooks from [dfs_samba4]
  38. Initialising default vfs hooks
  39. Initialising custom vfs hooks from [/[Default VFS]/]
  40. Initialising custom vfs hooks from [acl_xattr]
  41. Initialising custom vfs hooks from [dfs_samba4]
  42. Setting up share.ldb
  43. Setting up secrets.ldb
  44. Setting up the registry
  45. ldb_wrap open of hklm.ldb
  46. Key 'key=SOFTWARE,hive=NONE' not found
  47. key added: key=SOFTWARE,hive=NONE
  48. Key 'key=Microsoft,key=SOFTWARE,hive=NONE' not found
  49. key added: key=Microsoft,key=SOFTWARE,hive=NONE
  50. Key 'key=Windows NT,key=Microsoft,key=SOFTWARE,hive=NONE' not found
  51. key added: key=Windows NT,key=Microsoft,key=SOFTWARE,hive=NONE
  52. Key 'key=CurrentVersion,key=Windows NT,key=Microsoft,key=SOFTWARE,hive=NONE' not found
  53. key added: key=CurrentVersion,key=Windows NT,key=Microsoft,key=SOFTWARE,hive=NONE
  54. Key 'key=SYSTEM,hive=NONE' not found
  55. key added: key=SYSTEM,hive=NONE
  56. Key 'key=CurrentControlSet,key=SYSTEM,hive=NONE' not found
  57. key added: key=CurrentControlSet,key=SYSTEM,hive=NONE
  58. Key 'key=Control,key=CurrentControlSet,key=SYSTEM,hive=NONE' not found
  59. key added: key=Control,key=CurrentControlSet,key=SYSTEM,hive=NONE
  60. Key 'key=ProductOptions,key=Control,key=CurrentControlSet,key=SYSTEM,hive=NONE' not found
  61. key added: key=ProductOptions,key=Control,key=CurrentControlSet,key=SYSTEM,hive=NONE
  62. Key 'key=Print,key=Control,key=CurrentControlSet,key=SYSTEM,hive=NONE' not found
  63. key added: key=Print,key=Control,key=CurrentControlSet,key=SYSTEM,hive=NONE
  64. Key 'key=Terminal Server,key=Control,key=CurrentControlSet,key=SYSTEM,hive=NONE' not found
  65. key added: key=Terminal Server,key=Control,key=CurrentControlSet,key=SYSTEM,hive=NONE
  66. Key 'key=Services,key=CurrentControlSet,key=SYSTEM,hive=NONE' not found
  67. key added: key=Services,key=CurrentControlSet,key=SYSTEM,hive=NONE
  68. Key 'key=Netlogon,key=Services,key=CurrentControlSet,key=SYSTEM,hive=NONE' not found
  69. key added: key=Netlogon,key=Services,key=CurrentControlSet,key=SYSTEM,hive=NONE
  70. Key 'key=Parameters,key=Netlogon,key=Services,key=CurrentControlSet,key=SYSTEM,hive=NONE' not found
  71. key added: key=Parameters,key=Netlogon,key=Services,key=CurrentControlSet,key=SYSTEM,hive=NONE
  72. Key 'key=Alerter,key=Services,key=CurrentControlSet,key=SYSTEM,hive=NONE' not found
  73. key added: key=Alerter,key=Services,key=CurrentControlSet,key=SYSTEM,hive=NONE
  74. Key 'key=Parameters,key=Alerter,key=Services,key=CurrentControlSet,key=SYSTEM,hive=NONE' not found
  75. key added: key=Parameters,key=Alerter,key=Services,key=CurrentControlSet,key=SYSTEM,hive=NONE
  76. Setting up the privileges database
  77. Setting up idmap db
  78. Setting up SAM db
  79. Setting up sam.ldb partitions and settings
  80. Setting up sam.ldb rootDSE
  81. Pre-loading the Samba 4 and AD schema
  82. partition_metadata: Migrating partition metadata
  83. Adding DomainDN: DC=a,DC=b
  84. DN: DC=a,DC=b is a NC
  85. Adding configuration container
  86. DN: CN=Configuration,DC=a,DC=b is a NC
  87. Setting up sam.ldb schema
  88. DN: CN=Schema,CN=Configuration,DC=a,DC=b is a NC
  89. Setting up sam.ldb configuration data
  90. Setting up display specifiers
  91. Modifying display specifiers
  92. Adding users container
  93. Modifying users container
  94. Adding computers container
  95. Modifying computers container
  96. Setting up sam.ldb data
  97. Setting up well known security principals
  98. Setting up sam.ldb users and groups
  99. Setting up self join
  100. Setting acl on sysvol skipped
  101. Adding DNS accounts
  102. Creating CN=MicrosoftDNS,CN=System,DC=a,DC=b
  103. Creating DomainDnsZones and ForestDnsZones partitions
  104. DN: DC=DomainDnsZones,DC=a,DC=b is a NC
  105. DN: DC=ForestDnsZones,DC=a,DC=b is a NC
  106. Populating DomainDnsZones and ForestDnsZones partitions
  107. Setting up sam.ldb rootDSE marking as synchronized
  108. Fixing provision GUIDs
  109. A Kerberos configuration suitable for Samba 4 has been generated at /usr/local/samba/private/krb5.conf
  110. Setting up fake yp server settings
  111. Once the above files are installed, your Samba4 server will be ready to use
  112. Admin password: iK=7%.Oxa1pi
  113. Server Role: active directory domain controller
  114. Hostname: raidserver
  115. NetBIOS Domain: BLUE
  116. DNS Domain: a.b
  117. DOMAIN SID: S-1-5-21-4254857281-3346836279-4152649156
  118. Importing WINS database
  119. Importing Account policy
  120. Importing idmap database
  121. Cannot open idmap database, Ignoring: [Errno 2] No such file or directory
  122. lp_load_ex: refreshing parameters
  123. params.c:pm_process() - Processing configuration file "/usr/local/samba/etc/smb.conf"
  124. Processing section "[global]"
  125. Processing section "[netlogon]"
  126. Processing section "[sysvol]"
  127. ldb_wrap open of idmap.ldb
  128. Importing groups
  129. Could not add group name=Remote Desktop Users ((68, "samldb: Account name (sAMAccountName) 'Remote Desktop Users' already in use!"))
  130. Could not modify AD idmap entry for sid=S-1-5-21-4254857281-3346836279-4152649156-555, id=5077, type=ID_TYPE_GID ((32, "Base-DN '<SID=S-1-5-21-4254857281-3346836279-4152649156-555>' not found"))
  131. Could not add posix attrs for AD entry for sid=S-1-5-21-4254857281-3346836279-4152649156-555, ((32, "Base-DN '<SID=S-1-5-21-4254857281-3346836279-4152649156-555>' not found"))
  132. Group already exists sid=S-1-5-21-4254857281-3346836279-4152649156-512, groupname=Domain Admins existing_groupname=Domain Admins, Ignoring.
  133. Importing users
  134. Adding users to groups
  135. lp_load_ex: refreshing parameters
  136. params.c:pm_process() - Processing configuration file "/usr/local/samba/etc/smb.conf"
  137. Processing section "[global]"
  138. Processing section "[netlogon]"
  139. Processing section "[sysvol]"
  140. ldb_wrap open of idmap.ldb
  141. ldb_wrap open of idmap.ldb
  142. Initialising default vfs hooks
  143. Initialising custom vfs hooks from [/[Default VFS]/]
  144. Initialising custom vfs hooks from [acl_xattr]
  145. Initialising custom vfs hooks from [dfs_samba4]
  146. unix_mode(/usr/local/samba/var/locks/sysvol) returning 0755
  147. unix_mode(/usr/local/samba/var/locks/sysvol) returning 0644
  148. unpack_nt_owners: owner sid mapped to uid 0
  149. unpack_nt_owners: group sid mapped to gid 3000000
  150. set_nt_acl: chown /usr/local/samba/var/locks/sysvol. uid = 0, gid = 3000000.
  151. Initialising default vfs hooks
  152. Initialising custom vfs hooks from [/[Default VFS]/]
  153. Initialising custom vfs hooks from [acl_xattr]
  154. Initialising custom vfs hooks from [dfs_samba4]
  155. unpack_nt_owners: owner sid mapped to uid 0
  156. unpack_nt_owners: group sid mapped to gid 3000000
  157. set_nt_acl: chown /usr/local/samba/var/locks/sysvol/a.b/Policies/{6AC1786C-016F-11D2-945F-00C04FB984F9}/GPT.INI. uid = 0, gid = 3000000.
  158. Initialising default vfs hooks
  159. Initialising custom vfs hooks from [/[Default VFS]/]
  160. Initialising custom vfs hooks from [acl_xattr]
  161. Initialising custom vfs hooks from [dfs_samba4]
  162. unix_mode(/usr/local/samba/var/locks/sysvol/a.b/Policies/{6AC1786C-016F-11D2-945F-00C04FB984F9}/USER) returning 0755
  163. unix_mode(/usr/local/samba/var/locks/sysvol/a.b/Policies/{6AC1786C-016F-11D2-945F-00C04FB984F9}/USER) returning 0644
  164. unpack_nt_owners: owner sid mapped to uid 0
  165. unpack_nt_owners: group sid mapped to gid 3000000
  166. set_nt_acl: chown /usr/local/samba/var/locks/sysvol/a.b/Policies/{6AC1786C-016F-11D2-945F-00C04FB984F9}/USER. uid = 0, gid = 3000000.
  167. Initialising default vfs hooks
  168. Initialising custom vfs hooks from [/[Default VFS]/]
  169. Initialising custom vfs hooks from [acl_xattr]
  170. Initialising custom vfs hooks from [dfs_samba4]
  171. unix_mode(/usr/local/samba/var/locks/sysvol/a.b/Policies/{6AC1786C-016F-11D2-945F-00C04FB984F9}/MACHINE) returning 0755
  172. unix_mode(/usr/local/samba/var/locks/sysvol/a.b/Policies/{6AC1786C-016F-11D2-945F-00C04FB984F9}/MACHINE) returning 0644
  173. unpack_nt_owners: owner sid mapped to uid 0
  174. unpack_nt_owners: group sid mapped to gid 3000000
  175. set_nt_acl: chown /usr/local/samba/var/locks/sysvol/a.b/Policies/{6AC1786C-016F-11D2-945F-00C04FB984F9}/MACHINE. uid = 0, gid = 3000000.
  176. Initialising default vfs hooks
  177. Initialising custom vfs hooks from [/[Default VFS]/]
  178. Initialising custom vfs hooks from [acl_xattr]
  179. Initialising custom vfs hooks from [dfs_samba4]
  180. unpack_nt_owners: owner sid mapped to uid 0
  181. unpack_nt_owners: group sid mapped to gid 3000000
  182. set_nt_acl: chown /usr/local/samba/var/locks/sysvol/a.b/Policies/{31B2F340-016D-11D2-945F-00C04FB984F9}/GPT.INI. uid = 0, gid = 3000000.
  183. Initialising default vfs hooks
  184. Initialising custom vfs hooks from [/[Default VFS]/]
  185. Initialising custom vfs hooks from [acl_xattr]
  186. Initialising custom vfs hooks from [dfs_samba4]
  187. unix_mode(/usr/local/samba/var/locks/sysvol/a.b/Policies/{31B2F340-016D-11D2-945F-00C04FB984F9}/USER) returning 0755
  188. unix_mode(/usr/local/samba/var/locks/sysvol/a.b/Policies/{31B2F340-016D-11D2-945F-00C04FB984F9}/USER) returning 0644
  189. unpack_nt_owners: owner sid mapped to uid 0
  190. unpack_nt_owners: group sid mapped to gid 3000000
  191. set_nt_acl: chown /usr/local/samba/var/locks/sysvol/a.b/Policies/{31B2F340-016D-11D2-945F-00C04FB984F9}/USER. uid = 0, gid = 3000000.
  192. Initialising default vfs hooks
  193. Initialising custom vfs hooks from [/[Default VFS]/]
  194. Initialising custom vfs hooks from [acl_xattr]
  195. Initialising custom vfs hooks from [dfs_samba4]
  196. unix_mode(/usr/local/samba/var/locks/sysvol/a.b/Policies/{31B2F340-016D-11D2-945F-00C04FB984F9}/MACHINE) returning 0755
  197. unix_mode(/usr/local/samba/var/locks/sysvol/a.b/Policies/{31B2F340-016D-11D2-945F-00C04FB984F9}/MACHINE) returning 0644
  198. unpack_nt_owners: owner sid mapped to uid 0
  199. unpack_nt_owners: group sid mapped to gid 3000000
  200. set_nt_acl: chown /usr/local/samba/var/locks/sysvol/a.b/Policies/{31B2F340-016D-11D2-945F-00C04FB984F9}/MACHINE. uid = 0, gid = 3000000.
  201. Initialising default vfs hooks
  202. Initialising custom vfs hooks from [/[Default VFS]/]
  203. Initialising custom vfs hooks from [acl_xattr]
  204. Initialising custom vfs hooks from [dfs_samba4]
  205. unix_mode(/usr/local/samba/var/locks/sysvol/a.b/Policies/{6AC1786C-016F-11D2-945F-00C04FB984F9}) returning 0755
  206. unix_mode(/usr/local/samba/var/locks/sysvol/a.b/Policies/{6AC1786C-016F-11D2-945F-00C04FB984F9}) returning 0644
  207. unpack_nt_owners: owner sid mapped to uid 0
  208. unpack_nt_owners: group sid mapped to gid 3000000
  209. set_nt_acl: chown /usr/local/samba/var/locks/sysvol/a.b/Policies/{6AC1786C-016F-11D2-945F-00C04FB984F9}. uid = 0, gid = 3000000.
  210. Initialising default vfs hooks
  211. Initialising custom vfs hooks from [/[Default VFS]/]
  212. Initialising custom vfs hooks from [acl_xattr]
  213. Initialising custom vfs hooks from [dfs_samba4]
  214. unix_mode(/usr/local/samba/var/locks/sysvol/a.b/Policies/{31B2F340-016D-11D2-945F-00C04FB984F9}) returning 0755
  215. unix_mode(/usr/local/samba/var/locks/sysvol/a.b/Policies/{31B2F340-016D-11D2-945F-00C04FB984F9}) returning 0644
  216. unpack_nt_owners: owner sid mapped to uid 0
  217. unpack_nt_owners: group sid mapped to gid 3000000
  218. set_nt_acl: chown /usr/local/samba/var/locks/sysvol/a.b/Policies/{31B2F340-016D-11D2-945F-00C04FB984F9}. uid = 0, gid = 3000000.
  219. Initialising default vfs hooks
  220. Initialising custom vfs hooks from [/[Default VFS]/]
  221. Initialising custom vfs hooks from [acl_xattr]
  222. Initialising custom vfs hooks from [dfs_samba4]
  223. unix_mode(/usr/local/samba/var/locks/sysvol/a.b/Policies) returning 0755
  224. unix_mode(/usr/local/samba/var/locks/sysvol/a.b/Policies) returning 0644
  225. unpack_nt_owners: owner sid mapped to uid 0
  226. unpack_nt_owners: group sid mapped to gid 3000000
  227. set_nt_acl: chown /usr/local/samba/var/locks/sysvol/a.b/Policies. uid = 0, gid = 3000000.
  228. Initialising default vfs hooks
  229. Initialising custom vfs hooks from [/[Default VFS]/]
  230. Initialising custom vfs hooks from [acl_xattr]
  231. Initialising custom vfs hooks from [dfs_samba4]
  232. unix_mode(/usr/local/samba/var/locks/sysvol/b/scripts) returning 0755
  233. unix_mode(/usr/local/samba/var/locks/sysvol/b/scripts) returning 0644
  234. unpack_nt_owners: owner sid mapped to uid 0
  235. unpack_nt_owners: group sid mapped to gid 3000000
  236. set_nt_acl: chown /usr/local/samba/var/locks/sysvol/b/scripts. uid = 0, gid = 3000000.
  237. Initialising default vfs hooks
  238. Initialising custom vfs hooks from [/[Default VFS]/]
  239. Initialising custom vfs hooks from [acl_xattr]
  240. Initialising custom vfs hooks from [dfs_samba4]
  241. unix_mode(/usr/local/samba/var/locks/sysvol/a.b) returning 0755
  242. unix_mode(/usr/local/samba/var/locks/sysvol/a.b) returning 0644
  243. unpack_nt_owners: owner sid mapped to uid 0
  244. unpack_nt_owners: group sid mapped to gid 3000000
  245. set_nt_acl: chown /usr/local/samba/var/locks/sysvol/a.b. uid = 0, gid = 3000000.
  246. Initialising default vfs hooks
  247. Initialising custom vfs hooks from [/[Default VFS]/]
  248. Initialising custom vfs hooks from [acl_xattr]
  249. Initialising custom vfs hooks from [dfs_samba4]
  250. unix_mode(/usr/local/samba/var/locks/sysvol/b) returning 0755
  251. unix_mode(/usr/local/samba/var/locks/sysvol/b) returning 0644
  252. unpack_nt_owners: owner sid mapped to uid 0
  253. unpack_nt_owners: group sid mapped to gid 3000000
  254. set_nt_acl: chown /usr/local/samba/var/locks/sysvol/b. uid = 0, gid = 3000000.
  255. Initialising default vfs hooks
  256. Initialising custom vfs hooks from [/[Default VFS]/]
  257. Initialising custom vfs hooks from [acl_xattr]
  258. Initialising custom vfs hooks from [dfs_samba4]
  259. unpack_nt_owners: owner sid mapped to uid 0
  260. unpack_nt_owners: group sid mapped to gid 3000000
  261. Initialising default vfs hooks
  262. Initialising custom vfs hooks from [/[Default VFS]/]
  263. Initialising custom vfs hooks from [acl_xattr]
  264. Initialising custom vfs hooks from [dfs_samba4]
  265. unpack_nt_owners: owner sid mapped to uid 0
  266. unpack_nt_owners: group sid mapped to gid 5078
  267. set_nt_acl: chown /usr/local/samba/var/locks/sysvol/a.b/Policies/{31B2F340-016D-11D2-945F-00C04FB984F9}. uid = 0, gid = 5078.
  268. Initialising default vfs hooks
  269. Initialising custom vfs hooks from [/[Default VFS]/]
  270. Initialising custom vfs hooks from [acl_xattr]
  271. Initialising custom vfs hooks from [dfs_samba4]
  272. unpack_nt_owners: owner sid mapped to uid 0
  273. unpack_nt_owners: group sid mapped to gid 5078
  274. set_nt_acl: chown /usr/local/samba/var/locks/sysvol/a.b/Policies/{31B2F340-016D-11D2-945F-00C04FB984F9}/GPT.INI. uid = 0, gid = 5078.
  275. Initialising default vfs hooks
  276. Initialising custom vfs hooks from [/[Default VFS]/]
  277. Initialising custom vfs hooks from [acl_xattr]
  278. Initialising custom vfs hooks from [dfs_samba4]
  279. unpack_nt_owners: owner sid mapped to uid 0
  280. unpack_nt_owners: group sid mapped to gid 5078
  281. set_nt_acl: chown /usr/local/samba/var/locks/sysvol/a.b/Policies/{31B2F340-016D-11D2-945F-00C04FB984F9}/USER. uid = 0, gid = 5078.
  282. Initialising default vfs hooks
  283. Initialising custom vfs hooks from [/[Default VFS]/]
  284. Initialising custom vfs hooks from [acl_xattr]
  285. Initialising custom vfs hooks from [dfs_samba4]
  286. unpack_nt_owners: owner sid mapped to uid 0
  287. unpack_nt_owners: group sid mapped to gid 5078
  288. set_nt_acl: chown /usr/local/samba/var/locks/sysvol/a.b/Policies/{31B2F340-016D-11D2-945F-00C04FB984F9}/MACHINE. uid = 0, gid = 5078.
  289. Initialising default vfs hooks
  290. Initialising custom vfs hooks from [/[Default VFS]/]
  291. Initialising custom vfs hooks from [acl_xattr]
  292. Initialising custom vfs hooks from [dfs_samba4]
  293. unpack_nt_owners: owner sid mapped to uid 0
  294. unpack_nt_owners: group sid mapped to gid 5078
  295. set_nt_acl: chown /usr/local/samba/var/locks/sysvol/a.b/Policies/{6AC1786C-016F-11D2-945F-00C04FB984F9}. uid = 0, gid = 5078.
  296. Initialising default vfs hooks
  297. Initialising custom vfs hooks from [/[Default VFS]/]
  298. Initialising custom vfs hooks from [acl_xattr]
  299. Initialising custom vfs hooks from [dfs_samba4]
  300. unpack_nt_owners: owner sid mapped to uid 0
  301. unpack_nt_owners: group sid mapped to gid 5078
  302. set_nt_acl: chown /usr/local/samba/var/locks/sysvol/a.b/Policies/{6AC1786C-016F-11D2-945F-00C04FB984F9}/GPT.INI. uid = 0, gid = 5078.
  303. Initialising default vfs hooks
  304. Initialising custom vfs hooks from [/[Default VFS]/]
  305. Initialising custom vfs hooks from [acl_xattr]
  306. Initialising custom vfs hooks from [dfs_samba4]
  307. unpack_nt_owners: owner sid mapped to uid 0
  308. unpack_nt_owners: group sid mapped to gid 5078
  309. set_nt_acl: chown /usr/local/samba/var/locks/sysvol/a.b/Policies/{6AC1786C-016F-11D2-945F-00C04FB984F9}/USER. uid = 0, gid = 5078.
  310. Initialising default vfs hooks
  311. Initialising custom vfs hooks from [/[Default VFS]/]
  312. Initialising custom vfs hooks from [acl_xattr]
  313. Initialising custom vfs hooks from [dfs_samba4]
  314. unpack_nt_owners: owner sid mapped to uid 0
  315. unpack_nt_owners: group sid mapped to gid 5078
  316. set_nt_acl: chown /usr/local/samba/var/locks/sysvol/a.b/Policies/{6AC1786C-016F-11D2-945F-00C04FB984F9}/MACHINE. uid = 0, gid = 5078.
  317. [root@samba samba-4.0.4]# !?list
  318. samba-tool user list
  319. Administrator
  320. krbtgt
  321. Guest
RAW Paste Data