[Samba] couldn't find service %u, Samba 3.0.11

Ryan Novosielski novosirj at umdnj.edu
Tue Mar 4 21:58:44 GMT 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ryan Novosielski wrote:
> Hey all,
> 
> I'm running Samba 3.0.11 on HP-UX 11i. My only recent change was moving
> from smbpasswd to tdbsam, but this issue has suddenly cropped up:
> 
> [2008/03/04 07:50:34, 0] smbd/service.c:make_connection(796),  pacsd1
> (130.219.4.160) couldn't find service %u
> 
> ...which doesn't make any sense to me. Of interest might be the pdbedit
> -Lv output for a user:
> 
> # /products/samba/bin/pdbedit -Lv pricepa
> Unix username:        pricepa
> NT username:
> Account Flags:        [U          ]
> User SID:             S-1-5-21-4044729573-821786135-2680766218-13138
> Primary Group SID:    S-1-5-21-4044729573-821786135-2680766218-1399
> Full Name:            Paquita Price
> Home Directory:       \\rwja-lm\%u
> HomeDir Drive:        S:
> Logon Script:         pricepa.bat
> Profile Path:
> Domain:               PISCATAWAY
> Account desc:
> Workstations:
> Munged dial:
> Logon time:           0
> Logoff time:          Mon, 18 Jan 2038 22:14:07 EST
> Kickoff time:         Mon, 18 Jan 2038 22:14:07 EST
> Password last set:    Thu, 20 Sep 2007 11:57:25 EST
> Password can change:  Thu, 20 Sep 2007 11:57:25 EST
> Password must change: Mon, 18 Jan 2038 22:14:07 EST
> Last bad password   : 0
> Bad password count  : 0
> Logon hours         : FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
> 
> Anyone have any idea what might be going wrong here?

Well, I searched the list archives and came up with the fact that I
should switch to %U as a workaround.

However, what puzzles me is that this worked before with smbpasswd (it
would seem to me that this really is not too related to the passdb
backend, so I have trouble understanding it). Shouldn't this have been
broken before? Also, what if I don't really want %U and I really DO want
%u? Am I left without an option?

In any case, the problem appears to be solved now:

...
Home Directory:       \\rwja-lm\pricepa
HomeDir Drive:        S:
...

(it appears the %u was taken literally, not expanded to pricepa).

- --
 ---- _  _ _  _ ___  _  _  _
 |Y#| |  | |\/| |  \ |\ |  | |Ryan Novosielski - Systems Programmer II
 |$&| |__| |  | |__/ | \| _| |novosirj at umdnj.edu - 973/972.0922 (2-0922)
 \__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHzcYUmb+gadEcsb4RApyAAJ97G2v8plbSt2T5wgpWhcbq2d/20wCfcOeg
Dd4JBE2v1Y/RiXGJyPi62g4=
=y8/c
-----END PGP SIGNATURE-----


More information about the samba mailing list