$NetBSD: patch-af,v 1.1.1.1 2008/06/16 16:04:25 taca Exp $ --- smbldap-useradd.orig 2008-04-22 17:13:29.000000000 +0900 +++ smbldap-useradd @@ -467,7 +467,7 @@ if ( defined( $tmp = $Options{'m'} ) ) { system "mkdir $userHomeDirectory 2>/dev/null"; } system -"chown -R $userName:$userGidNumber $userHomeDirectory 2>/dev/null"; +"chown -R $userUidNumber:$userGidNumber $userHomeDirectory 2>/dev/null"; if ( defined $config{userHomeDirectoryMode} ) { system "chmod $config{userHomeDirectoryMode} $userHomeDirectory 2>/dev/null";