RE [Samba] Samba 3.0.12 (gid of user [joe] doesn't exist) Weird error when Client logs on.

spu at corman.be spu at corman.be
Thu Mar 24 15:32:07 GMT 2005






Your user exist in smbpasswd or your samba backend ?

-----------------------------------
Stéphane PURNELLE                         stephane.purnelle at corman.be
Service Informatique       Corman S.A.           Tel : 00 32 087/342467


                                                                           
             Peter Shull                                                   
             <drgn65 at gmail.com                                             
             >                                                           A 
             Envoyé par :              samba at lists.samba.org               
             samba-bounces+ste                                          cc 
             phane.purnelle=co                                             
             rman.be at lists.sam                                       Objet 
             ba.org                    [Samba] Samba 3.0.12 (gid of user   
                                       [joe] doesn't exist) Weird error    
                                       when Client logs on.                
             24/03/2005 16:23                                              
                                                                           
                                                                           
             Veuillez répondre                                             
                     à                                                     
                Peter Shull                                                
             <drgn65 at gmail.com                                             
                     >                                                     
                                                                           
                                                                           




Hi,

I just recently purchased a new server and took this opportunity to
upgrade to the latest version of samba (3.0.12).  Unfortunatly, I have
some weird occurances.  I have a user called "joe" who is my admin
user.

In /etc/passwd I have this:
joe:x:500:500:Joe:/home/joe:/bin/bash

In /etc/group I have this:
admin:x:500:joe

id returns correctly:
uid=500(joe) gid=500(admin) groups=500(admin)

I have a very simple samba setup.  With only 2 users (and 1 machine
account) in my smbpasswd.  I can login fine and it appears everything
works.  Unfortunatly, I can see that I am not a domain admin when I
login.  When I look in /var/log/samba I get an odd message (which is
below) and the same message in /var/log/messages.  I also modified net
groupmap to map my unix group to the Domain Admin group (that is below
too).

The weird thing is that I have my logon script = %G.bat. I have a file
called admin.bat located in /home/netlogon and when I login, that
script loads.

Any help would be greatly appreciated!!!
Thanks,
Peter

>From /var/log/messages
Mar 24 09:53:52 lifesaver2 smbd[927]: [2005/03/24 09:53:52, 0]
rpc_server/srv_util.c:get_alias_user_groups(206)
Mar 24 09:53:52 lifesaver2 smbd[927]:   get_alias_user_groups: gid of
user joe doesn't exist. Check your /etc/passwd and /etc/group

>From /var/log/samba/log.clientpc
[2005/03/24 09:53:52, 1] rpc_server/srv_util.c:get_domain_user_groups(298)
  get_domain_user_groups: primary gid of user [joe] is not a Domain group !
  get_domain_user_groups: You should fix it, NT doesn't like that
[2005/03/24 09:53:52, 0] rpc_server/srv_util.c:get_alias_user_groups(206)
  get_alias_user_groups: gid of user joe doesn't exist. Check your
/etc/passwd and /etc/group files

System Operators (S-1-5-32-549) -> -1
Domain Guests (S-1-5-21-2616513916-3767059419-2471733091-514) -> -1
Replicators (S-1-5-32-552) -> -1
Guests (S-1-5-32-546) -> -1
Power Users (S-1-5-32-547) -> -1
Print Operators (S-1-5-32-550) -> -1
Administrators (S-1-5-32-544) -> -1
Domain Users (S-1-5-21-2616513916-3767059419-2471733091-513) -> domainuser
Account Operators (S-1-5-32-548) -> -1
Backup Operators (S-1-5-32-551) -> -1
Users (S-1-5-32-545) -> -1
Domain Admins (S-1-5-21-2616513916-3767059419-2471733091-512) -> admin
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba




More information about the samba mailing list