LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-26-2004, 10:31 AM   #1
pauljtester
LQ Newbie
 
Registered: Apr 2004
Posts: 28

Rep: Reputation: 15
Question Samba/wbinfo doesn't show local groups


Hi All -

When I run wbinfo -g it only shows the groups that have been defined on my PDC. Same with getent groups.

So in my smb.conf when I want a folder to only be accessed by valid users/groups I have to use those that come from the PDC, I can't specify localhost groups.

This question was asked 12/1/2003 by someone else, but didn't receive any replies. Any clues? BTW, I running RH8.0 and Samba 3.

Here's the info:
smb.conf:

[global]
security = domain
workgroup = MYDOMAIN
password server = pwserver
encrypt passwords = yes
smb passwd file = /usr/local/samba/private/smbpasswd
netbios name = lindendev
winbind separator = +
winbind uid = 10000-20000
winbind gid = 10000-20000
winbind use default domain = yes
winbind cache time = 10

[main]
path = /
comment = Whole Computer
valid users = MYDOMAIN+domainuser <-----this share works
writable = yes
read only = no
browseable = yes

[temp]
path = /var/tmp
comment = Random File Space
valid users = '@Domain Users' <----also works
writable = yes
read only = no
browseable = yes

[Test]
path = /home/test
comment = Test Folder
valid users = LocalMachineUser <-----doesn't work
read only = no
writable = yes
browseable = yes


# /usr/local/samba/bin/net rpc join -S MYPDC -U Administrator
Password:
Joined domain MYDOMAIN

#wbinfo -m
LOCALMACHINE
BUILTIN
<-----doesn't show MYDOMAIN even though I've joined it

#wbinfo -g
BUILTIN+System Operators
BUILTIN+Replicators
BUILTIN+Guests
BUILTIN+Power Users
BUILTIN+Print Operators
BUILTIN+Administrators
BUILTIN+Account Operators
BUILTIN+Backup Operators
BUILTIN+Users
Bkg Job Users <----why doesn't it show MYDOMAIN+ prefix?
Domain Admins
Domain Guests
Domain Users
Executives
International
Internet Media
Managers
Marketing
Operations
Sales

Any help is appreciated.
Cheers,
P
 
Old 09-05-2004, 07:26 AM   #2
colinjrob
LQ Newbie
 
Registered: Sep 2004
Location: London, England
Distribution: RH9, Fedora, OpenLinux3.1.1
Posts: 13

Rep: Reputation: 0
Looks like one of you login configuration files is not configured correctly. Post or look in your /etc/pam.d/login file. You may find that it is configured to only winbind authentications. login configures the authentication of Linux logins for Shell text only style logins. On my RH9 system I have to also configure the /etc/pam.d/gdm file which is the Gnome login screen configuration.

Here's a copy of my Login and gdm files respectively. Hope this helps :-)

#%PAM-1.0 login
auth required pam_securetty.so
auth required pam_nologin.so
auth sufficient pam_winbind.so
auth required pam_unix.so use_first_pass

account sufficient pam_winbind.so
account required pam_stack.so service=system-auth
password required pam_stack.so service=system-auth
session required pam_stack.so service=system-auth
session required pam_mkhomedir.so umask=077
session optional pam_console.so
----------------------------------------------------------------------------
#%PAM-1.0 gdm
auth required pam_nologin.so
auth required pam_env.so
auth sufficient pam_winbind.so
auth required pam_unix.so use_first_pass

account sufficient pam_winbind.so
account required pam_stack.so service=system-auth
password required pam_stack.so service=system-auth
session required pam_stack.so service=system-auth
session required pam_mkhomedir.so skel=/etc/skel umask=077
session optional pam_console.so
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Samba wbinfo issue stinger007 Linux - Networking 0 02-12-2005 03:34 PM
samba+winbind (wbinfo -u) wlrs Linux - Networking 0 10-11-2004 09:30 AM
Samba question (wbinfo -m) twistedpair Linux - Networking 1 06-02-2004 06:11 AM
winbind: wbinfo -g only lists global groups from PDC and not local groups saradiya Linux - Networking 0 12-01-2003 02:58 AM
Samba: wbinfo -u not reponding achaturvedi Linux - Networking 0 09-13-2002 02:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:14 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration