Hi,
I am using Ubuntu 8.04 Server 64-bit Edition and i have installed
samba as a PDC. Samba version is 3.0.28a and all the required OS
updates are installed.
smb.conf
[global]
workgroup = abc
server string = Samba for abc
log level = 1
interfaces = eth0
bind interfaces only = True
log file = /var/log/samba/log.%m
max log size = 1000
domain logons = yes
os level = 65
prefered master = yes
domain master = yes
local master = yes
add machine script = /usr/sbin/useradd -s /bin/false -d /home/nobody %u
dns proxy =No
hosts allow = 127. 10.10.10.
wins support = Yes
passdb backend = tdbsam
encrypt passwords = true
;smb passwd file = /etc/samba/smbpasswd
security = user
netbios name = human
;username map = /etc/samba/smbusers
[homes]
comment = Home Dir
read only = NO
browseable = NO
valid users = %S
path = %H
directory mask = 0700
create mask = 0700
[share]
comment = Common Share
path = /export
create mask = 0765
read only = NO
I am not able to list the domain users using wbinfo command.
avi at human:~$ wbinfo -u
Error looking up domain users
avi at human:~$ wbinfo -g
Error looking up domain groups
avi at human:~$ wbinfo --ping
Ping to winbindd succeeded on fd 3
How do i make this work? Winbindd was installed when i installed samba
using the apt-get command and its running? Samba is working without
any problems, even if i stop winbindd process, samba works. What
exactly is the use of winbind and when do we use it?
Many Thanks
Avinash
Also, I have entered the following in smb.conf file winbind uid = 10000-20000 winbind gid = 10000-20000 winbind use default domain = yes Restarted Samba and i checked wbinfo. wbinfo -t checking the trust secret via RPC calls failed error code was NT_STATUS_DOMAIN_CONTROLLER_NOT_FOUND (0xc0000233) Can anyone help Avinash On Mon, Aug 17, 2009 at 11:07 AM, Avinash Rao <avinash.aol at gmail.com> wrote:> > Hi, > > I am using Ubuntu 8.04 Server 64-bit Edition and i have installed > samba as a PDC. Samba version is 3.0.28a and all the required OS > updates are installed. > smb.conf > > [global] > > ? ?workgroup = abc > ? ?server string = Samba for abc > ? ?log level = 1 > ? ?interfaces = eth0 > ? ?bind interfaces only = True > > ? ?log file = /var/log/samba/log.%m > ? ?max log size = 1000 > > ? ?domain logons = yes > ? ?os level = 65 > ? ?prefered master = yes > ? ?domain master = yes > ? ?local master = yes > > ? ?add machine script = /usr/sbin/useradd -s /bin/false -d /home/nobody %u > ? ?dns proxy =No > ? ?hosts allow = 127. 10.10.10. > ? ?wins support = Yes > ? ?passdb backend = tdbsam > > ? ?encrypt passwords = true > ? ?;smb passwd file = /etc/samba/smbpasswd > ? ?security = user > ? ?netbios name = human > ? ?;username map = /etc/samba/smbusers > > [homes] > ? ?comment = Home Dir > ? ?read only = NO > ? ?browseable = NO > ? ?valid users = %S > ? ?path = %H > ? ?directory mask = 0700 > ? ?create mask = 0700 > > [share] > ? ?comment = Common Share > ? ?path = /export > ? ?create mask = 0765 > ? ?read only = NO > > I am not able to list the domain users using wbinfo command. > > avi at human:~$ wbinfo -u > Error looking up domain users > > avi at human:~$ wbinfo -g > Error looking up domain groups > > avi at human:~$ wbinfo --ping > Ping to winbindd succeeded on fd 3 > > How do i make this work? Winbindd was installed when i installed samba > using the apt-get command and its running? Samba is working without > any problems, even if i stop winbindd process, samba works. What > exactly is the use of winbind and when do we use it? > > Many Thanks > Avinash
Hi guys, Sorry for creating a chain of emails. After reading the man page, i realized that wbinfo -t is to verify On Mon, Aug 17, 2009 at 12:58 PM, Avinash Rao<avinash.aol at gmail.com> wrote:> Also, I have entered the following in smb.conf file > > winbind uid = 10000-20000 > winbind gid = 10000-20000 > winbind use default domain = yes > > Restarted Samba and i checked wbinfo. > > wbinfo -t > checking the trust secret via RPC calls failed > error code was NT_STATUS_DOMAIN_CONTROLLER_NOT_FOUND (0xc0000233) > > Can anyone help > Avinash > > > On Mon, Aug 17, 2009 at 11:07 AM, Avinash Rao <avinash.aol at gmail.com> wrote: >> >> Hi, >> >> I am using Ubuntu 8.04 Server 64-bit Edition and i have installed >> samba as a PDC. Samba version is 3.0.28a and all the required OS >> updates are installed. >> smb.conf >> >> [global] >> >> ? ?workgroup = abc >> ? ?server string = Samba for abc >> ? ?log level = 1 >> ? ?interfaces = eth0 >> ? ?bind interfaces only = True >> >> ? ?log file = /var/log/samba/log.%m >> ? ?max log size = 1000 >> >> ? ?domain logons = yes >> ? ?os level = 65 >> ? ?prefered master = yes >> ? ?domain master = yes >> ? ?local master = yes >> >> ? ?add machine script = /usr/sbin/useradd -s /bin/false -d /home/nobody %u >> ? ?dns proxy =No >> ? ?hosts allow = 127. 10.10.10. >> ? ?wins support = Yes >> ? ?passdb backend = tdbsam >> >> ? ?encrypt passwords = true >> ? ?;smb passwd file = /etc/samba/smbpasswd >> ? ?security = user >> ? ?netbios name = human >> ? ?;username map = /etc/samba/smbusers >> >> [homes] >> ? ?comment = Home Dir >> ? ?read only = NO >> ? ?browseable = NO >> ? ?valid users = %S >> ? ?path = %H >> ? ?directory mask = 0700 >> ? ?create mask = 0700 >> >> [share] >> ? ?comment = Common Share >> ? ?path = /export >> ? ?create mask = 0765 >> ? ?read only = NO >> >> I am not able to list the domain users using wbinfo command. >> >> avi at human:~$ wbinfo -u >> Error looking up domain users >> >> avi at human:~$ wbinfo -g >> Error looking up domain groups >> >> avi at human:~$ wbinfo --ping >> Ping to winbindd succeeded on fd 3 >> >> How do i make this work? Winbindd was installed when i installed samba >> using the apt-get command and its running? Samba is working without >> any problems, even if i stop winbindd process, samba works. What >> exactly is the use of winbind and when do we use it? >> >> Many Thanks >> Avinash >
Avinash Rao
2009-Aug-17 14:08 UTC
[Samba] Fwd: Not able to display domain users using wbinfo
Sorry for the missing text.. what i meant was verify that the workstation trust ?account ?created ?when ?the ?Samba server is added to the Windows NT domain is working. I don't have a windows NT domain, I have a samba server running on Ubuntu 8.04 Server and WinXP clients! And I am trying to get squid working for samba domain users through http://wiki.squid-cache.org/ConfigExamples/Authenticate/Ntlm and wbinfo -a mydomain\\myuser%mypasswd didn't succeed.. So, is there anything that i need to do to get this working? Avinash