I am trying to get a W2K server to trust a samba 3.0 server. I followed the directions in the InterdomainTrusts.html file and receive an error that the domain is not found when trying to trust it. my samba server is configured to use pam to authenticate. I had to add a user named "w2kdomain$" on the machine before I could run smbpasswd -a -i w2kdomain. Once I did that, it created the user just fine. If I run smbclient -L sambaserver -U localusername and enter my password, it uses pam to authenticate it (i am running log level 5 to verify this). If I run the same command on another box (different version of samba/smbclient), it fails. The log file shows that at the same point of authentication, there's some pop_sec_ctx calls and then "unix authentication failed for user username". I'm scratching my head at this point.. my smb.conf is miminal, security = user, encrypt passwords = no any ideas? tom
I have a samba box that has around 70 users on it at any given time. When I run "ps axu" there are certain smbd processes (and usually always by the same login) that look like username 26126 39.4 0.1 6652 2912 ? S 13:44 17:12 smbd -D any ideas why CPU is running at 39.4?? thanks! tom -- _______________________________________________________________________ Tom Ryan Voice: 856-225-6361 Consulting System Administrator Fax: 856-969-7900 Rutgers School of Law - Camden
On Wed, Oct 08, 2003 at 02:29:31PM -0400, Tom Ryan wrote:> I have a samba box that has around 70 users on it at any given time. > > When I run "ps axu" there are certain smbd processes (and usually always > by the same login) that look like > > username 26126 39.4 0.1 6652 2912 ? S 13:44 17:12 smbd -D > > any ideas why CPU is running at 39.4??What OS ? Try doing an strace on it to see what the process is doing. Jeremy.
Jeremy, 2.4.20-19.8 on redhat 8 strace reports fcntl64(14, F_SETLKW64, {type=F_UNLCK, whence=SEEK_SET, start=628, len=1}, 0xbffff150) = 0 fcntl64(14, F_SETLKW64, {type=F_WRLCK, whence=SEEK_SET, start=632, len=1}, 0xbffff150) = 0 over and over again (with different start points) Tom On Wed, 8 Oct 2003, Jeremy Allison wrote:> On Wed, Oct 08, 2003 at 02:29:31PM -0400, Tom Ryan wrote: > > I have a samba box that has around 70 users on it at any given time. > > > > When I run "ps axu" there are certain smbd processes (and usually always > > by the same login) that look like > > > > username 26126 39.4 0.1 6652 2912 ? S 13:44 17:12 smbd -D > > > > any ideas why CPU is running at 39.4?? > > What OS ? Try doing an strace on it to see what the process is doing. > > Jeremy. >-- _______________________________________________________________________ Tom Ryan Voice: 856-225-6361 Consulting System Administrator Fax: 856-969-7900 Rutgers School of Law - Camden