Entries Tagged 'photos' ↓

Samba: winbind database getting out of whack

Was having some trouble with a few users not able to access their home directories on a Samba server.

/var/log/samba/log.smbd showed:

[2008/07/29 09:36:52, 2] auth/auth.c:check_ntlm_password(319)  check_ntlm_password:  Authentication for user [username] -> [username] FAILED with error NT_STATUS_NO_SUCH_USER
[2008/07/29 09:36:52, 0] smbd/service.c:make_connection(1191)  hostname (10.10.10.10) couldn't find service username

Testing:

  • Their Active Directory account was good.
  • On file server, kinit username worked.
  • On file server, wbinfo -u returned that user.
  • On file server, net user returned that user.
  • On file server, wbinfo -i username returned “Could not get info for user username“.

The problem ended up being a corrupted /var/cache/samba/winbindd_idmap.tdb.  Moved the file, restarted samba, and after a couple of minutes, everyone was back.  The only problem was that that file contained the map of username to UID.  When it recreated, nothing matched up.  So I had to change ownership of everyone’s stuff.  Easy enough to do with perl:

my @dirs = <*>;
for my $dir (@dirs) {
    next if $dir =~ /_/;
    system("chown -R \"$dir\:Domain Users\" $dir");
}

Photos - Seattle

Array ( [blocks] => specificItem [show] => [itemId] => 4164 [exactSize] => 150 [itemFrame] => None [albumFrame] => None )

I’m in Seattle attending training at Allied Telesis for the week with Donnie and Sameer. I’ve been taking some pictures, and I’ve posted what I’ve got so far.

Error (ERROR_CONFIGURATION_REQUIRED)

  • in /var/www/localhost/htdocs/wordpress/wp-content/plugins/wpg2/wpg2embed.inc at line 1390 (GalleryCoreApi::error)
  • in /var/www/localhost/htdocs/wordpress/wp-content/plugins/wpg2/wpg2embed.inc at line 867
  • in /var/www/localhost/htdocs/wordpress/wp-content/plugins/wpg2/wpg2embed.inc(1245) : regexp code at line 1
  • in /var/www/localhost/htdocs/wordpress/wp-content/plugins/wpg2/wpg2embed.inc at line 1245
  • in ??? at line 0
  • in /var/www/localhost/htdocs/wordpress/wp-includes/plugin.php at line 166
  • in /var/www/localhost/htdocs/wordpress/wp-includes/post-template.php at line 164
  • in /var/www/localhost/htdocs/wordpress/wp-content/themes/copyblogger/archive.php at line 24
  • in /var/www/localhost/htdocs/wordpress/wp-includes/template-loader.php at line 52
  • in /var/www/localhost/htdocs/wordpress/wp-blog-header.php at line 16
  • in /var/www/localhost/htdocs/wordpress/index.php at line 17

1

The training has been great so far: we’re learning how to configure some new DSL equipment I’ll be rolling out at work. We’re also having some great dinners. So far we’ve eaten at these places:

We’re staying at a nice hotel in downtown Seattle called Hotel 1000. Quiet, with modern decor and good art.

Downtown Seattle is a funny place. Like Atlanta, it’s moderately busy with suits during the day, but quieter and kind of seedy after dinner. There are more homeless people than I would have expected, but it’s hard to tell who’s homeless and who’s just scruffy. It doesn’t feel dangerous.

Photos - Catching Up

Array ( [blocks] => specificItem [show] => [itemId] => 4102 [exactSize] => 150 [itemFrame] => None [albumFrame] => None ) Array ( [blocks] => specificItem [show] => [itemId] => 4111 [exactSize] => 150 [itemFrame] => None [albumFrame] => None ) Array ( [blocks] => specificItem [show] => [itemId] => 4148 [exactSize] => 150 [itemFrame] => None [albumFrame] => None )

I’m finally getting around to posting some photos that I’ve had laying around for awhile. I have also added a couple from yesterday.

Error (ERROR_CONFIGURATION_REQUIRED)

1

Lunch with Donnie is an album that will contain photos I take when Donnie and I take our semi-regular Friday lunch walks. Right now there are only three from yesterday.

Error (ERROR_CONFIGURATION_REQUIRED)

1

The Boys of Summer contains photos from a May gathering of the clan in Carrollton.

Error (ERROR_CONFIGURATION_REQUIRED)

1

Georgia on Fire has some photos from the roof of the building where I work in downtown Atlanta. It shows how thick the smoke was when south Georgia was burning at the beginning of the summer.

Photos - High Museum

Array ( [blocks] => specificItem [show] => [itemId] => 3453 [exactSize] => 150 [itemFrame] => None [albumFrame] => None )

I visited the High Museum last week with Mom and Dad to see the Annie Leibovitz exhibit from the Brooklyn Museum. Took a few photos… check them out.

Error (ERROR_CONFIGURATION_REQUIRED)
  • in /var/www/localhost/htdocs/wordpress/wp-content/plugins/wpg2/wpg2embed.inc at line 1390 (GalleryCoreApi::error)
  • in /var/www/localhost/htdocs/wordpress/wp-content/plugins/wpg2/wpg2embed.inc at line 867
  • in /var/www/localhost/htdocs/wordpress/wp-content/plugins/wpg2/wpg2embed.inc(1245) : regexp code at line 1
  • in /var/www/localhost/htdocs/wordpress/wp-content/plugins/wpg2/wpg2embed.inc at line 1245
  • in ??? at line 0
  • in /var/www/localhost/htdocs/wordpress/wp-includes/plugin.php at line 166
  • in /var/www/localhost/htdocs/wordpress/wp-includes/post-template.php at line 164
  • in /var/www/localhost/htdocs/wordpress/wp-content/themes/copyblogger/archive.php at line 24
  • in /var/www/localhost/htdocs/wordpress/wp-includes/template-loader.php at line 52
  • in /var/www/localhost/htdocs/wordpress/wp-blog-header.php at line 16
  • in /var/www/localhost/htdocs/wordpress/index.php at line 17

1