Re: [Samba] winbind setup problem

2006-02-05 Thread Tim Potter
On Sat, 2006-02-04 at 17:42 +1100, Emrys Hughes wrote:
> I have a samba (version 3.0.14a-Debian) running an NT style domain  
> and want to add a member file server implementing winbind.
> 
> When I use "wbinfo -u" it returns a list of all my domain users. When  
> I use "wbinfo -g" it returns 3 results: DOMAIN#power users,
>DOMAIN#administrators, DOMAIN##backup operators, but nothing else  
> (There is a group "mob" on the PDC that is the primary group for all  
> the domain users).
> 
> When I  run "getent passwd" I only get users from /etc/passwd,  
> nothing from my domain.
> 
> Can anyone offer me advice on how to troubleshoot this?

Have you set up an appropriate entry in the /etc/nsswitch.conf file?
You are probably missing a 'winbind' entry in the passwd and group
section.


Tim.


signature.asc
Description: This is a digitally signed message part
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

[Samba] winbind setup problem

2006-02-03 Thread Emrys Hughes
I have a samba (version 3.0.14a-Debian) running an NT style domain  
and want to add a member file server implementing winbind.


When I use "wbinfo -u" it returns a list of all my domain users. When  
I use "wbinfo -g" it returns 3 results: DOMAIN#power users,
  DOMAIN#administrators, DOMAIN##backup operators, but nothing else  
(There is a group "mob" on the PDC that is the primary group for all  
the domain users).


When I  run "getent passwd" I only get users from /etc/passwd,  
nothing from my domain.


Can anyone offer me advice on how to troubleshoot this?




IT Administrator
iMedia Asia Pacific




--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] WINBIND setup ?

2004-03-14 Thread tshilson





It confused me, too.  There is a Samba command "net".  You should use that
instead of Smbpasswd command.

   _/)  Tom Shilson
~GEDW & VM System Services
Aloha   Tel:  651-733-7591   tshilson at mmm dot com
   Fax:  651-736-7689


   
  
  "Talwar, Puneet (NIH/NIAID)" 
  
  <[EMAIL PROTECTED]>   To:   "'[EMAIL 
PROTECTED]'" <[EMAIL PROTECTED]>  
  Sent by:  cc:
  
          [EMAIL PROTECTED]   Subject:  [Samba] WINBIND setup ?

  s.samba.org  
  
   
  
   
  
  03/11/2004 03:19 PM  
  
   
  
   
  




HI,

I am trying to setup WINBIND on my Red Hat Linux AS box and I have
completed
most of the steps but I am encountering come problem when I am joining the
samba server to the PDC domain.  Below is the syntax I am using:

#Smbpasswd -j DOMAIN -r PDC -U Administrator
See 'net join' for this functionality

Thanks,

--
Puneet Talwar
Unix Administrator

--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] WINBIND setup ?

2004-03-11 Thread Talwar, Puneet (NIH/NIAID)
HI,
 
I am trying to setup WINBIND on my Red Hat Linux AS box and I have completed
most of the steps but I am encountering come problem when I am joining the
samba server to the PDC domain.  Below is the syntax I am using:
 
#Smbpasswd -j DOMAIN -r PDC -U Administrator
See 'net join' for this functionality
 
Thanks,
 
--
Puneet Talwar
Unix Administrator
 
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] winbind setup

2004-02-02 Thread Tim Thorpe
Using RH Linux 9.0 and Samba 3.x I have managed to successfully set up
winbind and get linux shares authenticated to a windows domain controller. I
can modify owners groups and permissions from the command line but the
domain users and groups do not appear in the gui(s) (Gnome). During the time
that I was figuring out how to set this up I am sure there was a point at
which the domain users and groups were availble from a folders
properties>>permissions tab.
Does anyone have any idea what I need to do (or undo) to get this
functionallity back.

Thanks,

Tim


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] winbind setup

2002-04-24 Thread Stephen M. Przepiora

Hello,
I have been trying to setup winbind and am running into problems. I
followed the document at 
http://de.samba.org/samba/ftp/docs/htmldocs/Samba-HOWTO-Collection.html
to setup winbind, but i can not get it to work. the samba version I am
running is 2.2.3a. I am wondering if anyone can help me out with this?


nsswitch.conf  (relevent portions)
passwd: winbind files nisplus
shadow: winbind files nisplus
group:  winbind files nisplus

/etc/pam.d/login
auth   required /lib/security/pam_securetty.so
auth   sufficient   /lib/security/pam_winbind.so debug
auth   sufficient   /lib/security/pam_unix.so use_first_pass
auth   required /lib/security/pam_stack.so service=system-auth
auth   required /lib/security/pam_nologin.so
accountsufficient   /lib/security/pam_winbind.so debug
accountrequired /lib/security/pam_stack.so service=system-auth
password   required /lib/security/pam_stack.so service=system-auth
sessionrequired /lib/security/pam_stack.so service=system-auth
sessionoptional /lib/security/pam_console.so

wbinfo -u lists the user test
NCOASTSOFT.COM/test


/var/log/messages
Apr 24 06:04:42 astro pam_winbind[8863]: Verify user `test' with
password `edited out'
Apr 24 06:04:42 astro pam_winbind[8863]: user `test' not found


winbind run as winbindd -d3 -i output
added interface ip=192.168.1.95 bcast=192.168.1.255 nmask=255.255.255.0
getting trusted domain list
resolve_lmhosts: Attempting lmhosts lookup for name NCOASTSOFT.COM<0x1c>
resolve_wins: Attempting wins lookup for name NCOASTSOFT.COM<0x1c>
resolve_wins: WINS server == <192.168.1.2>
bind succeeded on port 0
Got a positive name query response from 192.168.1.2 ( 192.168.1.2
192.168.1.18 192.168.1.3 192.168.1.4 )
bind succeeded on port 0
resolve_lmhosts: Attempting lmhosts lookup for name KRYPTON<0x20>
resolve_hosts: Attempting host lookup for name KRYPTON<0x20>
IPC$ connections done NCOASTSOFT.COM\smp
Connecting to 192.168.1.2 at port 445
error connecting to 192.168.1.2:445 (Connection refused)
Connecting to 192.168.1.2 at port 139
session setup ok
Domain=[NCOASTSOFT.COM] OS=[Windows NT 4.0] Server=[NT LAN Manager 4.0]
adding domain NCOASTSOFT.COM
[ 8882]: getpwnam test
[ 8882]: pam auth test
[ 8882]: getpwnam test
[ 8882]: pam auth test
[ 8882]: getpwnam test
[ 8882]: getpwnam test


Thank you,
Steve



-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[Samba] winbind setup

2002-04-24 Thread Stephen M. Przepiora

Hello,
I have been trying to setup winbind and am running into problems. I
followed the document at 
http://de.samba.org/samba/ftp/docs/htmldocs/Samba-HOWTO-Collection.html
to setup winbind, but i can not get it to work. the samba version I am
running is 2.2.3a. I am wondering if anyone can help me out with this?


nsswitch.conf  (relevent portions)
passwd: winbind files nisplus
shadow: winbind files nisplus
group:  winbind files nisplus

/etc/pam.d/login
auth   required /lib/security/pam_securetty.so
auth   sufficient   /lib/security/pam_winbind.so debug
auth   sufficient   /lib/security/pam_unix.so use_first_pass
auth   required /lib/security/pam_stack.so service=system-auth
auth   required /lib/security/pam_nologin.so
accountsufficient   /lib/security/pam_winbind.so debug
accountrequired /lib/security/pam_stack.so service=system-auth
password   required /lib/security/pam_stack.so service=system-auth
sessionrequired /lib/security/pam_stack.so service=system-auth
sessionoptional /lib/security/pam_console.so

wbinfo -u lists the user test
NCOASTSOFT.COM/test


/var/log/messages
Apr 24 06:04:42 astro pam_winbind[8863]: Verify user `test' with
password `edited out'
Apr 24 06:04:42 astro pam_winbind[8863]: user `test' not found


winbind run as winbindd -d3 -i output
added interface ip=192.168.1.95 bcast=192.168.1.255 nmask=255.255.255.0
getting trusted domain list
resolve_lmhosts: Attempting lmhosts lookup for name NCOASTSOFT.COM<0x1c>
resolve_wins: Attempting wins lookup for name NCOASTSOFT.COM<0x1c>
resolve_wins: WINS server == <192.168.1.2>
bind succeeded on port 0
Got a positive name query response from 192.168.1.2 ( 192.168.1.2
192.168.1.18 192.168.1.3 192.168.1.4 )
bind succeeded on port 0
resolve_lmhosts: Attempting lmhosts lookup for name KRYPTON<0x20>
resolve_hosts: Attempting host lookup for name KRYPTON<0x20>
IPC$ connections done NCOASTSOFT.COM\smp
Connecting to 192.168.1.2 at port 445
error connecting to 192.168.1.2:445 (Connection refused)
Connecting to 192.168.1.2 at port 139
session setup ok
Domain=[NCOASTSOFT.COM] OS=[Windows NT 4.0] Server=[NT LAN Manager 4.0]
adding domain NCOASTSOFT.COM
[ 8882]: getpwnam test
[ 8882]: pam auth test
[ 8882]: getpwnam test
[ 8882]: pam auth test
[ 8882]: getpwnam test
[ 8882]: getpwnam test


Thank you,
Steve


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba