[Samba] domain users appear as local to samba

Nikos Gkorogiannis Nikos.Gkorogiannis at uwe.ac.uk
Tue Mar 21 11:43:41 GMT 2006


Hi

I know I am being an ass :) but it worked only half-way (the full story
is that there are two servers, the other one being 3.0.14, which after
rejoining it, worked fine, but the 3.0.21c doesn't). I looked in the
logs and I can find this

[2006/03/21 10:58:26, 5] lib/username.c:Get_Pwnam_alloc(290)
  Finding user CEMS\ngadmin
[2006/03/21 10:58:26, 5] lib/username.c:Get_Pwnam_internals(234)
  Trying _Get_Pwnam(), username as lowercase is cems\ngadmin
[2006/03/21 10:58:26, 5] lib/username.c:Get_Pwnam_internals(242)
  Trying _Get_Pwnam(), username as given is CEMS\ngadmin
[2006/03/21 10:58:26, 5] lib/username.c:Get_Pwnam_internals(252)
  Trying _Get_Pwnam(), username as uppercase is CEMS\NGADMIN
[2006/03/21 10:58:26, 5] lib/username.c:Get_Pwnam_internals(261)
  Checking combinations of 0 uppercase letters in cems\ngadmin
[2006/03/21 10:58:26, 5] lib/username.c:Get_Pwnam_internals(267)
  Get_Pwnam_internals didn't find user [CEMS\ngadmin]!
[2006/03/21 10:58:26, 5] lib/username.c:Get_Pwnam_alloc(290)
  Finding user ngadmin
[2006/03/21 10:58:26, 5] lib/username.c:Get_Pwnam_internals(234)
  Trying _Get_Pwnam(), username as lowercase is ngadmin
[2006/03/21 10:58:26, 10] lib/util_pw.c:getpwnam_alloc(98)
  Got ngadmin from pwnam_cache
[2006/03/21 10:58:26, 5] lib/username.c:Get_Pwnam_internals(267)
  Get_Pwnam_internals did find user [ngadmin]!
[2006/03/21 10:58:26, 5] auth/auth_util.c:fill_sam_account(1118)
  fill_sam_account: located username was [ngadmin]
[2006/03/21 10:58:26, 10] passdb/pdb_get_set.c:pdb_set_username(617)
  pdb_set_username: setting username ngadmin, was
[2006/03/21 10:58:26, 10] passdb/pdb_get_set.c:pdb_set_fullname(698)
  pdb_set_full_name: setting full name , was
[2006/03/21 10:58:26, 10] passdb/pdb_get_set.c:pdb_set_unix_homedir(833)
  pdb_set_unix_homedir: setting home dir /home/ngadmin, was NULL
[2006/03/21 10:58:26, 10] passdb/pdb_get_set.c:pdb_set_domain(644)
  pdb_set_domain: setting domain NAS, was
[2006/03/21 10:58:26, 10] passdb/pdb_get_set.c:pdb_set_user_sid(544)
  pdb_set_user_sid: setting user sid
S-1-5-21-1102332421-1603003059-3385149876-1000

Now, NAS is the name of the server and CEMS is the domain name. I tried
this with winbind use default domain = Yes and No but without any
difference. This is the debian binary on samba.org btw.

Any ideas?


Thanks
Nikos

On Fri, 2006-03-17 at 09:47 -0600, Gerald (Jerry) Carter wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Nikos Gkorogiannis wrote:
> 
> >>> Simple usage works fine: if I log in on a Win client as 
> >>> DOMAIN\user then I can map a drive on \\samba\user and read/write
> >>> and so on. However if I look up the security properties of a
> >>> file in \\samba\user, the owner shows up as local to the samba
> >>> server, i.e. \\samba\user as opposed to DOMAIN\user.
> > 
> > Thanks for your response. I am already running winbindd 
> > without idmaps or an ldap backend. Or is the ldap backend
> > compulsory?
> 
> Hmmm....Can you send me (off list) level 10 debug logs from
> smbd and winbindd that illustrate the failure?
> 
> 
> 
> 
> 
> cheers, jerry
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.2 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> 
> iD8DBQFEGtoHIR7qMdg1EfYRAhGrAKDAzL/Ow+hhaFdOS1wQUQDDtOQheQCg51s6
> SAbVdb/dcOjGJAfSf2l/tJI=
> =OyTR
> -----END PGP SIGNATURE-----
> 
> 
> This incoming email to UWE has been independently scanned for viruses and any virus detected has been removed using McAfee anti-virus software
-- 
Nikos Gkorogiannis <Nikos.Gkorogiannis at uwe.ac.uk>



This email has been independently scanned for viruses and any virus software has been removed using McAfee anti-virus software


More information about the samba mailing list