[Samba] Fail to find correct group

Fred Lacombe fred.lacombe at linagora.com
Tue May 10 10:07:08 GMT 2005


Hi team,

deploying samba 3.0.4 as PDC on HP-UX 11.00, I've got a singular behaviour
on one specific server. Our configuration is working fine on other
servers.

We want to manage policies based on group membership. We've the following
extract of configuration for this purpose :

[netlogon]
        path = /etc/samba/netlogon/%g
        writable = Yes
        browsable = No
        locking = No

>From a computer member of the domain, we try to connect as user eidinst,
member of group 'installation' gid=1000, rid=3001. this user can identify
himself correctly (smbclient, etc.).
When trying to open a session on the workstation, it tries to access to
netlogon directory /etc/samba/netlogon/sys, due to a switch to 'root' user
as shown on the log level 3 below ('sys' is the gid of root user) :

[Tue May 10 10:11:21 2005
, 3] smbd/lanman.c:api_reply(3571)
  Doing WWkstaUserLogon
[Tue May 10 10:11:21 2005
, 3] smbd/lanman.c:api_WWkstaUserLogon(2833)
  Username of UID 1034 is eidinst
[Tue May 10 10:11:21 2005
, 3] smbd/lanman.c:api_WWkstaUserLogon(2841)
  WWkstaUserLogon uLevel=1 name=EIDINST
[Tue May 10 10:11:21 2005
, 3] smbd/process.c:process_smb(890)
  Transaction 4 of length 67
[Tue May 10 10:11:21 2005
, 3] smbd/process.c:switch_message(685)
  switch message SMBtconX (pid 10500)
[Tue May 10 10:11:21 2005
, 3] smbd/sec_ctx.c:set_sec_ctx(287)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[Tue May 10 10:11:21 2005
, 3] smbd/service.c:make_connection_snum(391)
  Forced user root
[Tue May 10 10:11:21 2005
, 3] smbd/service.c:make_connection_snum(440)
  Forced group sys
[Tue May 10 10:11:21 2005
, 3] smbd/service.c:make_connection_snum(457)
  Connect path is '/etc/samba/netlogon/sys' for service [netlogon]

Has anyone an idea why this is happening ?

Many thanks

-- 
Fred Lacombe                                        Linagora S.A.
Open Source Project Manager                30, rue Saint Augustin
                                      Tel. : +33 (0)1 58 18 68 28
                                      Fax. : +33 (0)1 58 18 68 29



More information about the samba mailing list